element-pe 2.2.85 → 2.2.87

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 (442) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +0 -6
  3. package/dist/index.full.min.js +1 -1
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +1 -1
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +0 -6
  8. package/es/components/alert/index.mjs +2 -2
  9. package/es/components/alert/src/alert.mjs +38 -103
  10. package/es/components/alert/src/alert.mjs.map +1 -1
  11. package/es/components/alert/src/alert2.mjs +103 -38
  12. package/es/components/alert/src/alert2.mjs.map +1 -1
  13. package/es/components/badge/index.mjs +2 -2
  14. package/es/components/badge/src/badge.mjs +59 -17
  15. package/es/components/badge/src/badge.mjs.map +1 -1
  16. package/es/components/badge/src/badge2.mjs +17 -59
  17. package/es/components/badge/src/badge2.mjs.map +1 -1
  18. package/es/components/breadcrumb/index.mjs +4 -4
  19. package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -56
  20. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  21. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +56 -11
  22. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  23. package/es/components/breadcrumb/src/breadcrumb.mjs +36 -11
  24. package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
  25. package/es/components/breadcrumb/src/breadcrumb2.mjs +11 -36
  26. package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
  27. package/es/components/button/index.mjs +2 -2
  28. package/es/components/button/src/button-group.mjs +1 -1
  29. package/es/components/button/src/button.mjs +57 -76
  30. package/es/components/button/src/button.mjs.map +1 -1
  31. package/es/components/button/src/button2.mjs +76 -57
  32. package/es/components/button/src/button2.mjs.map +1 -1
  33. package/es/components/calendar/src/calendar.mjs +1 -1
  34. package/es/components/calendar/src/date-table.mjs +33 -87
  35. package/es/components/calendar/src/date-table.mjs.map +1 -1
  36. package/es/components/calendar/src/date-table2.mjs +87 -33
  37. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  38. package/es/components/calendar/src/use-date-table.mjs +1 -1
  39. package/es/components/card/index.mjs +2 -2
  40. package/es/components/card/src/card.mjs +17 -35
  41. package/es/components/card/src/card.mjs.map +1 -1
  42. package/es/components/card/src/card2.mjs +35 -17
  43. package/es/components/card/src/card2.mjs.map +1 -1
  44. package/es/components/cascader/src/cascader.mjs +1 -1
  45. package/es/components/collection/index.mjs +1 -1
  46. package/es/components/collection/src/collection.mjs +10 -66
  47. package/es/components/collection/src/collection.mjs.map +1 -1
  48. package/es/components/collection/src/collection2.mjs +66 -10
  49. package/es/components/collection/src/collection2.mjs.map +1 -1
  50. package/es/components/descriptions/src/description.mjs +1 -1
  51. package/es/components/descriptions/src/descriptions-row.mjs +7 -64
  52. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  53. package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
  54. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  55. package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
  56. package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
  57. package/es/components/dropdown/src/dropdown.mjs +1 -1
  58. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  59. package/es/components/form/index.mjs +4 -4
  60. package/es/components/form/src/form-item.mjs +46 -328
  61. package/es/components/form/src/form-item.mjs.map +1 -1
  62. package/es/components/form/src/form-item2.mjs +328 -46
  63. package/es/components/form/src/form-item2.mjs.map +1 -1
  64. package/es/components/form/src/form.mjs +58 -150
  65. package/es/components/form/src/form.mjs.map +1 -1
  66. package/es/components/form/src/form2.mjs +150 -58
  67. package/es/components/form/src/form2.mjs.map +1 -1
  68. package/es/components/index.mjs +29 -29
  69. package/es/components/input/index.mjs +2 -2
  70. package/es/components/input/src/input.mjs +114 -468
  71. package/es/components/input/src/input.mjs.map +1 -1
  72. package/es/components/input/src/input2.mjs +468 -114
  73. package/es/components/input/src/input2.mjs.map +1 -1
  74. package/es/components/input-number/index.mjs +2 -2
  75. package/es/components/input-number/src/input-number.mjs +335 -69
  76. package/es/components/input-number/src/input-number.mjs.map +1 -1
  77. package/es/components/input-number/src/input-number2.mjs +69 -335
  78. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  79. package/es/components/pagination/src/components/next.mjs +19 -38
  80. package/es/components/pagination/src/components/next.mjs.map +1 -1
  81. package/es/components/pagination/src/components/next2.mjs +38 -19
  82. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  83. package/es/components/pagination/src/components/prev.mjs +18 -38
  84. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  85. package/es/components/pagination/src/components/prev2.mjs +38 -18
  86. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  87. package/es/components/pagination/src/components/total.mjs +28 -7
  88. package/es/components/pagination/src/components/total.mjs.map +1 -1
  89. package/es/components/pagination/src/components/total2.mjs +7 -28
  90. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  91. package/es/components/pagination/src/pagination.mjs +3 -3
  92. package/es/components/popconfirm/index.mjs +2 -2
  93. package/es/components/popconfirm/src/popconfirm.mjs +47 -110
  94. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  95. package/es/components/popconfirm/src/popconfirm2.mjs +110 -47
  96. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  97. package/es/components/popover/index.mjs +2 -2
  98. package/es/components/popover/src/popover.mjs +111 -66
  99. package/es/components/popover/src/popover.mjs.map +1 -1
  100. package/es/components/popover/src/popover2.mjs +66 -111
  101. package/es/components/popover/src/popover2.mjs.map +1 -1
  102. package/es/components/radio/index.mjs +6 -6
  103. package/es/components/radio/src/radio-button.mjs +9 -67
  104. package/es/components/radio/src/radio-button.mjs.map +1 -1
  105. package/es/components/radio/src/radio-button2.mjs +67 -9
  106. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  107. package/es/components/radio/src/radio-group.mjs +42 -70
  108. package/es/components/radio/src/radio-group.mjs.map +1 -1
  109. package/es/components/radio/src/radio-group2.mjs +70 -42
  110. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  111. package/es/components/radio/src/radio.mjs +35 -76
  112. package/es/components/radio/src/radio.mjs.map +1 -1
  113. package/es/components/radio/src/radio2.mjs +76 -35
  114. package/es/components/radio/src/radio2.mjs.map +1 -1
  115. package/es/components/resizable-columns/index.mjs +4 -4
  116. package/es/components/resizable-columns/src/resizable-column.mjs +145 -8
  117. package/es/components/resizable-columns/src/resizable-column.mjs.map +1 -1
  118. package/es/components/resizable-columns/src/resizable-column2.mjs +8 -145
  119. package/es/components/resizable-columns/src/resizable-column2.mjs.map +1 -1
  120. package/es/components/resizable-columns/src/resizable-columns.mjs +248 -21
  121. package/es/components/resizable-columns/src/resizable-columns.mjs.map +1 -1
  122. package/es/components/resizable-columns/src/resizable-columns2.mjs +21 -254
  123. package/es/components/resizable-columns/src/resizable-columns2.mjs.map +1 -1
  124. package/es/components/result/index.mjs +2 -2
  125. package/es/components/result/src/result.mjs +63 -29
  126. package/es/components/result/src/result.mjs.map +1 -1
  127. package/es/components/result/src/result2.mjs +29 -63
  128. package/es/components/result/src/result2.mjs.map +1 -1
  129. package/es/components/roving-focus-group/index.mjs +3 -3
  130. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  131. package/es/components/roving-focus-group/src/roving-focus-group.mjs +29 -27
  132. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  133. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -29
  134. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  135. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  136. package/es/components/row/index.mjs +2 -2
  137. package/es/components/row/src/row.mjs +45 -29
  138. package/es/components/row/src/row.mjs.map +1 -1
  139. package/es/components/row/src/row2.mjs +29 -45
  140. package/es/components/row/src/row2.mjs.map +1 -1
  141. package/es/components/select/src/select.mjs +1 -1
  142. package/es/components/skeleton/index.mjs +2 -2
  143. package/es/components/skeleton/src/skeleton.mjs +22 -49
  144. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  145. package/es/components/skeleton/src/skeleton2.mjs +49 -22
  146. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  147. package/es/components/slider/index.mjs +2 -2
  148. package/es/components/slider/src/slider.mjs +96 -237
  149. package/es/components/slider/src/slider.mjs.map +1 -1
  150. package/es/components/slider/src/slider2.mjs +237 -96
  151. package/es/components/slider/src/slider2.mjs.map +1 -1
  152. package/es/components/steps/index.mjs +4 -4
  153. package/es/components/steps/src/item.mjs +193 -19
  154. package/es/components/steps/src/item.mjs.map +1 -1
  155. package/es/components/steps/src/item2.mjs +19 -193
  156. package/es/components/steps/src/item2.mjs.map +1 -1
  157. package/es/components/steps/src/steps.mjs +39 -36
  158. package/es/components/steps/src/steps.mjs.map +1 -1
  159. package/es/components/steps/src/steps2.mjs +36 -39
  160. package/es/components/steps/src/steps2.mjs.map +1 -1
  161. package/es/components/switch/index.mjs +2 -2
  162. package/es/components/switch/src/switch.mjs +99 -267
  163. package/es/components/switch/src/switch.mjs.map +1 -1
  164. package/es/components/switch/src/switch2.mjs +267 -99
  165. package/es/components/switch/src/switch2.mjs.map +1 -1
  166. package/es/components/tabs/index.mjs +1 -1
  167. package/es/components/tabs/src/tab-bar.mjs +7 -75
  168. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  169. package/es/components/tabs/src/tab-bar2.mjs +75 -7
  170. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  171. package/es/components/tabs/src/tab-nav.mjs +1 -1
  172. package/es/components/tag/index.mjs +2 -2
  173. package/es/components/tag/src/tag.mjs +98 -33
  174. package/es/components/tag/src/tag.mjs.map +1 -1
  175. package/es/components/tag/src/tag2.mjs +33 -98
  176. package/es/components/tag/src/tag2.mjs.map +1 -1
  177. package/es/components/text/index.mjs +2 -2
  178. package/es/components/text/src/text.mjs +35 -22
  179. package/es/components/text/src/text.mjs.map +1 -1
  180. package/es/components/text/src/text2.mjs +22 -35
  181. package/es/components/text/src/text2.mjs.map +1 -1
  182. package/es/components/time-select/index.mjs +1 -1
  183. package/es/components/time-select/src/time-select.mjs +132 -55
  184. package/es/components/time-select/src/time-select.mjs.map +1 -1
  185. package/es/components/time-select/src/time-select2.mjs +55 -132
  186. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  187. package/es/components/tooltip-v2/index.mjs +5 -5
  188. package/es/components/tooltip-v2/src/arrow.mjs +22 -37
  189. package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
  190. package/es/components/tooltip-v2/src/arrow2.mjs +37 -22
  191. package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
  192. package/es/components/tooltip-v2/src/content.mjs +114 -50
  193. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  194. package/es/components/tooltip-v2/src/content2.mjs +50 -114
  195. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  196. package/es/components/tooltip-v2/src/tooltip.mjs +21 -78
  197. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  198. package/es/components/tooltip-v2/src/tooltip2.mjs +78 -21
  199. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  200. package/es/components/tooltip-v2/src/trigger.mjs +91 -12
  201. package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
  202. package/es/components/tooltip-v2/src/trigger2.mjs +12 -91
  203. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  204. package/es/components/transfer/index.mjs +2 -2
  205. package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
  206. package/es/components/transfer/src/transfer-panel2.mjs +1 -1
  207. package/es/components/transfer/src/transfer.mjs +162 -69
  208. package/es/components/transfer/src/transfer.mjs.map +1 -1
  209. package/es/components/transfer/src/transfer2.mjs +69 -162
  210. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  211. package/es/components/upload/index.mjs +1 -1
  212. package/es/components/upload/src/upload-list.mjs +26 -179
  213. package/es/components/upload/src/upload-list.mjs.map +1 -1
  214. package/es/components/upload/src/upload-list2.mjs +179 -26
  215. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  216. package/es/components/upload/src/upload2.mjs +1 -1
  217. package/es/components/visual-hidden/index.mjs +3 -3
  218. package/es/components/visual-hidden/src/visual-hidden.mjs +7 -35
  219. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  220. package/es/components/visual-hidden/src/visual-hidden2.mjs +35 -7
  221. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  222. package/es/index.mjs +29 -29
  223. package/lib/components/alert/index.js +2 -2
  224. package/lib/components/alert/src/alert.js +39 -102
  225. package/lib/components/alert/src/alert.js.map +1 -1
  226. package/lib/components/alert/src/alert2.js +102 -39
  227. package/lib/components/alert/src/alert2.js.map +1 -1
  228. package/lib/components/badge/index.js +2 -2
  229. package/lib/components/badge/src/badge.js +59 -17
  230. package/lib/components/badge/src/badge.js.map +1 -1
  231. package/lib/components/badge/src/badge2.js +17 -59
  232. package/lib/components/badge/src/badge2.js.map +1 -1
  233. package/lib/components/breadcrumb/index.js +4 -4
  234. package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -56
  235. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  236. package/lib/components/breadcrumb/src/breadcrumb-item2.js +56 -11
  237. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  238. package/lib/components/breadcrumb/src/breadcrumb.js +36 -11
  239. package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
  240. package/lib/components/breadcrumb/src/breadcrumb2.js +11 -36
  241. package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
  242. package/lib/components/button/index.js +2 -2
  243. package/lib/components/button/src/button-group.js +1 -1
  244. package/lib/components/button/src/button.js +60 -76
  245. package/lib/components/button/src/button.js.map +1 -1
  246. package/lib/components/button/src/button2.js +76 -60
  247. package/lib/components/button/src/button2.js.map +1 -1
  248. package/lib/components/calendar/src/calendar.js +1 -1
  249. package/lib/components/calendar/src/date-table.js +37 -87
  250. package/lib/components/calendar/src/date-table.js.map +1 -1
  251. package/lib/components/calendar/src/date-table2.js +87 -37
  252. package/lib/components/calendar/src/date-table2.js.map +1 -1
  253. package/lib/components/calendar/src/use-date-table.js +1 -1
  254. package/lib/components/card/index.js +2 -2
  255. package/lib/components/card/src/card.js +17 -35
  256. package/lib/components/card/src/card.js.map +1 -1
  257. package/lib/components/card/src/card2.js +35 -17
  258. package/lib/components/card/src/card2.js.map +1 -1
  259. package/lib/components/cascader/src/cascader.js +1 -1
  260. package/lib/components/collection/index.js +1 -1
  261. package/lib/components/collection/src/collection.js +9 -66
  262. package/lib/components/collection/src/collection.js.map +1 -1
  263. package/lib/components/collection/src/collection2.js +66 -9
  264. package/lib/components/collection/src/collection2.js.map +1 -1
  265. package/lib/components/descriptions/src/description.js +1 -1
  266. package/lib/components/descriptions/src/descriptions-row.js +7 -64
  267. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  268. package/lib/components/descriptions/src/descriptions-row2.js +64 -7
  269. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  270. package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
  271. package/lib/components/dropdown/src/dropdown-menu.js +1 -1
  272. package/lib/components/dropdown/src/dropdown.js +1 -1
  273. package/lib/components/dropdown/src/dropdown2.js +1 -1
  274. package/lib/components/form/index.js +4 -4
  275. package/lib/components/form/src/form-item.js +47 -332
  276. package/lib/components/form/src/form-item.js.map +1 -1
  277. package/lib/components/form/src/form-item2.js +332 -47
  278. package/lib/components/form/src/form-item2.js.map +1 -1
  279. package/lib/components/form/src/form.js +58 -149
  280. package/lib/components/form/src/form.js.map +1 -1
  281. package/lib/components/form/src/form2.js +149 -58
  282. package/lib/components/form/src/form2.js.map +1 -1
  283. package/lib/components/index.js +29 -29
  284. package/lib/components/input/index.js +2 -2
  285. package/lib/components/input/src/input.js +114 -467
  286. package/lib/components/input/src/input.js.map +1 -1
  287. package/lib/components/input/src/input2.js +467 -114
  288. package/lib/components/input/src/input2.js.map +1 -1
  289. package/lib/components/input-number/index.js +2 -2
  290. package/lib/components/input-number/src/input-number.js +333 -68
  291. package/lib/components/input-number/src/input-number.js.map +1 -1
  292. package/lib/components/input-number/src/input-number2.js +68 -333
  293. package/lib/components/input-number/src/input-number2.js.map +1 -1
  294. package/lib/components/pagination/src/components/next.js +19 -38
  295. package/lib/components/pagination/src/components/next.js.map +1 -1
  296. package/lib/components/pagination/src/components/next2.js +38 -19
  297. package/lib/components/pagination/src/components/next2.js.map +1 -1
  298. package/lib/components/pagination/src/components/prev.js +19 -38
  299. package/lib/components/pagination/src/components/prev.js.map +1 -1
  300. package/lib/components/pagination/src/components/prev2.js +38 -19
  301. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  302. package/lib/components/pagination/src/components/total.js +28 -7
  303. package/lib/components/pagination/src/components/total.js.map +1 -1
  304. package/lib/components/pagination/src/components/total2.js +7 -28
  305. package/lib/components/pagination/src/components/total2.js.map +1 -1
  306. package/lib/components/pagination/src/pagination.js +3 -3
  307. package/lib/components/popconfirm/index.js +2 -2
  308. package/lib/components/popconfirm/src/popconfirm.js +48 -110
  309. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  310. package/lib/components/popconfirm/src/popconfirm2.js +110 -48
  311. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  312. package/lib/components/popover/index.js +2 -2
  313. package/lib/components/popover/src/popover.js +111 -67
  314. package/lib/components/popover/src/popover.js.map +1 -1
  315. package/lib/components/popover/src/popover2.js +67 -111
  316. package/lib/components/popover/src/popover2.js.map +1 -1
  317. package/lib/components/radio/index.js +6 -6
  318. package/lib/components/radio/src/radio-button.js +9 -67
  319. package/lib/components/radio/src/radio-button.js.map +1 -1
  320. package/lib/components/radio/src/radio-button2.js +67 -9
  321. package/lib/components/radio/src/radio-button2.js.map +1 -1
  322. package/lib/components/radio/src/radio-group.js +43 -70
  323. package/lib/components/radio/src/radio-group.js.map +1 -1
  324. package/lib/components/radio/src/radio-group2.js +70 -43
  325. package/lib/components/radio/src/radio-group2.js.map +1 -1
  326. package/lib/components/radio/src/radio.js +37 -76
  327. package/lib/components/radio/src/radio.js.map +1 -1
  328. package/lib/components/radio/src/radio2.js +76 -37
  329. package/lib/components/radio/src/radio2.js.map +1 -1
  330. package/lib/components/resizable-columns/index.js +4 -4
  331. package/lib/components/resizable-columns/src/resizable-column.js +145 -8
  332. package/lib/components/resizable-columns/src/resizable-column.js.map +1 -1
  333. package/lib/components/resizable-columns/src/resizable-column2.js +8 -145
  334. package/lib/components/resizable-columns/src/resizable-column2.js.map +1 -1
  335. package/lib/components/resizable-columns/src/resizable-columns.js +248 -21
  336. package/lib/components/resizable-columns/src/resizable-columns.js.map +1 -1
  337. package/lib/components/resizable-columns/src/resizable-columns2.js +21 -254
  338. package/lib/components/resizable-columns/src/resizable-columns2.js.map +1 -1
  339. package/lib/components/result/index.js +2 -2
  340. package/lib/components/result/src/result.js +63 -31
  341. package/lib/components/result/src/result.js.map +1 -1
  342. package/lib/components/result/src/result2.js +31 -63
  343. package/lib/components/result/src/result2.js.map +1 -1
  344. package/lib/components/roving-focus-group/index.js +2 -2
  345. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  346. package/lib/components/roving-focus-group/src/roving-focus-group.js +33 -27
  347. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  348. package/lib/components/roving-focus-group/src/roving-focus-group2.js +27 -33
  349. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  350. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  351. package/lib/components/row/index.js +2 -2
  352. package/lib/components/row/src/row.js +45 -31
  353. package/lib/components/row/src/row.js.map +1 -1
  354. package/lib/components/row/src/row2.js +31 -45
  355. package/lib/components/row/src/row2.js.map +1 -1
  356. package/lib/components/select/src/select.js +1 -1
  357. package/lib/components/skeleton/index.js +2 -2
  358. package/lib/components/skeleton/src/skeleton.js +22 -49
  359. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  360. package/lib/components/skeleton/src/skeleton2.js +49 -22
  361. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  362. package/lib/components/slider/index.js +2 -2
  363. package/lib/components/slider/src/slider.js +97 -237
  364. package/lib/components/slider/src/slider.js.map +1 -1
  365. package/lib/components/slider/src/slider2.js +237 -97
  366. package/lib/components/slider/src/slider2.js.map +1 -1
  367. package/lib/components/steps/index.js +4 -4
  368. package/lib/components/steps/src/item.js +193 -19
  369. package/lib/components/steps/src/item.js.map +1 -1
  370. package/lib/components/steps/src/item2.js +19 -193
  371. package/lib/components/steps/src/item2.js.map +1 -1
  372. package/lib/components/steps/src/steps.js +39 -37
  373. package/lib/components/steps/src/steps.js.map +1 -1
  374. package/lib/components/steps/src/steps2.js +37 -39
  375. package/lib/components/steps/src/steps2.js.map +1 -1
  376. package/lib/components/switch/index.js +2 -2
  377. package/lib/components/switch/src/switch.js +99 -266
  378. package/lib/components/switch/src/switch.js.map +1 -1
  379. package/lib/components/switch/src/switch2.js +266 -99
  380. package/lib/components/switch/src/switch2.js.map +1 -1
  381. package/lib/components/tabs/index.js +1 -1
  382. package/lib/components/tabs/src/tab-bar.js +7 -75
  383. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  384. package/lib/components/tabs/src/tab-bar2.js +75 -7
  385. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  386. package/lib/components/tabs/src/tab-nav.js +1 -1
  387. package/lib/components/tag/index.js +2 -2
  388. package/lib/components/tag/src/tag.js +98 -34
  389. package/lib/components/tag/src/tag.js.map +1 -1
  390. package/lib/components/tag/src/tag2.js +34 -98
  391. package/lib/components/tag/src/tag2.js.map +1 -1
  392. package/lib/components/text/index.js +2 -2
  393. package/lib/components/text/src/text.js +35 -22
  394. package/lib/components/text/src/text.js.map +1 -1
  395. package/lib/components/text/src/text2.js +22 -35
  396. package/lib/components/text/src/text2.js.map +1 -1
  397. package/lib/components/time-select/index.js +1 -1
  398. package/lib/components/time-select/src/time-select.js +137 -55
  399. package/lib/components/time-select/src/time-select.js.map +1 -1
  400. package/lib/components/time-select/src/time-select2.js +55 -137
  401. package/lib/components/time-select/src/time-select2.js.map +1 -1
  402. package/lib/components/tooltip-v2/index.js +5 -5
  403. package/lib/components/tooltip-v2/src/arrow.js +23 -37
  404. package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
  405. package/lib/components/tooltip-v2/src/arrow2.js +37 -23
  406. package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
  407. package/lib/components/tooltip-v2/src/content.js +114 -50
  408. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  409. package/lib/components/tooltip-v2/src/content2.js +50 -114
  410. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  411. package/lib/components/tooltip-v2/src/tooltip.js +21 -78
  412. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  413. package/lib/components/tooltip-v2/src/tooltip2.js +78 -21
  414. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  415. package/lib/components/tooltip-v2/src/trigger.js +91 -12
  416. package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
  417. package/lib/components/tooltip-v2/src/trigger2.js +12 -91
  418. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  419. package/lib/components/transfer/index.js +2 -2
  420. package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
  421. package/lib/components/transfer/src/transfer-panel2.js +1 -1
  422. package/lib/components/transfer/src/transfer.js +162 -73
  423. package/lib/components/transfer/src/transfer.js.map +1 -1
  424. package/lib/components/transfer/src/transfer2.js +73 -162
  425. package/lib/components/transfer/src/transfer2.js.map +1 -1
  426. package/lib/components/upload/index.js +1 -1
  427. package/lib/components/upload/src/upload-list.js +27 -179
  428. package/lib/components/upload/src/upload-list.js.map +1 -1
  429. package/lib/components/upload/src/upload-list2.js +179 -27
  430. package/lib/components/upload/src/upload-list2.js.map +1 -1
  431. package/lib/components/upload/src/upload2.js +1 -1
  432. package/lib/components/visual-hidden/index.js +2 -2
  433. package/lib/components/visual-hidden/src/visual-hidden.js +7 -35
  434. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  435. package/lib/components/visual-hidden/src/visual-hidden2.js +35 -7
  436. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  437. package/lib/index.js +29 -29
  438. package/package.json +1 -1
  439. package/theme-chalk/el-resizable-columns.css +1 -1
  440. package/theme-chalk/index.css +1 -1
  441. package/theme-chalk/src/resizable-columns.scss +2 -2
  442. package/web-types.json +1 -1
@@ -1,22 +1,40 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import { cardProps } from './card.mjs';
4
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
3
6
 
4
- const cardProps = buildProps({
5
- header: {
6
- type: String,
7
- default: ""
8
- },
9
- bodyStyle: {
10
- type: definePropType([String, Object, Array]),
11
- default: ""
12
- },
13
- bodyClass: String,
14
- shadow: {
15
- type: String,
16
- values: ["always", "hover", "never"],
17
- default: "always"
7
+ const __default__ = defineComponent({
8
+ name: "ElCard"
9
+ });
10
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ ...__default__,
12
+ props: cardProps,
13
+ setup(__props) {
14
+ const ns = useNamespace("card");
15
+ return (_ctx, _cache) => {
16
+ return openBlock(), createElementBlock("div", {
17
+ class: normalizeClass([unref(ns).b(), unref(ns).is(`${_ctx.shadow}-shadow`)])
18
+ }, [
19
+ _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", {
20
+ key: 0,
21
+ class: normalizeClass(unref(ns).e("header"))
22
+ }, [
23
+ renderSlot(_ctx.$slots, "header", {}, () => [
24
+ createTextVNode(toDisplayString(_ctx.header), 1)
25
+ ])
26
+ ], 2)) : createCommentVNode("v-if", true),
27
+ createElementVNode("div", {
28
+ class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass]),
29
+ style: normalizeStyle(_ctx.bodyStyle)
30
+ }, [
31
+ renderSlot(_ctx.$slots, "default")
32
+ ], 6)
33
+ ], 2);
34
+ };
18
35
  }
19
36
  });
37
+ var Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\workspace\\element-pe\\packages\\components\\card\\src\\card.vue"]]);
20
38
 
21
- export { cardProps };
39
+ export { Card as default };
22
40
  //# sourceMappingURL=card2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"card2.mjs","sources":["../../../../../../packages/components/card/src/card.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport const cardProps = buildProps({\n /**\n * @description title of the card. Also accepts a DOM passed by `slot#header`\n */\n header: {\n type: String,\n default: '',\n },\n /**\n * @description CSS style of card body\n */\n bodyStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n default: '',\n },\n /**\n * @description custom class name of card body\n */\n bodyClass: String,\n /**\n * @description when to show card shadows\n */\n shadow: {\n type: String,\n values: ['always', 'hover', 'never'],\n default: 'always',\n },\n} as const)\nexport type CardProps = ExtractPropTypes<typeof cardProps>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC;AACxC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"card2.mjs","sources":["../../../../../../packages/components/card/src/card.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.is(`${shadow}-shadow`)]\">\n <div v-if=\"$slots.header || header\" :class=\"ns.e('header')\">\n <slot name=\"header\">{{ header }}</slot>\n </div>\n <div :class=\"[ns.e('body'), bodyClass]\" :style=\"bodyStyle\">\n <slot />\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@element-plus/hooks'\nimport { cardProps } from './card'\n\ndefineOptions({\n name: 'ElCard',\n})\n\ndefineProps(cardProps)\n\nconst ns = useNamespace('card')\n</script>\n"],"names":[],"mappings":";;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,7 +10,7 @@ import { CommonProps } from '../../cascader-panel/src/config.mjs';
10
10
  import { useSizeProp } from '../../../hooks/use-size/index.mjs';
11
11
  import { viewModes } from '../../../constants/size.mjs';
12
12
  import { useTooltipContentProps } from '../../tooltip/src/content2.mjs';
13
- import { tagProps } from '../../tag/src/tag.mjs';
13
+ import { tagProps } from '../../tag/src/tag2.mjs';
14
14
  import { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';
15
15
  import { isBoolean } from '../../../utils/types.mjs';
16
16
 
@@ -1,3 +1,3 @@
1
- export { COLLECTION_ITEM_SIGN, createCollectionWithScope } from './src/collection.mjs';
1
+ export { COLLECTION_ITEM_SIGN, createCollectionWithScope } from './src/collection2.mjs';
2
2
  import './src/tokens.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1,69 +1,13 @@
1
- import { ref, unref, provide, inject, onMounted, onBeforeUnmount } from 'vue';
2
- import Collection from './collection2.mjs';
3
- import CollectionItem from './collection-item.mjs';
1
+ import { defineComponent, renderSlot } from 'vue';
2
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
4
3
 
5
- const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
6
- const createCollectionWithScope = (name) => {
7
- const COLLECTION_NAME = `El${name}Collection`;
8
- const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`;
9
- const COLLECTION_INJECTION_KEY = Symbol(COLLECTION_NAME);
10
- const COLLECTION_ITEM_INJECTION_KEY = Symbol(COLLECTION_ITEM_NAME);
11
- const ElCollection = {
12
- ...Collection,
13
- name: COLLECTION_NAME,
14
- setup() {
15
- const collectionRef = ref(null);
16
- const itemMap = /* @__PURE__ */ new Map();
17
- const getItems = () => {
18
- const collectionEl = unref(collectionRef);
19
- if (!collectionEl)
20
- return [];
21
- const orderedNodes = Array.from(collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));
22
- const items = [...itemMap.values()];
23
- return items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));
24
- };
25
- provide(COLLECTION_INJECTION_KEY, {
26
- itemMap,
27
- getItems,
28
- collectionRef
29
- });
30
- }
31
- };
32
- const ElCollectionItem = {
33
- ...CollectionItem,
34
- name: COLLECTION_ITEM_NAME,
35
- setup(_, { attrs }) {
36
- const collectionItemRef = ref(null);
37
- const collectionInjection = inject(COLLECTION_INJECTION_KEY, void 0);
38
- provide(COLLECTION_ITEM_INJECTION_KEY, {
39
- collectionItemRef
40
- });
41
- onMounted(() => {
42
- const collectionItemEl = unref(collectionItemRef);
43
- if (collectionItemEl) {
44
- if (collectionInjection) {
45
- collectionInjection.itemMap.set(collectionItemEl, {
46
- ref: collectionItemEl,
47
- ...attrs
48
- });
49
- }
50
- }
51
- });
52
- onBeforeUnmount(() => {
53
- const collectionItemEl = unref(collectionItemRef);
54
- if (collectionInjection) {
55
- collectionInjection.itemMap.delete(collectionItemEl);
56
- }
57
- });
58
- }
59
- };
60
- return {
61
- COLLECTION_INJECTION_KEY,
62
- COLLECTION_ITEM_INJECTION_KEY,
63
- ElCollection,
64
- ElCollectionItem
65
- };
66
- };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ inheritAttrs: false
6
+ });
7
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
8
+ return renderSlot(_ctx.$slots, "default");
9
+ }
10
+ var Collection = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\workspace\\element-pe\\packages\\components\\collection\\src\\collection.vue"]]);
67
11
 
68
- export { COLLECTION_ITEM_SIGN, createCollectionWithScope };
12
+ export { Collection as default };
69
13
  //# sourceMappingURL=collection.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection.mjs","sources":["../../../../../../packages/components/collection/src/collection.ts"],"sourcesContent":["import { inject, onBeforeUnmount, onMounted, provide, ref, unref } from 'vue'\nimport Collection from './collection.vue'\nimport CollectionItem from './collection-item.vue'\n\nimport type { InjectionKey } from 'vue'\nimport type { SetupContext } from '@vue/runtime-core'\nimport type {\n ElCollectionInjectionContext,\n ElCollectionItemInjectionContext,\n} from './tokens'\n\nexport const COLLECTION_ITEM_SIGN = `data-el-collection-item`\n\n// Make sure the first letter of name is capitalized\nexport const createCollectionWithScope = (name: string) => {\n const COLLECTION_NAME = `El${name}Collection`\n const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`\n const COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext> =\n Symbol(COLLECTION_NAME)\n const COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext> =\n Symbol(COLLECTION_ITEM_NAME)\n\n const ElCollection = {\n ...Collection,\n name: COLLECTION_NAME,\n setup() {\n const collectionRef = ref<HTMLElement | null>(null)\n const itemMap: ElCollectionInjectionContext['itemMap'] = new Map()\n const getItems = () => {\n const collectionEl = unref(collectionRef)\n\n if (!collectionEl) return []\n const orderedNodes = Array.from(\n collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`)\n )\n\n const items = [...itemMap.values()]\n\n return items.sort(\n (a, b) => orderedNodes.indexOf(a.ref!) - orderedNodes.indexOf(b.ref!)\n )\n }\n\n provide(COLLECTION_INJECTION_KEY, {\n itemMap,\n getItems,\n collectionRef,\n })\n },\n }\n\n const ElCollectionItem = {\n ...CollectionItem,\n name: COLLECTION_ITEM_NAME,\n setup(_: unknown, { attrs }: SetupContext) {\n const collectionItemRef = ref<HTMLElement | null>(null)\n const collectionInjection = inject(COLLECTION_INJECTION_KEY, undefined)!\n\n provide(COLLECTION_ITEM_INJECTION_KEY, {\n collectionItemRef,\n })\n\n onMounted(() => {\n const collectionItemEl = unref(collectionItemRef)\n if (collectionItemEl) {\n if (collectionInjection) {\n collectionInjection.itemMap.set(collectionItemEl, {\n ref: collectionItemEl,\n ...attrs,\n })\n }\n }\n })\n\n onBeforeUnmount(() => {\n const collectionItemEl = unref(collectionItemRef)!\n if (collectionInjection) {\n collectionInjection.itemMap.delete(collectionItemEl)\n }\n })\n },\n }\n\n return {\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n ElCollection,\n ElCollectionItem,\n }\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"collection.mjs","sources":["../../../../../../packages/components/collection/src/collection.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\" setup>\ndefineOptions({\n inheritAttrs: false,\n})\n</script>\n"],"names":["DO_defineComponent","_renderSlot"],"mappings":";;;kCAKcA,eAAA,CAAA;AAAA,EACZ,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;SANEC,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA,CAAA;;;;;;"}
@@ -1,13 +1,69 @@
1
- import { defineComponent, renderSlot } from 'vue';
2
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
1
+ import { ref, unref, provide, inject, onMounted, onBeforeUnmount } from 'vue';
2
+ import Collection from './collection.mjs';
3
+ import CollectionItem from './collection-item.mjs';
3
4
 
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- inheritAttrs: false
6
- });
7
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
8
- return renderSlot(_ctx.$slots, "default");
9
- }
10
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\workspace\\element-pe\\packages\\components\\collection\\src\\collection.vue"]]);
5
+ const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
6
+ const createCollectionWithScope = (name) => {
7
+ const COLLECTION_NAME = `El${name}Collection`;
8
+ const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`;
9
+ const COLLECTION_INJECTION_KEY = Symbol(COLLECTION_NAME);
10
+ const COLLECTION_ITEM_INJECTION_KEY = Symbol(COLLECTION_ITEM_NAME);
11
+ const ElCollection = {
12
+ ...Collection,
13
+ name: COLLECTION_NAME,
14
+ setup() {
15
+ const collectionRef = ref(null);
16
+ const itemMap = /* @__PURE__ */ new Map();
17
+ const getItems = () => {
18
+ const collectionEl = unref(collectionRef);
19
+ if (!collectionEl)
20
+ return [];
21
+ const orderedNodes = Array.from(collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));
22
+ const items = [...itemMap.values()];
23
+ return items.sort((a, b) => orderedNodes.indexOf(a.ref) - orderedNodes.indexOf(b.ref));
24
+ };
25
+ provide(COLLECTION_INJECTION_KEY, {
26
+ itemMap,
27
+ getItems,
28
+ collectionRef
29
+ });
30
+ }
31
+ };
32
+ const ElCollectionItem = {
33
+ ...CollectionItem,
34
+ name: COLLECTION_ITEM_NAME,
35
+ setup(_, { attrs }) {
36
+ const collectionItemRef = ref(null);
37
+ const collectionInjection = inject(COLLECTION_INJECTION_KEY, void 0);
38
+ provide(COLLECTION_ITEM_INJECTION_KEY, {
39
+ collectionItemRef
40
+ });
41
+ onMounted(() => {
42
+ const collectionItemEl = unref(collectionItemRef);
43
+ if (collectionItemEl) {
44
+ if (collectionInjection) {
45
+ collectionInjection.itemMap.set(collectionItemEl, {
46
+ ref: collectionItemEl,
47
+ ...attrs
48
+ });
49
+ }
50
+ }
51
+ });
52
+ onBeforeUnmount(() => {
53
+ const collectionItemEl = unref(collectionItemRef);
54
+ if (collectionInjection) {
55
+ collectionInjection.itemMap.delete(collectionItemEl);
56
+ }
57
+ });
58
+ }
59
+ };
60
+ return {
61
+ COLLECTION_INJECTION_KEY,
62
+ COLLECTION_ITEM_INJECTION_KEY,
63
+ ElCollection,
64
+ ElCollectionItem
65
+ };
66
+ };
11
67
 
12
- export { Collection as default };
68
+ export { COLLECTION_ITEM_SIGN, createCollectionWithScope };
13
69
  //# sourceMappingURL=collection2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection2.mjs","sources":["../../../../../../packages/components/collection/src/collection.vue"],"sourcesContent":["<template>\n <slot />\n</template>\n\n<script lang=\"ts\" setup>\ndefineOptions({\n inheritAttrs: false,\n})\n</script>\n"],"names":["DO_defineComponent","_renderSlot"],"mappings":";;;kCAKcA,eAAA,CAAA;AAAA,EACZ,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;SANEC,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA,CAAA;;;;;;"}
1
+ {"version":3,"file":"collection2.mjs","sources":["../../../../../../packages/components/collection/src/collection.ts"],"sourcesContent":["import { inject, onBeforeUnmount, onMounted, provide, ref, unref } from 'vue'\nimport Collection from './collection.vue'\nimport CollectionItem from './collection-item.vue'\n\nimport type { InjectionKey } from 'vue'\nimport type { SetupContext } from '@vue/runtime-core'\nimport type {\n ElCollectionInjectionContext,\n ElCollectionItemInjectionContext,\n} from './tokens'\n\nexport const COLLECTION_ITEM_SIGN = `data-el-collection-item`\n\n// Make sure the first letter of name is capitalized\nexport const createCollectionWithScope = (name: string) => {\n const COLLECTION_NAME = `El${name}Collection`\n const COLLECTION_ITEM_NAME = `${COLLECTION_NAME}Item`\n const COLLECTION_INJECTION_KEY: InjectionKey<ElCollectionInjectionContext> =\n Symbol(COLLECTION_NAME)\n const COLLECTION_ITEM_INJECTION_KEY: InjectionKey<ElCollectionItemInjectionContext> =\n Symbol(COLLECTION_ITEM_NAME)\n\n const ElCollection = {\n ...Collection,\n name: COLLECTION_NAME,\n setup() {\n const collectionRef = ref<HTMLElement | null>(null)\n const itemMap: ElCollectionInjectionContext['itemMap'] = new Map()\n const getItems = () => {\n const collectionEl = unref(collectionRef)\n\n if (!collectionEl) return []\n const orderedNodes = Array.from(\n collectionEl.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`)\n )\n\n const items = [...itemMap.values()]\n\n return items.sort(\n (a, b) => orderedNodes.indexOf(a.ref!) - orderedNodes.indexOf(b.ref!)\n )\n }\n\n provide(COLLECTION_INJECTION_KEY, {\n itemMap,\n getItems,\n collectionRef,\n })\n },\n }\n\n const ElCollectionItem = {\n ...CollectionItem,\n name: COLLECTION_ITEM_NAME,\n setup(_: unknown, { attrs }: SetupContext) {\n const collectionItemRef = ref<HTMLElement | null>(null)\n const collectionInjection = inject(COLLECTION_INJECTION_KEY, undefined)!\n\n provide(COLLECTION_ITEM_INJECTION_KEY, {\n collectionItemRef,\n })\n\n onMounted(() => {\n const collectionItemEl = unref(collectionItemRef)\n if (collectionItemEl) {\n if (collectionInjection) {\n collectionInjection.itemMap.set(collectionItemEl, {\n ref: collectionItemEl,\n ...attrs,\n })\n }\n }\n })\n\n onBeforeUnmount(() => {\n const collectionItemEl = unref(collectionItemRef)!\n if (collectionInjection) {\n collectionInjection.itemMap.delete(collectionItemEl)\n }\n })\n },\n }\n\n return {\n COLLECTION_INJECTION_KEY,\n COLLECTION_ITEM_INJECTION_KEY,\n ElCollection,\n ElCollectionItem,\n }\n}\n"],"names":[],"mappings":"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"}
@@ -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-row.mjs';
5
+ import ElDescriptionsRow from './descriptions-row2.mjs';
6
6
  import { descriptionsKey } from './token.mjs';
7
7
  import { descriptionProps } from './description2.mjs';
8
8
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
@@ -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-row2.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps } 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: Array,
7
+ default: () => []
64
8
  }
65
9
  });
66
- var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\workspace\\element-pe\\packages\\components\\descriptions\\src\\descriptions-row.vue"]]);
67
10
 
68
- export { ElDescriptionsRow as default };
11
+ export { descriptionsRowProps };
69
12
  //# sourceMappingURL=descriptions-row.mjs.map
@@ -1 +1 @@
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>\n// @ts-nocheck\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":";;;;;;;mCAkCc,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-row.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nexport const descriptionsRowProps = buildProps({\n row: {\n type: 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,KAAK;AACf,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,CAAC;;;;"}
@@ -1,12 +1,69 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps } 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-row.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
3
6
 
4
- const descriptionsRowProps = buildProps({
5
- row: {
6
- type: 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", "D:\\workspace\\element-pe\\packages\\components\\descriptions\\src\\descriptions-row.vue"]]);
10
67
 
11
- export { descriptionsRowProps };
68
+ export { ElDescriptionsRow as default };
12
69
  //# sourceMappingURL=descriptions-row2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions-row2.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nexport const descriptionsRowProps = buildProps({\n row: {\n type: 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,KAAK;AACf,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,CAAC;;;;"}
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>\n// @ts-nocheck\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":";;;;;;;mCAkCc,CAAA;AAAA,EACZ,IAAM,EAAA,mBAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAA,MAAM,YAAe,GAAA,MAAA,CAAO,eAAiB,EAAA,EAAyB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,12 +11,12 @@ import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
11
11
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
12
12
  import { useGlobalConfig } from '../../config-provider/src/hooks/use-global-config.mjs';
13
13
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
14
- import { ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group2.mjs';
14
+ import { ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY as COLLECTION_ITEM_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';
15
15
  import { ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';
16
16
  import { composeRefs } from '../../../utils/vue/refs.mjs';
17
17
  import { composeEventHandlers } from '../../../utils/dom/event.mjs';
18
18
  import { EVENT_CODE } from '../../../constants/aria.mjs';
19
- import { COLLECTION_ITEM_SIGN } from '../../collection/src/collection.mjs';
19
+ import { COLLECTION_ITEM_SIGN } from '../../collection/src/collection2.mjs';
20
20
 
21
21
  const _sfc_main = defineComponent({
22
22
  name: "DropdownItemImpl",
@@ -13,7 +13,7 @@ import { useGlobalConfig } from '../../config-provider/src/hooks/use-global-conf
13
13
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
14
14
  import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
15
15
  import { ROVING_FOCUS_GROUP_INJECTION_KEY } from '../../roving-focus-group/src/tokens.mjs';
16
- import { ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group2.mjs';
16
+ import { ROVING_FOCUS_COLLECTION_INJECTION_KEY as COLLECTION_INJECTION_KEY$1 } from '../../roving-focus-group/src/roving-focus-group.mjs';
17
17
  import { composeRefs } from '../../../utils/vue/refs.mjs';
18
18
  import { composeEventHandlers } from '../../../utils/dom/event.mjs';
19
19
  import { EVENT_CODE } from '../../../constants/aria.mjs';
@@ -7,7 +7,7 @@ import { useTooltipTriggerProps } from '../../tooltip/src/trigger.mjs';
7
7
  import { useTooltipContentProps } from '../../tooltip/src/content2.mjs';
8
8
  import { iconPropType } from '../../../utils/vue/icon.mjs';
9
9
  import { EVENT_CODE } from '../../../constants/aria.mjs';
10
- import { createCollectionWithScope } from '../../collection/src/collection.mjs';
10
+ import { createCollectionWithScope } from '../../collection/src/collection2.mjs';
11
11
 
12
12
  const dropdownProps = buildProps({
13
13
  trigger: useTooltipTriggerProps.trigger,
@@ -14,7 +14,7 @@ import '../../config-provider/index.mjs';
14
14
  import { ElCollection, dropdownProps } from './dropdown.mjs';
15
15
  import { DROPDOWN_INJECTION_KEY } from './tokens.mjs';
16
16
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
17
- import ElRovingFocusGroup from '../../roving-focus-group/src/roving-focus-group.mjs';
17
+ import ElRovingFocusGroup from '../../roving-focus-group/src/roving-focus-group2.mjs';
18
18
  import { OnlyChild } from '../../slot/src/only-child.mjs';
19
19
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
20
20
  import { useLocale } from '../../../hooks/use-locale/index.mjs';
@@ -1,8 +1,8 @@
1
1
  import '../../utils/index.mjs';
2
- import Form from './src/form.mjs';
3
- import FormItem from './src/form-item.mjs';
4
- export { formEmits, formProps } from './src/form2.mjs';
5
- export { formItemProps, formItemValidateStates } from './src/form-item2.mjs';
2
+ import Form from './src/form2.mjs';
3
+ import FormItem from './src/form-item2.mjs';
4
+ export { formEmits, formProps } from './src/form.mjs';
5
+ export { formItemProps, formItemValidateStates } from './src/form-item.mjs';
6
6
  import './src/types.mjs';
7
7
  export { formContextKey, formItemContextKey } from './src/constants.mjs';
8
8
  import './src/hooks/index.mjs';