element-plus 2.5.0 → 2.5.2

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 (497) hide show
  1. package/README.md +0 -5
  2. package/attributes.json +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.full.js +542 -528
  5. package/dist/index.full.min.js +21 -27
  6. package/dist/index.full.min.js.map +1 -1
  7. package/dist/index.full.min.mjs +21 -27
  8. package/dist/index.full.min.mjs.map +1 -1
  9. package/dist/index.full.mjs +543 -529
  10. package/dist/locale/af.js +1 -1
  11. package/dist/locale/af.min.js +1 -1
  12. package/dist/locale/af.min.mjs +1 -1
  13. package/dist/locale/af.mjs +1 -1
  14. package/dist/locale/ar-eg.js +1 -1
  15. package/dist/locale/ar-eg.min.js +1 -1
  16. package/dist/locale/ar-eg.min.mjs +1 -1
  17. package/dist/locale/ar-eg.mjs +1 -1
  18. package/dist/locale/ar.js +1 -1
  19. package/dist/locale/ar.min.js +1 -1
  20. package/dist/locale/ar.min.mjs +1 -1
  21. package/dist/locale/ar.mjs +1 -1
  22. package/dist/locale/az.js +1 -1
  23. package/dist/locale/az.min.js +1 -1
  24. package/dist/locale/az.min.mjs +1 -1
  25. package/dist/locale/az.mjs +1 -1
  26. package/dist/locale/bg.js +1 -1
  27. package/dist/locale/bg.min.js +1 -1
  28. package/dist/locale/bg.min.mjs +1 -1
  29. package/dist/locale/bg.mjs +1 -1
  30. package/dist/locale/bn.js +1 -1
  31. package/dist/locale/bn.min.js +1 -1
  32. package/dist/locale/bn.min.mjs +1 -1
  33. package/dist/locale/bn.mjs +1 -1
  34. package/dist/locale/ca.js +1 -1
  35. package/dist/locale/ca.min.js +1 -1
  36. package/dist/locale/ca.min.mjs +1 -1
  37. package/dist/locale/ca.mjs +1 -1
  38. package/dist/locale/ckb.js +1 -1
  39. package/dist/locale/ckb.min.js +1 -1
  40. package/dist/locale/ckb.min.mjs +1 -1
  41. package/dist/locale/ckb.mjs +1 -1
  42. package/dist/locale/cs.js +1 -1
  43. package/dist/locale/cs.min.js +1 -1
  44. package/dist/locale/cs.min.mjs +1 -1
  45. package/dist/locale/cs.mjs +1 -1
  46. package/dist/locale/da.js +1 -1
  47. package/dist/locale/da.min.js +1 -1
  48. package/dist/locale/da.min.mjs +1 -1
  49. package/dist/locale/da.mjs +1 -1
  50. package/dist/locale/de.js +1 -1
  51. package/dist/locale/de.min.js +1 -1
  52. package/dist/locale/de.min.mjs +1 -1
  53. package/dist/locale/de.mjs +1 -1
  54. package/dist/locale/el.js +1 -1
  55. package/dist/locale/el.min.js +1 -1
  56. package/dist/locale/el.min.mjs +1 -1
  57. package/dist/locale/el.mjs +1 -1
  58. package/dist/locale/en.js +1 -1
  59. package/dist/locale/en.min.js +1 -1
  60. package/dist/locale/en.min.mjs +1 -1
  61. package/dist/locale/en.mjs +1 -1
  62. package/dist/locale/eo.js +1 -1
  63. package/dist/locale/eo.min.js +1 -1
  64. package/dist/locale/eo.min.mjs +1 -1
  65. package/dist/locale/eo.mjs +1 -1
  66. package/dist/locale/es.js +1 -1
  67. package/dist/locale/es.min.js +1 -1
  68. package/dist/locale/es.min.mjs +1 -1
  69. package/dist/locale/es.mjs +1 -1
  70. package/dist/locale/et.js +1 -1
  71. package/dist/locale/et.min.js +1 -1
  72. package/dist/locale/et.min.mjs +1 -1
  73. package/dist/locale/et.mjs +1 -1
  74. package/dist/locale/eu.js +1 -1
  75. package/dist/locale/eu.min.js +1 -1
  76. package/dist/locale/eu.min.mjs +1 -1
  77. package/dist/locale/eu.mjs +1 -1
  78. package/dist/locale/fa.js +1 -1
  79. package/dist/locale/fa.min.js +1 -1
  80. package/dist/locale/fa.min.mjs +1 -1
  81. package/dist/locale/fa.mjs +1 -1
  82. package/dist/locale/fi.js +1 -1
  83. package/dist/locale/fi.min.js +1 -1
  84. package/dist/locale/fi.min.mjs +1 -1
  85. package/dist/locale/fi.mjs +1 -1
  86. package/dist/locale/fr.js +1 -1
  87. package/dist/locale/fr.min.js +1 -1
  88. package/dist/locale/fr.min.mjs +1 -1
  89. package/dist/locale/fr.mjs +1 -1
  90. package/dist/locale/he.js +1 -1
  91. package/dist/locale/he.min.js +1 -1
  92. package/dist/locale/he.min.mjs +1 -1
  93. package/dist/locale/he.mjs +1 -1
  94. package/dist/locale/hr.js +1 -1
  95. package/dist/locale/hr.min.js +1 -1
  96. package/dist/locale/hr.min.mjs +1 -1
  97. package/dist/locale/hr.mjs +1 -1
  98. package/dist/locale/hu.js +1 -1
  99. package/dist/locale/hu.min.js +1 -1
  100. package/dist/locale/hu.min.mjs +1 -1
  101. package/dist/locale/hu.mjs +1 -1
  102. package/dist/locale/hy-am.js +1 -1
  103. package/dist/locale/hy-am.min.js +1 -1
  104. package/dist/locale/hy-am.min.mjs +1 -1
  105. package/dist/locale/hy-am.mjs +1 -1
  106. package/dist/locale/id.js +1 -1
  107. package/dist/locale/id.min.js +1 -1
  108. package/dist/locale/id.min.mjs +1 -1
  109. package/dist/locale/id.mjs +1 -1
  110. package/dist/locale/it.js +1 -1
  111. package/dist/locale/it.min.js +1 -1
  112. package/dist/locale/it.min.mjs +1 -1
  113. package/dist/locale/it.mjs +1 -1
  114. package/dist/locale/ja.js +1 -1
  115. package/dist/locale/ja.min.js +1 -1
  116. package/dist/locale/ja.min.mjs +1 -1
  117. package/dist/locale/ja.mjs +1 -1
  118. package/dist/locale/kk.js +1 -1
  119. package/dist/locale/kk.min.js +1 -1
  120. package/dist/locale/kk.min.mjs +1 -1
  121. package/dist/locale/kk.mjs +1 -1
  122. package/dist/locale/km.js +1 -1
  123. package/dist/locale/km.min.js +1 -1
  124. package/dist/locale/km.min.mjs +1 -1
  125. package/dist/locale/km.mjs +1 -1
  126. package/dist/locale/ko.js +1 -1
  127. package/dist/locale/ko.min.js +1 -1
  128. package/dist/locale/ko.min.mjs +1 -1
  129. package/dist/locale/ko.mjs +1 -1
  130. package/dist/locale/ku.js +1 -1
  131. package/dist/locale/ku.min.js +1 -1
  132. package/dist/locale/ku.min.mjs +1 -1
  133. package/dist/locale/ku.mjs +1 -1
  134. package/dist/locale/ky.js +1 -1
  135. package/dist/locale/ky.min.js +1 -1
  136. package/dist/locale/ky.min.mjs +1 -1
  137. package/dist/locale/ky.mjs +1 -1
  138. package/dist/locale/lt.js +1 -1
  139. package/dist/locale/lt.min.js +1 -1
  140. package/dist/locale/lt.min.mjs +1 -1
  141. package/dist/locale/lt.mjs +1 -1
  142. package/dist/locale/lv.js +1 -1
  143. package/dist/locale/lv.min.js +1 -1
  144. package/dist/locale/lv.min.mjs +1 -1
  145. package/dist/locale/lv.mjs +1 -1
  146. package/dist/locale/mg.js +1 -1
  147. package/dist/locale/mg.min.js +1 -1
  148. package/dist/locale/mg.min.mjs +1 -1
  149. package/dist/locale/mg.mjs +1 -1
  150. package/dist/locale/mn.js +1 -1
  151. package/dist/locale/mn.min.js +1 -1
  152. package/dist/locale/mn.min.mjs +1 -1
  153. package/dist/locale/mn.mjs +1 -1
  154. package/dist/locale/nb-no.js +1 -1
  155. package/dist/locale/nb-no.min.js +1 -1
  156. package/dist/locale/nb-no.min.mjs +1 -1
  157. package/dist/locale/nb-no.mjs +1 -1
  158. package/dist/locale/nl.js +1 -1
  159. package/dist/locale/nl.min.js +1 -1
  160. package/dist/locale/nl.min.mjs +1 -1
  161. package/dist/locale/nl.mjs +1 -1
  162. package/dist/locale/pa.js +1 -1
  163. package/dist/locale/pa.min.js +1 -1
  164. package/dist/locale/pa.min.mjs +1 -1
  165. package/dist/locale/pa.mjs +1 -1
  166. package/dist/locale/pl.js +1 -1
  167. package/dist/locale/pl.min.js +1 -1
  168. package/dist/locale/pl.min.mjs +1 -1
  169. package/dist/locale/pl.mjs +1 -1
  170. package/dist/locale/pt-br.js +1 -1
  171. package/dist/locale/pt-br.min.js +1 -1
  172. package/dist/locale/pt-br.min.mjs +1 -1
  173. package/dist/locale/pt-br.mjs +1 -1
  174. package/dist/locale/pt.js +1 -1
  175. package/dist/locale/pt.min.js +1 -1
  176. package/dist/locale/pt.min.mjs +1 -1
  177. package/dist/locale/pt.mjs +1 -1
  178. package/dist/locale/ro.js +1 -1
  179. package/dist/locale/ro.min.js +1 -1
  180. package/dist/locale/ro.min.mjs +1 -1
  181. package/dist/locale/ro.mjs +1 -1
  182. package/dist/locale/ru.js +1 -1
  183. package/dist/locale/ru.min.js +1 -1
  184. package/dist/locale/ru.min.mjs +1 -1
  185. package/dist/locale/ru.mjs +1 -1
  186. package/dist/locale/sk.js +1 -1
  187. package/dist/locale/sk.min.js +1 -1
  188. package/dist/locale/sk.min.mjs +1 -1
  189. package/dist/locale/sk.mjs +1 -1
  190. package/dist/locale/sl.js +1 -1
  191. package/dist/locale/sl.min.js +1 -1
  192. package/dist/locale/sl.min.mjs +1 -1
  193. package/dist/locale/sl.mjs +1 -1
  194. package/dist/locale/sr.js +1 -1
  195. package/dist/locale/sr.min.js +1 -1
  196. package/dist/locale/sr.min.mjs +1 -1
  197. package/dist/locale/sr.mjs +1 -1
  198. package/dist/locale/sv.js +1 -1
  199. package/dist/locale/sv.min.js +1 -1
  200. package/dist/locale/sv.min.mjs +1 -1
  201. package/dist/locale/sv.mjs +1 -1
  202. package/dist/locale/sw.js +1 -1
  203. package/dist/locale/sw.min.js +1 -1
  204. package/dist/locale/sw.min.mjs +1 -1
  205. package/dist/locale/sw.mjs +1 -1
  206. package/dist/locale/ta.js +1 -1
  207. package/dist/locale/ta.min.js +1 -1
  208. package/dist/locale/ta.min.mjs +1 -1
  209. package/dist/locale/ta.mjs +1 -1
  210. package/dist/locale/th.js +1 -1
  211. package/dist/locale/th.min.js +1 -1
  212. package/dist/locale/th.min.mjs +1 -1
  213. package/dist/locale/th.mjs +1 -1
  214. package/dist/locale/tk.js +1 -1
  215. package/dist/locale/tk.min.js +1 -1
  216. package/dist/locale/tk.min.mjs +1 -1
  217. package/dist/locale/tk.mjs +1 -1
  218. package/dist/locale/tr.js +1 -1
  219. package/dist/locale/tr.min.js +1 -1
  220. package/dist/locale/tr.min.mjs +1 -1
  221. package/dist/locale/tr.mjs +1 -1
  222. package/dist/locale/ug-cn.js +1 -1
  223. package/dist/locale/ug-cn.min.js +1 -1
  224. package/dist/locale/ug-cn.min.mjs +1 -1
  225. package/dist/locale/ug-cn.mjs +1 -1
  226. package/dist/locale/uk.js +1 -1
  227. package/dist/locale/uk.min.js +1 -1
  228. package/dist/locale/uk.min.mjs +1 -1
  229. package/dist/locale/uk.mjs +1 -1
  230. package/dist/locale/uz-uz.js +1 -1
  231. package/dist/locale/uz-uz.min.js +1 -1
  232. package/dist/locale/uz-uz.min.mjs +1 -1
  233. package/dist/locale/uz-uz.mjs +1 -1
  234. package/dist/locale/vi.js +1 -1
  235. package/dist/locale/vi.min.js +1 -1
  236. package/dist/locale/vi.min.mjs +1 -1
  237. package/dist/locale/vi.mjs +1 -1
  238. package/dist/locale/zh-cn.js +1 -1
  239. package/dist/locale/zh-cn.min.js +1 -1
  240. package/dist/locale/zh-cn.min.mjs +1 -1
  241. package/dist/locale/zh-cn.mjs +1 -1
  242. package/dist/locale/zh-tw.js +1 -1
  243. package/dist/locale/zh-tw.min.js +1 -1
  244. package/dist/locale/zh-tw.min.mjs +1 -1
  245. package/dist/locale/zh-tw.mjs +1 -1
  246. package/es/components/autocomplete/index.d.ts +1 -1
  247. package/es/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
  248. package/es/components/autocomplete/src/autocomplete2.mjs +2 -2
  249. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  250. package/es/components/cascader-panel/src/menu.mjs +3 -4
  251. package/es/components/cascader-panel/src/menu.mjs.map +1 -1
  252. package/es/components/checkbox/src/composables/use-checkbox-model.mjs +1 -1
  253. package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -1
  254. package/es/components/collapse/index.d.ts +8 -8
  255. package/es/components/collapse/src/collapse-item.d.ts +1 -1
  256. package/es/components/collapse/src/collapse-item.mjs +1 -2
  257. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  258. package/es/components/collapse/src/collapse-item.vue.d.ts +4 -4
  259. package/es/components/collapse/src/use-collapse-item.d.ts +1 -1
  260. package/es/components/collapse/src/use-collapse-item.mjs +11 -6
  261. package/es/components/collapse/src/use-collapse-item.mjs.map +1 -1
  262. package/es/components/collection/index.mjs +1 -1
  263. package/es/components/collection/src/collection.mjs +62 -10
  264. package/es/components/collection/src/collection.mjs.map +1 -1
  265. package/es/components/collection/src/collection2.mjs +10 -62
  266. package/es/components/collection/src/collection2.mjs.map +1 -1
  267. package/es/components/config-provider/index.d.ts +1 -1
  268. package/es/components/config-provider/src/config-provider.d.ts +1 -1
  269. package/es/components/countdown/index.mjs +2 -2
  270. package/es/components/countdown/src/countdown.mjs +23 -74
  271. package/es/components/countdown/src/countdown.mjs.map +1 -1
  272. package/es/components/countdown/src/countdown2.mjs +74 -23
  273. package/es/components/countdown/src/countdown2.mjs.map +1 -1
  274. package/es/components/descriptions/index.mjs +2 -2
  275. package/es/components/descriptions/src/description.mjs +25 -112
  276. package/es/components/descriptions/src/description.mjs.map +1 -1
  277. package/es/components/descriptions/src/description2.mjs +112 -25
  278. package/es/components/descriptions/src/description2.mjs.map +1 -1
  279. package/es/components/dialog/src/dialog-content.mjs +29 -89
  280. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  281. package/es/components/dialog/src/dialog-content2.mjs +89 -29
  282. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  283. package/es/components/dialog/src/dialog.mjs +1 -1
  284. package/es/components/dialog/src/dialog2.mjs +1 -1
  285. package/es/components/drawer/index.d.ts +209 -16
  286. package/es/components/drawer/src/drawer.vue.d.ts +209 -16
  287. package/es/components/drawer/src/drawer2.mjs +137 -132
  288. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  289. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  290. package/es/components/dropdown/src/dropdown.mjs +1 -1
  291. package/es/components/dropdown/src/useDropdown.mjs +2 -2
  292. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  293. package/es/components/image/index.d.ts +37 -11
  294. package/es/components/image/index.mjs +2 -2
  295. package/es/components/image/src/image.d.ts +6 -1
  296. package/es/components/image/src/image.mjs +226 -65
  297. package/es/components/image/src/image.mjs.map +1 -1
  298. package/es/components/image/src/image.vue.d.ts +37 -11
  299. package/es/components/image/src/image2.mjs +64 -227
  300. package/es/components/image/src/image2.mjs.map +1 -1
  301. package/es/components/image-viewer/index.d.ts +19 -6
  302. package/es/components/image-viewer/src/image-viewer.d.ts +6 -1
  303. package/es/components/image-viewer/src/image-viewer.mjs +1 -2
  304. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  305. package/es/components/image-viewer/src/image-viewer.vue.d.ts +19 -6
  306. package/es/components/image-viewer/src/image-viewer2.mjs +6 -9
  307. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  308. package/es/components/index.mjs +3 -3
  309. package/es/components/input/src/input2.mjs +3 -1
  310. package/es/components/input/src/input2.mjs.map +1 -1
  311. package/es/components/pagination/src/components/sizes.vue.d.ts +5 -0
  312. package/es/components/roving-focus-group/src/roving-focus-group.mjs +1 -1
  313. package/es/components/select/index.d.ts +5 -0
  314. package/es/components/select/src/select.vue.d.ts +5 -0
  315. package/es/components/select/src/select2.mjs +41 -33
  316. package/es/components/select/src/select2.mjs.map +1 -1
  317. package/es/components/select/src/useSelect.d.ts +5 -0
  318. package/es/components/select/src/useSelect.mjs +41 -13
  319. package/es/components/select/src/useSelect.mjs.map +1 -1
  320. package/es/components/select-v2/index.d.ts +22 -12
  321. package/es/components/select-v2/src/defaults.d.ts +2 -2
  322. package/es/components/select-v2/src/defaults.mjs +2 -8
  323. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  324. package/es/components/select-v2/src/select-dropdown.d.ts +5 -1
  325. package/es/components/select-v2/src/select-dropdown.mjs +6 -5
  326. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  327. package/es/components/select-v2/src/select.mjs +55 -19
  328. package/es/components/select-v2/src/select.mjs.map +1 -1
  329. package/es/components/select-v2/src/select.vue.d.ts +11 -6
  330. package/es/components/select-v2/src/useSelect.d.ts +5 -0
  331. package/es/components/select-v2/src/useSelect.mjs +42 -3
  332. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  333. package/es/components/space/src/use-space.mjs +7 -8
  334. package/es/components/space/src/use-space.mjs.map +1 -1
  335. package/es/components/table/index.d.ts +10 -10
  336. package/es/components/table/src/table/defaults.d.ts +2 -2
  337. package/es/components/table/src/table-body/defaults.d.ts +1 -1
  338. package/es/components/table/src/table-body/events-helper.mjs +1 -4
  339. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  340. package/es/components/table/src/table-body/index.d.ts +2 -2
  341. package/es/components/table/src/table-column/defaults.d.ts +1 -1
  342. package/es/components/table/src/table-column/index.d.ts +3 -3
  343. package/es/components/table/src/table.vue.d.ts +4 -4
  344. package/es/components/table/src/util.d.ts +9 -76
  345. package/es/components/table/src/util.mjs +36 -105
  346. package/es/components/table/src/util.mjs.map +1 -1
  347. package/es/components/time-select/index.d.ts +20 -0
  348. package/es/components/time-select/src/time-select.vue.d.ts +10 -0
  349. package/es/components/tour/index.d.ts +9 -9
  350. package/es/components/tour/src/helper.d.ts +1 -1
  351. package/es/components/tour/src/helper.mjs +20 -7
  352. package/es/components/tour/src/helper.mjs.map +1 -1
  353. package/es/components/tour/src/step.d.ts +1 -1
  354. package/es/components/tour/src/step.mjs +1 -1
  355. package/es/components/tour/src/step.mjs.map +1 -1
  356. package/es/components/tour/src/step.vue.d.ts +3 -3
  357. package/es/components/tour/src/tour.vue.d.ts +3 -3
  358. package/es/components/tour/src/types.d.ts +1 -1
  359. package/es/components/tree/src/model/tree-store.mjs +12 -5
  360. package/es/components/tree/src/model/tree-store.mjs.map +1 -1
  361. package/es/index.mjs +3 -3
  362. package/es/utils/rand.d.ts +2 -0
  363. package/es/utils/rand.mjs.map +1 -1
  364. package/es/version.d.ts +1 -1
  365. package/es/version.mjs +1 -1
  366. package/es/version.mjs.map +1 -1
  367. package/lib/components/autocomplete/index.d.ts +1 -1
  368. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
  369. package/lib/components/autocomplete/src/autocomplete2.js +10 -10
  370. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  371. package/lib/components/cascader-panel/src/menu.js +3 -4
  372. package/lib/components/cascader-panel/src/menu.js.map +1 -1
  373. package/lib/components/checkbox/src/composables/use-checkbox-model.js +1 -1
  374. package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -1
  375. package/lib/components/collapse/index.d.ts +8 -8
  376. package/lib/components/collapse/src/collapse-item.d.ts +1 -1
  377. package/lib/components/collapse/src/collapse-item.js +1 -2
  378. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  379. package/lib/components/collapse/src/collapse-item.vue.d.ts +4 -4
  380. package/lib/components/collapse/src/use-collapse-item.d.ts +1 -1
  381. package/lib/components/collapse/src/use-collapse-item.js +11 -6
  382. package/lib/components/collapse/src/use-collapse-item.js.map +1 -1
  383. package/lib/components/collection/index.js +1 -1
  384. package/lib/components/collection/src/collection.js +62 -9
  385. package/lib/components/collection/src/collection.js.map +1 -1
  386. package/lib/components/collection/src/collection2.js +9 -62
  387. package/lib/components/collection/src/collection2.js.map +1 -1
  388. package/lib/components/config-provider/index.d.ts +1 -1
  389. package/lib/components/config-provider/src/config-provider.d.ts +1 -1
  390. package/lib/components/countdown/index.js +2 -2
  391. package/lib/components/countdown/src/countdown.js +24 -74
  392. package/lib/components/countdown/src/countdown.js.map +1 -1
  393. package/lib/components/countdown/src/countdown2.js +74 -24
  394. package/lib/components/countdown/src/countdown2.js.map +1 -1
  395. package/lib/components/descriptions/index.js +2 -2
  396. package/lib/components/descriptions/src/description.js +25 -112
  397. package/lib/components/descriptions/src/description.js.map +1 -1
  398. package/lib/components/descriptions/src/description2.js +112 -25
  399. package/lib/components/descriptions/src/description2.js.map +1 -1
  400. package/lib/components/dialog/src/dialog-content.js +29 -88
  401. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  402. package/lib/components/dialog/src/dialog-content2.js +88 -29
  403. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  404. package/lib/components/dialog/src/dialog.js +1 -1
  405. package/lib/components/dialog/src/dialog2.js +1 -1
  406. package/lib/components/drawer/index.d.ts +209 -16
  407. package/lib/components/drawer/src/drawer.vue.d.ts +209 -16
  408. package/lib/components/drawer/src/drawer2.js +145 -140
  409. package/lib/components/drawer/src/drawer2.js.map +1 -1
  410. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  411. package/lib/components/dropdown/src/dropdown.js +1 -1
  412. package/lib/components/dropdown/src/useDropdown.js +2 -2
  413. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  414. package/lib/components/image/index.d.ts +37 -11
  415. package/lib/components/image/index.js +2 -2
  416. package/lib/components/image/src/image.d.ts +6 -1
  417. package/lib/components/image/src/image.js +225 -65
  418. package/lib/components/image/src/image.js.map +1 -1
  419. package/lib/components/image/src/image.vue.d.ts +37 -11
  420. package/lib/components/image/src/image2.js +64 -226
  421. package/lib/components/image/src/image2.js.map +1 -1
  422. package/lib/components/image-viewer/index.d.ts +19 -6
  423. package/lib/components/image-viewer/src/image-viewer.d.ts +6 -1
  424. package/lib/components/image-viewer/src/image-viewer.js +1 -2
  425. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  426. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +19 -6
  427. package/lib/components/image-viewer/src/image-viewer2.js +6 -9
  428. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  429. package/lib/components/index.js +3 -3
  430. package/lib/components/input/src/input2.js +3 -1
  431. package/lib/components/input/src/input2.js.map +1 -1
  432. package/lib/components/pagination/src/components/sizes.vue.d.ts +5 -0
  433. package/lib/components/roving-focus-group/src/roving-focus-group.js +1 -1
  434. package/lib/components/select/index.d.ts +5 -0
  435. package/lib/components/select/src/select.vue.d.ts +5 -0
  436. package/lib/components/select/src/select2.js +40 -32
  437. package/lib/components/select/src/select2.js.map +1 -1
  438. package/lib/components/select/src/useSelect.d.ts +5 -0
  439. package/lib/components/select/src/useSelect.js +39 -11
  440. package/lib/components/select/src/useSelect.js.map +1 -1
  441. package/lib/components/select-v2/index.d.ts +22 -12
  442. package/lib/components/select-v2/src/defaults.d.ts +2 -2
  443. package/lib/components/select-v2/src/defaults.js +2 -8
  444. package/lib/components/select-v2/src/defaults.js.map +1 -1
  445. package/lib/components/select-v2/src/select-dropdown.d.ts +5 -1
  446. package/lib/components/select-v2/src/select-dropdown.js +6 -5
  447. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  448. package/lib/components/select-v2/src/select.js +54 -18
  449. package/lib/components/select-v2/src/select.js.map +1 -1
  450. package/lib/components/select-v2/src/select.vue.d.ts +11 -6
  451. package/lib/components/select-v2/src/useSelect.d.ts +5 -0
  452. package/lib/components/select-v2/src/useSelect.js +42 -3
  453. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  454. package/lib/components/space/src/use-space.js +7 -8
  455. package/lib/components/space/src/use-space.js.map +1 -1
  456. package/lib/components/table/index.d.ts +10 -10
  457. package/lib/components/table/src/table/defaults.d.ts +2 -2
  458. package/lib/components/table/src/table-body/defaults.d.ts +1 -1
  459. package/lib/components/table/src/table-body/events-helper.js +1 -4
  460. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  461. package/lib/components/table/src/table-body/index.d.ts +2 -2
  462. package/lib/components/table/src/table-column/defaults.d.ts +1 -1
  463. package/lib/components/table/src/table-column/index.d.ts +3 -3
  464. package/lib/components/table/src/table.vue.d.ts +4 -4
  465. package/lib/components/table/src/util.d.ts +9 -76
  466. package/lib/components/table/src/util.js +35 -108
  467. package/lib/components/table/src/util.js.map +1 -1
  468. package/lib/components/time-select/index.d.ts +20 -0
  469. package/lib/components/time-select/src/time-select.vue.d.ts +10 -0
  470. package/lib/components/tour/index.d.ts +9 -9
  471. package/lib/components/tour/src/helper.d.ts +1 -1
  472. package/lib/components/tour/src/helper.js +19 -6
  473. package/lib/components/tour/src/helper.js.map +1 -1
  474. package/lib/components/tour/src/step.d.ts +1 -1
  475. package/lib/components/tour/src/step.js +1 -1
  476. package/lib/components/tour/src/step.js.map +1 -1
  477. package/lib/components/tour/src/step.vue.d.ts +3 -3
  478. package/lib/components/tour/src/tour.vue.d.ts +3 -3
  479. package/lib/components/tour/src/types.d.ts +1 -1
  480. package/lib/components/tree/src/model/tree-store.js +12 -5
  481. package/lib/components/tree/src/model/tree-store.js.map +1 -1
  482. package/lib/index.js +3 -3
  483. package/lib/utils/rand.d.ts +2 -0
  484. package/lib/utils/rand.js.map +1 -1
  485. package/lib/version.d.ts +1 -1
  486. package/lib/version.js +1 -1
  487. package/lib/version.js.map +1 -1
  488. package/package.json +2 -2
  489. package/tags.json +1 -1
  490. package/theme-chalk/el-select-dropdown-v2.css +1 -1
  491. package/theme-chalk/el-select-dropdown.css +1 -1
  492. package/theme-chalk/el-select-v2.css +1 -1
  493. package/theme-chalk/el-select.css +1 -1
  494. package/theme-chalk/index.css +1 -1
  495. package/theme-chalk/src/select-dropdown.scss +8 -0
  496. package/theme-chalk/src/select.scss +2 -1
  497. package/web-types.json +1 -1
@@ -2,35 +2,122 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var vue = require('vue');
5
6
  require('../../../utils/index.js');
6
7
  require('../../../hooks/index.js');
7
- var runtime = require('../../../utils/vue/props/runtime.js');
8
- var index = require('../../../hooks/use-size/index.js');
8
+ require('../../form/index.js');
9
+ var descriptionsRow = require('./descriptions-row2.js');
10
+ var token = require('./token.js');
11
+ var description = require('./description.js');
12
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
13
+ var index = require('../../../hooks/use-namespace/index.js');
14
+ var useFormCommonProps = require('../../form/src/hooks/use-form-common-props.js');
15
+ var vnode = require('../../../utils/vue/vnode.js');
9
16
 
10
- const descriptionProps = runtime.buildProps({
11
- border: {
12
- type: Boolean,
13
- default: false
14
- },
15
- column: {
16
- type: Number,
17
- default: 3
18
- },
19
- direction: {
20
- type: String,
21
- values: ["horizontal", "vertical"],
22
- default: "horizontal"
23
- },
24
- size: index.useSizeProp,
25
- title: {
26
- type: String,
27
- default: ""
28
- },
29
- extra: {
30
- type: String,
31
- default: ""
17
+ const __default__ = vue.defineComponent({
18
+ name: "ElDescriptions"
19
+ });
20
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
+ ...__default__,
22
+ props: description.descriptionProps,
23
+ setup(__props) {
24
+ const props = __props;
25
+ const ns = index.useNamespace("descriptions");
26
+ const descriptionsSize = useFormCommonProps.useFormSize();
27
+ const slots = vue.useSlots();
28
+ vue.provide(token.descriptionsKey, props);
29
+ const descriptionKls = vue.computed(() => [ns.b(), ns.m(descriptionsSize.value)]);
30
+ const filledNode = (node, span, count, isLast = false) => {
31
+ if (!node.props) {
32
+ node.props = {};
33
+ }
34
+ if (span > count) {
35
+ node.props.span = count;
36
+ }
37
+ if (isLast) {
38
+ node.props.span = span;
39
+ }
40
+ return node;
41
+ };
42
+ const getRows = () => {
43
+ if (!slots.default)
44
+ return [];
45
+ const children = vnode.flattedChildren(slots.default()).filter((node) => {
46
+ var _a;
47
+ return ((_a = node == null ? void 0 : node.type) == null ? void 0 : _a.name) === "ElDescriptionsItem";
48
+ });
49
+ const rows = [];
50
+ let temp = [];
51
+ let count = props.column;
52
+ let totalSpan = 0;
53
+ children.forEach((node, index) => {
54
+ var _a;
55
+ const span = ((_a = node.props) == null ? void 0 : _a.span) || 1;
56
+ if (index < children.length - 1) {
57
+ totalSpan += span > count ? count : span;
58
+ }
59
+ if (index === children.length - 1) {
60
+ const lastSpan = props.column - totalSpan % props.column;
61
+ temp.push(filledNode(node, lastSpan, count, true));
62
+ rows.push(temp);
63
+ return;
64
+ }
65
+ if (span < count) {
66
+ count -= span;
67
+ temp.push(node);
68
+ } else {
69
+ temp.push(filledNode(node, span, count));
70
+ rows.push(temp);
71
+ count = props.column;
72
+ temp = [];
73
+ }
74
+ });
75
+ return rows;
76
+ };
77
+ return (_ctx, _cache) => {
78
+ return vue.openBlock(), vue.createElementBlock("div", {
79
+ class: vue.normalizeClass(vue.unref(descriptionKls))
80
+ }, [
81
+ _ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
82
+ key: 0,
83
+ class: vue.normalizeClass(vue.unref(ns).e("header"))
84
+ }, [
85
+ vue.createElementVNode("div", {
86
+ class: vue.normalizeClass(vue.unref(ns).e("title"))
87
+ }, [
88
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
89
+ vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
90
+ ])
91
+ ], 2),
92
+ vue.createElementVNode("div", {
93
+ class: vue.normalizeClass(vue.unref(ns).e("extra"))
94
+ }, [
95
+ vue.renderSlot(_ctx.$slots, "extra", {}, () => [
96
+ vue.createTextVNode(vue.toDisplayString(_ctx.extra), 1)
97
+ ])
98
+ ], 2)
99
+ ], 2)) : vue.createCommentVNode("v-if", true),
100
+ vue.createElementVNode("div", {
101
+ class: vue.normalizeClass(vue.unref(ns).e("body"))
102
+ }, [
103
+ vue.createElementVNode("table", {
104
+ class: vue.normalizeClass([vue.unref(ns).e("table"), vue.unref(ns).is("bordered", _ctx.border)])
105
+ }, [
106
+ vue.createElementVNode("tbody", null, [
107
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getRows(), (row, _index) => {
108
+ return vue.openBlock(), vue.createBlock(descriptionsRow["default"], {
109
+ key: _index,
110
+ row
111
+ }, null, 8, ["row"]);
112
+ }), 128))
113
+ ])
114
+ ], 2)
115
+ ], 2)
116
+ ], 2);
117
+ };
32
118
  }
33
119
  });
120
+ var Descriptions = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "description.vue"]]);
34
121
 
35
- exports.descriptionProps = descriptionProps;
122
+ exports["default"] = Descriptions;
36
123
  //# sourceMappingURL=description2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"description2.js","sources":["../../../../../../packages/components/descriptions/src/description.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\n\nimport type Description from './description.vue'\n\nexport const descriptionProps = buildProps({\n /**\n * @description with or without border\n */\n border: {\n type: Boolean,\n default: false,\n },\n /**\n * @description numbers of `Descriptions Item` in one line\n */\n column: {\n type: Number,\n default: 3,\n },\n /**\n * @description direction of list\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description size of list\n */\n size: useSizeProp,\n /**\n * @description title text, display on the top left\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description extra text, display on the top right\n */\n extra: {\n type: String,\n default: '',\n },\n} as const)\n\nexport type DescriptionInstance = InstanceType<typeof Description>\n"],"names":["buildProps","useSizeProp"],"mappings":";;;;;;;;;AAEY,MAAC,gBAAgB,GAAGA,kBAAU,CAAC;AAC3C,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,IAAI,OAAO,EAAE,YAAY;AACzB,GAAG;AACH,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"description2.js","sources":["../../../../../../packages/components/descriptions/src/description.vue"],"sourcesContent":["<template>\n <div :class=\"descriptionKls\">\n <div\n v-if=\"title || extra || $slots.title || $slots.extra\"\n :class=\"ns.e('header')\"\n >\n <div :class=\"ns.e('title')\">\n <slot name=\"title\">{{ title }}</slot>\n </div>\n <div :class=\"ns.e('extra')\">\n <slot name=\"extra\">{{ extra }}</slot>\n </div>\n </div>\n\n <div :class=\"ns.e('body')\">\n <table :class=\"[ns.e('table'), ns.is('bordered', border)]\">\n <tbody>\n <template v-for=\"(row, _index) in getRows()\" :key=\"_index\">\n <el-descriptions-row :row=\"row\" />\n </template>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide, useSlots } from 'vue'\nimport { flattedChildren } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormSize } from '@element-plus/components/form'\nimport ElDescriptionsRow from './descriptions-row.vue'\nimport { descriptionsKey } from './token'\nimport { descriptionProps } from './description'\n\nimport type { IDescriptionsInject } from './descriptions.type'\nimport type { DescriptionItemVNode } from './description-item'\n\ndefineOptions({\n name: 'ElDescriptions',\n})\n\nconst props = defineProps(descriptionProps)\n\nconst ns = useNamespace('descriptions')\n\nconst descriptionsSize = useFormSize()\n\nconst slots = useSlots()\n\nprovide(descriptionsKey, props as IDescriptionsInject)\n\nconst descriptionKls = computed(() => [ns.b(), ns.m(descriptionsSize.value)])\n\nconst filledNode = (\n node: DescriptionItemVNode,\n span: number,\n count: number,\n isLast = false\n) => {\n if (!node.props) {\n node.props = {}\n }\n if (span > count) {\n node.props.span = count\n }\n if (isLast) {\n // set the last span\n node.props.span = span\n }\n return node\n}\n\nconst getRows = () => {\n if (!slots.default) return []\n\n const children = flattedChildren(slots.default()).filter(\n (node): node is DescriptionItemVNode =>\n (node as any)?.type?.name === 'ElDescriptionsItem'\n )\n const rows: DescriptionItemVNode[][] = []\n let temp: DescriptionItemVNode[] = []\n let count = props.column\n let totalSpan = 0 // all spans number of item\n\n children.forEach((node, index) => {\n const span = node.props?.span || 1\n\n if (index < children.length - 1) {\n totalSpan += span > count ? count : span\n }\n\n if (index === children.length - 1) {\n // calculate the last item span\n const lastSpan = props.column - (totalSpan % props.column)\n temp.push(filledNode(node, lastSpan, count, true))\n rows.push(temp)\n return\n }\n\n if (span < count) {\n count -= span\n temp.push(node)\n } else {\n temp.push(filledNode(node, span, count))\n rows.push(temp)\n count = props.column\n temp = []\n }\n })\n\n return rows\n}\n</script>\n"],"names":["useNamespace","useFormSize","useSlots","provide","descriptionsKey","computed","flattedChildren"],"mappings":";;;;;;;;;;;;;;;;uCAsCc,CAAA;AAAA,EACZ,IAAM,EAAA,gBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAA,GAAKA,mBAAa,cAAc,CAAA,CAAA;AAEtC,IAAA,MAAM,mBAAmBC,8BAAY,EAAA,CAAA;AAErC,IAAA,MAAM,QAAQC,YAAS,EAAA,CAAA;AAEvB,IAAAC,WAAA,CAAQC,uBAAiB,KAA4B,CAAA,CAAA;AAErD,IAAA,MAAM,cAAiB,GAAAC,YAAA,CAAS,MAAM,CAAC,EAAG,CAAA,CAAA,EAAK,EAAA,EAAA,CAAG,CAAE,CAAA,gBAAA,CAAiB,KAAK,CAAC,CAAC,CAAA,CAAA;AAE5E,IAAA,MAAM,aAAa,CACjB,IAAA,EACA,IACA,EAAA,KAAA,EACA,SAAS,KACN,KAAA;AACH,MAAI,IAAA,CAAC,KAAK,KAAO,EAAA;AACf,QAAA,IAAA,CAAK,QAAQ,EAAC,CAAA;AAAA,OAChB;AACA,MAAA,IAAI,OAAO,KAAO,EAAA;AAChB,QAAA,IAAA,CAAK,MAAM,IAAO,GAAA,KAAA,CAAA;AAAA,OACpB;AACA,MAAA,IAAI,MAAQ,EAAA;AAEV,QAAA,IAAA,CAAK,MAAM,IAAO,GAAA,IAAA,CAAA;AAAA,OACpB;AACA,MAAO,OAAA,IAAA,CAAA;AAAA,KACT,CAAA;AAEA,IAAA,MAAM,UAAU,MAAM;AACpB,MAAA,IAAI,CAAC,KAAM,CAAA,OAAA;AAAS,QAAA,OAAO,EAAC,CAAA;AAE5B,MAAA,MAAM,QAAW,GAAAC,qBAAA,CAAgB,KAAM,CAAA,OAAA,EAAS,CAAA,CAAE,MAChD,CAAA,CAAC,IACE,KAAA;AAEL,QAAA,IAAM;AACN,QAAA,SAAmC,EAAC,GAAA,IAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,IAAA,CAAA,IAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,MAAA,oBAAA,CAAA;AACpC,OAAA,CAAA,CAAA;AACA,MAAA,MAAgB,IAAA,GAAA,EAAA,CAAA;AAEhB,MAAS,IAAA,IAAA,GAAA,EAAA,CAAA;AACP,MAAM,IAAA,KAAA,GAAA,KAAY,CAAA,MAAA,CAAA;AAElB,MAAI,IAAA,SAAA,GAAiB,CAAA,CAAA;AACnB,MAAa,QAAA,CAAA,OAAA,CAAA,CAAA,IAAA,EAAO,UAAgB;AAAA,QACtC,IAAA,EAAA,CAAA;AAEA,QAAI,MAAA,IAAA,GAAA,CAAU,CAAS,EAAA,GAAA,IAAA,CAAA,KAAA,KAAY,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,KAAA,CAAA,CAAA;AAEjC,QAAA,IAAA,KAAiB,GAAA,QAAA,CAAA,MAAgB,GAAA,CAAA,EAAA;AACjC,UAAA,aAAqB,IAAA,GAAA,KAAA,GAAgB,KAAA,GAAA,IAAA,CAAA;AACrC,SAAA;AACA,QAAA,IAAA,KAAA,KAAA,QAAA,CAAA,MAAA,GAAA,CAAA,EAAA;AAAA,UACF,MAAA,QAAA,GAAA,KAAA,CAAA,MAAA,GAAA,SAAA,GAAA,KAAA,CAAA,MAAA,CAAA;AAEA,UAAA,SAAW,CAAO,UAAA,CAAA,IAAA,EAAA,QAAA,EAAA,KAAA,EAAA,IAAA,CAAA,CAAA,CAAA;AAChB,UAAS,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA;AACT,UAAA;AAAc,SACT;AACL,QAAA,IAAA,IAAU,GAAA,KAAA,EAAA;AACV,UAAA,KAAK,QAAS,CAAA;AACd,UAAA,IAAA,CAAA,IAAc,CAAA,IAAA,CAAA,CAAA;AACd,SAAA,MAAA;AAAQ,UACV,IAAA,CAAA,IAAA,CAAA,UAAA,CAAA,IAAA,EAAA,IAAA,EAAA,KAAA,CAAA,CAAA,CAAA;AAAA,UACD,IAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA;AAED,UAAO,KAAA,GAAA,KAAA,CAAA,MAAA,CAAA;AAAA,UACT,IAAA,GAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,98 +2,39 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var index$2 = require('../../icon/index.js');
7
- require('../../focus-trap/index.js');
8
- require('../../../hooks/index.js');
9
5
  require('../../../utils/index.js');
10
- var constants = require('./constants.js');
11
- var dialogContent = require('./dialog-content2.js');
12
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
13
- var index = require('../../../hooks/use-locale/index.js');
6
+ var runtime = require('../../../utils/vue/props/runtime.js');
14
7
  var icon = require('../../../utils/vue/icon.js');
15
- var tokens = require('../../focus-trap/src/tokens.js');
16
- var refs = require('../../../utils/vue/refs.js');
17
- var index$1 = require('../../../hooks/use-draggable/index.js');
18
8
 
19
- const _hoisted_1 = ["aria-level"];
20
- const _hoisted_2 = ["aria-label"];
21
- const _hoisted_3 = ["id"];
22
- const __default__ = vue.defineComponent({ name: "ElDialogContent" });
23
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
- ...__default__,
25
- props: dialogContent.dialogContentProps,
26
- emits: dialogContent.dialogContentEmits,
27
- setup(__props) {
28
- const props = __props;
29
- const { t } = index.useLocale();
30
- const { Close } = icon.CloseComponents;
31
- const { dialogRef, headerRef, bodyId, ns, style } = vue.inject(constants.dialogInjectionKey);
32
- const { focusTrapRef } = vue.inject(tokens.FOCUS_TRAP_INJECTION_KEY);
33
- const dialogKls = vue.computed(() => [
34
- ns.b(),
35
- ns.is("fullscreen", props.fullscreen),
36
- ns.is("draggable", props.draggable),
37
- ns.is("align-center", props.alignCenter),
38
- { [ns.m("center")]: props.center },
39
- props.customClass
40
- ]);
41
- const composedDialogRef = refs.composeRefs(focusTrapRef, dialogRef);
42
- const draggable = vue.computed(() => props.draggable);
43
- index$1.useDraggable(dialogRef, headerRef, draggable);
44
- return (_ctx, _cache) => {
45
- return vue.openBlock(), vue.createElementBlock("div", {
46
- ref: vue.unref(composedDialogRef),
47
- class: vue.normalizeClass(vue.unref(dialogKls)),
48
- style: vue.normalizeStyle(vue.unref(style)),
49
- tabindex: "-1"
50
- }, [
51
- vue.createElementVNode("header", {
52
- ref_key: "headerRef",
53
- ref: headerRef,
54
- class: vue.normalizeClass(vue.unref(ns).e("header"))
55
- }, [
56
- vue.renderSlot(_ctx.$slots, "header", {}, () => [
57
- vue.createElementVNode("span", {
58
- role: "heading",
59
- "aria-level": _ctx.ariaLevel,
60
- class: vue.normalizeClass(vue.unref(ns).e("title"))
61
- }, vue.toDisplayString(_ctx.title), 11, _hoisted_1)
62
- ]),
63
- _ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
64
- key: 0,
65
- "aria-label": vue.unref(t)("el.dialog.close"),
66
- class: vue.normalizeClass(vue.unref(ns).e("headerbtn")),
67
- type: "button",
68
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
69
- }, [
70
- vue.createVNode(vue.unref(index$2.ElIcon), {
71
- class: vue.normalizeClass(vue.unref(ns).e("close"))
72
- }, {
73
- default: vue.withCtx(() => [
74
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.closeIcon || vue.unref(Close))))
75
- ]),
76
- _: 1
77
- }, 8, ["class"])
78
- ], 10, _hoisted_2)) : vue.createCommentVNode("v-if", true)
79
- ], 2),
80
- vue.createElementVNode("div", {
81
- id: vue.unref(bodyId),
82
- class: vue.normalizeClass(vue.unref(ns).e("body"))
83
- }, [
84
- vue.renderSlot(_ctx.$slots, "default")
85
- ], 10, _hoisted_3),
86
- _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", {
87
- key: 0,
88
- class: vue.normalizeClass(vue.unref(ns).e("footer"))
89
- }, [
90
- vue.renderSlot(_ctx.$slots, "footer")
91
- ], 2)) : vue.createCommentVNode("v-if", true)
92
- ], 6);
93
- };
9
+ const dialogContentProps = runtime.buildProps({
10
+ center: Boolean,
11
+ alignCenter: Boolean,
12
+ closeIcon: {
13
+ type: icon.iconPropType
14
+ },
15
+ customClass: {
16
+ type: String,
17
+ default: ""
18
+ },
19
+ draggable: Boolean,
20
+ fullscreen: Boolean,
21
+ showClose: {
22
+ type: Boolean,
23
+ default: true
24
+ },
25
+ title: {
26
+ type: String,
27
+ default: ""
28
+ },
29
+ ariaLevel: {
30
+ type: String,
31
+ default: "2"
94
32
  }
95
33
  });
96
- var ElDialogContent = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "dialog-content.vue"]]);
34
+ const dialogContentEmits = {
35
+ close: () => true
36
+ };
97
37
 
98
- exports["default"] = ElDialogContent;
38
+ exports.dialogContentEmits = dialogContentEmits;
39
+ exports.dialogContentProps = dialogContentProps;
99
40
  //# sourceMappingURL=dialog-content.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header ref=\"headerRef\" :class=\"ns.e('header')\">\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"ns.e('body')\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"ns.e('footer')\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n props.customClass,\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nuseDraggable(dialogRef, headerRef, draggable)\n</script>\n"],"names":["useLocale","CloseComponents","inject","dialogInjectionKey","FOCUS_TRAP_INJECTION_KEY","computed","composeRefs","useDraggable"],"mappings":";;;;;;;;;;;;;;;;;;;;;uCAyCc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,MAAMA,eAAU,EAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAU,EAAA,GAAAC,oBAAA,CAAA;AAMlB,IAAA,MAAM,EAAE,SAAW,EAAA,SAAA,EAAW,QAAQ,EAAI,EAAA,KAAA,EAAA,GAAUC,WAAOC,4BAAkB,CAAA,CAAA;AAC7E,IAAM,MAAA,EAAE,YAAiB,EAAA,GAAAD,UAAA,CAAOE,+BAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAYC,aAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAA,CAAG,EAAE,QAAQ,CAAA,GAAI,MAAM,MAAO,EAAA;AAAA,MACjC,KAAM,CAAA,WAAA;AAAA,KACP,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoBC,gBAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAAD,YAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAaE,oBAAA,CAAA,SAAA,EAAW,WAAW,SAAS,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dialog-content.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @deprecated will be removed in version 2.4.0, please use class\n */\n customClass: {\n type: String,\n default: '',\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,kBAAkB,GAAGA,kBAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;;"}
@@ -2,39 +2,98 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var vue = require('vue');
6
+ var index$2 = require('../../icon/index.js');
7
+ require('../../focus-trap/index.js');
8
+ require('../../../hooks/index.js');
5
9
  require('../../../utils/index.js');
6
- var runtime = require('../../../utils/vue/props/runtime.js');
10
+ var constants = require('./constants.js');
11
+ var dialogContent = require('./dialog-content.js');
12
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
13
+ var index = require('../../../hooks/use-locale/index.js');
7
14
  var icon = require('../../../utils/vue/icon.js');
15
+ var tokens = require('../../focus-trap/src/tokens.js');
16
+ var refs = require('../../../utils/vue/refs.js');
17
+ var index$1 = require('../../../hooks/use-draggable/index.js');
8
18
 
9
- const dialogContentProps = runtime.buildProps({
10
- center: Boolean,
11
- alignCenter: Boolean,
12
- closeIcon: {
13
- type: icon.iconPropType
14
- },
15
- customClass: {
16
- type: String,
17
- default: ""
18
- },
19
- draggable: Boolean,
20
- fullscreen: Boolean,
21
- showClose: {
22
- type: Boolean,
23
- default: true
24
- },
25
- title: {
26
- type: String,
27
- default: ""
28
- },
29
- ariaLevel: {
30
- type: String,
31
- default: "2"
19
+ const _hoisted_1 = ["aria-level"];
20
+ const _hoisted_2 = ["aria-label"];
21
+ const _hoisted_3 = ["id"];
22
+ const __default__ = vue.defineComponent({ name: "ElDialogContent" });
23
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
+ ...__default__,
25
+ props: dialogContent.dialogContentProps,
26
+ emits: dialogContent.dialogContentEmits,
27
+ setup(__props) {
28
+ const props = __props;
29
+ const { t } = index.useLocale();
30
+ const { Close } = icon.CloseComponents;
31
+ const { dialogRef, headerRef, bodyId, ns, style } = vue.inject(constants.dialogInjectionKey);
32
+ const { focusTrapRef } = vue.inject(tokens.FOCUS_TRAP_INJECTION_KEY);
33
+ const dialogKls = vue.computed(() => [
34
+ ns.b(),
35
+ ns.is("fullscreen", props.fullscreen),
36
+ ns.is("draggable", props.draggable),
37
+ ns.is("align-center", props.alignCenter),
38
+ { [ns.m("center")]: props.center },
39
+ props.customClass
40
+ ]);
41
+ const composedDialogRef = refs.composeRefs(focusTrapRef, dialogRef);
42
+ const draggable = vue.computed(() => props.draggable);
43
+ index$1.useDraggable(dialogRef, headerRef, draggable);
44
+ return (_ctx, _cache) => {
45
+ return vue.openBlock(), vue.createElementBlock("div", {
46
+ ref: vue.unref(composedDialogRef),
47
+ class: vue.normalizeClass(vue.unref(dialogKls)),
48
+ style: vue.normalizeStyle(vue.unref(style)),
49
+ tabindex: "-1"
50
+ }, [
51
+ vue.createElementVNode("header", {
52
+ ref_key: "headerRef",
53
+ ref: headerRef,
54
+ class: vue.normalizeClass(vue.unref(ns).e("header"))
55
+ }, [
56
+ vue.renderSlot(_ctx.$slots, "header", {}, () => [
57
+ vue.createElementVNode("span", {
58
+ role: "heading",
59
+ "aria-level": _ctx.ariaLevel,
60
+ class: vue.normalizeClass(vue.unref(ns).e("title"))
61
+ }, vue.toDisplayString(_ctx.title), 11, _hoisted_1)
62
+ ]),
63
+ _ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
64
+ key: 0,
65
+ "aria-label": vue.unref(t)("el.dialog.close"),
66
+ class: vue.normalizeClass(vue.unref(ns).e("headerbtn")),
67
+ type: "button",
68
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
69
+ }, [
70
+ vue.createVNode(vue.unref(index$2.ElIcon), {
71
+ class: vue.normalizeClass(vue.unref(ns).e("close"))
72
+ }, {
73
+ default: vue.withCtx(() => [
74
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.closeIcon || vue.unref(Close))))
75
+ ]),
76
+ _: 1
77
+ }, 8, ["class"])
78
+ ], 10, _hoisted_2)) : vue.createCommentVNode("v-if", true)
79
+ ], 2),
80
+ vue.createElementVNode("div", {
81
+ id: vue.unref(bodyId),
82
+ class: vue.normalizeClass(vue.unref(ns).e("body"))
83
+ }, [
84
+ vue.renderSlot(_ctx.$slots, "default")
85
+ ], 10, _hoisted_3),
86
+ _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", {
87
+ key: 0,
88
+ class: vue.normalizeClass(vue.unref(ns).e("footer"))
89
+ }, [
90
+ vue.renderSlot(_ctx.$slots, "footer")
91
+ ], 2)) : vue.createCommentVNode("v-if", true)
92
+ ], 6);
93
+ };
32
94
  }
33
95
  });
34
- const dialogContentEmits = {
35
- close: () => true
36
- };
96
+ var ElDialogContent = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "dialog-content.vue"]]);
37
97
 
38
- exports.dialogContentEmits = dialogContentEmits;
39
- exports.dialogContentProps = dialogContentProps;
98
+ exports["default"] = ElDialogContent;
40
99
  //# sourceMappingURL=dialog-content2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content2.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @deprecated will be removed in version 2.4.0, please use class\n */\n customClass: {\n type: String,\n default: '',\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,kBAAkB,GAAGA,kBAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;;"}
1
+ {"version":3,"file":"dialog-content2.js","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header ref=\"headerRef\" :class=\"ns.e('header')\">\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"ns.e('body')\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"ns.e('footer')\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n props.customClass,\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nuseDraggable(dialogRef, headerRef, draggable)\n</script>\n"],"names":["useLocale","CloseComponents","inject","dialogInjectionKey","FOCUS_TRAP_INJECTION_KEY","computed","composeRefs","useDraggable"],"mappings":";;;;;;;;;;;;;;;;;;;;;uCAyCc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,MAAMA,eAAU,EAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAU,EAAA,GAAAC,oBAAA,CAAA;AAMlB,IAAA,MAAM,EAAE,SAAW,EAAA,SAAA,EAAW,QAAQ,EAAI,EAAA,KAAA,EAAA,GAAUC,WAAOC,4BAAkB,CAAA,CAAA;AAC7E,IAAM,MAAA,EAAE,YAAiB,EAAA,GAAAD,UAAA,CAAOE,+BAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAYC,aAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAA,CAAG,EAAE,QAAQ,CAAA,GAAI,MAAM,MAAO,EAAA;AAAA,MACjC,KAAM,CAAA,WAAA;AAAA,KACP,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoBC,gBAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAAD,YAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAaE,oBAAA,CAAA,SAAA,EAAW,WAAW,SAAS,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../../utils/index.js');
6
6
  require('../../../constants/index.js');
7
- var dialogContent = require('./dialog-content2.js');
7
+ var dialogContent = require('./dialog-content.js');
8
8
  var runtime = require('../../../utils/vue/props/runtime.js');
9
9
  var event = require('../../../constants/event.js');
10
10
  var types = require('../../../utils/types.js');
@@ -6,7 +6,7 @@ var vue = require('vue');
6
6
  var index$3 = require('../../overlay/index.js');
7
7
  require('../../../hooks/index.js');
8
8
  require('../../focus-trap/index.js');
9
- var dialogContent = require('./dialog-content.js');
9
+ var dialogContent = require('./dialog-content2.js');
10
10
  var constants = require('./constants.js');
11
11
  var dialog = require('./dialog.js');
12
12
  var useDialog = require('./use-dialog.js');