@element-plus/nightly 0.0.20240807 → 0.0.20240808

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 (371) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +869 -422
  4. package/dist/index.full.min.js +15 -15
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +21 -21
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +869 -422
  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-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hr.js +1 -1
  94. package/dist/locale/hr.min.js +1 -1
  95. package/dist/locale/hr.min.mjs +1 -1
  96. package/dist/locale/hr.mjs +1 -1
  97. package/dist/locale/hu.js +1 -1
  98. package/dist/locale/hu.min.js +1 -1
  99. package/dist/locale/hu.min.mjs +1 -1
  100. package/dist/locale/hu.mjs +1 -1
  101. package/dist/locale/hy-am.js +1 -1
  102. package/dist/locale/hy-am.min.js +1 -1
  103. package/dist/locale/hy-am.min.mjs +1 -1
  104. package/dist/locale/hy-am.mjs +1 -1
  105. package/dist/locale/id.js +1 -1
  106. package/dist/locale/id.min.js +1 -1
  107. package/dist/locale/id.min.mjs +1 -1
  108. package/dist/locale/id.mjs +1 -1
  109. package/dist/locale/it.js +1 -1
  110. package/dist/locale/it.min.js +1 -1
  111. package/dist/locale/it.min.mjs +1 -1
  112. package/dist/locale/it.mjs +1 -1
  113. package/dist/locale/ja.js +1 -1
  114. package/dist/locale/ja.min.js +1 -1
  115. package/dist/locale/ja.min.mjs +1 -1
  116. package/dist/locale/ja.mjs +1 -1
  117. package/dist/locale/kk.js +1 -1
  118. package/dist/locale/kk.min.js +1 -1
  119. package/dist/locale/kk.min.mjs +1 -1
  120. package/dist/locale/kk.mjs +1 -1
  121. package/dist/locale/km.js +1 -1
  122. package/dist/locale/km.min.js +1 -1
  123. package/dist/locale/km.min.mjs +1 -1
  124. package/dist/locale/km.mjs +1 -1
  125. package/dist/locale/ko.js +1 -1
  126. package/dist/locale/ko.min.js +1 -1
  127. package/dist/locale/ko.min.mjs +1 -1
  128. package/dist/locale/ko.mjs +1 -1
  129. package/dist/locale/ku.js +1 -1
  130. package/dist/locale/ku.min.js +1 -1
  131. package/dist/locale/ku.min.mjs +1 -1
  132. package/dist/locale/ku.mjs +1 -1
  133. package/dist/locale/ky.js +1 -1
  134. package/dist/locale/ky.min.js +1 -1
  135. package/dist/locale/ky.min.mjs +1 -1
  136. package/dist/locale/ky.mjs +1 -1
  137. package/dist/locale/lt.js +1 -1
  138. package/dist/locale/lt.min.js +1 -1
  139. package/dist/locale/lt.min.mjs +1 -1
  140. package/dist/locale/lt.mjs +1 -1
  141. package/dist/locale/lv.js +1 -1
  142. package/dist/locale/lv.min.js +1 -1
  143. package/dist/locale/lv.min.mjs +1 -1
  144. package/dist/locale/lv.mjs +1 -1
  145. package/dist/locale/mg.js +1 -1
  146. package/dist/locale/mg.min.js +1 -1
  147. package/dist/locale/mg.min.mjs +1 -1
  148. package/dist/locale/mg.mjs +1 -1
  149. package/dist/locale/mn.js +1 -1
  150. package/dist/locale/mn.min.js +1 -1
  151. package/dist/locale/mn.min.mjs +1 -1
  152. package/dist/locale/mn.mjs +1 -1
  153. package/dist/locale/nb-no.js +1 -1
  154. package/dist/locale/nb-no.min.js +1 -1
  155. package/dist/locale/nb-no.min.mjs +1 -1
  156. package/dist/locale/nb-no.mjs +1 -1
  157. package/dist/locale/nl.js +1 -1
  158. package/dist/locale/nl.min.js +1 -1
  159. package/dist/locale/nl.min.mjs +1 -1
  160. package/dist/locale/nl.mjs +1 -1
  161. package/dist/locale/pa.js +1 -1
  162. package/dist/locale/pa.min.js +1 -1
  163. package/dist/locale/pa.min.mjs +1 -1
  164. package/dist/locale/pa.mjs +1 -1
  165. package/dist/locale/pl.js +1 -1
  166. package/dist/locale/pl.min.js +1 -1
  167. package/dist/locale/pl.min.mjs +1 -1
  168. package/dist/locale/pl.mjs +1 -1
  169. package/dist/locale/pt-br.js +1 -1
  170. package/dist/locale/pt-br.min.js +1 -1
  171. package/dist/locale/pt-br.min.mjs +1 -1
  172. package/dist/locale/pt-br.mjs +1 -1
  173. package/dist/locale/pt.js +1 -1
  174. package/dist/locale/pt.min.js +1 -1
  175. package/dist/locale/pt.min.mjs +1 -1
  176. package/dist/locale/pt.mjs +1 -1
  177. package/dist/locale/ro.js +1 -1
  178. package/dist/locale/ro.min.js +1 -1
  179. package/dist/locale/ro.min.mjs +1 -1
  180. package/dist/locale/ro.mjs +1 -1
  181. package/dist/locale/ru.js +1 -1
  182. package/dist/locale/ru.min.js +1 -1
  183. package/dist/locale/ru.min.mjs +1 -1
  184. package/dist/locale/ru.mjs +1 -1
  185. package/dist/locale/sk.js +1 -1
  186. package/dist/locale/sk.min.js +1 -1
  187. package/dist/locale/sk.min.mjs +1 -1
  188. package/dist/locale/sk.mjs +1 -1
  189. package/dist/locale/sl.js +1 -1
  190. package/dist/locale/sl.min.js +1 -1
  191. package/dist/locale/sl.min.mjs +1 -1
  192. package/dist/locale/sl.mjs +1 -1
  193. package/dist/locale/sr.js +1 -1
  194. package/dist/locale/sr.min.js +1 -1
  195. package/dist/locale/sr.min.mjs +1 -1
  196. package/dist/locale/sr.mjs +1 -1
  197. package/dist/locale/sv.js +1 -1
  198. package/dist/locale/sv.min.js +1 -1
  199. package/dist/locale/sv.min.mjs +1 -1
  200. package/dist/locale/sv.mjs +1 -1
  201. package/dist/locale/sw.js +1 -1
  202. package/dist/locale/sw.min.js +1 -1
  203. package/dist/locale/sw.min.mjs +1 -1
  204. package/dist/locale/sw.mjs +1 -1
  205. package/dist/locale/ta.js +1 -1
  206. package/dist/locale/ta.min.js +1 -1
  207. package/dist/locale/ta.min.mjs +1 -1
  208. package/dist/locale/ta.mjs +1 -1
  209. package/dist/locale/th.js +1 -1
  210. package/dist/locale/th.min.js +1 -1
  211. package/dist/locale/th.min.mjs +1 -1
  212. package/dist/locale/th.mjs +1 -1
  213. package/dist/locale/tk.js +1 -1
  214. package/dist/locale/tk.min.js +1 -1
  215. package/dist/locale/tk.min.mjs +1 -1
  216. package/dist/locale/tk.mjs +1 -1
  217. package/dist/locale/tr.js +1 -1
  218. package/dist/locale/tr.min.js +1 -1
  219. package/dist/locale/tr.min.mjs +1 -1
  220. package/dist/locale/tr.mjs +1 -1
  221. package/dist/locale/ug-cn.js +1 -1
  222. package/dist/locale/ug-cn.min.js +1 -1
  223. package/dist/locale/ug-cn.min.mjs +1 -1
  224. package/dist/locale/ug-cn.mjs +1 -1
  225. package/dist/locale/uk.js +1 -1
  226. package/dist/locale/uk.min.js +1 -1
  227. package/dist/locale/uk.min.mjs +1 -1
  228. package/dist/locale/uk.mjs +1 -1
  229. package/dist/locale/uz-uz.js +1 -1
  230. package/dist/locale/uz-uz.min.js +1 -1
  231. package/dist/locale/uz-uz.min.mjs +1 -1
  232. package/dist/locale/uz-uz.mjs +1 -1
  233. package/dist/locale/vi.js +1 -1
  234. package/dist/locale/vi.min.js +1 -1
  235. package/dist/locale/vi.min.mjs +1 -1
  236. package/dist/locale/vi.mjs +1 -1
  237. package/dist/locale/zh-cn.js +1 -1
  238. package/dist/locale/zh-cn.min.js +1 -1
  239. package/dist/locale/zh-cn.min.mjs +1 -1
  240. package/dist/locale/zh-cn.mjs +1 -1
  241. package/dist/locale/zh-tw.js +1 -1
  242. package/dist/locale/zh-tw.min.js +1 -1
  243. package/dist/locale/zh-tw.min.mjs +1 -1
  244. package/dist/locale/zh-tw.mjs +1 -1
  245. package/es/components/checkbox/index.mjs +2 -2
  246. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  247. package/es/components/checkbox/src/checkbox.mjs +122 -61
  248. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  249. package/es/components/checkbox/src/checkbox2.mjs +61 -122
  250. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  251. package/es/components/date-picker/src/composables/use-year-range-header.d.ts +16 -0
  252. package/es/components/date-picker/src/composables/use-year-range-header.mjs +55 -0
  253. package/es/components/date-picker/src/composables/use-year-range-header.mjs.map +1 -0
  254. package/es/components/date-picker/src/date-picker-com/basic-year-table.mjs +138 -47
  255. package/es/components/date-picker/src/date-picker-com/basic-year-table.mjs.map +1 -1
  256. package/es/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +43 -6
  257. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  258. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  259. package/es/components/date-picker/src/date-picker-com/panel-year-range.mjs +313 -0
  260. package/es/components/date-picker/src/date-picker-com/panel-year-range.mjs.map +1 -0
  261. package/es/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +32 -0
  262. package/es/components/date-picker/src/date-picker.type.d.ts +1 -1
  263. package/es/components/date-picker/src/panel-utils.d.ts +8 -8
  264. package/es/components/date-picker/src/panel-utils.mjs +4 -0
  265. package/es/components/date-picker/src/panel-utils.mjs.map +1 -1
  266. package/es/components/date-picker/src/props/basic-year-table.d.ts +19 -3
  267. package/es/components/date-picker/src/props/basic-year-table.mjs +1 -4
  268. package/es/components/date-picker/src/props/basic-year-table.mjs.map +1 -1
  269. package/es/components/date-picker/src/props/panel-date-pick.d.ts +1 -1
  270. package/es/components/date-picker/src/props/panel-date-range.d.ts +1 -1
  271. package/es/components/date-picker/src/props/panel-year-range.d.ts +12 -0
  272. package/es/components/date-picker/src/props/panel-year-range.mjs +15 -0
  273. package/es/components/date-picker/src/props/panel-year-range.mjs.map +1 -0
  274. package/es/components/date-picker/src/props/shared.d.ts +1 -1
  275. package/es/components/descriptions/src/description2.mjs +1 -1
  276. package/es/components/descriptions/src/descriptions-row.mjs +64 -7
  277. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  278. package/es/components/descriptions/src/descriptions-row2.mjs +7 -64
  279. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  280. package/es/components/empty/index.mjs +2 -2
  281. package/es/components/empty/src/empty.mjs +11 -55
  282. package/es/components/empty/src/empty.mjs.map +1 -1
  283. package/es/components/empty/src/empty2.mjs +55 -11
  284. package/es/components/empty/src/empty2.mjs.map +1 -1
  285. package/es/components/index.mjs +3 -3
  286. package/es/components/statistic/src/statistic2.mjs +1 -1
  287. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  288. package/es/components/time-picker/src/constants.d.ts +1 -0
  289. package/es/components/time-picker/src/constants.mjs +1 -0
  290. package/es/components/time-picker/src/constants.mjs.map +1 -1
  291. package/es/components/transfer/index.mjs +2 -2
  292. package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
  293. package/es/components/transfer/src/transfer-panel.mjs +1 -1
  294. package/es/components/transfer/src/transfer.mjs +69 -160
  295. package/es/components/transfer/src/transfer.mjs.map +1 -1
  296. package/es/components/transfer/src/transfer2.mjs +160 -69
  297. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  298. package/es/constants/date.d.ts +1 -1
  299. package/es/constants/date.mjs +2 -1
  300. package/es/constants/date.mjs.map +1 -1
  301. package/es/index.mjs +3 -3
  302. package/es/utils/vue/validator.d.ts +1 -1
  303. package/es/version.d.ts +1 -1
  304. package/es/version.mjs +1 -1
  305. package/es/version.mjs.map +1 -1
  306. package/lib/components/checkbox/index.js +2 -2
  307. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  308. package/lib/components/checkbox/src/checkbox.js +122 -62
  309. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  310. package/lib/components/checkbox/src/checkbox2.js +62 -122
  311. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  312. package/lib/components/date-picker/src/composables/use-year-range-header.d.ts +16 -0
  313. package/lib/components/date-picker/src/composables/use-year-range-header.js +59 -0
  314. package/lib/components/date-picker/src/composables/use-year-range-header.js.map +1 -0
  315. package/lib/components/date-picker/src/date-picker-com/basic-year-table.js +138 -47
  316. package/lib/components/date-picker/src/date-picker-com/basic-year-table.js.map +1 -1
  317. package/lib/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +43 -6
  318. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -2
  319. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  320. package/lib/components/date-picker/src/date-picker-com/panel-year-range.js +321 -0
  321. package/lib/components/date-picker/src/date-picker-com/panel-year-range.js.map +1 -0
  322. package/lib/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +32 -0
  323. package/lib/components/date-picker/src/date-picker.type.d.ts +1 -1
  324. package/lib/components/date-picker/src/panel-utils.d.ts +8 -8
  325. package/lib/components/date-picker/src/panel-utils.js +4 -0
  326. package/lib/components/date-picker/src/panel-utils.js.map +1 -1
  327. package/lib/components/date-picker/src/props/basic-year-table.d.ts +19 -3
  328. package/lib/components/date-picker/src/props/basic-year-table.js +1 -4
  329. package/lib/components/date-picker/src/props/basic-year-table.js.map +1 -1
  330. package/lib/components/date-picker/src/props/panel-date-pick.d.ts +1 -1
  331. package/lib/components/date-picker/src/props/panel-date-range.d.ts +1 -1
  332. package/lib/components/date-picker/src/props/panel-year-range.d.ts +12 -0
  333. package/lib/components/date-picker/src/props/panel-year-range.js +20 -0
  334. package/lib/components/date-picker/src/props/panel-year-range.js.map +1 -0
  335. package/lib/components/date-picker/src/props/shared.d.ts +1 -1
  336. package/lib/components/descriptions/src/description2.js +1 -1
  337. package/lib/components/descriptions/src/descriptions-row.js +64 -7
  338. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  339. package/lib/components/descriptions/src/descriptions-row2.js +7 -64
  340. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  341. package/lib/components/empty/index.js +2 -2
  342. package/lib/components/empty/src/empty.js +11 -55
  343. package/lib/components/empty/src/empty.js.map +1 -1
  344. package/lib/components/empty/src/empty2.js +55 -11
  345. package/lib/components/empty/src/empty2.js.map +1 -1
  346. package/lib/components/index.js +3 -3
  347. package/lib/components/statistic/src/statistic2.js +1 -1
  348. package/lib/components/statistic/src/statistic2.js.map +1 -1
  349. package/lib/components/time-picker/src/constants.d.ts +1 -0
  350. package/lib/components/time-picker/src/constants.js +1 -0
  351. package/lib/components/time-picker/src/constants.js.map +1 -1
  352. package/lib/components/transfer/index.js +2 -2
  353. package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
  354. package/lib/components/transfer/src/transfer-panel.js +1 -1
  355. package/lib/components/transfer/src/transfer.js +73 -160
  356. package/lib/components/transfer/src/transfer.js.map +1 -1
  357. package/lib/components/transfer/src/transfer2.js +160 -73
  358. package/lib/components/transfer/src/transfer2.js.map +1 -1
  359. package/lib/constants/date.d.ts +1 -1
  360. package/lib/constants/date.js +2 -1
  361. package/lib/constants/date.js.map +1 -1
  362. package/lib/index.js +3 -3
  363. package/lib/utils/vue/validator.d.ts +1 -1
  364. package/lib/version.d.ts +1 -1
  365. package/lib/version.js +1 -1
  366. package/lib/version.js.map +1 -1
  367. package/package.json +2 -2
  368. package/theme-chalk/el-date-picker.css +1 -1
  369. package/theme-chalk/index.css +1 -1
  370. package/theme-chalk/src/date-picker/year-table.scss +36 -5
  371. package/web-types.json +1 -1
@@ -0,0 +1,12 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const panelYearRangeProps: {
3
+ readonly unlinkPanels: BooleanConstructor;
4
+ readonly parsedValue: {
5
+ readonly type: import("vue").PropType<import("dayjs").Dayjs[]>;
6
+ readonly required: false;
7
+ readonly validator: ((val: unknown) => boolean) | undefined;
8
+ __epPropKey: true;
9
+ };
10
+ };
11
+ export declare const panelYearRangeEmits: string[];
12
+ export declare type PanelYearRangeProps = ExtractPropTypes<typeof panelYearRangeProps>;
@@ -0,0 +1,15 @@
1
+ import '../../../../utils/index.mjs';
2
+ import { panelRangeSharedProps } from './shared.mjs';
3
+ import { buildProps } from '../../../../utils/vue/props/runtime.mjs';
4
+
5
+ const panelYearRangeProps = buildProps({
6
+ ...panelRangeSharedProps
7
+ });
8
+ const panelYearRangeEmits = [
9
+ "pick",
10
+ "set-picker-option",
11
+ "calendar-change"
12
+ ];
13
+
14
+ export { panelYearRangeEmits, panelYearRangeProps };
15
+ //# sourceMappingURL=panel-year-range.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel-year-range.mjs","sources":["../../../../../../../packages/components/date-picker/src/props/panel-year-range.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { panelRangeSharedProps } from './shared'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const panelYearRangeProps = buildProps({\n ...panelRangeSharedProps,\n} as const)\n\nexport const panelYearRangeEmits = [\n 'pick',\n 'set-picker-option',\n 'calendar-change',\n]\n\nexport type PanelYearRangeProps = ExtractPropTypes<typeof panelYearRangeProps>\n"],"names":[],"mappings":";;;;AAEY,MAAC,mBAAmB,GAAG,UAAU,CAAC;AAC9C,EAAE,GAAG,qBAAqB;AAC1B,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,EAAE,MAAM;AACR,EAAE,mBAAmB;AACrB,EAAE,iBAAiB;AACnB;;;;"}
@@ -43,7 +43,7 @@ export declare const datePickerSharedProps: {
43
43
  };
44
44
  export declare const panelSharedProps: {
45
45
  readonly type: {
46
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") | ((new (...args: any[]) => ("year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange") & {}) | (() => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange"))[], "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange", unknown>>;
46
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") & {}) | (() => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | ((new (...args: any[]) => ("year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") & {}) | (() => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange"))[], "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange", unknown>>;
47
47
  readonly required: true;
48
48
  readonly validator: ((val: unknown) => boolean) | undefined;
49
49
  __epPropKey: true;
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, provide, computed, openBlock, createElementB
2
2
  import '../../../utils/index.mjs';
3
3
  import '../../../hooks/index.mjs';
4
4
  import '../../form/index.mjs';
5
- import ElDescriptionsRow from './descriptions-row2.mjs';
5
+ import ElDescriptionsRow from './descriptions-row.mjs';
6
6
  import { descriptionsKey } from './token.mjs';
7
7
  import { descriptionProps } from './description.mjs';
8
8
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
@@ -1,12 +1,69 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, inject, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, createVNode } from 'vue';
2
+ import ElDescriptionsCell from './descriptions-cell.mjs';
3
+ import { descriptionsKey } from './token.mjs';
4
+ import { descriptionsRowProps } from './descriptions-row2.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
3
6
 
4
- const descriptionsRowProps = buildProps({
5
- row: {
6
- type: definePropType(Array),
7
- default: () => []
7
+ const _hoisted_1 = { key: 1 };
8
+ const __default__ = defineComponent({
9
+ name: "ElDescriptionsRow"
10
+ });
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ ...__default__,
13
+ props: descriptionsRowProps,
14
+ setup(__props) {
15
+ const descriptions = inject(descriptionsKey, {});
16
+ return (_ctx, _cache) => {
17
+ return unref(descriptions).direction === "vertical" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18
+ createElementVNode("tr", null, [
19
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
20
+ return openBlock(), createBlock(unref(ElDescriptionsCell), {
21
+ key: `tr1-${_index}`,
22
+ cell,
23
+ tag: "th",
24
+ type: "label"
25
+ }, null, 8, ["cell"]);
26
+ }), 128))
27
+ ]),
28
+ createElementVNode("tr", null, [
29
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
30
+ return openBlock(), createBlock(unref(ElDescriptionsCell), {
31
+ key: `tr2-${_index}`,
32
+ cell,
33
+ tag: "td",
34
+ type: "content"
35
+ }, null, 8, ["cell"]);
36
+ }), 128))
37
+ ])
38
+ ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1, [
39
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
40
+ return openBlock(), createElementBlock(Fragment, {
41
+ key: `tr3-${_index}`
42
+ }, [
43
+ unref(descriptions).border ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
44
+ createVNode(unref(ElDescriptionsCell), {
45
+ cell,
46
+ tag: "td",
47
+ type: "label"
48
+ }, null, 8, ["cell"]),
49
+ createVNode(unref(ElDescriptionsCell), {
50
+ cell,
51
+ tag: "td",
52
+ type: "content"
53
+ }, null, 8, ["cell"])
54
+ ], 64)) : (openBlock(), createBlock(unref(ElDescriptionsCell), {
55
+ key: 1,
56
+ cell,
57
+ tag: "td",
58
+ type: "both"
59
+ }, null, 8, ["cell"]))
60
+ ], 64);
61
+ }), 128))
62
+ ]));
63
+ };
8
64
  }
9
65
  });
66
+ var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "descriptions-row.vue"]]);
10
67
 
11
- export { descriptionsRowProps };
68
+ export { ElDescriptionsRow as default };
12
69
  //# sourceMappingURL=descriptions-row.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions-row.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { DescriptionItemVNode } from './description-item'\n\nexport const descriptionsRowProps = buildProps({\n row: {\n type: definePropType<DescriptionItemVNode[]>(Array),\n default: () => [],\n },\n} as const)\n"],"names":[],"mappings":";;;AACY,MAAC,oBAAoB,GAAG,UAAU,CAAC;AAC/C,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"descriptions-row.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n <template v-if=\"descriptions.direction === 'vertical'\">\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr1-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n </template>\n </tr>\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr2-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n </tr>\n </template>\n <tr v-else>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr3-${_index}`\">\n <template v-if=\"descriptions.border\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n </template>\n </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\n\nimport ElDescriptionsCell from './descriptions-cell'\nimport { descriptionsKey } from './token'\nimport { descriptionsRowProps } from './descriptions-row'\n\nimport type { IDescriptionsInject } from './descriptions.type'\n\ndefineOptions({\n name: 'ElDescriptionsRow',\n})\n\ndefineProps(descriptionsRowProps)\n\nconst descriptions = inject(descriptionsKey, {} as IDescriptionsInject)\n</script>\n"],"names":[],"mappings":";;;;;;;mCAiCc,CAAA;AAAA,EACZ,IAAM,EAAA,mBAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAA,MAAM,YAAe,GAAA,MAAA,CAAO,eAAiB,EAAA,EAAyB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,69 +1,12 @@
1
- import { defineComponent, inject, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, createVNode } from 'vue';
2
- import ElDescriptionsCell from './descriptions-cell.mjs';
3
- import { descriptionsKey } from './token.mjs';
4
- import { descriptionsRowProps } from './descriptions-row.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
6
3
 
7
- const _hoisted_1 = { key: 1 };
8
- const __default__ = defineComponent({
9
- name: "ElDescriptionsRow"
10
- });
11
- const _sfc_main = /* @__PURE__ */ defineComponent({
12
- ...__default__,
13
- props: descriptionsRowProps,
14
- setup(__props) {
15
- const descriptions = inject(descriptionsKey, {});
16
- return (_ctx, _cache) => {
17
- return unref(descriptions).direction === "vertical" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18
- createElementVNode("tr", null, [
19
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
20
- return openBlock(), createBlock(unref(ElDescriptionsCell), {
21
- key: `tr1-${_index}`,
22
- cell,
23
- tag: "th",
24
- type: "label"
25
- }, null, 8, ["cell"]);
26
- }), 128))
27
- ]),
28
- createElementVNode("tr", null, [
29
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
30
- return openBlock(), createBlock(unref(ElDescriptionsCell), {
31
- key: `tr2-${_index}`,
32
- cell,
33
- tag: "td",
34
- type: "content"
35
- }, null, 8, ["cell"]);
36
- }), 128))
37
- ])
38
- ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1, [
39
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
40
- return openBlock(), createElementBlock(Fragment, {
41
- key: `tr3-${_index}`
42
- }, [
43
- unref(descriptions).border ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
44
- createVNode(unref(ElDescriptionsCell), {
45
- cell,
46
- tag: "td",
47
- type: "label"
48
- }, null, 8, ["cell"]),
49
- createVNode(unref(ElDescriptionsCell), {
50
- cell,
51
- tag: "td",
52
- type: "content"
53
- }, null, 8, ["cell"])
54
- ], 64)) : (openBlock(), createBlock(unref(ElDescriptionsCell), {
55
- key: 1,
56
- cell,
57
- tag: "td",
58
- type: "both"
59
- }, null, 8, ["cell"]))
60
- ], 64);
61
- }), 128))
62
- ]));
63
- };
4
+ const descriptionsRowProps = buildProps({
5
+ row: {
6
+ type: definePropType(Array),
7
+ default: () => []
64
8
  }
65
9
  });
66
- var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "descriptions-row.vue"]]);
67
10
 
68
- export { ElDescriptionsRow as default };
11
+ export { descriptionsRowProps };
69
12
  //# sourceMappingURL=descriptions-row2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions-row2.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n <template v-if=\"descriptions.direction === 'vertical'\">\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr1-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n </template>\n </tr>\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr2-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n </tr>\n </template>\n <tr v-else>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr3-${_index}`\">\n <template v-if=\"descriptions.border\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n </template>\n </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\n\nimport ElDescriptionsCell from './descriptions-cell'\nimport { descriptionsKey } from './token'\nimport { descriptionsRowProps } from './descriptions-row'\n\nimport type { IDescriptionsInject } from './descriptions.type'\n\ndefineOptions({\n name: 'ElDescriptionsRow',\n})\n\ndefineProps(descriptionsRowProps)\n\nconst descriptions = inject(descriptionsKey, {} as IDescriptionsInject)\n</script>\n"],"names":[],"mappings":";;;;;;;mCAiCc,CAAA;AAAA,EACZ,IAAM,EAAA,mBAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAA,MAAM,YAAe,GAAA,MAAA,CAAO,eAAiB,EAAA,EAAyB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"descriptions-row2.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { DescriptionItemVNode } from './description-item'\n\nexport const descriptionsRowProps = buildProps({\n row: {\n type: definePropType<DescriptionItemVNode[]>(Array),\n default: () => [],\n },\n} as const)\n"],"names":[],"mappings":";;;AACY,MAAC,oBAAoB,GAAG,UAAU,CAAC;AAC/C,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,CAAC;;;;"}
@@ -1,6 +1,6 @@
1
1
  import '../../utils/index.mjs';
2
- import Empty from './src/empty.mjs';
3
- export { emptyProps } from './src/empty2.mjs';
2
+ import Empty from './src/empty2.mjs';
3
+ export { emptyProps } from './src/empty.mjs';
4
4
  import { withInstall } from '../../utils/vue/install.mjs';
5
5
 
6
6
  const ElEmpty = withInstall(Empty);
@@ -1,61 +1,17 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, createVNode, toDisplayString, createCommentVNode } from 'vue';
2
- import '../../../hooks/index.mjs';
3
1
  import '../../../utils/index.mjs';
4
- import ImgEmpty from './img-empty.mjs';
5
- import { emptyProps } from './empty2.mjs';
6
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
- import { useLocale } from '../../../hooks/use-locale/index.mjs';
8
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
- import { addUnit } from '../../../utils/dom/style.mjs';
2
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
10
3
 
11
- const _hoisted_1 = ["src"];
12
- const _hoisted_2 = { key: 1 };
13
- const __default__ = defineComponent({
14
- name: "ElEmpty"
15
- });
16
- const _sfc_main = /* @__PURE__ */ defineComponent({
17
- ...__default__,
18
- props: emptyProps,
19
- setup(__props) {
20
- const props = __props;
21
- const { t } = useLocale();
22
- const ns = useNamespace("empty");
23
- const emptyDescription = computed(() => props.description || t("el.table.emptyText"));
24
- const imageStyle = computed(() => ({
25
- width: addUnit(props.imageSize)
26
- }));
27
- return (_ctx, _cache) => {
28
- return openBlock(), createElementBlock("div", {
29
- class: normalizeClass(unref(ns).b())
30
- }, [
31
- createElementVNode("div", {
32
- class: normalizeClass(unref(ns).e("image")),
33
- style: normalizeStyle(unref(imageStyle))
34
- }, [
35
- _ctx.image ? (openBlock(), createElementBlock("img", {
36
- key: 0,
37
- src: _ctx.image,
38
- ondragstart: "return false"
39
- }, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
40
- createVNode(ImgEmpty)
41
- ])
42
- ], 6),
43
- createElementVNode("div", {
44
- class: normalizeClass(unref(ns).e("description"))
45
- }, [
46
- _ctx.$slots.description ? renderSlot(_ctx.$slots, "description", { key: 0 }) : (openBlock(), createElementBlock("p", _hoisted_2, toDisplayString(unref(emptyDescription)), 1))
47
- ], 2),
48
- _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
49
- key: 0,
50
- class: normalizeClass(unref(ns).e("bottom"))
51
- }, [
52
- renderSlot(_ctx.$slots, "default")
53
- ], 2)) : createCommentVNode("v-if", true)
54
- ], 2);
55
- };
4
+ const emptyProps = buildProps({
5
+ image: {
6
+ type: String,
7
+ default: ""
8
+ },
9
+ imageSize: Number,
10
+ description: {
11
+ type: String,
12
+ default: ""
56
13
  }
57
14
  });
58
- var Empty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "empty.vue"]]);
59
15
 
60
- export { Empty as default };
16
+ export { emptyProps };
61
17
  //# sourceMappingURL=empty.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"empty.mjs","sources":["../../../../../../packages/components/empty/src/empty.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div :class=\"ns.e('image')\" :style=\"imageStyle\">\n <img v-if=\"image\" :src=\"image\" ondragstart=\"return false\" />\n <slot v-else name=\"image\">\n <img-empty />\n </slot>\n </div>\n <div :class=\"ns.e('description')\">\n <slot v-if=\"$slots.description\" name=\"description\" />\n <p v-else>{{ emptyDescription }}</p>\n </div>\n <div v-if=\"$slots.default\" :class=\"ns.e('bottom')\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { addUnit } from '@element-plus/utils'\nimport ImgEmpty from './img-empty.vue'\nimport { emptyProps } from './empty'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElEmpty',\n})\n\nconst props = defineProps(emptyProps)\n\nconst { t } = useLocale()\nconst ns = useNamespace('empty')\nconst emptyDescription = computed(\n () => props.description || t('el.table.emptyText')\n)\nconst imageStyle = computed<CSSProperties>(() => ({\n width: addUnit(props.imageSize),\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCA2Bc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAE,MAAM,SAAU,EAAA,CAAA;AACxB,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAA,MAAM,mBAAmB,QACvB,CAAA,MAAM,MAAM,WAAe,IAAA,CAAA,CAAE,oBAAoB,CACnD,CAAA,CAAA;AACA,IAAM,MAAA,UAAA,GAAa,SAAwB,OAAO;AAAA,MAChD,KAAA,EAAO,OAAQ,CAAA,KAAA,CAAM,SAAS,CAAA;AAAA,KAC9B,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"empty.mjs","sources":["../../../../../../packages/components/empty/src/empty.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const emptyProps = buildProps({\n /**\n * @description image URL of empty\n */\n image: {\n type: String,\n default: '',\n },\n /**\n * @description image size (width) of empty\n */\n imageSize: Number,\n /**\n * @description description of empty\n */\n description: {\n type: String,\n default: '',\n },\n} as const)\n\nexport type EmptyProps = ExtractPropTypes<typeof emptyProps>\n"],"names":[],"mappings":";;;AACY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
@@ -1,17 +1,61 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot, createVNode, toDisplayString, createCommentVNode } from 'vue';
2
+ import '../../../hooks/index.mjs';
1
3
  import '../../../utils/index.mjs';
2
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
4
+ import ImgEmpty from './img-empty.mjs';
5
+ import { emptyProps } from './empty.mjs';
6
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
+ import { useLocale } from '../../../hooks/use-locale/index.mjs';
8
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
+ import { addUnit } from '../../../utils/dom/style.mjs';
3
10
 
4
- const emptyProps = buildProps({
5
- image: {
6
- type: String,
7
- default: ""
8
- },
9
- imageSize: Number,
10
- description: {
11
- type: String,
12
- default: ""
11
+ const _hoisted_1 = ["src"];
12
+ const _hoisted_2 = { key: 1 };
13
+ const __default__ = defineComponent({
14
+ name: "ElEmpty"
15
+ });
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ ...__default__,
18
+ props: emptyProps,
19
+ setup(__props) {
20
+ const props = __props;
21
+ const { t } = useLocale();
22
+ const ns = useNamespace("empty");
23
+ const emptyDescription = computed(() => props.description || t("el.table.emptyText"));
24
+ const imageStyle = computed(() => ({
25
+ width: addUnit(props.imageSize)
26
+ }));
27
+ return (_ctx, _cache) => {
28
+ return openBlock(), createElementBlock("div", {
29
+ class: normalizeClass(unref(ns).b())
30
+ }, [
31
+ createElementVNode("div", {
32
+ class: normalizeClass(unref(ns).e("image")),
33
+ style: normalizeStyle(unref(imageStyle))
34
+ }, [
35
+ _ctx.image ? (openBlock(), createElementBlock("img", {
36
+ key: 0,
37
+ src: _ctx.image,
38
+ ondragstart: "return false"
39
+ }, null, 8, _hoisted_1)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
40
+ createVNode(ImgEmpty)
41
+ ])
42
+ ], 6),
43
+ createElementVNode("div", {
44
+ class: normalizeClass(unref(ns).e("description"))
45
+ }, [
46
+ _ctx.$slots.description ? renderSlot(_ctx.$slots, "description", { key: 0 }) : (openBlock(), createElementBlock("p", _hoisted_2, toDisplayString(unref(emptyDescription)), 1))
47
+ ], 2),
48
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
49
+ key: 0,
50
+ class: normalizeClass(unref(ns).e("bottom"))
51
+ }, [
52
+ renderSlot(_ctx.$slots, "default")
53
+ ], 2)) : createCommentVNode("v-if", true)
54
+ ], 2);
55
+ };
13
56
  }
14
57
  });
58
+ var Empty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "empty.vue"]]);
15
59
 
16
- export { emptyProps };
60
+ export { Empty as default };
17
61
  //# sourceMappingURL=empty2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"empty2.mjs","sources":["../../../../../../packages/components/empty/src/empty.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const emptyProps = buildProps({\n /**\n * @description image URL of empty\n */\n image: {\n type: String,\n default: '',\n },\n /**\n * @description image size (width) of empty\n */\n imageSize: Number,\n /**\n * @description description of empty\n */\n description: {\n type: String,\n default: '',\n },\n} as const)\n\nexport type EmptyProps = ExtractPropTypes<typeof emptyProps>\n"],"names":[],"mappings":";;;AACY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"empty2.mjs","sources":["../../../../../../packages/components/empty/src/empty.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div :class=\"ns.e('image')\" :style=\"imageStyle\">\n <img v-if=\"image\" :src=\"image\" ondragstart=\"return false\" />\n <slot v-else name=\"image\">\n <img-empty />\n </slot>\n </div>\n <div :class=\"ns.e('description')\">\n <slot v-if=\"$slots.description\" name=\"description\" />\n <p v-else>{{ emptyDescription }}</p>\n </div>\n <div v-if=\"$slots.default\" :class=\"ns.e('bottom')\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { addUnit } from '@element-plus/utils'\nimport ImgEmpty from './img-empty.vue'\nimport { emptyProps } from './empty'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElEmpty',\n})\n\nconst props = defineProps(emptyProps)\n\nconst { t } = useLocale()\nconst ns = useNamespace('empty')\nconst emptyDescription = computed(\n () => props.description || t('el.table.emptyText')\n)\nconst imageStyle = computed<CSSProperties>(() => ({\n width: addUnit(props.imageSize),\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCA2Bc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAE,MAAM,SAAU,EAAA,CAAA;AACxB,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAA,MAAM,mBAAmB,QACvB,CAAA,MAAM,MAAM,WAAe,IAAA,CAAA,CAAE,oBAAoB,CACnD,CAAA,CAAA;AACA,IAAM,MAAA,UAAA,GAAa,SAAwB,OAAO;AAAA,MAChD,KAAA,EAAO,OAAQ,CAAA,KAAA,CAAM,SAAS,CAAA;AAAA,KAC9B,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -101,7 +101,7 @@ export { CASCADER_PANEL_INJECTION_KEY } from './cascader-panel/src/types.mjs';
101
101
  export { CommonProps, DefaultProps, useCascaderConfig } from './cascader-panel/src/config.mjs';
102
102
  export { checkTagEmits, checkTagProps } from './check-tag/src/check-tag.mjs';
103
103
  export { checkboxGroupEmits, checkboxGroupProps } from './checkbox/src/checkbox-group.mjs';
104
- export { checkboxEmits, checkboxProps } from './checkbox/src/checkbox.mjs';
104
+ export { checkboxEmits, checkboxProps } from './checkbox/src/checkbox2.mjs';
105
105
  export { checkboxGroupContextKey } from './checkbox/src/constants.mjs';
106
106
  export { colProps } from './col/src/col.mjs';
107
107
  export { collapseEmits, collapseProps, emitChangeFn } from './collapse/src/collapse.mjs';
@@ -124,7 +124,7 @@ export { dividerProps } from './divider/src/divider.mjs';
124
124
  export { drawerEmits, drawerProps } from './drawer/src/drawer.mjs';
125
125
  export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './dropdown/src/dropdown.mjs';
126
126
  export { DROPDOWN_INJECTION_KEY } from './dropdown/src/tokens.mjs';
127
- export { emptyProps } from './empty/src/empty2.mjs';
127
+ export { emptyProps } from './empty/src/empty.mjs';
128
128
  export { formEmits, formMetaProps, formProps } from './form/src/form.mjs';
129
129
  export { formItemProps, formItemValidateStates } from './form/src/form-item.mjs';
130
130
  export { formContextKey, formItemContextKey } from './form/src/constants.mjs';
@@ -203,7 +203,7 @@ export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useToo
203
203
  export { useTooltipTriggerProps } from './tooltip/src/trigger.mjs';
204
204
  export { useTooltipContentProps } from './tooltip/src/content.mjs';
205
205
  export { TOOLTIP_INJECTION_KEY } from './tooltip/src/constants.mjs';
206
- export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './transfer/src/transfer2.mjs';
206
+ export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './transfer/src/transfer.mjs';
207
207
  export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './upload/src/upload.mjs';
208
208
  export { uploadContentProps } from './upload/src/upload-content.mjs';
209
209
  export { uploadListEmits, uploadListProps } from './upload/src/upload-list.mjs';
@@ -20,7 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
21
21
  if (isFunction(formatter))
22
22
  return formatter(value);
23
- if (!isNumber(value))
23
+ if (!isNumber(value) || Number.isNaN(value))
24
24
  return value;
25
25
  let [integer, decimal = ""] = String(value).split(".");
26
26
  decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
@@ -1 +1 @@
1
- {"version":3,"file":"statistic2.mjs","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n if (!isNumber(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAA,EAAO,SAAW,EAAA,SAAA,EAAW,kBAAkB,cACrD,EAAA,GAAA,KAAA,CAAA;AAEF,MAAA,IAAI,WAAW,SAAS,CAAA;AAAG,QAAA,OAAO,UAAU,KAAK,CAAA,CAAA;AAEjD,MAAI,IAAA,CAAC,SAAS,KAAK,CAAA;AAAG,QAAO,OAAA,KAAA,CAAA;AAE7B,MAAI,IAAA,CAAC,SAAS,OAAU,GAAA,EAAA,CAAA,GAAM,OAAO,KAAK,CAAA,CAAE,MAAM,GAAG,CAAA,CAAA;AACrD,MAAU,OAAA,GAAA,OAAA,CACP,MAAO,CAAA,SAAA,EAAW,GAAG,CAAA,CACrB,MAAM,CAAG,EAAA,SAAA,GAAY,CAAI,GAAA,SAAA,GAAY,CAAC,CAAA,CAAA;AACzC,MAAU,OAAA,GAAA,OAAA,CAAQ,OAAQ,CAAA,uBAAA,EAAyB,cAAc,CAAA,CAAA;AACjE,MAAA,OAAO,CAAC,OAAS,EAAA,OAAO,EAAE,IAAK,CAAA,OAAA,GAAU,mBAAmB,EAAE,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAIX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"statistic2.mjs","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n // https://github.com/element-plus/element-plus/issues/17784\n if (!isNumber(value) || Number.isNaN(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAA,EAAO,SAAW,EAAA,SAAA,EAAW,kBAAkB,cACrD,EAAA,GAAA,KAAA,CAAA;AAEF,MAAA,IAAI,WAAW,SAAS,CAAA;AAAG,QAAA,OAAO,UAAU,KAAK,CAAA,CAAA;AAGjD,MAAA,IAAI,CAAC,QAAS,CAAA,KAAK,CAAK,IAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AAAG,QAAO,OAAA,KAAA,CAAA;AAEpD,MAAI,IAAA,CAAC,SAAS,OAAU,GAAA,EAAA,CAAA,GAAM,OAAO,KAAK,CAAA,CAAE,MAAM,GAAG,CAAA,CAAA;AACrD,MAAU,OAAA,GAAA,OAAA,CACP,MAAO,CAAA,SAAA,EAAW,GAAG,CAAA,CACrB,MAAM,CAAG,EAAA,SAAA,GAAY,CAAI,GAAA,SAAA,GAAY,CAAC,CAAA,CAAA;AACzC,MAAU,OAAA,GAAA,OAAA,CAAQ,OAAQ,CAAA,uBAAA,EAAyB,cAAc,CAAA,CAAA;AACjE,MAAA,OAAO,CAAC,OAAS,EAAA,OAAO,EAAE,IAAK,CAAA,OAAA,GAAU,mBAAmB,EAAE,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAIX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,6 +11,7 @@ export declare const DEFAULT_FORMATS_DATEPICKER: {
11
11
  months: string;
12
12
  datetime: string;
13
13
  monthrange: string;
14
+ yearrange: string;
14
15
  daterange: string;
15
16
  datetimerange: string;
16
17
  };
@@ -11,6 +11,7 @@ const DEFAULT_FORMATS_DATEPICKER = {
11
11
  months: "YYYY-MM",
12
12
  datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,
13
13
  monthrange: "YYYY-MM",
14
+ yearrange: "YYYY",
14
15
  daterange: DEFAULT_FORMATS_DATE,
15
16
  datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`
16
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","sources":["../../../../../../packages/components/time-picker/src/constants.ts"],"sourcesContent":["export const timeUnits = ['hours', 'minutes', 'seconds'] as const\n\nexport const DEFAULT_FORMATS_TIME = 'HH:mm:ss'\nexport const DEFAULT_FORMATS_DATE = 'YYYY-MM-DD'\nexport const DEFAULT_FORMATS_DATEPICKER = {\n date: DEFAULT_FORMATS_DATE,\n dates: DEFAULT_FORMATS_DATE,\n week: 'gggg[w]ww',\n year: 'YYYY',\n years: 'YYYY',\n month: 'YYYY-MM',\n months: 'YYYY-MM',\n datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n monthrange: 'YYYY-MM',\n daterange: DEFAULT_FORMATS_DATE,\n datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n}\n\nexport type TimeUnit = typeof timeUnits[number]\n"],"names":[],"mappings":"AAAY,MAAC,SAAS,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE;AAC7C,MAAC,oBAAoB,GAAG,WAAW;AACnC,MAAC,oBAAoB,GAAG,aAAa;AACrC,MAAC,0BAA0B,GAAG;AAC1C,EAAE,IAAI,EAAE,oBAAoB;AAC5B,EAAE,KAAK,EAAE,oBAAoB;AAC7B,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,QAAQ,EAAE,CAAC,EAAE,oBAAoB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAC7D,EAAE,UAAU,EAAE,SAAS;AACvB,EAAE,SAAS,EAAE,oBAAoB;AACjC,EAAE,aAAa,EAAE,CAAC,EAAE,oBAAoB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAClE;;;;"}
1
+ {"version":3,"file":"constants.mjs","sources":["../../../../../../packages/components/time-picker/src/constants.ts"],"sourcesContent":["export const timeUnits = ['hours', 'minutes', 'seconds'] as const\n\nexport const DEFAULT_FORMATS_TIME = 'HH:mm:ss'\nexport const DEFAULT_FORMATS_DATE = 'YYYY-MM-DD'\nexport const DEFAULT_FORMATS_DATEPICKER = {\n date: DEFAULT_FORMATS_DATE,\n dates: DEFAULT_FORMATS_DATE,\n week: 'gggg[w]ww',\n year: 'YYYY',\n years: 'YYYY',\n month: 'YYYY-MM',\n months: 'YYYY-MM',\n datetime: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n monthrange: 'YYYY-MM',\n yearrange: 'YYYY',\n daterange: DEFAULT_FORMATS_DATE,\n datetimerange: `${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,\n}\n\nexport type TimeUnit = typeof timeUnits[number]\n"],"names":[],"mappings":"AAAY,MAAC,SAAS,GAAG,CAAC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE;AAC7C,MAAC,oBAAoB,GAAG,WAAW;AACnC,MAAC,oBAAoB,GAAG,aAAa;AACrC,MAAC,0BAA0B,GAAG;AAC1C,EAAE,IAAI,EAAE,oBAAoB;AAC5B,EAAE,KAAK,EAAE,oBAAoB;AAC7B,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,MAAM,EAAE,SAAS;AACnB,EAAE,QAAQ,EAAE,CAAC,EAAE,oBAAoB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAC7D,EAAE,UAAU,EAAE,SAAS;AACvB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,SAAS,EAAE,oBAAoB;AACjC,EAAE,aAAa,EAAE,CAAC,EAAE,oBAAoB,CAAC,CAAC,EAAE,oBAAoB,CAAC,CAAC;AAClE;;;;"}
@@ -1,6 +1,6 @@
1
1
  import '../../utils/index.mjs';
2
- import Transfer from './src/transfer.mjs';
3
- export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './src/transfer2.mjs';
2
+ import Transfer from './src/transfer2.mjs';
3
+ export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './src/transfer.mjs';
4
4
  import { withInstall } from '../../utils/vue/install.mjs';
5
5
 
6
6
  const ElTransfer = withInstall(Transfer);
@@ -1,4 +1,4 @@
1
- import { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT } from '../transfer2.mjs';
1
+ import { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT } from '../transfer.mjs';
2
2
 
3
3
  const useCheckedChange = (checkedState, emit) => {
4
4
  const onSourceCheckedChange = (val, movedKeys) => {
@@ -1,5 +1,5 @@
1
1
  import '../../../utils/index.mjs';
2
- import { transferProps, transferCheckedChangeFn } from './transfer2.mjs';
2
+ import { transferProps, transferCheckedChangeFn } from './transfer.mjs';
3
3
  import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
4
4
 
5
5
  const CHECKED_CHANGE_EVENT = "checked-change";