@element-plus/nightly 0.0.20260719 → 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 (592) hide show
  1. package/es/components/affix/src/affix.vue.d.ts +3 -3
  2. package/es/components/alert/src/alert.d.ts +1 -1
  3. package/es/components/alert/src/alert.vue.d.ts +1 -1
  4. package/es/components/anchor/src/anchor.vue.d.ts +1 -1
  5. package/es/components/autocomplete/src/autocomplete.d.ts +5 -106
  6. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  7. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  8. package/es/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  9. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  10. package/es/components/avatar/src/avatar-group-props.d.ts +8 -105
  11. package/es/components/avatar/src/avatar-group-props.mjs +9 -1
  12. package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
  13. package/es/components/avatar/src/avatar-group.d.ts +17 -210
  14. package/es/components/avatar/src/avatar.d.ts +2 -2
  15. package/es/components/badge/src/badge.d.ts +4 -8
  16. package/es/components/badge/src/badge.mjs +9 -1
  17. package/es/components/badge/src/badge.mjs.map +1 -1
  18. package/es/components/badge/src/badge.vue.d.ts +3 -1
  19. package/es/components/badge/src/badge.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  20. package/es/components/badge/src/badge2.mjs.map +1 -1
  21. package/es/components/button/src/button-group.d.ts +2 -2
  22. package/es/components/button/src/button-group.vue.d.ts +1 -1
  23. package/es/components/button/src/button.d.ts +2 -2
  24. package/es/components/button/src/button.vue.d.ts +4 -4
  25. package/es/components/button/src/use-button.d.ts +2 -2
  26. package/es/components/calendar/src/calendar.mjs.map +1 -1
  27. package/es/components/card/src/card.d.ts +7 -6
  28. package/es/components/card/src/card.mjs +27 -3
  29. package/es/components/card/src/card.mjs.map +1 -1
  30. package/es/components/card/src/card.vue.d.ts +4 -0
  31. package/es/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  32. package/es/components/card/src/card2.mjs.map +1 -1
  33. package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
  34. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  35. package/es/components/cascader/src/cascader.d.ts +5 -106
  36. package/es/components/cascader/src/cascader.mjs.map +1 -1
  37. package/es/components/cascader/src/cascader.vue.d.ts +18 -16
  38. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  39. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  40. package/es/components/cascader-panel/src/index.vue.d.ts +5 -5
  41. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
  42. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  43. package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
  44. package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
  45. package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  46. package/es/components/checkbox/src/checkbox.d.ts +3 -3
  47. package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
  48. package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  49. package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  50. package/es/components/col/src/col.vue.d.ts +2 -2
  51. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  52. package/es/components/color-picker/src/color-picker.d.ts +5 -104
  53. package/es/components/color-picker/src/color-picker.mjs +1 -0
  54. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  55. package/es/components/color-picker/src/color-picker.vue.d.ts +12 -10
  56. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  57. package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
  58. package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
  59. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +5 -2
  60. package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  61. package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
  62. package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
  63. package/es/components/config-provider/src/config-provider.d.ts +3 -3
  64. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  65. package/es/components/countdown/src/countdown.vue.d.ts +1 -1
  66. package/es/components/date-picker/src/date-picker.d.ts +12 -212
  67. package/es/components/date-picker/src/props.d.ts +4 -104
  68. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  69. package/es/components/date-picker-panel/src/date-picker-com/basic-month-table.vue.d.ts +2 -2
  70. package/es/components/date-picker-panel/src/date-picker-com/basic-year-table.vue.d.ts +2 -2
  71. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +5 -5
  72. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +6 -6
  73. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  74. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  75. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
  76. package/es/components/date-picker-panel/src/panel-utils.d.ts +36 -36
  77. package/es/components/date-picker-panel/src/props/basic-date-table.mjs.map +1 -1
  78. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  79. package/es/components/descriptions/src/description-item.d.ts +2 -2
  80. package/es/components/descriptions/src/description.d.ts +1 -1
  81. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  82. package/es/components/dialog/src/dialog-content.d.ts +10 -6
  83. package/es/components/dialog/src/dialog-content.mjs +32 -5
  84. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  85. package/es/components/dialog/src/dialog-content.vue.d.ts +5 -1
  86. package/es/components/dialog/src/dialog.d.ts +10 -5
  87. package/es/components/dialog/src/dialog.mjs +11 -14
  88. package/es/components/dialog/src/dialog.mjs.map +1 -1
  89. package/es/components/dialog/src/dialog.vue.d.ts +11 -6
  90. package/es/components/divider/src/divider.vue.d.ts +1 -1
  91. package/es/components/drawer/src/drawer.d.ts +5 -4
  92. package/es/components/drawer/src/drawer.vue.d.ts +12 -7
  93. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  94. package/es/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  95. package/es/components/dropdown/src/dropdown.d.ts +4 -105
  96. package/es/components/dropdown/src/dropdown.vue.d.ts +67 -265
  97. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  98. package/es/components/form/src/form-item.d.ts +2 -2
  99. package/es/components/form/src/form-item.vue.d.ts +2 -2
  100. package/es/components/form/src/form.d.ts +2 -2
  101. package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  102. package/es/components/image/src/image.d.ts +1 -1
  103. package/es/components/image/src/image.mjs.map +1 -1
  104. package/es/components/image/src/image.vue.d.ts +4 -4
  105. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  106. package/es/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
  107. package/es/components/input/src/input.d.ts +3 -3
  108. package/es/components/input/src/input.vue.d.ts +16 -16
  109. package/es/components/input-number/src/input-number.d.ts +3 -3
  110. package/es/components/input-number/src/input-number.vue.d.ts +9 -9
  111. package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
  112. package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  113. package/es/components/input-tag/src/input-tag.d.ts +2 -2
  114. package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
  115. package/es/components/link/src/link.d.ts +1 -1
  116. package/es/components/link/src/link.mjs.map +1 -1
  117. package/es/components/mention/src/mention.d.ts +5 -106
  118. package/es/components/mention/src/mention.vue.d.ts +4 -4
  119. package/es/components/mention/src/mention.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  120. package/es/components/mention/src/mention2.mjs.map +1 -1
  121. package/es/components/menu/src/menu.d.ts +11 -23
  122. package/es/components/menu/src/menu.mjs +18 -2
  123. package/es/components/menu/src/menu.mjs.map +1 -1
  124. package/es/components/menu/src/sub-menu.d.ts +10 -22
  125. package/es/components/menu/src/sub-menu.mjs +18 -2
  126. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  127. package/es/components/message/src/message.d.ts +4 -4
  128. package/es/components/message/src/message.mjs +6 -1
  129. package/es/components/message/src/message.mjs.map +1 -1
  130. package/es/components/message/src/message.vue.d.ts +6 -5
  131. package/es/components/message/src/method.mjs.map +1 -1
  132. package/es/components/message-box/src/index.vue.d.ts +66 -74
  133. package/es/components/notification/src/notification.d.ts +4 -3
  134. package/es/components/notification/src/notification.mjs +6 -1
  135. package/es/components/notification/src/notification.mjs.map +1 -1
  136. package/es/components/notification/src/notification.vue.d.ts +6 -5
  137. package/es/components/overlay/index.d.ts +4 -12
  138. package/es/components/overlay/src/overlay.d.ts +5 -18
  139. package/es/components/overlay/src/overlay.mjs +9 -5
  140. package/es/components/overlay/src/overlay.mjs.map +1 -1
  141. package/es/components/pagination/src/components/jumper.d.ts +1 -1
  142. package/es/components/pagination/src/components/jumper.vue.d.ts +2 -2
  143. package/es/components/pagination/src/components/sizes.d.ts +5 -14
  144. package/es/components/pagination/src/components/sizes.mjs +18 -2
  145. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  146. package/es/components/pagination/src/components/sizes.vue.d.ts +9 -26
  147. package/es/components/pagination/src/pagination.d.ts +15 -28
  148. package/es/components/pagination/src/pagination.mjs +15 -2
  149. package/es/components/pagination/src/pagination.mjs.map +1 -1
  150. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  151. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  152. package/es/components/popover/src/popover.d.ts +4 -104
  153. package/es/components/popover/src/popover.mjs +1 -0
  154. package/es/components/popover/src/popover.mjs.map +1 -1
  155. package/es/components/popover/src/popover.vue.d.ts +8 -7
  156. package/es/components/popper/src/composables/use-content-dom.d.ts +2 -25
  157. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  158. package/es/components/popper/src/content.d.ts +12 -22
  159. package/es/components/popper/src/content.mjs +13 -7
  160. package/es/components/popper/src/content.mjs.map +1 -1
  161. package/es/components/popper/src/content.vue.d.ts +11 -9
  162. package/es/components/popper/src/popper.mjs.map +1 -1
  163. package/es/components/progress/src/progress.d.ts +1 -1
  164. package/es/components/progress/src/progress.vue.d.ts +1 -1
  165. package/es/components/radio/src/radio-button.d.ts +1 -1
  166. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  167. package/es/components/radio/src/radio-group.d.ts +1 -1
  168. package/es/components/radio/src/radio-group.vue.d.ts +7 -7
  169. package/es/components/radio/src/radio.d.ts +2 -2
  170. package/es/components/radio/src/radio.vue.d.ts +5 -5
  171. package/es/components/radio/src/use-radio.d.ts +1 -1
  172. package/es/components/rate/src/rate.d.ts +1 -1
  173. package/es/components/rate/src/rate.vue.d.ts +4 -4
  174. package/es/components/rate/src/rate.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  175. package/es/components/rate/src/rate2.mjs.map +1 -1
  176. package/es/components/result/src/result.d.ts +1 -1
  177. package/es/components/scrollbar/src/scrollbar.d.ts +5 -4
  178. package/es/components/scrollbar/src/scrollbar.mjs +12 -2
  179. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  180. package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  181. package/es/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  182. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  183. package/es/components/segmented/index.d.ts +4 -4
  184. package/es/components/segmented/src/segmented.d.ts +1 -1
  185. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  186. package/es/components/select/src/option.d.ts +1 -1
  187. package/es/components/select/src/option.vue.d.ts +2 -2
  188. package/es/components/select/src/select-dropdown.vue.d.ts +2 -1
  189. package/es/components/select/src/select.d.ts +9 -13
  190. package/es/components/select/src/select.mjs +15 -2
  191. package/es/components/select/src/select.mjs.map +1 -1
  192. package/es/components/select/src/select.vue.d.ts +77 -83
  193. package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
  194. package/es/components/select/src/select2.mjs.map +1 -1
  195. package/es/components/select/src/useSelect.d.ts +7 -7
  196. package/es/components/select/src/useSelect.mjs.map +1 -1
  197. package/es/components/select-v2/src/defaults.d.ts +4 -104
  198. package/es/components/select-v2/src/select.vue.d.ts +54 -252
  199. package/es/components/select-v2/src/useSelect.d.ts +2 -2
  200. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  201. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  202. package/es/components/slider/src/button.d.ts +2 -1
  203. package/es/components/slider/src/button.mjs +10 -2
  204. package/es/components/slider/src/button.mjs.map +1 -1
  205. package/es/components/slider/src/button.vue.d.ts +5 -3
  206. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  207. package/es/components/slider/src/slider.d.ts +4 -4
  208. package/es/components/slider/src/slider.mjs +6 -1
  209. package/es/components/slider/src/slider.mjs.map +1 -1
  210. package/es/components/slider/src/slider.vue.d.ts +16 -16
  211. package/es/components/space/src/space.d.ts +9 -9
  212. package/es/components/space/src/space.mjs +2 -1
  213. package/es/components/space/src/space.mjs.map +1 -1
  214. package/es/components/space/src/use-space.d.ts +2 -3
  215. package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
  216. package/es/components/splitter/src/splitter.vue.d.ts +2 -2
  217. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  218. package/es/components/steps/src/item.d.ts +1 -1
  219. package/es/components/steps/src/steps.d.ts +2 -2
  220. package/es/components/steps/src/steps.vue.d.ts +1 -1
  221. package/es/components/switch/src/switch.d.ts +1 -1
  222. package/es/components/switch/src/switch.vue.d.ts +5 -5
  223. package/es/components/table/src/filter-panel.vue.d.ts +63 -60
  224. package/es/components/table/src/table/defaults.d.ts +1 -1
  225. package/es/components/table/src/table/defaults.mjs.map +1 -1
  226. package/es/components/table/src/table/style-helper.d.ts +2 -2
  227. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  228. package/es/components/table/src/table-footer/index.d.ts +1 -1
  229. package/es/components/table/src/table-header/index.d.ts +16 -16
  230. package/es/components/table/src/table.vue.d.ts +4 -4
  231. package/es/components/table-v2/src/components/row.d.ts +1 -1
  232. package/es/components/table-v2/src/table-grid.d.ts +2 -2
  233. package/es/components/table-v2/src/table-v2.d.ts +4 -4
  234. package/es/components/tabs/src/tab-nav.d.ts +1 -1
  235. package/es/components/tabs/src/tabs.d.ts +2 -2
  236. package/es/components/tag/src/tag.d.ts +2 -2
  237. package/es/components/tag/src/tag.vue.d.ts +2 -2
  238. package/es/components/text/src/text.d.ts +2 -2
  239. package/es/components/text/src/text.vue.d.ts +1 -1
  240. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  241. package/es/components/time-picker/src/common/picker.vue.d.ts +18 -218
  242. package/es/components/time-picker/src/common/props.d.ts +4 -104
  243. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -1
  244. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  245. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  246. package/es/components/time-picker/src/time-picker.d.ts +12 -212
  247. package/es/components/time-picker/src/utils.d.ts +1 -1
  248. package/es/components/time-select/src/time-select.d.ts +7 -11
  249. package/es/components/time-select/src/time-select.mjs +15 -2
  250. package/es/components/time-select/src/time-select.mjs.map +1 -1
  251. package/es/components/time-select/src/time-select.vue.d.ts +13 -12
  252. package/es/components/timeline/src/timeline-item.d.ts +2 -2
  253. package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
  254. package/es/components/tooltip/src/content.d.ts +5 -200
  255. package/es/components/tooltip/src/content.vue.d.ts +6 -4
  256. package/es/components/tooltip/src/tooltip.d.ts +5 -202
  257. package/es/components/tooltip/src/tooltip.vue.d.ts +8 -7
  258. package/es/components/tooltip/src/trigger.d.ts +1 -1
  259. package/es/components/tour/src/content.d.ts +1 -1
  260. package/es/components/tour/src/step.vue.d.ts +1 -1
  261. package/es/components/tour/src/tour.vue.d.ts +6 -6
  262. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  263. package/es/components/tree/src/tree-node.vue.d.ts +16 -16
  264. package/es/components/tree/src/tree.vue.d.ts +22 -22
  265. package/es/components/tree-select/src/select.mjs +1 -5
  266. package/es/components/tree-select/src/select.mjs.map +1 -1
  267. package/es/components/tree-select/src/tree-select-option.d.ts +2 -2
  268. package/es/components/tree-select/src/tree-select.vue.d.ts +32 -40
  269. package/es/components/tree-v2/src/composables/useTree.d.ts +15 -14
  270. package/es/components/tree-v2/src/tree-node.vue.d.ts +2 -2
  271. package/es/components/tree-v2/src/tree.vue.d.ts +5 -5
  272. package/es/components/upload/src/upload-content.vue.d.ts +2 -2
  273. package/es/components/upload/src/upload.mjs.map +1 -1
  274. package/es/components/upload/src/upload.vue.d.ts +3 -3
  275. package/es/components/virtual-list/src/builders/build-grid.d.ts +9 -8
  276. package/es/components/virtual-list/src/builders/build-list.d.ts +8 -7
  277. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +9 -8
  278. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -7
  279. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +9 -8
  280. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +8 -7
  281. package/es/components/virtual-list/src/components/scrollbar.d.ts +5 -3
  282. package/es/components/virtual-list/src/props.d.ts +5 -4
  283. package/es/components/virtual-list/src/props.mjs +15 -2
  284. package/es/components/virtual-list/src/props.mjs.map +1 -1
  285. package/es/components/watermark/src/watermark.mjs.map +1 -1
  286. package/es/hooks/use-size/index.d.ts +3 -3
  287. package/es/hooks/use-throttle-render/index.mjs.map +1 -1
  288. package/es/utils/index.d.ts +2 -2
  289. package/es/utils/typescript.d.ts +2 -1
  290. package/es/utils/typescript.mjs.map +1 -1
  291. package/es/utils/vue/size.d.ts +1 -1
  292. package/es/utils/vue/vnode.d.ts +4 -4
  293. package/es/version.d.ts +1 -1
  294. package/es/version.mjs +1 -1
  295. package/es/version.mjs.map +1 -1
  296. package/lib/components/affix/src/affix.vue.d.ts +3 -3
  297. package/lib/components/alert/src/alert.d.ts +1 -1
  298. package/lib/components/alert/src/alert.vue.d.ts +1 -1
  299. package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
  300. package/lib/components/autocomplete/src/autocomplete.d.ts +5 -106
  301. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  302. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  303. package/lib/components/autocomplete/src/autocomplete.vue_vue_type_script_setup_true_lang.js.map +1 -1
  304. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  305. package/lib/components/avatar/src/avatar-group-props.d.ts +8 -105
  306. package/lib/components/avatar/src/avatar-group-props.js +9 -1
  307. package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
  308. package/lib/components/avatar/src/avatar-group.d.ts +17 -210
  309. package/lib/components/avatar/src/avatar.d.ts +2 -2
  310. package/lib/components/badge/src/badge.d.ts +4 -8
  311. package/lib/components/badge/src/badge.js +9 -1
  312. package/lib/components/badge/src/badge.js.map +1 -1
  313. package/lib/components/badge/src/badge.vue.d.ts +3 -1
  314. package/lib/components/badge/src/badge.vue_vue_type_script_setup_true_lang.js.map +1 -1
  315. package/lib/components/badge/src/badge2.js.map +1 -1
  316. package/lib/components/button/src/button-group.d.ts +2 -2
  317. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  318. package/lib/components/button/src/button.d.ts +2 -2
  319. package/lib/components/button/src/button.vue.d.ts +4 -4
  320. package/lib/components/button/src/use-button.d.ts +2 -2
  321. package/lib/components/calendar/src/calendar.js.map +1 -1
  322. package/lib/components/card/src/card.d.ts +7 -6
  323. package/lib/components/card/src/card.js +27 -3
  324. package/lib/components/card/src/card.js.map +1 -1
  325. package/lib/components/card/src/card.vue.d.ts +4 -0
  326. package/lib/components/card/src/card.vue_vue_type_script_setup_true_lang.js.map +1 -1
  327. package/lib/components/card/src/card2.js.map +1 -1
  328. package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
  329. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  330. package/lib/components/cascader/src/cascader.d.ts +5 -106
  331. package/lib/components/cascader/src/cascader.js.map +1 -1
  332. package/lib/components/cascader/src/cascader.vue.d.ts +18 -16
  333. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  334. package/lib/components/cascader/src/cascader2.js.map +1 -1
  335. package/lib/components/cascader-panel/src/index.vue.d.ts +5 -5
  336. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
  337. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  338. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
  339. package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
  340. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  341. package/lib/components/checkbox/src/checkbox.d.ts +3 -3
  342. package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
  343. package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
  344. package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
  345. package/lib/components/col/src/col.vue.d.ts +2 -2
  346. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  347. package/lib/components/color-picker/src/color-picker.d.ts +5 -104
  348. package/lib/components/color-picker/src/color-picker.js +1 -0
  349. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  350. package/lib/components/color-picker/src/color-picker.vue.d.ts +12 -10
  351. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +4 -10
  352. package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
  353. package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
  354. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +5 -2
  355. package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
  356. package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
  357. package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
  358. package/lib/components/config-provider/src/config-provider.d.ts +3 -3
  359. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  360. package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
  361. package/lib/components/date-picker/src/date-picker.d.ts +12 -212
  362. package/lib/components/date-picker/src/props.d.ts +4 -104
  363. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  364. package/lib/components/date-picker-panel/src/date-picker-com/basic-month-table.vue.d.ts +2 -2
  365. package/lib/components/date-picker-panel/src/date-picker-com/basic-year-table.vue.d.ts +2 -2
  366. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +5 -5
  367. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +6 -6
  368. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
  369. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
  370. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
  371. package/lib/components/date-picker-panel/src/panel-utils.d.ts +36 -36
  372. package/lib/components/date-picker-panel/src/props/basic-date-table.js.map +1 -1
  373. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
  374. package/lib/components/descriptions/src/description-item.d.ts +2 -2
  375. package/lib/components/descriptions/src/description.d.ts +1 -1
  376. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  377. package/lib/components/dialog/src/dialog-content.d.ts +10 -6
  378. package/lib/components/dialog/src/dialog-content.js +31 -4
  379. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  380. package/lib/components/dialog/src/dialog-content.vue.d.ts +5 -1
  381. package/lib/components/dialog/src/dialog.d.ts +10 -5
  382. package/lib/components/dialog/src/dialog.js +11 -14
  383. package/lib/components/dialog/src/dialog.js.map +1 -1
  384. package/lib/components/dialog/src/dialog.vue.d.ts +11 -6
  385. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  386. package/lib/components/drawer/src/drawer.d.ts +5 -4
  387. package/lib/components/drawer/src/drawer.vue.d.ts +12 -7
  388. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
  389. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +5 -5
  390. package/lib/components/dropdown/src/dropdown.d.ts +4 -105
  391. package/lib/components/dropdown/src/dropdown.vue.d.ts +67 -265
  392. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  393. package/lib/components/form/src/form-item.d.ts +2 -2
  394. package/lib/components/form/src/form-item.vue.d.ts +2 -2
  395. package/lib/components/form/src/form.d.ts +2 -2
  396. package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
  397. package/lib/components/image/src/image.d.ts +1 -1
  398. package/lib/components/image/src/image.js.map +1 -1
  399. package/lib/components/image/src/image.vue.d.ts +4 -4
  400. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  401. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
  402. package/lib/components/input/src/input.d.ts +3 -3
  403. package/lib/components/input/src/input.vue.d.ts +16 -16
  404. package/lib/components/input-number/src/input-number.d.ts +3 -3
  405. package/lib/components/input-number/src/input-number.vue.d.ts +9 -9
  406. package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
  407. package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
  408. package/lib/components/input-tag/src/input-tag.d.ts +2 -2
  409. package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
  410. package/lib/components/link/src/link.d.ts +1 -1
  411. package/lib/components/link/src/link.js.map +1 -1
  412. package/lib/components/mention/src/mention.d.ts +5 -106
  413. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  414. package/lib/components/mention/src/mention.vue_vue_type_script_setup_true_lang.js.map +1 -1
  415. package/lib/components/mention/src/mention2.js.map +1 -1
  416. package/lib/components/menu/src/menu.d.ts +11 -23
  417. package/lib/components/menu/src/menu.js +18 -2
  418. package/lib/components/menu/src/menu.js.map +1 -1
  419. package/lib/components/menu/src/sub-menu.d.ts +10 -22
  420. package/lib/components/menu/src/sub-menu.js +18 -2
  421. package/lib/components/menu/src/sub-menu.js.map +1 -1
  422. package/lib/components/message/src/message.d.ts +4 -4
  423. package/lib/components/message/src/message.js +6 -1
  424. package/lib/components/message/src/message.js.map +1 -1
  425. package/lib/components/message/src/message.vue.d.ts +6 -5
  426. package/lib/components/message/src/method.js.map +1 -1
  427. package/lib/components/message-box/src/index.vue.d.ts +66 -74
  428. package/lib/components/notification/src/notification.d.ts +4 -3
  429. package/lib/components/notification/src/notification.js +6 -1
  430. package/lib/components/notification/src/notification.js.map +1 -1
  431. package/lib/components/notification/src/notification.vue.d.ts +6 -5
  432. package/lib/components/overlay/index.d.ts +4 -12
  433. package/lib/components/overlay/src/overlay.d.ts +5 -18
  434. package/lib/components/overlay/src/overlay.js +9 -5
  435. package/lib/components/overlay/src/overlay.js.map +1 -1
  436. package/lib/components/pagination/src/components/jumper.d.ts +1 -1
  437. package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -2
  438. package/lib/components/pagination/src/components/sizes.d.ts +5 -14
  439. package/lib/components/pagination/src/components/sizes.js +18 -2
  440. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  441. package/lib/components/pagination/src/components/sizes.vue.d.ts +9 -26
  442. package/lib/components/pagination/src/pagination.d.ts +15 -28
  443. package/lib/components/pagination/src/pagination.js +15 -2
  444. package/lib/components/pagination/src/pagination.js.map +1 -1
  445. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  446. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
  447. package/lib/components/popover/src/popover.d.ts +4 -104
  448. package/lib/components/popover/src/popover.js +1 -0
  449. package/lib/components/popover/src/popover.js.map +1 -1
  450. package/lib/components/popover/src/popover.vue.d.ts +8 -7
  451. package/lib/components/popper/src/composables/use-content-dom.d.ts +2 -25
  452. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  453. package/lib/components/popper/src/content.d.ts +12 -22
  454. package/lib/components/popper/src/content.js +13 -7
  455. package/lib/components/popper/src/content.js.map +1 -1
  456. package/lib/components/popper/src/content.vue.d.ts +11 -9
  457. package/lib/components/popper/src/popper.js.map +1 -1
  458. package/lib/components/progress/src/progress.d.ts +1 -1
  459. package/lib/components/progress/src/progress.vue.d.ts +1 -1
  460. package/lib/components/radio/src/radio-button.d.ts +1 -1
  461. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  462. package/lib/components/radio/src/radio-group.d.ts +1 -1
  463. package/lib/components/radio/src/radio-group.vue.d.ts +7 -7
  464. package/lib/components/radio/src/radio.d.ts +2 -2
  465. package/lib/components/radio/src/radio.vue.d.ts +5 -5
  466. package/lib/components/radio/src/use-radio.d.ts +1 -1
  467. package/lib/components/rate/src/rate.d.ts +1 -1
  468. package/lib/components/rate/src/rate.vue.d.ts +4 -4
  469. package/lib/components/rate/src/rate.vue_vue_type_script_setup_true_lang.js.map +1 -1
  470. package/lib/components/rate/src/rate2.js.map +1 -1
  471. package/lib/components/result/src/result.d.ts +1 -1
  472. package/lib/components/scrollbar/src/scrollbar.d.ts +5 -4
  473. package/lib/components/scrollbar/src/scrollbar.js +12 -2
  474. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  475. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -4
  476. package/lib/components/scrollbar/src/thumb.vue_vue_type_script_setup_true_lang.js.map +1 -1
  477. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  478. package/lib/components/segmented/index.d.ts +4 -4
  479. package/lib/components/segmented/src/segmented.d.ts +1 -1
  480. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  481. package/lib/components/select/src/option.d.ts +1 -1
  482. package/lib/components/select/src/option.vue.d.ts +2 -2
  483. package/lib/components/select/src/select-dropdown.vue.d.ts +2 -1
  484. package/lib/components/select/src/select.d.ts +9 -13
  485. package/lib/components/select/src/select.js +15 -2
  486. package/lib/components/select/src/select.js.map +1 -1
  487. package/lib/components/select/src/select.vue.d.ts +77 -83
  488. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  489. package/lib/components/select/src/select2.js.map +1 -1
  490. package/lib/components/select/src/useSelect.d.ts +7 -7
  491. package/lib/components/select/src/useSelect.js.map +1 -1
  492. package/lib/components/select-v2/src/defaults.d.ts +4 -104
  493. package/lib/components/select-v2/src/select.vue.d.ts +54 -252
  494. package/lib/components/select-v2/src/useSelect.d.ts +2 -2
  495. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  496. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  497. package/lib/components/slider/src/button.d.ts +2 -1
  498. package/lib/components/slider/src/button.js +9 -1
  499. package/lib/components/slider/src/button.js.map +1 -1
  500. package/lib/components/slider/src/button.vue.d.ts +5 -3
  501. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  502. package/lib/components/slider/src/slider.d.ts +4 -4
  503. package/lib/components/slider/src/slider.js +6 -1
  504. package/lib/components/slider/src/slider.js.map +1 -1
  505. package/lib/components/slider/src/slider.vue.d.ts +16 -16
  506. package/lib/components/space/src/space.d.ts +9 -9
  507. package/lib/components/space/src/space.js +2 -1
  508. package/lib/components/space/src/space.js.map +1 -1
  509. package/lib/components/space/src/use-space.d.ts +2 -3
  510. package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
  511. package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
  512. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  513. package/lib/components/steps/src/item.d.ts +1 -1
  514. package/lib/components/steps/src/steps.d.ts +2 -2
  515. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  516. package/lib/components/switch/src/switch.d.ts +1 -1
  517. package/lib/components/switch/src/switch.vue.d.ts +5 -5
  518. package/lib/components/table/src/filter-panel.vue.d.ts +63 -60
  519. package/lib/components/table/src/table/defaults.d.ts +1 -1
  520. package/lib/components/table/src/table/defaults.js.map +1 -1
  521. package/lib/components/table/src/table/style-helper.d.ts +2 -2
  522. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  523. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  524. package/lib/components/table/src/table-header/index.d.ts +16 -16
  525. package/lib/components/table/src/table.vue.d.ts +4 -4
  526. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  527. package/lib/components/table-v2/src/table-grid.d.ts +2 -2
  528. package/lib/components/table-v2/src/table-v2.d.ts +4 -4
  529. package/lib/components/tabs/src/tab-nav.d.ts +1 -1
  530. package/lib/components/tabs/src/tabs.d.ts +2 -2
  531. package/lib/components/tag/src/tag.d.ts +2 -2
  532. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  533. package/lib/components/text/src/text.d.ts +2 -2
  534. package/lib/components/text/src/text.vue.d.ts +1 -1
  535. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
  536. package/lib/components/time-picker/src/common/picker.vue.d.ts +18 -218
  537. package/lib/components/time-picker/src/common/props.d.ts +4 -104
  538. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -1
  539. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  540. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  541. package/lib/components/time-picker/src/time-picker.d.ts +12 -212
  542. package/lib/components/time-picker/src/utils.d.ts +1 -1
  543. package/lib/components/time-select/src/time-select.d.ts +7 -11
  544. package/lib/components/time-select/src/time-select.js +15 -2
  545. package/lib/components/time-select/src/time-select.js.map +1 -1
  546. package/lib/components/time-select/src/time-select.vue.d.ts +13 -12
  547. package/lib/components/timeline/src/timeline-item.d.ts +2 -2
  548. package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
  549. package/lib/components/tooltip/src/content.d.ts +5 -200
  550. package/lib/components/tooltip/src/content.vue.d.ts +6 -4
  551. package/lib/components/tooltip/src/tooltip.d.ts +5 -202
  552. package/lib/components/tooltip/src/tooltip.vue.d.ts +8 -7
  553. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  554. package/lib/components/tour/src/content.d.ts +1 -1
  555. package/lib/components/tour/src/step.vue.d.ts +1 -1
  556. package/lib/components/tour/src/tour.vue.d.ts +6 -6
  557. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  558. package/lib/components/tree/src/tree-node.vue.d.ts +16 -16
  559. package/lib/components/tree/src/tree.vue.d.ts +22 -22
  560. package/lib/components/tree-select/src/select.js +1 -5
  561. package/lib/components/tree-select/src/select.js.map +1 -1
  562. package/lib/components/tree-select/src/tree-select-option.d.ts +2 -2
  563. package/lib/components/tree-select/src/tree-select.vue.d.ts +32 -40
  564. package/lib/components/tree-v2/src/composables/useTree.d.ts +15 -14
  565. package/lib/components/tree-v2/src/tree-node.vue.d.ts +2 -2
  566. package/lib/components/tree-v2/src/tree.vue.d.ts +5 -5
  567. package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
  568. package/lib/components/upload/src/upload.js.map +1 -1
  569. package/lib/components/upload/src/upload.vue.d.ts +3 -3
  570. package/lib/components/virtual-list/src/builders/build-grid.d.ts +9 -8
  571. package/lib/components/virtual-list/src/builders/build-list.d.ts +8 -7
  572. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +9 -8
  573. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -7
  574. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +9 -8
  575. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +8 -7
  576. package/lib/components/virtual-list/src/components/scrollbar.d.ts +5 -3
  577. package/lib/components/virtual-list/src/props.d.ts +5 -4
  578. package/lib/components/virtual-list/src/props.js +15 -2
  579. package/lib/components/virtual-list/src/props.js.map +1 -1
  580. package/lib/components/watermark/src/watermark.js.map +1 -1
  581. package/lib/hooks/use-size/index.d.ts +3 -3
  582. package/lib/hooks/use-throttle-render/index.js.map +1 -1
  583. package/lib/utils/index.d.ts +2 -2
  584. package/lib/utils/typescript.d.ts +2 -1
  585. package/lib/utils/typescript.js.map +1 -1
  586. package/lib/utils/vue/size.d.ts +1 -1
  587. package/lib/utils/vue/vnode.d.ts +4 -4
  588. package/lib/version.d.ts +1 -1
  589. package/lib/version.js +1 -1
  590. package/lib/version.js.map +1 -1
  591. package/package.json +2 -2
  592. package/web-types.json +1 -1
@@ -32,21 +32,21 @@ declare const getPanel: (type: DatePickerType) => ({
32
32
  readonly showWeekNumber: BooleanConstructor;
33
33
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
34
34
  }>> & Readonly<{
35
- onPick?: ((...args: any[]) => any) | undefined;
36
- "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
37
35
  onClear?: ((...args: any[]) => any) | undefined;
38
36
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
39
37
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
38
+ onPick?: ((...args: any[]) => any) | undefined;
39
+ "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
40
40
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
41
- pick: (...args: any[]) => void;
42
- "set-picker-option": (...args: any[]) => void;
43
41
  clear: (...args: any[]) => void;
44
42
  "calendar-change": (...args: any[]) => void;
45
43
  "panel-change": (...args: any[]) => void;
44
+ pick: (...args: any[]) => void;
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;
@@ -87,15 +87,15 @@ declare const getPanel: (type: DatePickerType) => ({
87
87
  readonly showWeekNumber: BooleanConstructor;
88
88
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
89
89
  }>> & Readonly<{
90
- onPick?: ((...args: any[]) => any) | undefined;
91
- "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
92
90
  onClear?: ((...args: any[]) => any) | undefined;
93
91
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
94
92
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
93
+ onPick?: ((...args: any[]) => any) | undefined;
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;
@@ -133,21 +133,21 @@ declare const getPanel: (type: DatePickerType) => ({
133
133
  readonly showWeekNumber: BooleanConstructor;
134
134
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
135
135
  }>> & Readonly<{
136
- onPick?: ((...args: any[]) => any) | undefined;
137
- "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
138
136
  onClear?: ((...args: any[]) => any) | undefined;
139
137
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
140
138
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
139
+ onPick?: ((...args: any[]) => any) | undefined;
140
+ "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
141
141
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
142
- pick: (...args: any[]) => void;
143
- "set-picker-option": (...args: any[]) => void;
144
142
  clear: (...args: any[]) => void;
145
143
  "calendar-change": (...args: any[]) => void;
146
144
  "panel-change": (...args: any[]) => void;
145
+ pick: (...args: any[]) => void;
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;
@@ -295,18 +295,18 @@ declare const getPanel: (type: DatePickerType) => ({
295
295
  readonly disabled: BooleanConstructor;
296
296
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
297
297
  }>> & Readonly<{
298
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
298
299
  onPick?: ((...args: any[]) => any) | undefined;
299
300
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
300
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
301
301
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
302
+ "panel-change": (...args: any[]) => void;
302
303
  pick: (...args: any[]) => void;
303
304
  "set-picker-option": (...args: any[]) => void;
304
- "panel-change": (...args: any[]) => void;
305
305
  }, _$vue.PublicProps, {
306
- readonly format: string;
307
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
308
- readonly disabled: boolean;
309
306
  readonly border: boolean;
307
+ readonly disabled: boolean;
308
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
309
+ readonly format: string;
310
310
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
311
311
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
312
312
  readonly showConfirm: boolean;
@@ -344,14 +344,14 @@ declare const getPanel: (type: DatePickerType) => ({
344
344
  readonly disabled: BooleanConstructor;
345
345
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
346
346
  }>> & Readonly<{
347
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
347
348
  onPick?: ((...args: any[]) => any) | undefined;
348
349
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
349
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
350
350
  }>, {}, {}, {}, {}, {
351
- readonly format: string;
352
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
353
- readonly disabled: boolean;
354
351
  readonly border: boolean;
352
+ readonly disabled: boolean;
353
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
354
+ readonly format: string;
355
355
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
356
356
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
357
357
  readonly showConfirm: boolean;
@@ -386,18 +386,18 @@ declare const getPanel: (type: DatePickerType) => ({
386
386
  readonly disabled: BooleanConstructor;
387
387
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
388
388
  }>> & Readonly<{
389
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
389
390
  onPick?: ((...args: any[]) => any) | undefined;
390
391
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
391
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
392
392
  }>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
393
+ "panel-change": (...args: any[]) => void;
393
394
  pick: (...args: any[]) => void;
394
395
  "set-picker-option": (...args: any[]) => void;
395
- "panel-change": (...args: any[]) => void;
396
396
  }, string, {
397
- readonly format: string;
398
- readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
399
- readonly disabled: boolean;
400
397
  readonly border: boolean;
398
+ readonly disabled: boolean;
399
+ readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
400
+ readonly format: string;
401
401
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
402
402
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
403
403
  readonly showConfirm: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"basic-date-table.js","names":["buildProps","datePickerSharedProps","selectionModeWithDefault"],"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,sBAAsBA,gBAAAA,WAAW;CAC5C,GAAGC,eAAAA;CACH,gBAAgB;CAChB,eAAeC,eAAAA,yBAAyB,OAAO;CAChD,CAAU;AAEX,MAAa,sBAAsB;CAAC;CAAe;CAAQ;CAAS"}
1
+ {"version":3,"file":"basic-date-table.js","names":["buildProps","datePickerSharedProps","selectionModeWithDefault"],"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,sBAAsBA,gBAAAA,WAAW;CAC5C,GAAGC,eAAAA;CACH,gBAAgB;CAChB,eAAeC,eAAAA,yBAAyB,OAAO;CAChD,CAAU;AAEX,MAAa,sBAAsB;CAAC;CAAe;CAAQ;CAAS"}
@@ -51,7 +51,7 @@ declare const datePickerPanelProps: {
51
51
  readonly dateFormat: StringConstructor;
52
52
  readonly timeFormat: StringConstructor;
53
53
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
54
- readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown, "", boolean>;
54
+ readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown, "", boolean>;
55
55
  readonly defaultValue: {
56
56
  readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
57
57
  readonly required: false;
@@ -68,12 +68,12 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
68
68
  className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
69
69
  labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
70
70
  }>> & Readonly<{}>, {
71
- label: string;
72
71
  className: string;
73
72
  width: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
73
+ label: string;
74
74
  span: number;
75
- minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
76
75
  rowspan: number;
76
+ minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
77
77
  align: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
78
78
  labelClassName: string;
79
79
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
@@ -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" | "large" | "small", 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
12
  column: number;
14
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 };
@@ -42,15 +42,39 @@ const dialogContentProps = require_runtime.buildProps({
42
42
  /**
43
43
  * @description custom class names for header wrapper
44
44
  */
45
- headerClass: String,
45
+ headerClass: {
46
+ type: require_runtime.definePropType([
47
+ String,
48
+ Array,
49
+ Object,
50
+ Boolean
51
+ ]),
52
+ default: void 0
53
+ },
46
54
  /**
47
55
  * @description custom class names for body wrapper
48
56
  */
49
- bodyClass: String,
57
+ bodyClass: {
58
+ type: require_runtime.definePropType([
59
+ String,
60
+ Array,
61
+ Object,
62
+ Boolean
63
+ ]),
64
+ default: void 0
65
+ },
50
66
  /**
51
67
  * @description custom class names for footer wrapper
52
68
  */
53
- footerClass: String,
69
+ footerClass: {
70
+ type: require_runtime.definePropType([
71
+ String,
72
+ Array,
73
+ Object,
74
+ Boolean
75
+ ]),
76
+ default: void 0
77
+ },
54
78
  /**
55
79
  * @description whether to show a close button
56
80
  */
@@ -80,7 +104,10 @@ const dialogContentPropsDefaults = {
80
104
  overflow: void 0,
81
105
  showClose: true,
82
106
  title: "",
83
- ariaLevel: "2"
107
+ ariaLevel: "2",
108
+ headerClass: void 0,
109
+ bodyClass: void 0,
110
+ footerClass: void 0
84
111
  };
85
112
  //#endregion
86
113
  exports.dialogContentEmits = dialogContentEmits;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content.js","names":["buildProps","iconPropType"],"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,qBAAqBA,gBAAAA,WAAW;;;;CAI3C,QAAQ;;;;CAIR,aAAa;EACX,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,WAAW,EACT,MAAMC,aAAAA,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.js","names":["buildProps","iconPropType","definePropType"],"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,qBAAqBA,gBAAAA,WAAW;;;;CAI3C,QAAQ;;;;CAIR,aAAa;EACX,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,WAAW,EACT,MAAMC,aAAAA,cACP;;;;CAID,WAAW;EACT,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,UAAU;EACR,MAAM;EACN,SAAS,KAAA;EACV;;;;CAID,YAAY;;;;CAIZ,aAAa;EACX,MAAMC,gBAAAA,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,WAAW;EACT,MAAMA,gBAAAA,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS,KAAA;EACV;;;;CAID,aAAa;EACX,MAAMA,gBAAAA,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 };
@@ -85,19 +85,15 @@ const dialogProps = require_runtime.buildProps({
85
85
  /**
86
86
  * @description custom class names for mask
87
87
  */
88
- modalClass: String,
89
- /**
90
- * @description custom class names for header wrapper
91
- */
92
- headerClass: String,
93
- /**
94
- * @description custom class names for body wrapper
95
- */
96
- bodyClass: String,
97
- /**
98
- * @description custom class names for footer wrapper
99
- */
100
- footerClass: String,
88
+ modalClass: {
89
+ type: require_runtime.definePropType([
90
+ String,
91
+ Array,
92
+ Object,
93
+ Boolean
94
+ ]),
95
+ default: void 0
96
+ },
101
97
  /**
102
98
  * @description width of Dialog, default is 50%
103
99
  */
@@ -142,7 +138,8 @@ const dialogPropsDefaults = {
142
138
  openDelay: 0,
143
139
  closeDelay: 0,
144
140
  headerAriaLevel: "2",
145
- transition: void 0
141
+ transition: void 0,
142
+ modalClass: void 0
146
143
  };
147
144
  //#endregion
148
145
  exports.dialogContextKey = dialogContextKey;
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.js","names":["buildProps","dialogContentProps","definePropType","UPDATE_MODEL_EVENT","isBoolean","dialogContentPropsDefaults"],"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,cAAcA,gBAAAA,WAAW;CACpC,GAAGC,uBAAAA;;;;CAIH,cAAc;;;;CAId,UAAU;EACR,MAAMC,gBAAAA,eAAqC,CAAC,QAAQ,OAAO,CAAC;EAC5D,SAAS;EACV;;;;CAID,aAAa,EACX,MAAMA,gBAAAA,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,MAAMA,gBAAAA,eAAiC,CAAC,QAAQ,OAAO,CAAC;EACxD,SAAS,KAAA;EACV;CACF,CAAU;AAOX,MAAa,cAAc;CACzB,YAAY;CACZ,cAAc;CACd,aAAa;CACb,cAAc;EACbC,cAAAA,sBAAsB,UAAmBC,cAAAA,UAAU,MAAM;CAC1D,qBAAqB;CACrB,sBAAsB;CACvB;AAUD,MAAa,mBACX,OAAO,mBAAmB;AAE5B,MAAa,sBAAsB;CACjC,GAAGC,uBAAAA;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.js","names":["buildProps","dialogContentProps","definePropType","UPDATE_MODEL_EVENT","isBoolean","dialogContentPropsDefaults"],"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,cAAcA,gBAAAA,WAAW;CACpC,GAAGC,uBAAAA;;;;CAIH,cAAc;;;;CAId,UAAU;EACR,MAAMC,gBAAAA,eAAqC,CAAC,QAAQ,OAAO,CAAC;EAC5D,SAAS;EACV;;;;CAID,aAAa,EACX,MAAMA,gBAAAA,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,MAAMA,gBAAAA,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,MAAMA,gBAAAA,eAAiC,CAAC,QAAQ,OAAO,CAAC;EACxD,SAAS,KAAA;EACV;CACF,CAAU;AAOX,MAAa,cAAc;CACzB,YAAY;CACZ,cAAc;CACd,aAAa;CACb,cAAc;EACbC,cAAAA,sBAAsB,UAAmBC,cAAAA,UAAU,MAAM;CAC1D,qBAAqB;CACrB,sBAAsB;CACvB;AAUD,MAAa,mBACX,OAAO,mBAAmB;AAE5B,MAAa,sBAAsB;CACjC,GAAGC,uBAAAA;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
- open: () => void;
26
26
  "update:modelValue": (value: boolean) => void;
27
- close: () => void;
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
- onOpen?: (() => any) | undefined;
34
34
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
35
- onClose?: (() => any) | undefined;
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
  }>, {
42
+ appendTo: string | HTMLElement;
41
43
  title: string;
42
- overflow: boolean;
43
44
  transition: DialogTransition;
44
- appendTo: string | HTMLElement;
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>;
@@ -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>;