@element-plus/nightly 0.0.20260720 → 0.0.20260721

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 (626) hide show
  1. package/es/components/affix/src/affix.d.ts +1 -1
  2. package/es/components/affix/src/affix.vue.d.ts +3 -3
  3. package/es/components/alert/src/alert.d.ts +2 -2
  4. package/es/components/anchor/src/anchor.d.ts +1 -1
  5. package/es/components/anchor/src/anchor.vue.d.ts +2 -2
  6. package/es/components/autocomplete/src/autocomplete.d.ts +7 -108
  7. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  8. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  9. package/es/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  10. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  11. package/es/components/avatar/src/avatar-group-props.d.ts +9 -106
  12. package/es/components/avatar/src/avatar-group-props.mjs +9 -1
  13. package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
  14. package/es/components/avatar/src/avatar-group.d.ts +20 -213
  15. package/es/components/avatar/src/avatar.d.ts +3 -3
  16. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  17. package/es/components/badge/src/badge.d.ts +4 -8
  18. package/es/components/badge/src/badge.mjs +9 -1
  19. package/es/components/badge/src/badge.mjs.map +1 -1
  20. package/es/components/badge/src/badge.vue.d.ts +3 -1
  21. package/es/components/badge/src/badge.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  22. package/es/components/badge/src/badge2.mjs.map +1 -1
  23. package/es/components/button/src/button-group.d.ts +2 -2
  24. package/es/components/button/src/button-group.vue.d.ts +1 -1
  25. package/es/components/button/src/button.d.ts +2 -2
  26. package/es/components/button/src/button.vue.d.ts +4 -4
  27. package/es/components/button/src/use-button.d.ts +2 -2
  28. package/es/components/calendar/src/calendar.mjs.map +1 -1
  29. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  30. package/es/components/calendar/style/css.mjs +1 -1
  31. package/es/components/calendar/style/index.mjs +1 -1
  32. package/es/components/card/src/card.d.ts +8 -7
  33. package/es/components/card/src/card.mjs +27 -3
  34. package/es/components/card/src/card.mjs.map +1 -1
  35. package/es/components/card/src/card.vue.d.ts +4 -0
  36. package/es/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  37. package/es/components/card/src/card2.mjs.map +1 -1
  38. package/es/components/carousel/src/carousel.d.ts +1 -1
  39. package/es/components/carousel/src/carousel.vue.d.ts +4 -4
  40. package/es/components/cascader/src/cascader.d.ts +9 -110
  41. package/es/components/cascader/src/cascader.mjs.map +1 -1
  42. package/es/components/cascader/src/cascader.vue.d.ts +22 -20
  43. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  44. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  45. package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
  46. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
  47. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  48. package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  49. package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
  50. package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  51. package/es/components/checkbox/src/checkbox.d.ts +9 -9
  52. package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
  53. package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  54. package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  55. package/es/components/col/src/col.vue.d.ts +1 -1
  56. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  57. package/es/components/collapse/src/collapse.d.ts +1 -1
  58. package/es/components/collapse/src/collapse.vue.d.ts +1 -1
  59. package/es/components/color-picker/src/color-picker.d.ts +5 -104
  60. package/es/components/color-picker/src/color-picker.mjs +1 -0
  61. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  62. package/es/components/color-picker/src/color-picker.vue.d.ts +12 -10
  63. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  64. package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
  65. package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
  66. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
  67. package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  68. package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
  69. package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
  70. package/es/components/config-provider/src/config-provider.d.ts +2 -2
  71. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  72. package/es/components/date-picker/src/date-picker.d.ts +17 -217
  73. package/es/components/date-picker/src/props.d.ts +4 -104
  74. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  75. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  76. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  77. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  78. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  79. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  80. package/es/components/date-picker-panel/src/panel-utils.d.ts +21 -21
  81. package/es/components/date-picker-panel/src/props/basic-date-table.mjs.map +1 -1
  82. package/es/components/descriptions/src/description-item.d.ts +18 -18
  83. package/es/components/descriptions/src/description.d.ts +1 -1
  84. package/es/components/descriptions/src/description.vue.d.ts +2 -2
  85. package/es/components/dialog/src/dialog-content.d.ts +10 -6
  86. package/es/components/dialog/src/dialog-content.mjs +32 -5
  87. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  88. package/es/components/dialog/src/dialog-content.vue.d.ts +5 -1
  89. package/es/components/dialog/src/dialog.d.ts +10 -5
  90. package/es/components/dialog/src/dialog.mjs +11 -14
  91. package/es/components/dialog/src/dialog.mjs.map +1 -1
  92. package/es/components/dialog/src/dialog.vue.d.ts +9 -4
  93. package/es/components/divider/src/divider.d.ts +1 -1
  94. package/es/components/divider/src/divider.vue.d.ts +1 -1
  95. package/es/components/drawer/src/drawer.d.ts +5 -4
  96. package/es/components/drawer/src/drawer.vue.d.ts +12 -7
  97. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  98. package/es/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  99. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  100. package/es/components/dropdown/src/dropdown.d.ts +5 -106
  101. package/es/components/dropdown/src/dropdown.vue.d.ts +115 -313
  102. package/es/components/dropdown/style/css.mjs +1 -1
  103. package/es/components/dropdown/style/index.mjs +1 -1
  104. package/es/components/form/src/form-item.d.ts +3 -3
  105. package/es/components/form/src/form-item.vue.d.ts +2 -2
  106. package/es/components/form/src/form.d.ts +4 -4
  107. package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  108. package/es/components/image/src/image.d.ts +1 -1
  109. package/es/components/image/src/image.mjs.map +1 -1
  110. package/es/components/image/src/image.vue.d.ts +4 -4
  111. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  112. package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  113. package/es/components/input/src/input.d.ts +4 -4
  114. package/es/components/input/src/input.vue.d.ts +19 -19
  115. package/es/components/input-number/src/input-number.d.ts +3 -3
  116. package/es/components/input-number/src/input-number.vue.d.ts +10 -10
  117. package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
  118. package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  119. package/es/components/input-tag/src/input-tag.d.ts +3 -3
  120. package/es/components/input-tag/src/input-tag.vue.d.ts +12 -12
  121. package/es/components/link/src/link.d.ts +2 -2
  122. package/es/components/link/src/link.mjs.map +1 -1
  123. package/es/components/mention/src/mention.d.ts +7 -108
  124. package/es/components/mention/src/mention.vue.d.ts +5 -5
  125. package/es/components/mention/src/mention.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  126. package/es/components/mention/src/mention2.mjs.map +1 -1
  127. package/es/components/menu/src/menu.d.ts +13 -25
  128. package/es/components/menu/src/menu.mjs +18 -2
  129. package/es/components/menu/src/menu.mjs.map +1 -1
  130. package/es/components/menu/src/sub-menu.d.ts +11 -23
  131. package/es/components/menu/src/sub-menu.mjs +18 -2
  132. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  133. package/es/components/message/src/instance.d.ts +1 -1
  134. package/es/components/message/src/message.d.ts +5 -5
  135. package/es/components/message/src/message.mjs +6 -1
  136. package/es/components/message/src/message.mjs.map +1 -1
  137. package/es/components/message/src/message.vue.d.ts +7 -6
  138. package/es/components/message/src/method.mjs.map +1 -1
  139. package/es/components/message-box/src/index.vue.d.ts +73 -81
  140. package/es/components/notification/src/notification.d.ts +4 -3
  141. package/es/components/notification/src/notification.mjs +6 -1
  142. package/es/components/notification/src/notification.mjs.map +1 -1
  143. package/es/components/notification/src/notification.vue.d.ts +5 -4
  144. package/es/components/overlay/index.d.ts +4 -12
  145. package/es/components/overlay/src/overlay.d.ts +5 -18
  146. package/es/components/overlay/src/overlay.mjs +9 -5
  147. package/es/components/overlay/src/overlay.mjs.map +1 -1
  148. package/es/components/pagination/src/components/jumper.d.ts +1 -1
  149. package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
  150. package/es/components/pagination/src/components/sizes.d.ts +5 -14
  151. package/es/components/pagination/src/components/sizes.mjs +18 -2
  152. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  153. package/es/components/pagination/src/components/sizes.vue.d.ts +10 -27
  154. package/es/components/pagination/src/pagination.d.ts +16 -29
  155. package/es/components/pagination/src/pagination.mjs +15 -2
  156. package/es/components/pagination/src/pagination.mjs.map +1 -1
  157. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  158. package/es/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
  159. package/es/components/popover/src/popover.d.ts +5 -105
  160. package/es/components/popover/src/popover.mjs +1 -0
  161. package/es/components/popover/src/popover.mjs.map +1 -1
  162. package/es/components/popover/src/popover.vue.d.ts +14 -13
  163. package/es/components/popper/src/composables/use-content-dom.d.ts +2 -25
  164. package/es/components/popper/src/composables/use-content.d.ts +4 -4
  165. package/es/components/popper/src/content.d.ts +8 -18
  166. package/es/components/popper/src/content.mjs +13 -7
  167. package/es/components/popper/src/content.mjs.map +1 -1
  168. package/es/components/popper/src/content.vue.d.ts +19 -17
  169. package/es/components/popper/src/popper.d.ts +2 -2
  170. package/es/components/popper/src/popper.mjs.map +1 -1
  171. package/es/components/progress/src/progress.d.ts +1 -1
  172. package/es/components/progress/src/progress.vue.d.ts +2 -2
  173. package/es/components/radio/src/radio-button.d.ts +4 -4
  174. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  175. package/es/components/radio/src/radio-group.d.ts +1 -1
  176. package/es/components/radio/src/radio-group.vue.d.ts +6 -6
  177. package/es/components/radio/src/radio.d.ts +8 -8
  178. package/es/components/radio/src/radio.vue.d.ts +4 -4
  179. package/es/components/radio/src/use-radio.d.ts +1 -1
  180. package/es/components/rate/src/rate.d.ts +1 -1
  181. package/es/components/rate/src/rate.vue.d.ts +3 -3
  182. package/es/components/rate/src/rate.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  183. package/es/components/rate/src/rate2.mjs.map +1 -1
  184. package/es/components/result/src/result.d.ts +1 -1
  185. package/es/components/result/src/result.vue.d.ts +1 -1
  186. package/es/components/row/src/row.d.ts +1 -1
  187. package/es/components/scrollbar/src/scrollbar.d.ts +5 -4
  188. package/es/components/scrollbar/src/scrollbar.mjs +12 -2
  189. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  190. package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  191. package/es/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  192. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  193. package/es/components/segmented/index.d.ts +2 -2
  194. package/es/components/segmented/src/segmented.d.ts +2 -2
  195. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  196. package/es/components/select/src/option.d.ts +2 -2
  197. package/es/components/select/src/option.vue.d.ts +5 -5
  198. package/es/components/select/src/select-dropdown.vue.d.ts +2 -1
  199. package/es/components/select/src/select.d.ts +12 -16
  200. package/es/components/select/src/select.mjs +15 -2
  201. package/es/components/select/src/select.mjs.map +1 -1
  202. package/es/components/select/src/select.vue.d.ts +137 -143
  203. package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
  204. package/es/components/select/src/select2.mjs.map +1 -1
  205. package/es/components/select/src/useOption.d.ts +2 -2
  206. package/es/components/select/src/useSelect.d.ts +7 -7
  207. package/es/components/select/src/useSelect.mjs.map +1 -1
  208. package/es/components/select-v2/src/defaults.d.ts +6 -106
  209. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  210. package/es/components/select-v2/src/select.vue.d.ts +110 -308
  211. package/es/components/select-v2/src/useSelect.d.ts +2 -2
  212. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  213. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  214. package/es/components/slider/src/button.d.ts +2 -1
  215. package/es/components/slider/src/button.mjs +10 -2
  216. package/es/components/slider/src/button.mjs.map +1 -1
  217. package/es/components/slider/src/button.vue.d.ts +6 -4
  218. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  219. package/es/components/slider/src/slider.d.ts +4 -4
  220. package/es/components/slider/src/slider.mjs +6 -1
  221. package/es/components/slider/src/slider.mjs.map +1 -1
  222. package/es/components/slider/src/slider.vue.d.ts +16 -16
  223. package/es/components/space/src/space.d.ts +10 -10
  224. package/es/components/space/src/space.mjs +2 -1
  225. package/es/components/space/src/space.mjs.map +1 -1
  226. package/es/components/space/src/use-space.d.ts +2 -3
  227. package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
  228. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  229. package/es/components/steps/src/item.d.ts +1 -1
  230. package/es/components/steps/src/item.vue.d.ts +1 -1
  231. package/es/components/steps/src/steps.d.ts +2 -2
  232. package/es/components/steps/src/steps.vue.d.ts +1 -1
  233. package/es/components/switch/src/switch.d.ts +1 -1
  234. package/es/components/switch/src/switch.vue.d.ts +4 -4
  235. package/es/components/table/src/filter-panel.vue.d.ts +107 -104
  236. package/es/components/table/src/table/defaults.d.ts +6 -6
  237. package/es/components/table/src/table/defaults.mjs.map +1 -1
  238. package/es/components/table/src/table/style-helper.d.ts +2 -2
  239. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  240. package/es/components/table/src/table-column/defaults.d.ts +4 -4
  241. package/es/components/table/src/table-footer/index.d.ts +1 -1
  242. package/es/components/table/src/table-header/index.d.ts +19 -19
  243. package/es/components/table/src/table.vue.d.ts +5 -5
  244. package/es/components/table-v2/src/components/header.d.ts +1 -1
  245. package/es/components/table-v2/src/components/row.d.ts +1 -1
  246. package/es/components/table-v2/src/table-grid.d.ts +4 -4
  247. package/es/components/table-v2/src/table-v2.d.ts +5 -5
  248. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  249. package/es/components/tabs/src/tabs.d.ts +6 -6
  250. package/es/components/tag/src/tag.d.ts +3 -3
  251. package/es/components/tag/src/tag.vue.d.ts +2 -2
  252. package/es/components/text/src/text.d.ts +2 -2
  253. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  254. package/es/components/time-picker/src/common/picker.vue.d.ts +23 -223
  255. package/es/components/time-picker/src/common/props.d.ts +4 -104
  256. package/es/components/time-picker/src/time-picker.d.ts +17 -217
  257. package/es/components/time-select/src/time-select.d.ts +7 -11
  258. package/es/components/time-select/src/time-select.mjs +15 -2
  259. package/es/components/time-select/src/time-select.mjs.map +1 -1
  260. package/es/components/time-select/src/time-select.vue.d.ts +11 -10
  261. package/es/components/timeline/src/timeline-item.d.ts +2 -2
  262. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  263. package/es/components/tooltip/src/content.d.ts +4 -199
  264. package/es/components/tooltip/src/content.vue.d.ts +18 -16
  265. package/es/components/tooltip/src/tooltip.d.ts +5 -202
  266. package/es/components/tooltip/src/tooltip.vue.d.ts +22 -21
  267. package/es/components/tooltip/src/trigger.d.ts +1 -1
  268. package/es/components/tour/src/content.d.ts +1 -1
  269. package/es/components/tour/src/content.vue.d.ts +1 -1
  270. package/es/components/tour/src/mask.vue.d.ts +1 -1
  271. package/es/components/tour/src/step.d.ts +1 -1
  272. package/es/components/tour/src/step.vue.d.ts +1 -1
  273. package/es/components/tour/src/tour.d.ts +1 -1
  274. package/es/components/tour/src/tour.vue.d.ts +7 -7
  275. package/es/components/transfer/src/transfer.vue.d.ts +1 -1
  276. package/es/components/tree/src/tree-node.vue.d.ts +18 -18
  277. package/es/components/tree/src/tree.vue.d.ts +22 -22
  278. package/es/components/tree-select/src/select.mjs +1 -5
  279. package/es/components/tree-select/src/select.mjs.map +1 -1
  280. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  281. package/es/components/tree-select/src/tree-select.vue.d.ts +44 -52
  282. package/es/components/tree-v2/src/composables/useTree.d.ts +13 -12
  283. package/es/components/tree-v2/src/tree.vue.d.ts +5 -5
  284. package/es/components/upload/src/upload-content.d.ts +1 -1
  285. package/es/components/upload/src/upload-content.vue.d.ts +2 -2
  286. package/es/components/upload/src/upload-list.d.ts +1 -1
  287. package/es/components/upload/src/upload.d.ts +2 -2
  288. package/es/components/upload/src/upload.mjs.map +1 -1
  289. package/es/components/upload/src/upload.vue.d.ts +2 -2
  290. package/es/components/virtual-list/src/builders/build-grid.d.ts +5 -4
  291. package/es/components/virtual-list/src/builders/build-list.d.ts +7 -6
  292. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
  293. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
  294. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
  295. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
  296. package/es/components/virtual-list/src/components/scrollbar.d.ts +4 -2
  297. package/es/components/virtual-list/src/props.d.ts +5 -4
  298. package/es/components/virtual-list/src/props.mjs +15 -2
  299. package/es/components/virtual-list/src/props.mjs.map +1 -1
  300. package/es/components/watermark/src/watermark.mjs.map +1 -1
  301. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  302. package/es/hooks/use-floating/index.d.ts +12 -12
  303. package/es/hooks/use-popper/index.d.ts +4 -4
  304. package/es/hooks/use-size/index.d.ts +3 -3
  305. package/es/hooks/use-throttle-render/index.mjs.map +1 -1
  306. package/es/utils/index.d.ts +2 -2
  307. package/es/utils/typescript.d.ts +2 -1
  308. package/es/utils/typescript.mjs.map +1 -1
  309. package/es/utils/vue/size.d.ts +1 -1
  310. package/es/version.d.ts +1 -1
  311. package/es/version.mjs +1 -1
  312. package/es/version.mjs.map +1 -1
  313. package/lib/components/affix/src/affix.d.ts +1 -1
  314. package/lib/components/affix/src/affix.vue.d.ts +3 -3
  315. package/lib/components/alert/src/alert.d.ts +2 -2
  316. package/lib/components/anchor/src/anchor.d.ts +1 -1
  317. package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
  318. package/lib/components/autocomplete/src/autocomplete.d.ts +7 -108
  319. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  320. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  321. package/lib/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  322. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  323. package/lib/components/avatar/src/avatar-group-props.d.ts +9 -106
  324. package/lib/components/avatar/src/avatar-group-props.js +9 -1
  325. package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
  326. package/lib/components/avatar/src/avatar-group.d.ts +20 -213
  327. package/lib/components/avatar/src/avatar.d.ts +3 -3
  328. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  329. package/lib/components/badge/src/badge.d.ts +4 -8
  330. package/lib/components/badge/src/badge.js +9 -1
  331. package/lib/components/badge/src/badge.js.map +1 -1
  332. package/lib/components/badge/src/badge.vue.d.ts +3 -1
  333. package/lib/components/badge/src/badge.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/lib/components/badge/src/badge2.js.map +1 -1
  335. package/lib/components/button/src/button-group.d.ts +2 -2
  336. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  337. package/lib/components/button/src/button.d.ts +2 -2
  338. package/lib/components/button/src/button.vue.d.ts +4 -4
  339. package/lib/components/button/src/use-button.d.ts +2 -2
  340. package/lib/components/calendar/src/calendar.js.map +1 -1
  341. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  342. package/lib/components/calendar/style/css.js +1 -1
  343. package/lib/components/calendar/style/index.js +1 -1
  344. package/lib/components/card/src/card.d.ts +8 -7
  345. package/lib/components/card/src/card.js +27 -3
  346. package/lib/components/card/src/card.js.map +1 -1
  347. package/lib/components/card/src/card.vue.d.ts +4 -0
  348. package/lib/components/card/src/card.vue_vue_type_script_setup_true_lang.js.map +1 -1
  349. package/lib/components/card/src/card2.js.map +1 -1
  350. package/lib/components/carousel/src/carousel.d.ts +1 -1
  351. package/lib/components/carousel/src/carousel.vue.d.ts +4 -4
  352. package/lib/components/cascader/src/cascader.d.ts +9 -110
  353. package/lib/components/cascader/src/cascader.js.map +1 -1
  354. package/lib/components/cascader/src/cascader.vue.d.ts +22 -20
  355. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  356. package/lib/components/cascader/src/cascader2.js.map +1 -1
  357. package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
  358. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
  359. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  360. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
  361. package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
  362. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  363. package/lib/components/checkbox/src/checkbox.d.ts +9 -9
  364. package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
  365. package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  366. package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  367. package/lib/components/col/src/col.vue.d.ts +1 -1
  368. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  369. package/lib/components/collapse/src/collapse.d.ts +1 -1
  370. package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
  371. package/lib/components/color-picker/src/color-picker.d.ts +5 -104
  372. package/lib/components/color-picker/src/color-picker.js +1 -0
  373. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  374. package/lib/components/color-picker/src/color-picker.vue.d.ts +12 -10
  375. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  376. package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
  377. package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
  378. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +4 -1
  379. package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  380. package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
  381. package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
  382. package/lib/components/config-provider/src/config-provider.d.ts +2 -2
  383. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  384. package/lib/components/date-picker/src/date-picker.d.ts +17 -217
  385. package/lib/components/date-picker/src/props.d.ts +4 -104
  386. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  387. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
  388. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
  389. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  390. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  391. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  392. package/lib/components/date-picker-panel/src/panel-utils.d.ts +21 -21
  393. package/lib/components/date-picker-panel/src/props/basic-date-table.js.map +1 -1
  394. package/lib/components/descriptions/src/description-item.d.ts +18 -18
  395. package/lib/components/descriptions/src/description.d.ts +1 -1
  396. package/lib/components/descriptions/src/description.vue.d.ts +2 -2
  397. package/lib/components/dialog/src/dialog-content.d.ts +10 -6
  398. package/lib/components/dialog/src/dialog-content.js +31 -4
  399. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  400. package/lib/components/dialog/src/dialog-content.vue.d.ts +5 -1
  401. package/lib/components/dialog/src/dialog.d.ts +10 -5
  402. package/lib/components/dialog/src/dialog.js +11 -14
  403. package/lib/components/dialog/src/dialog.js.map +1 -1
  404. package/lib/components/dialog/src/dialog.vue.d.ts +9 -4
  405. package/lib/components/divider/src/divider.d.ts +1 -1
  406. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  407. package/lib/components/drawer/src/drawer.d.ts +5 -4
  408. package/lib/components/drawer/src/drawer.vue.d.ts +12 -7
  409. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  410. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  411. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  412. package/lib/components/dropdown/src/dropdown.d.ts +5 -106
  413. package/lib/components/dropdown/src/dropdown.vue.d.ts +115 -313
  414. package/lib/components/dropdown/style/css.js +1 -1
  415. package/lib/components/dropdown/style/index.js +1 -1
  416. package/lib/components/form/src/form-item.d.ts +3 -3
  417. package/lib/components/form/src/form-item.vue.d.ts +2 -2
  418. package/lib/components/form/src/form.d.ts +4 -4
  419. package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  420. package/lib/components/image/src/image.d.ts +1 -1
  421. package/lib/components/image/src/image.js.map +1 -1
  422. package/lib/components/image/src/image.vue.d.ts +4 -4
  423. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  424. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  425. package/lib/components/input/src/input.d.ts +4 -4
  426. package/lib/components/input/src/input.vue.d.ts +19 -19
  427. package/lib/components/input-number/src/input-number.d.ts +3 -3
  428. package/lib/components/input-number/src/input-number.vue.d.ts +10 -10
  429. package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
  430. package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  431. package/lib/components/input-tag/src/input-tag.d.ts +3 -3
  432. package/lib/components/input-tag/src/input-tag.vue.d.ts +12 -12
  433. package/lib/components/link/src/link.d.ts +2 -2
  434. package/lib/components/link/src/link.js.map +1 -1
  435. package/lib/components/mention/src/mention.d.ts +7 -108
  436. package/lib/components/mention/src/mention.vue.d.ts +5 -5
  437. package/lib/components/mention/src/mention.vue_vue_type_script_setup_true_lang.js.map +1 -1
  438. package/lib/components/mention/src/mention2.js.map +1 -1
  439. package/lib/components/menu/src/menu.d.ts +13 -25
  440. package/lib/components/menu/src/menu.js +18 -2
  441. package/lib/components/menu/src/menu.js.map +1 -1
  442. package/lib/components/menu/src/sub-menu.d.ts +11 -23
  443. package/lib/components/menu/src/sub-menu.js +18 -2
  444. package/lib/components/menu/src/sub-menu.js.map +1 -1
  445. package/lib/components/message/src/instance.d.ts +1 -1
  446. package/lib/components/message/src/message.d.ts +5 -5
  447. package/lib/components/message/src/message.js +6 -1
  448. package/lib/components/message/src/message.js.map +1 -1
  449. package/lib/components/message/src/message.vue.d.ts +7 -6
  450. package/lib/components/message/src/method.js.map +1 -1
  451. package/lib/components/message-box/src/index.vue.d.ts +73 -81
  452. package/lib/components/notification/src/notification.d.ts +4 -3
  453. package/lib/components/notification/src/notification.js +6 -1
  454. package/lib/components/notification/src/notification.js.map +1 -1
  455. package/lib/components/notification/src/notification.vue.d.ts +5 -4
  456. package/lib/components/overlay/index.d.ts +4 -12
  457. package/lib/components/overlay/src/overlay.d.ts +5 -18
  458. package/lib/components/overlay/src/overlay.js +9 -5
  459. package/lib/components/overlay/src/overlay.js.map +1 -1
  460. package/lib/components/pagination/src/components/jumper.d.ts +1 -1
  461. package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
  462. package/lib/components/pagination/src/components/sizes.d.ts +5 -14
  463. package/lib/components/pagination/src/components/sizes.js +18 -2
  464. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  465. package/lib/components/pagination/src/components/sizes.vue.d.ts +10 -27
  466. package/lib/components/pagination/src/pagination.d.ts +16 -29
  467. package/lib/components/pagination/src/pagination.js +15 -2
  468. package/lib/components/pagination/src/pagination.js.map +1 -1
  469. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  470. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
  471. package/lib/components/popover/src/popover.d.ts +5 -105
  472. package/lib/components/popover/src/popover.js +1 -0
  473. package/lib/components/popover/src/popover.js.map +1 -1
  474. package/lib/components/popover/src/popover.vue.d.ts +14 -13
  475. package/lib/components/popper/src/composables/use-content-dom.d.ts +2 -25
  476. package/lib/components/popper/src/composables/use-content.d.ts +4 -4
  477. package/lib/components/popper/src/content.d.ts +8 -18
  478. package/lib/components/popper/src/content.js +13 -7
  479. package/lib/components/popper/src/content.js.map +1 -1
  480. package/lib/components/popper/src/content.vue.d.ts +19 -17
  481. package/lib/components/popper/src/popper.d.ts +2 -2
  482. package/lib/components/popper/src/popper.js.map +1 -1
  483. package/lib/components/progress/src/progress.d.ts +1 -1
  484. package/lib/components/progress/src/progress.vue.d.ts +2 -2
  485. package/lib/components/radio/src/radio-button.d.ts +4 -4
  486. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  487. package/lib/components/radio/src/radio-group.d.ts +1 -1
  488. package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
  489. package/lib/components/radio/src/radio.d.ts +8 -8
  490. package/lib/components/radio/src/radio.vue.d.ts +4 -4
  491. package/lib/components/radio/src/use-radio.d.ts +1 -1
  492. package/lib/components/rate/src/rate.d.ts +1 -1
  493. package/lib/components/rate/src/rate.vue.d.ts +3 -3
  494. package/lib/components/rate/src/rate.vue_vue_type_script_setup_true_lang.js.map +1 -1
  495. package/lib/components/rate/src/rate2.js.map +1 -1
  496. package/lib/components/result/src/result.d.ts +1 -1
  497. package/lib/components/result/src/result.vue.d.ts +1 -1
  498. package/lib/components/row/src/row.d.ts +1 -1
  499. package/lib/components/scrollbar/src/scrollbar.d.ts +5 -4
  500. package/lib/components/scrollbar/src/scrollbar.js +12 -2
  501. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  502. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  503. package/lib/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.js.map +1 -1
  504. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  505. package/lib/components/segmented/index.d.ts +2 -2
  506. package/lib/components/segmented/src/segmented.d.ts +2 -2
  507. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  508. package/lib/components/select/src/option.d.ts +2 -2
  509. package/lib/components/select/src/option.vue.d.ts +5 -5
  510. package/lib/components/select/src/select-dropdown.vue.d.ts +2 -1
  511. package/lib/components/select/src/select.d.ts +12 -16
  512. package/lib/components/select/src/select.js +15 -2
  513. package/lib/components/select/src/select.js.map +1 -1
  514. package/lib/components/select/src/select.vue.d.ts +137 -143
  515. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  516. package/lib/components/select/src/select2.js.map +1 -1
  517. package/lib/components/select/src/useOption.d.ts +2 -2
  518. package/lib/components/select/src/useSelect.d.ts +7 -7
  519. package/lib/components/select/src/useSelect.js.map +1 -1
  520. package/lib/components/select-v2/src/defaults.d.ts +6 -106
  521. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  522. package/lib/components/select-v2/src/select.vue.d.ts +110 -308
  523. package/lib/components/select-v2/src/useSelect.d.ts +2 -2
  524. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  525. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  526. package/lib/components/slider/src/button.d.ts +2 -1
  527. package/lib/components/slider/src/button.js +9 -1
  528. package/lib/components/slider/src/button.js.map +1 -1
  529. package/lib/components/slider/src/button.vue.d.ts +6 -4
  530. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  531. package/lib/components/slider/src/slider.d.ts +4 -4
  532. package/lib/components/slider/src/slider.js +6 -1
  533. package/lib/components/slider/src/slider.js.map +1 -1
  534. package/lib/components/slider/src/slider.vue.d.ts +16 -16
  535. package/lib/components/space/src/space.d.ts +10 -10
  536. package/lib/components/space/src/space.js +2 -1
  537. package/lib/components/space/src/space.js.map +1 -1
  538. package/lib/components/space/src/use-space.d.ts +2 -3
  539. package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
  540. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  541. package/lib/components/steps/src/item.d.ts +1 -1
  542. package/lib/components/steps/src/item.vue.d.ts +1 -1
  543. package/lib/components/steps/src/steps.d.ts +2 -2
  544. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  545. package/lib/components/switch/src/switch.d.ts +1 -1
  546. package/lib/components/switch/src/switch.vue.d.ts +4 -4
  547. package/lib/components/table/src/filter-panel.vue.d.ts +107 -104
  548. package/lib/components/table/src/table/defaults.d.ts +6 -6
  549. package/lib/components/table/src/table/defaults.js.map +1 -1
  550. package/lib/components/table/src/table/style-helper.d.ts +2 -2
  551. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  552. package/lib/components/table/src/table-column/defaults.d.ts +4 -4
  553. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  554. package/lib/components/table/src/table-header/index.d.ts +19 -19
  555. package/lib/components/table/src/table.vue.d.ts +5 -5
  556. package/lib/components/table-v2/src/components/header.d.ts +1 -1
  557. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  558. package/lib/components/table-v2/src/table-grid.d.ts +4 -4
  559. package/lib/components/table-v2/src/table-v2.d.ts +5 -5
  560. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  561. package/lib/components/tabs/src/tabs.d.ts +6 -6
  562. package/lib/components/tag/src/tag.d.ts +3 -3
  563. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  564. package/lib/components/text/src/text.d.ts +2 -2
  565. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  566. package/lib/components/time-picker/src/common/picker.vue.d.ts +23 -223
  567. package/lib/components/time-picker/src/common/props.d.ts +4 -104
  568. package/lib/components/time-picker/src/time-picker.d.ts +17 -217
  569. package/lib/components/time-select/src/time-select.d.ts +7 -11
  570. package/lib/components/time-select/src/time-select.js +15 -2
  571. package/lib/components/time-select/src/time-select.js.map +1 -1
  572. package/lib/components/time-select/src/time-select.vue.d.ts +11 -10
  573. package/lib/components/timeline/src/timeline-item.d.ts +2 -2
  574. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  575. package/lib/components/tooltip/src/content.d.ts +4 -199
  576. package/lib/components/tooltip/src/content.vue.d.ts +18 -16
  577. package/lib/components/tooltip/src/tooltip.d.ts +5 -202
  578. package/lib/components/tooltip/src/tooltip.vue.d.ts +22 -21
  579. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  580. package/lib/components/tour/src/content.d.ts +1 -1
  581. package/lib/components/tour/src/content.vue.d.ts +1 -1
  582. package/lib/components/tour/src/mask.vue.d.ts +1 -1
  583. package/lib/components/tour/src/step.d.ts +1 -1
  584. package/lib/components/tour/src/step.vue.d.ts +1 -1
  585. package/lib/components/tour/src/tour.d.ts +1 -1
  586. package/lib/components/tour/src/tour.vue.d.ts +7 -7
  587. package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
  588. package/lib/components/tree/src/tree-node.vue.d.ts +18 -18
  589. package/lib/components/tree/src/tree.vue.d.ts +22 -22
  590. package/lib/components/tree-select/src/select.js +1 -5
  591. package/lib/components/tree-select/src/select.js.map +1 -1
  592. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  593. package/lib/components/tree-select/src/tree-select.vue.d.ts +44 -52
  594. package/lib/components/tree-v2/src/composables/useTree.d.ts +13 -12
  595. package/lib/components/tree-v2/src/tree.vue.d.ts +5 -5
  596. package/lib/components/upload/src/upload-content.d.ts +1 -1
  597. package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
  598. package/lib/components/upload/src/upload-list.d.ts +1 -1
  599. package/lib/components/upload/src/upload.d.ts +2 -2
  600. package/lib/components/upload/src/upload.js.map +1 -1
  601. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  602. package/lib/components/virtual-list/src/builders/build-grid.d.ts +5 -4
  603. package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -6
  604. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -4
  605. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -6
  606. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -4
  607. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -6
  608. package/lib/components/virtual-list/src/components/scrollbar.d.ts +4 -2
  609. package/lib/components/virtual-list/src/props.d.ts +5 -4
  610. package/lib/components/virtual-list/src/props.js +15 -2
  611. package/lib/components/virtual-list/src/props.js.map +1 -1
  612. package/lib/components/watermark/src/watermark.js.map +1 -1
  613. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  614. package/lib/hooks/use-floating/index.d.ts +12 -12
  615. package/lib/hooks/use-popper/index.d.ts +4 -4
  616. package/lib/hooks/use-size/index.d.ts +3 -3
  617. package/lib/hooks/use-throttle-render/index.js.map +1 -1
  618. package/lib/utils/index.d.ts +2 -2
  619. package/lib/utils/typescript.d.ts +2 -1
  620. package/lib/utils/typescript.js.map +1 -1
  621. package/lib/utils/vue/size.d.ts +1 -1
  622. package/lib/version.d.ts +1 -1
  623. package/lib/version.js +1 -1
  624. package/lib/version.js.map +1 -1
  625. package/package.json +2 -2
  626. package/web-types.json +1 -1
@@ -44,9 +44,9 @@ declare const getPanel: (type: DatePickerType) => ({
44
44
  pick: (...args: any[]) => void;
45
45
  "set-picker-option": (...args: any[]) => void;
46
46
  }, _$vue.PublicProps, {
47
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
48
- readonly disabled: boolean;
49
47
  readonly border: boolean;
48
+ readonly disabled: boolean;
49
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
50
50
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
51
51
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
52
52
  readonly showConfirm: boolean;
@@ -93,9 +93,9 @@ declare const getPanel: (type: DatePickerType) => ({
93
93
  onPick?: ((...args: any[]) => any) | undefined;
94
94
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
95
95
  }>, {}, {}, {}, {}, {
96
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
97
- readonly disabled: boolean;
98
96
  readonly border: boolean;
97
+ readonly disabled: boolean;
98
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
99
99
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
100
100
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
101
101
  readonly showConfirm: boolean;
@@ -145,9 +145,9 @@ declare const getPanel: (type: DatePickerType) => ({
145
145
  pick: (...args: any[]) => void;
146
146
  "set-picker-option": (...args: any[]) => void;
147
147
  }, string, {
148
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
149
- readonly disabled: boolean;
150
148
  readonly border: boolean;
149
+ readonly disabled: boolean;
150
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
151
151
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
152
152
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
153
153
  readonly showConfirm: boolean;
@@ -193,9 +193,9 @@ declare const getPanel: (type: DatePickerType) => ({
193
193
  };
194
194
  readonly singlePanel: BooleanConstructor;
195
195
  }>> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
196
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
197
- readonly disabled: boolean;
198
196
  readonly border: boolean;
197
+ readonly disabled: boolean;
198
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
199
199
  readonly showConfirm: boolean;
200
200
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
201
201
  readonly unlinkPanels: boolean;
@@ -222,9 +222,9 @@ declare const getPanel: (type: DatePickerType) => ({
222
222
  };
223
223
  readonly singlePanel: BooleanConstructor;
224
224
  }>> & Readonly<{}>, {}, {}, {}, {}, {
225
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
226
- readonly disabled: boolean;
227
225
  readonly border: boolean;
226
+ readonly disabled: boolean;
227
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
228
228
  readonly showConfirm: boolean;
229
229
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
230
230
  readonly unlinkPanels: boolean;
@@ -248,9 +248,9 @@ declare const getPanel: (type: DatePickerType) => ({
248
248
  };
249
249
  readonly singlePanel: BooleanConstructor;
250
250
  }>> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
251
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
252
- readonly disabled: boolean;
253
251
  readonly border: boolean;
252
+ readonly disabled: boolean;
253
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
254
254
  readonly showConfirm: boolean;
255
255
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
256
256
  readonly unlinkPanels: boolean;
@@ -303,15 +303,15 @@ declare const getPanel: (type: DatePickerType) => ({
303
303
  pick: (...args: any[]) => void;
304
304
  "set-picker-option": (...args: any[]) => void;
305
305
  }, _$vue.PublicProps, {
306
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
307
- readonly disabled: boolean;
308
306
  readonly border: boolean;
307
+ readonly disabled: boolean;
308
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
309
+ readonly format: string;
309
310
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
310
311
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
311
312
  readonly showConfirm: boolean;
312
313
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
313
314
  readonly showWeekNumber: boolean;
314
- readonly format: string;
315
315
  }, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
316
316
  P: {};
317
317
  B: {};
@@ -348,15 +348,15 @@ declare const getPanel: (type: DatePickerType) => ({
348
348
  onPick?: ((...args: any[]) => any) | undefined;
349
349
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
350
350
  }>, {}, {}, {}, {}, {
351
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
352
- readonly disabled: boolean;
353
351
  readonly border: boolean;
352
+ readonly disabled: boolean;
353
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
354
+ readonly format: string;
354
355
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
355
356
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
356
357
  readonly showConfirm: boolean;
357
358
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
358
359
  readonly showWeekNumber: boolean;
359
- readonly format: string;
360
360
  }>;
361
361
  __isFragment?: never;
362
362
  __isTeleport?: never;
@@ -394,15 +394,15 @@ declare const getPanel: (type: DatePickerType) => ({
394
394
  pick: (...args: any[]) => void;
395
395
  "set-picker-option": (...args: any[]) => void;
396
396
  }, string, {
397
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
398
- readonly disabled: boolean;
399
397
  readonly border: boolean;
398
+ readonly disabled: boolean;
399
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
400
+ readonly format: string;
400
401
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
401
402
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
402
403
  readonly showConfirm: boolean;
403
404
  readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
404
405
  readonly showWeekNumber: boolean;
405
- readonly format: string;
406
406
  }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
407
407
  $slots: {
408
408
  sidebar?: (props: {
@@ -1 +1 @@
1
- {"version":3,"file":"basic-date-table.mjs","names":[],"sources":["../../../../../../../packages/components/date-picker-panel/src/props/basic-date-table.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const basicDateTableProps = buildProps({\n ...datePickerSharedProps,\n showWeekNumber: Boolean,\n selectionMode: selectionModeWithDefault('date'),\n} as const)\n\nexport const basicDateTableEmits = ['changerange', 'pick', 'select']\n\nexport type BasicDateTableProps = ExtractPropTypes<typeof basicDateTableProps>\nexport type BasicDateTablePropsPublic = ExtractPublicPropTypes<\n typeof basicDateTableProps\n>\nexport type BasicDateTableEmits = typeof basicDateTableEmits\n\nexport type RangePickerEmits = { minDate: Dayjs; maxDate: null }\nexport type DatePickerEmits = Dayjs\nexport type DatesPickerEmits = Dayjs[]\nexport type MonthsPickerEmits = Dayjs[]\nexport type YearsPickerEmits = Dayjs[]\nexport type WeekPickerEmits = {\n year: number\n week: number\n value: string\n date: Dayjs\n}\n\nexport type DateTableEmits =\n | RangePickerEmits\n | DatePickerEmits\n | DatesPickerEmits\n | WeekPickerEmits\n"],"mappings":";;;AAMA,MAAa,sBAAsB,WAAW;CAC5C,GAAG;CACH,gBAAgB;CAChB,eAAe,yBAAyB,OAAO;CAChD,CAAU;AAEX,MAAa,sBAAsB;CAAC;CAAe;CAAQ;CAAS"}
1
+ {"version":3,"file":"basic-date-table.mjs","names":[],"sources":["../../../../../../../packages/components/date-picker-panel/src/props/basic-date-table.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { datePickerSharedProps, selectionModeWithDefault } from './shared'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Dayjs } from 'dayjs'\n\nexport const basicDateTableProps = buildProps({\n ...datePickerSharedProps,\n showWeekNumber: Boolean,\n selectionMode: selectionModeWithDefault('date'),\n} as const)\n\nexport const basicDateTableEmits = ['changerange', 'pick', 'select']\n\nexport type BasicDateTableProps = ExtractPropTypes<typeof basicDateTableProps>\nexport type BasicDateTablePropsPublic = ExtractPublicPropTypes<\n typeof basicDateTableProps\n>\nexport type BasicDateTableEmits = typeof basicDateTableEmits\n\nexport type RangePickerEmits = { minDate: Dayjs; maxDate: null }\nexport type DatePickerEmits = Dayjs\nexport type DatesPickerEmits = Dayjs[]\nexport type MonthsPickerEmits = Dayjs[]\nexport type YearsPickerEmits = Dayjs[]\nexport type WeekPickerEmits = {\n year: number\n week: number\n value: string\n date: Dayjs\n}\n\nexport type DateTableEmits =\n RangePickerEmits | DatePickerEmits | DatesPickerEmits | WeekPickerEmits\n"],"mappings":";;;AAMA,MAAa,sBAAsB,WAAW;CAC5C,GAAG;CACH,gBAAgB;CAChB,eAAe,yBAAyB,OAAO;CAChD,CAAU;AAEX,MAAa,sBAAsB;CAAC;CAAe;CAAQ;CAAS"}
@@ -7,17 +7,17 @@ declare const descriptionItemProps: {
7
7
  label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
8
8
  span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
9
9
  rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
10
- width: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
11
- minWidth: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
10
+ width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
11
+ minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
12
12
  labelWidth: {
13
- readonly type: _$vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
13
+ readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
14
14
  readonly required: false;
15
15
  readonly validator: ((val: unknown) => boolean) | undefined;
16
16
  __epPropKey: true;
17
17
  };
18
- align: EpPropFinalized<StringConstructor, "right" | "left" | "center", unknown, string, boolean>;
18
+ align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
19
19
  labelAlign: {
20
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "right" | "left" | "center", unknown>>;
20
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
21
21
  readonly required: false;
22
22
  readonly validator: ((val: unknown) => boolean) | undefined;
23
23
  __epPropKey: true;
@@ -29,17 +29,17 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
29
29
  label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
30
30
  span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
31
31
  rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
32
- width: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
33
- minWidth: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
32
+ width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
33
+ minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
34
34
  labelWidth: {
35
- readonly type: _$vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
35
+ readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
36
36
  readonly required: false;
37
37
  readonly validator: ((val: unknown) => boolean) | undefined;
38
38
  __epPropKey: true;
39
39
  };
40
- align: EpPropFinalized<StringConstructor, "right" | "left" | "center", unknown, string, boolean>;
40
+ align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
41
41
  labelAlign: {
42
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "right" | "left" | "center", unknown>>;
42
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
43
43
  readonly required: false;
44
44
  readonly validator: ((val: unknown) => boolean) | undefined;
45
45
  __epPropKey: true;
@@ -50,17 +50,17 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
50
50
  label: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
51
51
  span: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
52
52
  rowspan: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
53
- width: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
54
- minWidth: EpPropFinalized<(NumberConstructor | StringConstructor)[], unknown, unknown, string, boolean>;
53
+ width: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
54
+ minWidth: EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, string, boolean>;
55
55
  labelWidth: {
56
- readonly type: _$vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
56
+ readonly type: _$vue.PropType<EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>>;
57
57
  readonly required: false;
58
58
  readonly validator: ((val: unknown) => boolean) | undefined;
59
59
  __epPropKey: true;
60
60
  };
61
- align: EpPropFinalized<StringConstructor, "right" | "left" | "center", unknown, string, boolean>;
61
+ align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
62
62
  labelAlign: {
63
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "right" | "left" | "center", unknown>>;
63
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
64
64
  readonly required: false;
65
65
  readonly validator: ((val: unknown) => boolean) | undefined;
66
66
  __epPropKey: true;
@@ -69,12 +69,12 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
69
69
  labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
70
70
  }>> & Readonly<{}>, {
71
71
  className: string;
72
+ width: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
72
73
  label: string;
73
74
  span: number;
74
- width: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
75
- minWidth: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
76
75
  rowspan: number;
77
- align: EpPropMergeType<StringConstructor, "right" | "left" | "center", unknown>;
76
+ minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
77
+ align: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
78
78
  labelClassName: string;
79
79
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
80
80
  type DescriptionItemProps = ExtractPropTypes<typeof descriptionItemProps>;
@@ -49,7 +49,7 @@ declare const descriptionProps: {
49
49
  readonly column: EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
50
50
  readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
51
51
  readonly size: {
52
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
52
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
53
53
  readonly required: false;
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
@@ -9,9 +9,9 @@ type __VLS_Slots = {} & {
9
9
  extra?: (props: typeof __VLS_3) => any;
10
10
  };
11
11
  declare const __VLS_base: _$vue.DefineComponent<DescriptionProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DescriptionProps> & Readonly<{}>, {
12
- direction: "horizontal" | "vertical";
13
- title: string;
14
12
  column: number;
13
+ title: string;
14
+ direction: "horizontal" | "vertical";
15
15
  extra: string;
16
16
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,5 +1,6 @@
1
1
  import { IconPropType } from "../../../utils/vue/icon.js";
2
2
  import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
3
+ import { ClassValue } from "../../../utils/typescript.js";
3
4
  import * as _$vue from "vue";
4
5
 
5
6
  //#region ../../packages/components/dialog/src/dialog-content.d.ts
@@ -34,15 +35,15 @@ interface DialogContentProps {
34
35
  /**
35
36
  * @description custom class names for header wrapper
36
37
  */
37
- headerClass?: string;
38
+ headerClass?: ClassValue;
38
39
  /**
39
40
  * @description custom class names for body wrapper
40
41
  */
41
- bodyClass?: string;
42
+ bodyClass?: ClassValue;
42
43
  /**
43
44
  * @description custom class names for footer wrapper
44
45
  */
45
- footerClass?: string;
46
+ footerClass?: ClassValue;
46
47
  /**
47
48
  * @description whether to show a close button
48
49
  */
@@ -71,9 +72,9 @@ declare const dialogContentProps: {
71
72
  readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
72
73
  readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
73
74
  readonly fullscreen: BooleanConstructor;
74
- readonly headerClass: StringConstructor;
75
- readonly bodyClass: StringConstructor;
76
- readonly footerClass: StringConstructor;
75
+ readonly headerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
76
+ readonly bodyClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
77
+ readonly footerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
77
78
  readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
78
79
  readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
79
80
  readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
@@ -88,6 +89,9 @@ declare const dialogContentPropsDefaults: {
88
89
  readonly showClose: true;
89
90
  readonly title: "";
90
91
  readonly ariaLevel: "2";
92
+ readonly headerClass: undefined;
93
+ readonly bodyClass: undefined;
94
+ readonly footerClass: undefined;
91
95
  };
92
96
  //#endregion
93
97
  export { DialogContentProps, dialogContentEmits, dialogContentProps, dialogContentPropsDefaults };
@@ -1,4 +1,4 @@
1
- import { buildProps } from "../../../utils/vue/props/runtime.mjs";
1
+ import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
2
2
  import { iconPropType } from "../../../utils/vue/icon.mjs";
3
3
  //#region ../../packages/components/dialog/src/dialog-content.ts
4
4
  /**
@@ -41,15 +41,39 @@ const dialogContentProps = buildProps({
41
41
  /**
42
42
  * @description custom class names for header wrapper
43
43
  */
44
- headerClass: String,
44
+ headerClass: {
45
+ type: definePropType([
46
+ String,
47
+ Array,
48
+ Object,
49
+ Boolean
50
+ ]),
51
+ default: void 0
52
+ },
45
53
  /**
46
54
  * @description custom class names for body wrapper
47
55
  */
48
- bodyClass: String,
56
+ bodyClass: {
57
+ type: definePropType([
58
+ String,
59
+ Array,
60
+ Object,
61
+ Boolean
62
+ ]),
63
+ default: void 0
64
+ },
49
65
  /**
50
66
  * @description custom class names for footer wrapper
51
67
  */
52
- footerClass: String,
68
+ footerClass: {
69
+ type: definePropType([
70
+ String,
71
+ Array,
72
+ Object,
73
+ Boolean
74
+ ]),
75
+ default: void 0
76
+ },
53
77
  /**
54
78
  * @description whether to show a close button
55
79
  */
@@ -79,7 +103,10 @@ const dialogContentPropsDefaults = {
79
103
  overflow: void 0,
80
104
  showClose: true,
81
105
  title: "",
82
- ariaLevel: "2"
106
+ ariaLevel: "2",
107
+ headerClass: void 0,
108
+ bodyClass: void 0,
109
+ footerClass: void 0
83
110
  };
84
111
  //#endregion
85
112
  export { dialogContentEmits, dialogContentProps, dialogContentPropsDefaults };
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content.mjs","names":[],"sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type { IconPropType } from '@element-plus/utils'\n\n/**\n * @description dialog-content component props\n */\nexport interface DialogContentProps {\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?: IconPropType\n /**\n * @description enable dragging feature for Dialog\n */\n draggable?: boolean\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow?: boolean\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen?: boolean\n /**\n * @description custom class names for header wrapper\n */\n headerClass?: string\n /**\n * @description custom class names for body wrapper\n */\n bodyClass?: string\n /**\n * @description custom class names for footer wrapper\n */\n footerClass?: string\n /**\n * @description whether to show a close button\n */\n showClose?: boolean\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title?: string\n /**\n * @description header's aria-level attribute\n */\n ariaLevel?: string\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogContentProps` instead.\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: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: String,\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: String,\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: String,\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\nexport const dialogContentPropsDefaults = {\n alignCenter: undefined,\n draggable: undefined,\n overflow: undefined,\n showClose: true,\n title: '',\n ariaLevel: '2',\n} as const\n"],"mappings":";;;;;;AA6DA,MAAa,qBAAqB,WAAW;;;;CAI3C,QAAQ;;;;CAIR,aAAa;EACX,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,WAAW,EACT,MAAM,cACP;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,UAAU;EACR,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,YAAY;;;;CAIZ,aAAa;;;;CAIb,WAAW;;;;CAIX,aAAa;;;;CAIb,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CACF,CAAU;AAEX,MAAa,qBAAqB,EAChC,aAAa,MACd;AAED,MAAa,6BAA6B;CACxC,aAAa,KAAA;CACb,WAAW,KAAA;CACX,UAAU,KAAA;CACV,WAAW;CACX,OAAO;CACP,WAAW;CACZ"}
1
+ {"version":3,"file":"dialog-content.mjs","names":[],"sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, definePropType, iconPropType } from '@element-plus/utils'\n\nimport type { ClassValue, IconPropType } from '@element-plus/utils'\n\n/**\n * @description dialog-content component props\n */\nexport interface DialogContentProps {\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?: IconPropType\n /**\n * @description enable dragging feature for Dialog\n */\n draggable?: boolean\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow?: boolean\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen?: boolean\n /**\n * @description custom class names for header wrapper\n */\n headerClass?: ClassValue\n /**\n * @description custom class names for body wrapper\n */\n bodyClass?: ClassValue\n /**\n * @description custom class names for footer wrapper\n */\n footerClass?: ClassValue\n /**\n * @description whether to show a close button\n */\n showClose?: boolean\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title?: string\n /**\n * @description header's aria-level attribute\n */\n ariaLevel?: string\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogContentProps` instead.\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: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\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\nexport const dialogContentPropsDefaults = {\n alignCenter: undefined,\n draggable: undefined,\n overflow: undefined,\n showClose: true,\n title: '',\n ariaLevel: '2',\n headerClass: undefined,\n bodyClass: undefined,\n footerClass: undefined,\n} as const\n"],"mappings":";;;;;;AA6DA,MAAa,qBAAqB,WAAW;;;;CAI3C,QAAQ;;;;CAIR,aAAa;EACX,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,WAAW,EACT,MAAM,cACP;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,UAAU;EACR,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,YAAY;;;;CAIZ,aAAa;EACX,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,WAAW;EACT,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,aAAa;EACX,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CACF,CAAU;AAEX,MAAa,qBAAqB,EAChC,aAAa,MACd;AAED,MAAa,6BAA6B;CACxC,aAAa,KAAA;CACb,WAAW,KAAA;CACX,UAAU,KAAA;CACV,WAAW;CACX,OAAO;CACP,WAAW;CACX,aAAa,KAAA;CACb,WAAW,KAAA;CACX,aAAa,KAAA;CACd"}
@@ -1,3 +1,4 @@
1
+ import { ClassValue } from "../../../utils/typescript.js";
1
2
  import { DialogContentProps } from "./dialog-content.js";
2
3
  import * as _$vue from "vue";
3
4
 
@@ -19,9 +20,12 @@ declare const __VLS_base: _$vue.DefineComponent<DialogContentProps, {
19
20
  onClose?: (() => any) | undefined;
20
21
  }>, {
21
22
  title: string;
22
- overflow: boolean;
23
23
  alignCenter: boolean;
24
24
  draggable: boolean;
25
+ overflow: boolean;
26
+ headerClass: string | false | Record<string, any> | ClassValue[] | null;
27
+ bodyClass: string | false | Record<string, any> | ClassValue[] | null;
28
+ footerClass: string | false | Record<string, any> | ClassValue[] | null;
25
29
  showClose: boolean;
26
30
  ariaLevel: string;
27
31
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,5 @@
1
1
  import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
2
+ import { ClassValue } from "../../../utils/typescript.js";
2
3
  import { DialogContentProps } from "./dialog-content.js";
3
4
  import _default from "./dialog.vue.js";
4
5
  import * as _$vue from "vue";
@@ -67,7 +68,7 @@ interface DialogProps extends DialogContentProps {
67
68
  /**
68
69
  * @description custom class names for mask
69
70
  */
70
- modalClass?: string;
71
+ modalClass?: ClassValue;
71
72
  /**
72
73
  * @description width of Dialog, default is 50%
73
74
  */
@@ -116,10 +117,7 @@ declare const dialogProps: {
116
117
  __epPropKey: true;
117
118
  };
118
119
  readonly modelValue: BooleanConstructor;
119
- readonly modalClass: StringConstructor;
120
- readonly headerClass: StringConstructor;
121
- readonly bodyClass: StringConstructor;
122
- readonly footerClass: StringConstructor;
120
+ readonly modalClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
123
121
  readonly width: {
124
122
  readonly type: _$vue.PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
125
123
  readonly required: false;
@@ -146,6 +144,9 @@ declare const dialogProps: {
146
144
  readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
147
145
  readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
148
146
  readonly fullscreen: BooleanConstructor;
147
+ readonly headerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
148
+ readonly bodyClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
149
+ readonly footerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
149
150
  readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
150
151
  readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
151
152
  readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
@@ -182,12 +183,16 @@ declare const dialogPropsDefaults: {
182
183
  readonly closeDelay: 0;
183
184
  readonly headerAriaLevel: "2";
184
185
  readonly transition: undefined;
186
+ readonly modalClass: undefined;
185
187
  readonly alignCenter: undefined;
186
188
  readonly draggable: undefined;
187
189
  readonly overflow: undefined;
188
190
  readonly showClose: true;
189
191
  readonly title: "";
190
192
  readonly ariaLevel: "2";
193
+ readonly headerClass: undefined;
194
+ readonly bodyClass: undefined;
195
+ readonly footerClass: undefined;
191
196
  };
192
197
  //#endregion
193
198
  export { DialogBeforeCloseFn, DialogConfigContext, DialogEmits, DialogInstance, DialogProps, DialogPropsPublic, DialogTransition, dialogContextKey, dialogEmits, dialogProps, dialogPropsDefaults };
@@ -84,19 +84,15 @@ const dialogProps = buildProps({
84
84
  /**
85
85
  * @description custom class names for mask
86
86
  */
87
- modalClass: String,
88
- /**
89
- * @description custom class names for header wrapper
90
- */
91
- headerClass: String,
92
- /**
93
- * @description custom class names for body wrapper
94
- */
95
- bodyClass: String,
96
- /**
97
- * @description custom class names for footer wrapper
98
- */
99
- footerClass: String,
87
+ modalClass: {
88
+ type: definePropType([
89
+ String,
90
+ Array,
91
+ Object,
92
+ Boolean
93
+ ]),
94
+ default: void 0
95
+ },
100
96
  /**
101
97
  * @description width of Dialog, default is 50%
102
98
  */
@@ -141,7 +137,8 @@ const dialogPropsDefaults = {
141
137
  openDelay: 0,
142
138
  closeDelay: 0,
143
139
  headerAriaLevel: "2",
144
- transition: void 0
140
+ transition: void 0,
141
+ modalClass: void 0
145
142
  };
146
143
  //#endregion
147
144
  export { dialogContextKey, dialogEmits, dialogProps, dialogPropsDefaults };
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.mjs","names":[],"sources":["../../../../../../packages/components/dialog/src/dialog.ts"],"sourcesContent":["import { buildProps, definePropType, isBoolean } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n dialogContentProps,\n dialogContentPropsDefaults,\n} from './dialog-content'\n\nimport type { ExtractPublicPropTypes, InjectionKey, TransitionProps } from 'vue'\nimport type { DialogContentProps } from './dialog-content'\nimport type Dialog from './dialog.vue'\n\ntype DoneFn = (cancel?: boolean) => void\n\nexport type DialogBeforeCloseFn = (done: DoneFn) => void\n\nexport type DialogTransition = string | TransitionProps\n\n/**\n * @description dialog component props\n */\nexport interface DialogProps extends DialogContentProps {\n /**\n * @description whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true`\n */\n appendToBody?: boolean\n /**\n * @description which element the Dialog appends to\n */\n appendTo?: string | HTMLElement\n /**\n * @description callback before Dialog closes, and it will prevent Dialog from closing, use done to close the dialog\n */\n beforeClose?: DialogBeforeCloseFn\n /**\n * @description destroy elements in Dialog when closed\n */\n destroyOnClose?: boolean\n /**\n * @description whether the Dialog can be closed by clicking the mask\n */\n closeOnClickModal?: boolean\n /**\n * @description whether the Dialog can be closed by pressing ESC\n */\n closeOnPressEscape?: boolean\n /**\n * @description whether scroll of body is disabled while Dialog is displayed\n */\n lockScroll?: boolean\n /**\n * @description whether a mask is displayed\n */\n modal?: boolean\n /**\n * @description whether the mask is penetrable\n */\n modalPenetrable?: boolean\n /**\n * @description the Time(milliseconds) before open\n */\n openDelay?: number\n /**\n * @description the Time(milliseconds) before close\n */\n closeDelay?: number\n /**\n * @description value for `margin-top` of Dialog CSS, default is 15vh\n */\n top?: string\n /**\n * @description visibility of Dialog\n */\n modelValue?: boolean\n /**\n * @description custom class names for mask\n */\n modalClass?: string\n /**\n * @description width of Dialog, default is 50%\n */\n width?: string | number\n /**\n * @description same as z-index in native CSS, z-order of dialog\n */\n zIndex?: number\n /**\n * @description trap focus within dialog\n */\n trapFocus?: boolean\n /**\n * @description header's aria-level attribute\n */\n headerAriaLevel?: string\n /**\n * @description custom transition configuration for dialog animation, it can be a string (transition name) or an object with Vue transition props\n */\n transition?: DialogTransition\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogProps` instead.\n */\nexport const dialogProps = buildProps({\n ...dialogContentProps,\n /**\n * @description whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true`\n */\n appendToBody: Boolean,\n /**\n * @description which element the Dialog appends to\n */\n appendTo: {\n type: definePropType<string | HTMLElement>([String, Object]),\n default: 'body',\n },\n /**\n * @description callback before Dialog closes, and it will prevent Dialog from closing, use done to close the dialog\n */\n beforeClose: {\n type: definePropType<DialogBeforeCloseFn>(Function),\n },\n /**\n * @description destroy elements in Dialog when closed\n */\n destroyOnClose: Boolean,\n /**\n * @description whether the Dialog can be closed by clicking the mask\n */\n closeOnClickModal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the Dialog can be closed by pressing ESC\n */\n closeOnPressEscape: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether scroll of body is disabled while Dialog is displayed\n */\n lockScroll: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether a mask is displayed\n */\n modal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the mask is penetrable\n */\n modalPenetrable: Boolean,\n /**\n * @description the Time(milliseconds) before open\n */\n openDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description the Time(milliseconds) before close\n */\n closeDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description value for `margin-top` of Dialog CSS, default is 15vh\n */\n top: {\n type: String,\n },\n /**\n * @description visibility of Dialog\n */\n modelValue: Boolean,\n /**\n * @description custom class names for mask\n */\n modalClass: String,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: String,\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: String,\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: String,\n /**\n * @description width of Dialog, default is 50%\n */\n width: {\n type: [String, Number],\n },\n /**\n * @description same as z-index in native CSS, z-order of dialog\n */\n zIndex: {\n type: Number,\n },\n trapFocus: Boolean,\n /**\n * @description header's aria-level attribute\n */\n headerAriaLevel: {\n type: String,\n default: '2',\n },\n /**\n * @description custom transition configuration for dialog animation, it can be a string (transition name) or an object with Vue transition props\n */\n transition: {\n type: definePropType<DialogTransition>([String, Object]),\n default: undefined,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogProps` instead.\n */\nexport type DialogPropsPublic = ExtractPublicPropTypes<typeof dialogProps>\n\nexport const dialogEmits = {\n open: () => true,\n opened: () => true,\n close: () => true,\n closed: () => true,\n [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n openAutoFocus: () => true,\n closeAutoFocus: () => true,\n}\nexport type DialogEmits = typeof dialogEmits\nexport type DialogInstance = InstanceType<typeof Dialog> & unknown\nexport interface DialogConfigContext {\n alignCenter?: boolean\n draggable?: boolean\n overflow?: boolean\n transition?: DialogTransition\n}\n\nexport const dialogContextKey: InjectionKey<DialogConfigContext> =\n Symbol('dialogContextKey')\n\nexport const dialogPropsDefaults = {\n ...dialogContentPropsDefaults,\n appendTo: 'body',\n closeOnClickModal: true,\n closeOnPressEscape: true,\n lockScroll: true,\n modal: true,\n openDelay: 0,\n closeDelay: 0,\n headerAriaLevel: '2',\n transition: undefined,\n} as const\n"],"mappings":";;;;;;;;AAsGA,MAAa,cAAc,WAAW;CACpC,GAAG;;;;CAIH,cAAc;;;;CAId,UAAU;EACR,MAAM,eAAqC,CAAC,QAAQ,OAAO,CAAC;EAC5D,SAAS;EACV;;;;CAID,aAAa,EACX,MAAM,eAAoC,SAAS,EACpD;;;;CAID,gBAAgB;;;;CAIhB,mBAAmB;EACjB,MAAM;EACN,SAAS;EACV;;;;CAID,oBAAoB;EAClB,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,iBAAiB;;;;CAIjB,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,KAAK,EACH,MAAM,QACP;;;;CAID,YAAY;;;;CAIZ,YAAY;;;;CAIZ,aAAa;;;;CAIb,WAAW;;;;CAIX,aAAa;;;;CAIb,OAAO,EACL,MAAM,CAAC,QAAQ,OAAO,EACvB;;;;CAID,QAAQ,EACN,MAAM,QACP;CACD,WAAW;;;;CAIX,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM,eAAiC,CAAC,QAAQ,OAAO,CAAC;EACxD,SAAS,KAAA;EACV;CACF,CAAU;AAOX,MAAa,cAAc;CACzB,YAAY;CACZ,cAAc;CACd,aAAa;CACb,cAAc;EACb,sBAAsB,UAAmB,UAAU,MAAM;CAC1D,qBAAqB;CACrB,sBAAsB;CACvB;AAUD,MAAa,mBACX,OAAO,mBAAmB;AAE5B,MAAa,sBAAsB;CACjC,GAAG;CACH,UAAU;CACV,mBAAmB;CACnB,oBAAoB;CACpB,YAAY;CACZ,OAAO;CACP,WAAW;CACX,YAAY;CACZ,iBAAiB;CACjB,YAAY,KAAA;CACb"}
1
+ {"version":3,"file":"dialog.mjs","names":[],"sources":["../../../../../../packages/components/dialog/src/dialog.ts"],"sourcesContent":["import { buildProps, definePropType, isBoolean } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n dialogContentProps,\n dialogContentPropsDefaults,\n} from './dialog-content'\n\nimport type { ExtractPublicPropTypes, InjectionKey, TransitionProps } from 'vue'\nimport type { ClassValue } from '@element-plus/utils'\nimport type { DialogContentProps } from './dialog-content'\nimport type Dialog from './dialog.vue'\n\ntype DoneFn = (cancel?: boolean) => void\n\nexport type DialogBeforeCloseFn = (done: DoneFn) => void\n\nexport type DialogTransition = string | TransitionProps\n\n/**\n * @description dialog component props\n */\nexport interface DialogProps extends DialogContentProps {\n /**\n * @description whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true`\n */\n appendToBody?: boolean\n /**\n * @description which element the Dialog appends to\n */\n appendTo?: string | HTMLElement\n /**\n * @description callback before Dialog closes, and it will prevent Dialog from closing, use done to close the dialog\n */\n beforeClose?: DialogBeforeCloseFn\n /**\n * @description destroy elements in Dialog when closed\n */\n destroyOnClose?: boolean\n /**\n * @description whether the Dialog can be closed by clicking the mask\n */\n closeOnClickModal?: boolean\n /**\n * @description whether the Dialog can be closed by pressing ESC\n */\n closeOnPressEscape?: boolean\n /**\n * @description whether scroll of body is disabled while Dialog is displayed\n */\n lockScroll?: boolean\n /**\n * @description whether a mask is displayed\n */\n modal?: boolean\n /**\n * @description whether the mask is penetrable\n */\n modalPenetrable?: boolean\n /**\n * @description the Time(milliseconds) before open\n */\n openDelay?: number\n /**\n * @description the Time(milliseconds) before close\n */\n closeDelay?: number\n /**\n * @description value for `margin-top` of Dialog CSS, default is 15vh\n */\n top?: string\n /**\n * @description visibility of Dialog\n */\n modelValue?: boolean\n /**\n * @description custom class names for mask\n */\n modalClass?: ClassValue\n /**\n * @description width of Dialog, default is 50%\n */\n width?: string | number\n /**\n * @description same as z-index in native CSS, z-order of dialog\n */\n zIndex?: number\n /**\n * @description trap focus within dialog\n */\n trapFocus?: boolean\n /**\n * @description header's aria-level attribute\n */\n headerAriaLevel?: string\n /**\n * @description custom transition configuration for dialog animation, it can be a string (transition name) or an object with Vue transition props\n */\n transition?: DialogTransition\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogProps` instead.\n */\nexport const dialogProps = buildProps({\n ...dialogContentProps,\n /**\n * @description whether to append Dialog itself to body. A nested Dialog should have this attribute set to `true`\n */\n appendToBody: Boolean,\n /**\n * @description which element the Dialog appends to\n */\n appendTo: {\n type: definePropType<string | HTMLElement>([String, Object]),\n default: 'body',\n },\n /**\n * @description callback before Dialog closes, and it will prevent Dialog from closing, use done to close the dialog\n */\n beforeClose: {\n type: definePropType<DialogBeforeCloseFn>(Function),\n },\n /**\n * @description destroy elements in Dialog when closed\n */\n destroyOnClose: Boolean,\n /**\n * @description whether the Dialog can be closed by clicking the mask\n */\n closeOnClickModal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the Dialog can be closed by pressing ESC\n */\n closeOnPressEscape: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether scroll of body is disabled while Dialog is displayed\n */\n lockScroll: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether a mask is displayed\n */\n modal: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the mask is penetrable\n */\n modalPenetrable: Boolean,\n /**\n * @description the Time(milliseconds) before open\n */\n openDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description the Time(milliseconds) before close\n */\n closeDelay: {\n type: Number,\n default: 0,\n },\n /**\n * @description value for `margin-top` of Dialog CSS, default is 15vh\n */\n top: {\n type: String,\n },\n /**\n * @description visibility of Dialog\n */\n modelValue: Boolean,\n /**\n * @description custom class names for mask\n */\n modalClass: {\n type: definePropType<ClassValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\n /**\n * @description width of Dialog, default is 50%\n */\n width: {\n type: [String, Number],\n },\n /**\n * @description same as z-index in native CSS, z-order of dialog\n */\n zIndex: {\n type: Number,\n },\n trapFocus: Boolean,\n /**\n * @description header's aria-level attribute\n */\n headerAriaLevel: {\n type: String,\n default: '2',\n },\n /**\n * @description custom transition configuration for dialog animation, it can be a string (transition name) or an object with Vue transition props\n */\n transition: {\n type: definePropType<DialogTransition>([String, Object]),\n default: undefined,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `DialogProps` instead.\n */\nexport type DialogPropsPublic = ExtractPublicPropTypes<typeof dialogProps>\n\nexport const dialogEmits = {\n open: () => true,\n opened: () => true,\n close: () => true,\n closed: () => true,\n [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n openAutoFocus: () => true,\n closeAutoFocus: () => true,\n}\nexport type DialogEmits = typeof dialogEmits\nexport type DialogInstance = InstanceType<typeof Dialog> & unknown\nexport interface DialogConfigContext {\n alignCenter?: boolean\n draggable?: boolean\n overflow?: boolean\n transition?: DialogTransition\n}\n\nexport const dialogContextKey: InjectionKey<DialogConfigContext> =\n Symbol('dialogContextKey')\n\nexport const dialogPropsDefaults = {\n ...dialogContentPropsDefaults,\n appendTo: 'body',\n closeOnClickModal: true,\n closeOnPressEscape: true,\n lockScroll: true,\n modal: true,\n openDelay: 0,\n closeDelay: 0,\n headerAriaLevel: '2',\n transition: undefined,\n modalClass: undefined,\n} as const\n"],"mappings":";;;;;;;;AAuGA,MAAa,cAAc,WAAW;CACpC,GAAG;;;;CAIH,cAAc;;;;CAId,UAAU;EACR,MAAM,eAAqC,CAAC,QAAQ,OAAO,CAAC;EAC5D,SAAS;EACV;;;;CAID,aAAa,EACX,MAAM,eAAoC,SAAS,EACpD;;;;CAID,gBAAgB;;;;CAIhB,mBAAmB;EACjB,MAAM;EACN,SAAS;EACV;;;;CAID,oBAAoB;EAClB,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,OAAO;EACL,MAAM;EACN,SAAS;EACV;;;;CAID,iBAAiB;;;;CAIjB,WAAW;EACT,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM;EACN,SAAS;EACV;;;;CAID,KAAK,EACH,MAAM,QACP;;;;CAID,YAAY;;;;CAIZ,YAAY;EACV,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,OAAO,EACL,MAAM,CAAC,QAAQ,OAAO,EACvB;;;;CAID,QAAQ,EACN,MAAM,QACP;CACD,WAAW;;;;CAIX,iBAAiB;EACf,MAAM;EACN,SAAS;EACV;;;;CAID,YAAY;EACV,MAAM,eAAiC,CAAC,QAAQ,OAAO,CAAC;EACxD,SAAS,KAAA;EACV;CACF,CAAU;AAOX,MAAa,cAAc;CACzB,YAAY;CACZ,cAAc;CACd,aAAa;CACb,cAAc;EACb,sBAAsB,UAAmB,UAAU,MAAM;CAC1D,qBAAqB;CACrB,sBAAsB;CACvB;AAUD,MAAa,mBACX,OAAO,mBAAmB;AAE5B,MAAa,sBAAsB;CACjC,GAAG;CACH,UAAU;CACV,mBAAmB;CACnB,oBAAoB;CACpB,YAAY;CACZ,OAAO;CACP,WAAW;CACX,YAAY;CACZ,iBAAiB;CACjB,YAAY,KAAA;CACZ,YAAY,KAAA;CACb"}
@@ -1,3 +1,4 @@
1
+ import { ClassValue } from "../../../utils/typescript.js";
1
2
  import { DialogProps, DialogTransition } from "./dialog.js";
2
3
  import * as _$vue from "vue";
3
4
 
@@ -22,35 +23,39 @@ declare const __VLS_base: _$vue.DefineComponent<DialogProps, {
22
23
  resetPosition: () => void;
23
24
  handleClose: () => void;
24
25
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
25
- close: () => void;
26
26
  "update:modelValue": (value: boolean) => void;
27
27
  open: () => void;
28
28
  opened: () => void;
29
+ close: () => void;
29
30
  closed: () => void;
30
31
  openAutoFocus: () => void;
31
32
  closeAutoFocus: () => void;
32
33
  }, string, _$vue.PublicProps, Readonly<DialogProps> & Readonly<{
33
- onClose?: (() => any) | undefined;
34
34
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
35
35
  onOpen?: (() => any) | undefined;
36
36
  onOpened?: (() => any) | undefined;
37
+ onClose?: (() => any) | undefined;
37
38
  onClosed?: (() => any) | undefined;
38
39
  onOpenAutoFocus?: (() => any) | undefined;
39
40
  onCloseAutoFocus?: (() => any) | undefined;
40
41
  }>, {
41
42
  appendTo: string | HTMLElement;
42
- transition: DialogTransition;
43
43
  title: string;
44
- overflow: boolean;
44
+ transition: DialogTransition;
45
45
  closeOnClickModal: boolean;
46
46
  closeOnPressEscape: boolean;
47
47
  lockScroll: boolean;
48
48
  modal: boolean;
49
49
  openDelay: number;
50
50
  closeDelay: number;
51
+ modalClass: string | false | Record<string, any> | ClassValue[] | null;
51
52
  headerAriaLevel: string;
52
53
  alignCenter: boolean;
53
54
  draggable: boolean;
55
+ overflow: boolean;
56
+ headerClass: string | false | Record<string, any> | ClassValue[] | null;
57
+ bodyClass: string | false | Record<string, any> | ClassValue[] | null;
58
+ footerClass: string | false | Record<string, any> | ClassValue[] | null;
54
59
  showClose: boolean;
55
60
  ariaLevel: string;
56
61
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -23,7 +23,7 @@ interface DividerProps {
23
23
  */
24
24
  declare const dividerProps: {
25
25
  readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
26
- readonly contentPosition: EpPropFinalized<StringConstructor, "right" | "left" | "center", unknown, "center", boolean>;
26
+ readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
27
27
  readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | (((new (...args: any[]) => string) | (() => string)) | null)[], unknown, unknown, "solid", boolean>;
28
28
  };
29
29
  /**
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
8
8
  };
9
9
  declare const __VLS_base: _$vue.DefineComponent<DividerProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DividerProps> & Readonly<{}>, {
10
10
  direction: "horizontal" | "vertical";
11
- borderStyle: BorderStyle;
12
11
  contentPosition: "left" | "center" | "right";
12
+ borderStyle: BorderStyle;
13
13
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,5 @@
1
1
  import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
2
+ import { ClassValue } from "../../../utils/typescript.js";
2
3
  import { DialogBeforeCloseFn, DialogProps, DialogTransition } from "../../dialog/src/dialog.js";
3
4
  import _default from "./drawer.vue.js";
4
5
  import * as _$vue from "vue";
@@ -64,10 +65,7 @@ declare const drawerProps: {
64
65
  __epPropKey: true;
65
66
  };
66
67
  readonly modelValue: BooleanConstructor;
67
- readonly modalClass: StringConstructor;
68
- readonly headerClass: StringConstructor;
69
- readonly bodyClass: StringConstructor;
70
- readonly footerClass: StringConstructor;
68
+ readonly modalClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
71
69
  readonly width: {
72
70
  readonly type: _$vue.PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
73
71
  readonly required: false;
@@ -93,6 +91,9 @@ declare const drawerProps: {
93
91
  readonly draggable: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
94
92
  readonly overflow: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
95
93
  readonly fullscreen: BooleanConstructor;
94
+ readonly headerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
95
+ readonly bodyClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
96
+ readonly footerClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
96
97
  readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
97
98
  readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
98
99
  readonly ariaLevel: EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;