@sdata/web-vue 1.11.1 → 1.13.0

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 (408) hide show
  1. package/dist/sd.css +177 -6
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/icon-hover.vue.d.ts +1 -1
  4. package/es/_components/picker/input-range.vue.d.ts +1 -1
  5. package/es/_components/picker/input.vue.d.ts +1 -1
  6. package/es/_components/select-view/style/index.css +13 -6
  7. package/es/_components/virtual-list/virtual-list.vue.d.ts +6 -6
  8. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +2 -2
  9. package/es/_hooks/use-allow-search.d.ts +10 -0
  10. package/es/_hooks/use-allow-search.js +31 -0
  11. package/es/_hooks/use-component-ref.d.ts +1 -1
  12. package/es/_hooks/use-dropdown-virtual-list-props.d.ts +5 -0
  13. package/es/_hooks/use-dropdown-virtual-list-props.js +21 -0
  14. package/es/_hooks/use-form-item.d.ts +1 -1
  15. package/es/_hooks/use-scrollbar.js +1 -1
  16. package/es/_hooks/use-size.d.ts +1 -1
  17. package/es/_hooks/use-trigger.d.ts +1 -1
  18. package/es/_utils/color.js +1 -1
  19. package/es/_utils/date.js +7 -1
  20. package/es/_utils/dom.js +1 -1
  21. package/es/_utils/global-config.js +1 -1
  22. package/es/_utils/omit.js +1 -1
  23. package/es/_utils/responsive-observe.js +1 -1
  24. package/es/_utils/virtual-dropdown.js +1 -1
  25. package/es/_utils/vue-utils.js +4 -18
  26. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/asyncToGenerator.js +1 -1
  27. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
  28. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/extends.js +1 -1
  29. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectDestructuringEmpty.js +1 -1
  30. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
  31. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
  32. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
  33. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
  34. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
  35. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
  36. package/es/affix/affix.vue_vue_type_script_lang.js +31 -3
  37. package/es/alert/alert.vue.d.ts +2 -2
  38. package/es/alert/alert.vue_vue_type_script_lang.js +55 -0
  39. package/es/alert/index.d.ts +5 -5
  40. package/es/anchor/anchor-link.vue_vue_type_script_lang.js +8 -0
  41. package/es/anchor/anchor.vue_vue_type_script_lang.js +32 -0
  42. package/es/auto-complete/auto-complete.d.ts +1 -1
  43. package/es/auto-complete/auto-complete.js +107 -3
  44. package/es/auto-complete/index.d.ts +3 -3
  45. package/es/avatar/avatar-group.js +31 -0
  46. package/es/avatar/avatar.vue_vue_type_script_lang.js +51 -1
  47. package/es/back-top/back-top.vue_vue_type_script_lang.js +16 -0
  48. package/es/badge/badge.js +34 -1
  49. package/es/breadcrumb/breadcrumb-item.js +27 -0
  50. package/es/breadcrumb/breadcrumb.js +39 -0
  51. package/es/button/button-group.vue_vue_type_script_lang.js +22 -0
  52. package/es/button/button.vue_vue_type_script_lang.js +58 -1
  53. package/es/calendar/calendar.js +47 -0
  54. package/es/calendar/month.js +1 -1
  55. package/es/calendar/year.js +1 -1
  56. package/es/card/card-grid.vue_vue_type_script_lang.js +6 -1
  57. package/es/card/card-meta.js +23 -0
  58. package/es/card/card.js +54 -0
  59. package/es/carousel/carousel.js +68 -1
  60. package/es/cascader/cascader-panel.js +2 -28
  61. package/es/cascader/cascader-panel.vue.d.ts +24 -306
  62. package/es/cascader/{cascader-panel.vue_vue_type_script_lang.js → cascader-panel.vue_vue_type_script_setup_true_lang.js} +92 -101
  63. package/es/cascader/cascader.js +2 -145
  64. package/es/cascader/cascader.vue.d.ts +54 -1290
  65. package/es/cascader/{cascader.vue_vue_type_script_lang.js → cascader.vue_vue_type_script_setup_true_lang.js} +257 -177
  66. package/es/cascader/index.d.ts +4 -2986
  67. package/es/cascader/types.d.ts +79 -0
  68. package/es/checkbox/checkbox-group.js +48 -0
  69. package/es/checkbox/checkbox.d.ts +1 -1
  70. package/es/checkbox/checkbox.js +35 -0
  71. package/es/checkbox/index.d.ts +2 -2
  72. package/es/collapse/collapse-item.d.ts +1 -1
  73. package/es/collapse/collapse-item.js +36 -0
  74. package/es/collapse/collapse.vue_vue_type_script_lang.js +47 -0
  75. package/es/collapse/index.d.ts +1 -1
  76. package/es/color-picker/color-picker.d.ts +1 -1
  77. package/es/color-picker/color-picker.js +90 -1
  78. package/es/color-picker/index.d.ts +3 -3
  79. package/es/color-picker/panel.js +5 -2
  80. package/es/color-picker/utils.js +1 -1
  81. package/es/comment/comment.js +47 -1
  82. package/es/comment/comment.vue.d.ts +2 -2
  83. package/es/comment/index.d.ts +3 -3
  84. package/es/components.d.ts +132 -127
  85. package/es/config-provider/config-provider.vue.d.ts +16 -0
  86. package/es/config-provider/config-provider.vue_vue_type_script_lang.js +78 -1
  87. package/es/config-provider/context.d.ts +3 -0
  88. package/es/config-provider/index.d.ts +24 -0
  89. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  90. package/es/config-provider/theme.js +1 -1
  91. package/es/copy/copy.js +5 -0
  92. package/es/copy/copy.vue.d.ts +15 -0
  93. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +95 -0
  94. package/es/copy/index.d.ts +15 -0
  95. package/es/copy/index.js +10 -0
  96. package/es/copy/style/css.js +2 -0
  97. package/es/copy/style/index.css +25 -0
  98. package/es/copy/style/index.d.ts +2 -0
  99. package/es/copy/style/index.js +2 -0
  100. package/es/copy/style/index.scss +15 -0
  101. package/es/copy/style/token.scss +3 -0
  102. package/es/copy/types.d.ts +21 -0
  103. package/es/cropper/cropper.js +5 -0
  104. package/es/cropper/cropper.vue.d.ts +45 -0
  105. package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +266 -0
  106. package/es/cropper/index.d.ts +130 -0
  107. package/es/cropper/index.js +10 -0
  108. package/es/cropper/interface.d.ts +59 -0
  109. package/es/cropper/style/css.js +2 -0
  110. package/es/cropper/style/index.css +51 -0
  111. package/es/cropper/style/index.d.ts +2 -0
  112. package/es/cropper/style/index.js +2 -0
  113. package/es/cropper/style/index.scss +43 -0
  114. package/es/cropper/style/token.scss +8 -0
  115. package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
  116. package/es/date-picker/index.d.ts +187 -709
  117. package/es/date-picker/panels/date/index.js +1 -1
  118. package/es/date-picker/panels/date/index.vue.d.ts +1 -1
  119. package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
  120. package/es/date-picker/panels/footer.vue.d.ts +55 -577
  121. package/es/date-picker/panels/footer.vue_vue_type_script_lang.js +1 -1
  122. package/es/date-picker/panels/month/index.js +1 -1
  123. package/es/date-picker/panels/quarter/index.js +1 -1
  124. package/es/date-picker/panels/week/index.vue.d.ts +1 -1
  125. package/es/date-picker/panels/year/index.js +1 -1
  126. package/es/date-picker/picker-panel.vue.d.ts +264 -786
  127. package/es/date-picker/picker.js +1 -1
  128. package/es/date-picker/picker.vue.d.ts +174 -696
  129. package/es/date-picker/picker.vue_vue_type_script_lang.js +193 -1
  130. package/es/date-picker/pickers/date-picker.js +42 -0
  131. package/es/date-picker/pickers/month-picker.js +12 -0
  132. package/es/date-picker/pickers/quarter-picker.js +17 -0
  133. package/es/date-picker/pickers/week-picker.js +23 -0
  134. package/es/date-picker/pickers/year-picker.js +12 -0
  135. package/es/date-picker/range-picker-panel.vue.d.ts +263 -785
  136. package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
  137. package/es/date-picker/range-picker.js +1 -1
  138. package/es/date-picker/range-picker.vue.d.ts +187 -709
  139. package/es/date-picker/range-picker.vue_vue_type_script_lang.js +120 -1
  140. package/es/descriptions/descriptions-item.vue_vue_type_script_lang.js +16 -0
  141. package/es/descriptions/descriptions.d.ts +1 -1
  142. package/es/descriptions/descriptions.js +65 -1
  143. package/es/descriptions/index.d.ts +3 -3
  144. package/es/divider/divider.js +24 -0
  145. package/es/drawer/drawer.vue.d.ts +2 -2
  146. package/es/drawer/drawer.vue_vue_type_script_lang.js +161 -2
  147. package/es/drawer/index.d.ts +5 -5
  148. package/es/drawer/index.js +2 -2
  149. package/es/dropdown/dropdown-button.vue.d.ts +18 -18
  150. package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +70 -0
  151. package/es/dropdown/dropdown-group.vue_vue_type_script_lang.js +12 -1
  152. package/es/dropdown/dropdown-option.vue.d.ts +2 -2
  153. package/es/dropdown/dropdown-option.vue_vue_type_script_lang.js +20 -1
  154. package/es/dropdown/dropdown-panel.vue.d.ts +6 -6
  155. package/es/dropdown/dropdown-submenu.vue.d.ts +20 -20
  156. package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +57 -0
  157. package/es/dropdown/dropdown.vue.d.ts +18 -18
  158. package/es/dropdown/dropdown.vue_vue_type_script_lang.js +55 -0
  159. package/es/dropdown/index.d.ts +76 -76
  160. package/es/ellipsis/ellipsis.vue.d.ts +24 -24
  161. package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +25 -2
  162. package/es/ellipsis/index.d.ts +96 -96
  163. package/es/ellipsis/performant-ellipsis.vue.d.ts +24 -24
  164. package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +24 -1
  165. package/es/empty/empty.js +18 -0
  166. package/es/form/form-item-label.vue.d.ts +24 -24
  167. package/es/form/form-item.vue.d.ts +28 -28
  168. package/es/form/form-item.vue_vue_type_script_lang.js +146 -3
  169. package/es/form/form.vue_vue_type_script_lang.js +108 -0
  170. package/es/form/index.d.ts +28 -28
  171. package/es/grid/grid-col.vue_vue_type_script_lang.js +42 -1
  172. package/es/grid/grid-item.vue_vue_type_script_lang.js +13 -1
  173. package/es/grid/grid-row.vue_vue_type_script_lang.js +21 -0
  174. package/es/grid/grid.vue_vue_type_script_lang.js +20 -0
  175. package/es/icon.js +5 -5
  176. package/es/image/image.js +1 -1
  177. package/es/image/image.vue.d.ts +26 -26
  178. package/es/image/image.vue_vue_type_script_lang.js +82 -0
  179. package/es/image/preview-action.d.ts +24 -24
  180. package/es/image/preview-action.js +8 -0
  181. package/es/image/preview-group.js +1 -1
  182. package/es/image/preview-group.vue.d.ts +24 -24
  183. package/es/image/preview-group.vue_vue_type_script_lang.js +48 -0
  184. package/es/image/preview-toolbar.vue.d.ts +24 -24
  185. package/es/image/preview-toolbar.vue_vue_type_script_lang.js +1 -0
  186. package/es/image/preview.vue.d.ts +24 -24
  187. package/es/image/preview.vue_vue_type_script_lang.js +56 -1
  188. package/es/index.css +177 -6
  189. package/es/index.d.ts +9 -1
  190. package/es/index.js +6 -2
  191. package/es/index.scss +4 -0
  192. package/es/input/index.d.ts +5 -5
  193. package/es/input/input-password.vue.d.ts +2 -2
  194. package/es/input/input-password.vue_vue_type_script_lang.js +13 -0
  195. package/es/input/input-search.js +35 -1
  196. package/es/input/input.d.ts +1 -1
  197. package/es/input/input.js +129 -1
  198. package/es/input-number/index.d.ts +38 -26
  199. package/es/input-number/input-number.d.ts +20 -11
  200. package/es/input-number/input-number.js +205 -23
  201. package/es/input-tag/input-tag.js +137 -1
  202. package/es/input-tag/style/index.css +13 -6
  203. package/es/input-tag/utils.js +1 -1
  204. package/es/layout/content.js +5 -0
  205. package/es/layout/footer.js +5 -0
  206. package/es/layout/header.js +5 -0
  207. package/es/layout/layout.vue_vue_type_script_lang.js +6 -1
  208. package/es/layout/sider.vue_vue_type_script_lang.js +46 -0
  209. package/es/link/index.d.ts +44 -564
  210. package/es/link/interface.d.ts +15 -0
  211. package/es/link/link.js +2 -17
  212. package/es/link/link.vue.d.ts +31 -286
  213. package/es/link/link.vue_vue_type_script_setup_true_lang.js +112 -0
  214. package/es/link/style/index.css +6 -0
  215. package/es/link/style/index.scss +10 -0
  216. package/es/list/index.d.ts +3 -3
  217. package/es/list/list-item-meta.vue_vue_type_script_lang.js +23 -0
  218. package/es/list/list-item.js +21 -1
  219. package/es/list/list.d.ts +1 -1
  220. package/es/list/list.js +104 -2
  221. package/es/mention/index.d.ts +6 -6
  222. package/es/mention/mention.d.ts +2 -2
  223. package/es/mention/mention.js +87 -1
  224. package/es/menu/base-menu.vue.d.ts +1 -1
  225. package/es/menu/base-menu.vue_vue_type_script_lang.js +102 -0
  226. package/es/menu/item-group.vue_vue_type_script_lang.js +11 -1
  227. package/es/menu/item.d.ts +1 -1
  228. package/es/menu/item.js +13 -2
  229. package/es/menu/menu.d.ts +2 -2
  230. package/es/menu/menu.js +2 -1
  231. package/es/menu/sub-menu-pop.vue.d.ts +14 -14
  232. package/es/menu/sub-menu.js +40 -1
  233. package/es/message/index.js +1 -1
  234. package/es/message/message.vue.d.ts +1 -1
  235. package/es/modal/index.d.ts +5 -5
  236. package/es/modal/index.js +2 -2
  237. package/es/modal/modal.vue.d.ts +2 -2
  238. package/es/modal/modal.vue_vue_type_script_lang.js +193 -2
  239. package/es/notification/index.js +1 -1
  240. package/es/notification/notification.vue.d.ts +1 -1
  241. package/es/overflow-list/index.d.ts +3 -3
  242. package/es/overflow-list/overflow-list.d.ts +1 -1
  243. package/es/overflow-list/overflow-list.js +25 -1
  244. package/es/page-header/index.d.ts +2 -2
  245. package/es/page-header/page-header.vue.d.ts +1 -1
  246. package/es/page-header/page-header.vue_vue_type_script_lang.js +38 -0
  247. package/es/pagination/page-jumper.vue.d.ts +38 -25
  248. package/es/pagination/page-options.vue.d.ts +34 -34
  249. package/es/pagination/pagination.js +122 -0
  250. package/es/popconfirm/index.d.ts +24 -24
  251. package/es/popconfirm/popconfirm.vue.d.ts +12 -12
  252. package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +95 -1
  253. package/es/popover/index.d.ts +24 -24
  254. package/es/popover/popover.vue.d.ts +12 -12
  255. package/es/popover/popover.vue_vue_type_script_lang.js +62 -0
  256. package/es/progress/circle.vue.d.ts +3 -3
  257. package/es/progress/index.d.ts +23 -23
  258. package/es/progress/line.vue.d.ts +2 -2
  259. package/es/progress/line.vue_vue_type_script_lang.js +1 -1
  260. package/es/progress/progress.vue.d.ts +12 -12
  261. package/es/progress/progress.vue_vue_type_script_lang.js +48 -0
  262. package/es/progress/steps.vue.d.ts +2 -2
  263. package/es/radio/index.d.ts +2 -2
  264. package/es/radio/radio-group.js +53 -0
  265. package/es/radio/radio.d.ts +1 -1
  266. package/es/radio/radio.js +36 -0
  267. package/es/rate/rate.js +54 -0
  268. package/es/resize-box/resize-box.vue_vue_type_script_lang.js +47 -1
  269. package/es/result/result.vue_vue_type_script_lang.js +40 -0
  270. package/es/scrollbar/index.d.ts +6 -6
  271. package/es/scrollbar/scrollbar.vue.d.ts +3 -3
  272. package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +108 -2
  273. package/es/sd-vue.js +10 -2
  274. package/es/secret/index.d.ts +48 -0
  275. package/es/secret/index.js +10 -0
  276. package/es/secret/secret.js +5 -0
  277. package/es/secret/secret.vue.d.ts +17 -0
  278. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +64 -0
  279. package/es/secret/style/css.js +2 -0
  280. package/es/secret/style/index.css +54 -0
  281. package/es/secret/style/index.d.ts +2 -0
  282. package/es/secret/style/index.js +2 -0
  283. package/es/secret/style/index.scss +48 -0
  284. package/es/secret/style/token.scss +9 -0
  285. package/es/select/hooks/use-options.js +1 -1
  286. package/es/select/index.d.ts +34 -34
  287. package/es/select/optgroup.vue_vue_type_script_lang.js +12 -1
  288. package/es/select/option.vue.d.ts +4 -4
  289. package/es/select/option.vue_vue_type_script_lang.js +27 -0
  290. package/es/select/select-dropdown.vue.d.ts +7 -7
  291. package/es/select/select.d.ts +14 -14
  292. package/es/select/select.js +13 -9
  293. package/es/select/utils.js +1 -1
  294. package/es/skeleton/line.vue_vue_type_script_lang.js +16 -0
  295. package/es/skeleton/shape.vue_vue_type_script_lang.js +10 -0
  296. package/es/skeleton/skeleton.vue_vue_type_script_lang.js +8 -0
  297. package/es/slider/index.d.ts +120 -96
  298. package/es/slider/slider-button.vue.d.ts +24 -24
  299. package/es/slider/slider-input.vue.d.ts +36 -24
  300. package/es/slider/slider.vue.d.ts +60 -48
  301. package/es/slider/slider.vue_vue_type_script_lang.js +55 -0
  302. package/es/space/index.d.ts +6 -6
  303. package/es/space/space.d.ts +1 -1
  304. package/es/space/space.js +27 -0
  305. package/es/spin/spin.js +35 -0
  306. package/es/split/split.vue_vue_type_script_lang.js +62 -1
  307. package/es/statistic/countdown.vue_vue_type_script_lang.js +36 -1
  308. package/es/statistic/statistic.vue_vue_type_script_lang.js +74 -0
  309. package/es/steps/index.d.ts +3 -3
  310. package/es/steps/step.vue_vue_type_script_lang.js +36 -0
  311. package/es/steps/steps.vue.d.ts +1 -1
  312. package/es/steps/steps.vue_vue_type_script_lang.js +47 -0
  313. package/es/switch/switch.vue_vue_type_script_lang.js +98 -1
  314. package/es/table/index.d.ts +14 -14
  315. package/es/table/table-column.d.ts +2 -2
  316. package/es/table/table-column.js +115 -0
  317. package/es/table/table-operation-td.d.ts +4 -4
  318. package/es/table/table-operation-td.js +1 -1
  319. package/es/table/table-operation-th.js +1 -1
  320. package/es/table/table-td.js +1 -1
  321. package/es/table/table-th.js +1 -1
  322. package/es/table/table.d.ts +7 -7
  323. package/es/table/table.js +442 -3
  324. package/es/table/utils.js +1 -1
  325. package/es/tabs/tab-pane.vue_vue_type_script_lang.js +23 -1
  326. package/es/tabs/tabs-tab.vue.d.ts +1 -1
  327. package/es/tabs/tabs.js +104 -0
  328. package/es/tag/index.d.ts +29238 -75
  329. package/es/tag/interface.d.ts +9 -1
  330. package/es/tag/style/index.css +13 -6
  331. package/es/tag/style/index.scss +16 -4
  332. package/es/tag/tag.js +26 -5
  333. package/es/tag/tag.vue.d.ts +11690 -9
  334. package/es/tag/tag.vue_vue_type_script_lang.js +139 -3
  335. package/es/tag-group/index.d.ts +64 -0
  336. package/es/tag-group/index.js +10 -0
  337. package/es/tag-group/interface.d.ts +18 -0
  338. package/es/tag-group/style/css.js +2 -0
  339. package/es/tag-group/style/index.css +92 -0
  340. package/es/tag-group/style/index.d.ts +2 -0
  341. package/es/tag-group/style/index.js +2 -0
  342. package/es/tag-group/style/index.scss +108 -0
  343. package/es/tag-group/style/token.scss +6 -0
  344. package/es/tag-group/tag-group.js +5 -0
  345. package/es/tag-group/tag-group.vue.d.ts +46 -0
  346. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +360 -0
  347. package/es/textarea/index.d.ts +2 -2
  348. package/es/textarea/textarea.vue.d.ts +1 -1
  349. package/es/textarea/textarea.vue_vue_type_script_lang.js +90 -1
  350. package/es/time-picker/index.d.ts +35 -35
  351. package/es/time-picker/panel.vue.d.ts +1 -1
  352. package/es/time-picker/range-panel.d.ts +1 -1
  353. package/es/time-picker/range-panel.js +1 -1
  354. package/es/time-picker/time-picker.js +1 -1
  355. package/es/time-picker/time-picker.vue.d.ts +17 -17
  356. package/es/time-picker/time-picker.vue_vue_type_script_lang.js +132 -0
  357. package/es/timeline/item.vue_vue_type_script_lang.js +38 -1
  358. package/es/timeline/timeline.js +28 -0
  359. package/es/tooltip/index.d.ts +24 -24
  360. package/es/tooltip/tooltip.vue.d.ts +12 -12
  361. package/es/tooltip/tooltip.vue_vue_type_script_lang.js +61 -1
  362. package/es/transfer/index.d.ts +27 -27
  363. package/es/transfer/transfer-view.vue.d.ts +12 -12
  364. package/es/transfer/transfer.vue.d.ts +13 -13
  365. package/es/transfer/transfer.vue_vue_type_script_lang.js +136 -0
  366. package/es/tree/base-node.vue.d.ts +2 -2
  367. package/es/tree/base-node.vue_vue_type_script_lang.js +7 -0
  368. package/es/tree/node.js +1 -1
  369. package/es/tree/transition-node-list.vue.d.ts +2 -2
  370. package/es/tree/tree.vue.d.ts +8 -8
  371. package/es/tree/tree.vue_vue_type_script_lang.js +287 -2
  372. package/es/tree/utils/tree-data.js +1 -1
  373. package/es/tree-select/hooks/use-selected-state.js +1 -1
  374. package/es/tree-select/panel.js +1 -1
  375. package/es/tree-select/tree-select.js +1 -1
  376. package/es/tree-select/tree-select.vue.d.ts +17 -17
  377. package/es/tree-select/tree-select.vue_vue_type_script_lang.js +287 -10
  378. package/es/trigger/index.d.ts +12 -12
  379. package/es/trigger/trigger.d.ts +7 -7
  380. package/es/trigger/trigger.js +161 -1
  381. package/es/trigger/utils.js +1 -1
  382. package/es/typography/base.d.ts +8 -1
  383. package/es/typography/base.js +127 -3
  384. package/es/typography/edit-content.vue.d.ts +15 -15
  385. package/es/typography/index.d.ts +1 -1
  386. package/es/typography/interface.d.ts +2 -0
  387. package/es/typography/operations.js +30 -0
  388. package/es/typography/operations.vue.d.ts +24 -24
  389. package/es/typography/paragraph.js +8 -0
  390. package/es/typography/title.d.ts +1 -1
  391. package/es/typography/title.js +6 -1
  392. package/es/upload/upload-button.d.ts +1 -1
  393. package/es/upload/upload.js +279 -2
  394. package/es/verification-code/index.d.ts +3 -3
  395. package/es/verification-code/verification-code.d.ts +1 -1
  396. package/es/verification-code/verification-code.js +59 -0
  397. package/es/watermark/hooks/use-mutation-observer.js +1 -1
  398. package/es/watermark/index.d.ts +3 -3
  399. package/es/watermark/watermark.d.ts +1 -1
  400. package/es/watermark/watermark.js +58 -1
  401. package/es/web-vue.css +24 -24
  402. package/json/vetur-attributes.json +137 -218
  403. package/json/vetur-tags.json +59 -67
  404. package/json/web-types.json +312 -493
  405. package/package.json +9 -7
  406. package/es/_utils/clipboard.d.ts +0 -1
  407. package/es/_utils/clipboard.js +0 -35
  408. package/es/link/link.vue_vue_type_script_lang.js +0 -56
@@ -28,7 +28,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
28
28
  triggerPrefixCls: string;
29
29
  triggerClassNames: import("vue").ComputedRef<any[]>;
30
30
  triggerProps: import("vue").ComputedRef<Omit<import("..").TriggerProps, "class">>;
31
- menuContext: Partial<Readonly<Pick<import("./interface").InternalMenuProps, "mode" | "triggerProps" | "popupMaxHeight" | "theme" | "levelIndent" | "autoScrollIntoView" | "scrollConfig" | "inTrigger" | "tooltipProps"> & {
31
+ menuContext: Partial<Readonly<Pick<import("./interface").InternalMenuProps, "mode" | "triggerProps" | "popupMaxHeight" | "theme" | "tooltipProps" | "levelIndent" | "autoScrollIntoView" | "scrollConfig" | "inTrigger"> & {
32
32
  selectedKeys: string[];
33
33
  openKeys: string[];
34
34
  prefixCls: string;
@@ -252,7 +252,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
252
252
  "onMenu-item-click"?: ((...args: any[]) => any) | undefined;
253
253
  "onSub-menu-click"?: ((...args: any[]) => any) | undefined;
254
254
  }>, {
255
- mode: "horizontal" | "vertical" | "pop" | "popButton";
255
+ mode: "pop" | "horizontal" | "vertical" | "popButton";
256
256
  popupMaxHeight: number | boolean;
257
257
  accordion: boolean;
258
258
  theme: "dark" | "light";
@@ -569,13 +569,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
569
569
  default: boolean;
570
570
  };
571
571
  contentClass: {
572
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
572
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
573
573
  };
574
574
  contentStyle: {
575
575
  type: import("vue").PropType<import("vue").CSSProperties>;
576
576
  };
577
577
  arrowClass: {
578
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
578
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
579
579
  };
580
580
  arrowStyle: {
581
581
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -633,7 +633,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
633
633
  default: boolean;
634
634
  };
635
635
  openedClass: {
636
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
636
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
637
637
  };
638
638
  autoFitPosition: {
639
639
  type: BooleanConstructor;
@@ -656,8 +656,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
656
656
  default: number;
657
657
  };
658
658
  }>> & Readonly<{
659
- onResize?: (() => any) | undefined;
660
659
  onHide?: (() => any) | undefined;
660
+ onResize?: (() => any) | undefined;
661
661
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
662
662
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
663
663
  onShow?: (() => any) | undefined;
@@ -760,13 +760,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
760
760
  default: boolean;
761
761
  };
762
762
  contentClass: {
763
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
763
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
764
764
  };
765
765
  contentStyle: {
766
766
  type: import("vue").PropType<import("vue").CSSProperties>;
767
767
  };
768
768
  arrowClass: {
769
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
769
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
770
770
  };
771
771
  arrowStyle: {
772
772
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -824,7 +824,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
824
824
  default: boolean;
825
825
  };
826
826
  openedClass: {
827
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
827
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
828
828
  };
829
829
  autoFitPosition: {
830
830
  type: BooleanConstructor;
@@ -847,8 +847,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
847
847
  default: number;
848
848
  };
849
849
  }>> & Readonly<{
850
- onResize?: (() => any) | undefined;
851
850
  onHide?: (() => any) | undefined;
851
+ onResize?: (() => any) | undefined;
852
852
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
853
853
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
854
854
  onShow?: (() => any) | undefined;
@@ -942,13 +942,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
942
942
  default: boolean;
943
943
  };
944
944
  contentClass: {
945
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
945
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
946
946
  };
947
947
  contentStyle: {
948
948
  type: import("vue").PropType<import("vue").CSSProperties>;
949
949
  };
950
950
  arrowClass: {
951
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
951
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
952
952
  };
953
953
  arrowStyle: {
954
954
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -1006,7 +1006,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1006
1006
  default: boolean;
1007
1007
  };
1008
1008
  openedClass: {
1009
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1009
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1010
1010
  };
1011
1011
  autoFitPosition: {
1012
1012
  type: BooleanConstructor;
@@ -1029,8 +1029,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1029
1029
  default: number;
1030
1030
  };
1031
1031
  }>> & Readonly<{
1032
- onResize?: (() => any) | undefined;
1033
1032
  onHide?: (() => any) | undefined;
1033
+ onResize?: (() => any) | undefined;
1034
1034
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1035
1035
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1036
1036
  onShow?: (() => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import IconRight from "../icon/icon-right/index.js";
3
3
  import IconDown from "../icon/icon-down/index.js";
4
4
  import useLevel from "./hooks/use-level.js";
@@ -12,17 +12,56 @@ import { computed, createVNode, defineComponent, mergeProps, toRef, toRefs } fro
12
12
  var sub_menu_default = /* @__PURE__ */ defineComponent({
13
13
  name: "SubMenu",
14
14
  props: {
15
+ /**
16
+ * @zh 子菜单的标题
17
+ * @en The title of the submenu
18
+ */
15
19
  title: { type: String },
20
+ /**
21
+ * @zh 弹出模式下,是否将多级菜单头也作为一个菜单项,支持点击选中等状态
22
+ * @en In the pop-up mode, whether the multi-level menu header is also used as a menu item to support the state such as click to select
23
+ */
16
24
  selectable: { type: Boolean },
25
+ /**
26
+ * @zh 是否强制使用弹出模式,`level` 表示当前子菜单的层级
27
+ * @en Whether to force the use of pop-up mode, `level` indicates the level of the current submenu
28
+ */
17
29
  popup: {
18
30
  type: [Boolean, Function],
19
31
  default: false
20
32
  },
33
+ /**
34
+ * @zh 弹出框的最大高度
35
+ * @en The maximum height of popover
36
+ * @defaultValue true
37
+ * @version 2.23.0
38
+ */
21
39
  popupMaxHeight: {
22
40
  type: [Boolean, Number],
23
41
  default: void 0
24
42
  }
25
43
  },
44
+ /**
45
+ * @zh 菜单的图标
46
+ * @en the icon of menu item
47
+ * @slot icon
48
+ * @version 2.11.0
49
+ */
50
+ /**
51
+ * @zh 向下展开的图标
52
+ * @en Icon expand down
53
+ * @slot expand-icon-down
54
+ */
55
+ /**
56
+ * @zh 向右展开的图标
57
+ * @en Icon expand right
58
+ * @slot expand-icon-right
59
+ */
60
+ /**
61
+ * @zh 标题
62
+ * @en Title
63
+ * @slot title
64
+ */
26
65
  setup(props, { attrs }) {
27
66
  const { key } = useMenu();
28
67
  const { level } = useLevel();
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { isFunction, isString, isUndefined } from "../_utils/is.js";
3
3
  import { getOverlay } from "../_utils/dom.js";
4
4
  import { MESSAGE_TYPES } from "../_utils/constant.js";
@@ -94,7 +94,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
94
94
  default: boolean;
95
95
  };
96
96
  }>> & Readonly<{}>, {
97
- size: "mini" | "small" | "medium" | "large";
97
+ size: "small" | "mini" | "medium" | "large";
98
98
  disabled: boolean;
99
99
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
100
  IconInfoCircleFill: {
@@ -164,10 +164,10 @@ declare const Modal: {
164
164
  beforeOpen: () => true;
165
165
  beforeClose: () => true;
166
166
  }, import("vue").PublicProps, {
167
+ visible: boolean;
167
168
  footer: boolean;
168
169
  mask: boolean;
169
170
  popupContainer: string | HTMLElement;
170
- visible: boolean;
171
171
  unmountOnClose: boolean;
172
172
  defaultVisible: boolean;
173
173
  maskClosable: boolean;
@@ -659,7 +659,7 @@ declare const Modal: {
659
659
  default: boolean;
660
660
  };
661
661
  }>> & Readonly<{}>, {
662
- size: "mini" | "small" | "medium" | "large";
662
+ size: "small" | "mini" | "medium" | "large";
663
663
  disabled: boolean;
664
664
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
665
665
  IconClose: {
@@ -1428,10 +1428,10 @@ declare const Modal: {
1428
1428
  teleportContainer: import("vue").Ref<string | HTMLElement | null | undefined, string | HTMLElement | null | undefined>;
1429
1429
  handleMoveDown: (ev: MouseEvent) => void;
1430
1430
  }, {}, {}, {}, {
1431
+ visible: boolean;
1431
1432
  footer: boolean;
1432
1433
  mask: boolean;
1433
1434
  popupContainer: string | HTMLElement;
1434
- visible: boolean;
1435
1435
  unmountOnClose: boolean;
1436
1436
  defaultVisible: boolean;
1437
1437
  maskClosable: boolean;
@@ -1614,10 +1614,10 @@ declare const Modal: {
1614
1614
  beforeOpen: () => true;
1615
1615
  beforeClose: () => true;
1616
1616
  }, string, {
1617
+ visible: boolean;
1617
1618
  footer: boolean;
1618
1619
  mask: boolean;
1619
1620
  popupContainer: string | HTMLElement;
1620
- visible: boolean;
1621
1621
  unmountOnClose: boolean;
1622
1622
  defaultVisible: boolean;
1623
1623
  maskClosable: boolean;
@@ -2109,7 +2109,7 @@ declare const Modal: {
2109
2109
  default: boolean;
2110
2110
  };
2111
2111
  }>> & Readonly<{}>, {
2112
- size: "mini" | "small" | "medium" | "large";
2112
+ size: "small" | "mini" | "medium" | "large";
2113
2113
  disabled: boolean;
2114
2114
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2115
2115
  IconClose: {
package/es/modal/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
3
3
  import { isFunction } from "../_utils/is.js";
4
4
  import { getSlotFunction } from "../_utils/vue-utils.js";
5
5
  import { getOverlay } from "../_utils/dom.js";
6
- import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/asyncToGenerator.js";
6
+ import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/asyncToGenerator.js";
7
7
  import { MESSAGE_TYPES } from "../_utils/constant.js";
8
8
  import { omit } from "../_utils/omit.js";
9
9
  import modal_default from "./modal.js";
@@ -284,10 +284,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
284
284
  onBeforeOpen?: (() => any) | undefined;
285
285
  onBeforeClose?: (() => any) | undefined;
286
286
  }>, {
287
+ visible: boolean;
287
288
  footer: boolean;
288
289
  mask: boolean;
289
290
  popupContainer: string | HTMLElement;
290
- visible: boolean;
291
291
  unmountOnClose: boolean;
292
292
  defaultVisible: boolean;
293
293
  maskClosable: boolean;
@@ -779,7 +779,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
779
779
  default: boolean;
780
780
  };
781
781
  }>> & Readonly<{}>, {
782
- size: "mini" | "small" | "medium" | "large";
782
+ size: "small" | "mini" | "medium" | "large";
783
783
  disabled: boolean;
784
784
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
785
785
  IconClose: {
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isBoolean, isFunction, isNumber, isPromise } from "../_utils/is.js";
4
4
  import { contains, getElement, off, on } from "../_utils/dom.js";
@@ -8,7 +8,7 @@ import IconClose from "../icon/icon-close/index.js";
8
8
  import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
9
9
  import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
10
10
  import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
11
- import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/asyncToGenerator.js";
11
+ import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/asyncToGenerator.js";
12
12
  import Button from "../button/index.js";
13
13
  import { KEYBOARD_KEY } from "../_utils/keyboard.js";
14
14
  import { useI18n } from "../locale/index.js";
@@ -33,85 +33,216 @@ var modal_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
33
33
  },
34
34
  inheritAttrs: false,
35
35
  props: {
36
+ /**
37
+ * @zh 对话框是否可见
38
+ * @en Whether the modal is visible
39
+ * @vModel
40
+ */
36
41
  visible: {
37
42
  type: Boolean,
38
43
  default: void 0
39
44
  },
45
+ /**
46
+ * @zh 对话框默认是否可见(非受控状态)
47
+ * @en Whether the modal is visible by default (uncontrolled state)
48
+ */
40
49
  defaultVisible: {
41
50
  type: Boolean,
42
51
  default: false
43
52
  },
53
+ /**
54
+ * @zh 对话框的宽度,不设置的情况下会使用样式中的宽度值
55
+ * @en The width of the dialog box, if not set, the width value in the style will be used
56
+ * @version 2.12.0
57
+ */
44
58
  width: { type: [Number, String] },
59
+ /**
60
+ * @zh 对话框的距离顶部的高度,居中显示开启的情况下不生效
61
+ * @en The height from the top of the dialog box. It does not take effect when the center display is turned on.
62
+ * @version 2.12.0
63
+ */
45
64
  top: { type: [Number, String] },
65
+ /**
66
+ * @zh 是否显示遮罩层
67
+ * @en Whether to show the mask
68
+ */
46
69
  mask: {
47
70
  type: Boolean,
48
71
  default: true
49
72
  },
73
+ /**
74
+ * @zh 标题
75
+ * @en Title
76
+ */
50
77
  title: { type: String },
78
+ /**
79
+ * @zh 标题的水平对齐方向
80
+ * @en horizontal alignment of the title
81
+ * @version 2.17.0
82
+ */
51
83
  titleAlign: {
52
84
  type: String,
53
85
  default: "center"
54
86
  },
87
+ /**
88
+ * @zh 对话框是否居中显示
89
+ * @en Whether the dialog box is displayed in the center
90
+ */
55
91
  alignCenter: {
56
92
  type: Boolean,
57
93
  default: true
58
94
  },
95
+ /**
96
+ * @zh 关闭时是否卸载节点
97
+ * @en Whether to uninstall the node when close
98
+ */
59
99
  unmountOnClose: Boolean,
100
+ /**
101
+ * @zh 是否点击遮罩层可以关闭对话框
102
+ * @en Whether to close the modal when click the mask
103
+ */
60
104
  maskClosable: {
61
105
  type: Boolean,
62
106
  default: true
63
107
  },
108
+ /**
109
+ * @zh 是否隐藏取消按钮
110
+ * @en Whether to hide the cancel button
111
+ */
64
112
  hideCancel: {
65
113
  type: Boolean,
66
114
  default: false
67
115
  },
116
+ /**
117
+ * @zh 是否开启简单模式
118
+ * @en Whether to enable simple mode
119
+ */
68
120
  simple: {
69
121
  type: Boolean,
70
122
  default: (props) => {
71
123
  return props.notice;
72
124
  }
73
125
  },
126
+ /**
127
+ * @zh 是否显示关闭按钮
128
+ * @en Whether to show the close button
129
+ */
74
130
  closable: {
75
131
  type: Boolean,
76
132
  default: true
77
133
  },
134
+ /**
135
+ * @zh 确认按钮的内容
136
+ * @en The content of the confirm button
137
+ */
78
138
  okText: String,
139
+ /**
140
+ * @zh 取消按钮的内容
141
+ * @en The content of the cancel button
142
+ */
79
143
  cancelText: String,
144
+ /**
145
+ * @zh 确认按钮是否为加载中状态
146
+ * @en Whether the confirm button is in the loading state
147
+ */
80
148
  okLoading: {
81
149
  type: Boolean,
82
150
  default: false
83
151
  },
152
+ /**
153
+ * @zh 确认按钮的Props
154
+ * @en Props of confirm button
155
+ */
84
156
  okButtonProps: { type: Object },
157
+ /**
158
+ * @zh 取消按钮的Props
159
+ * @en Props of cancel button
160
+ */
85
161
  cancelButtonProps: { type: Object },
162
+ /**
163
+ * @zh 是否展示页脚部分
164
+ * @en Whether to show the footer
165
+ */
86
166
  footer: {
87
167
  type: Boolean,
88
168
  default: true
89
169
  },
170
+ /**
171
+ * @zh 对话框是否挂载在 `body` 元素下
172
+ * @en Whether the modal is mounted under the `body` element
173
+ */
90
174
  renderToBody: {
91
175
  type: Boolean,
92
176
  default: true
93
177
  },
178
+ /**
179
+ * @zh 弹出框的挂载容器
180
+ * @en Mount container for modal
181
+ */
94
182
  popupContainer: {
95
183
  type: [String, Object],
96
184
  default: "body"
97
185
  },
186
+ /**
187
+ * @zh 蒙层的样式
188
+ * @en Mask style
189
+ */
98
190
  maskStyle: { type: Object },
191
+ /**
192
+ * @zh 对话框的类名
193
+ * @en The classname of the modal
194
+ */
99
195
  modalClass: { type: [String, Array] },
196
+ /**
197
+ * @zh 对话框的样式
198
+ * @en Modal style
199
+ */
100
200
  modalStyle: { type: Object },
201
+ /**
202
+ * @zh 触发 ok 事件前的回调函数。如果返回 false 则不会触发后续事件,也可使用 done 进行异步关闭。
203
+ * @en The callback function before the ok event is triggered. If false is returned, subsequent events will not be triggered, and done can also be used to close asynchronously.
204
+ * @version 2.7.0
205
+ */
101
206
  onBeforeOk: { type: Function },
207
+ /**
208
+ * @zh 触发 cancel 事件前的回调函数。如果返回 false 则不会触发后续事件。
209
+ * @en The callback function before the cancel event is triggered. If it returns false, no subsequent events will be triggered.
210
+ * @version 2.7.0
211
+ */
102
212
  onBeforeCancel: { type: Function },
213
+ /**
214
+ * @zh 是否支持 ESC 键关闭对话框
215
+ * @en Whether to support the ESC key to close the dialog
216
+ * @version 2.15.0
217
+ */
103
218
  escToClose: {
104
219
  type: Boolean,
105
220
  default: true
106
221
  },
222
+ /**
223
+ * @zh 是否支持拖动
224
+ * @en Whether to support drag
225
+ * @version 2.19.0
226
+ */
107
227
  draggable: {
108
228
  type: Boolean,
109
229
  default: false
110
230
  },
231
+ /**
232
+ * @zh 是否开启全屏
233
+ * @en Whether to enable full screen
234
+ * @version 2.19.0
235
+ */
111
236
  fullscreen: {
112
237
  type: Boolean,
113
238
  default: false
114
239
  },
240
+ /**
241
+ * @zh 遮罩层动画名字
242
+ * @en Mask layer animation name
243
+ * @defaultValue -
244
+ * @version 2.24.0
245
+ */
115
246
  maskAnimationName: {
116
247
  type: String,
117
248
  default: (props) => {
@@ -119,6 +250,12 @@ var modal_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
119
250
  return "fade-modal";
120
251
  }
121
252
  },
253
+ /**
254
+ * @zh 对话框动画名字
255
+ * @en Modal animation name
256
+ * @defaultValue -
257
+ * @version 2.24.0
258
+ */
122
259
  modalAnimationName: {
123
260
  type: String,
124
261
  default: (props) => {
@@ -126,13 +263,29 @@ var modal_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
126
263
  return "zoom-modal";
127
264
  }
128
265
  },
266
+ /**
267
+ * @zh 对话框内容部分的类名
268
+ * @en The classname of the modal
269
+ * @version 2.31.0
270
+ */
129
271
  bodyClass: { type: [String, Array] },
272
+ /**
273
+ * @zh 对话框内容部分的样式
274
+ * @en Modal style
275
+ * @version 2.31.0
276
+ */
130
277
  bodyStyle: { type: [
131
278
  String,
132
279
  Object,
133
280
  Array
134
281
  ] },
135
282
  messageType: { type: String },
283
+ /**
284
+ * @zh 是否隐藏标题
285
+ * @en Whether to hide the title
286
+ * @defaultValue false
287
+ * @version 2.50.0
288
+ */
136
289
  hideTitle: {
137
290
  type: Boolean,
138
291
  default: false
@@ -140,13 +293,51 @@ var modal_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
140
293
  },
141
294
  emits: {
142
295
  "update:visible": (_visible) => true,
296
+ /**
297
+ * @zh 点击确定按钮时触发
298
+ * @en Triggered when the OK button is clicked
299
+ * @property {MouseEvent} ev
300
+ */
143
301
  "ok": (_e) => true,
302
+ /**
303
+ * @zh 点击取消、关闭按钮时触发
304
+ * @en Triggered when the cancel/close button is clicked
305
+ * @property {MouseEvent | KeyboardEvent} ev
306
+ */
144
307
  "cancel": (_e) => true,
308
+ /**
309
+ * @zh 对话框打开后(动画结束)触发
310
+ * @en Triggered after the modal is opened (the animation ends)
311
+ */
145
312
  "open": () => true,
313
+ /**
314
+ * @zh 对话框关闭后(动画结束)触发
315
+ * @en Triggered after the modal is closed (the animation ends)
316
+ */
146
317
  "close": () => true,
318
+ /**
319
+ * @zh 对话框打开前触发
320
+ * @en Triggered before dialog is opened
321
+ * @version 2.16.0
322
+ */
147
323
  "beforeOpen": () => true,
324
+ /**
325
+ * @zh 对话框关闭前触发
326
+ * @en Triggered before dialog is closed
327
+ * @version 2.16.0
328
+ */
148
329
  "beforeClose": () => true
149
330
  },
331
+ /**
332
+ * @zh 标题
333
+ * @en Title
334
+ * @slot title
335
+ */
336
+ /**
337
+ * @zh 页脚
338
+ * @en Footer
339
+ * @slot footer
340
+ */
150
341
  setup(props, { emit }) {
151
342
  const { fullscreen, popupContainer, alignCenter } = toRefs(props);
152
343
  const prefixCls = getPrefixCls("modal");
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { isFunction, isString, isUndefined } from "../_utils/is.js";
3
3
  import { getOverlay } from "../_utils/dom.js";
4
4
  import { MESSAGE_TYPES } from "../_utils/constant.js";
@@ -83,7 +83,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
83
83
  default: boolean;
84
84
  };
85
85
  }>> & Readonly<{}>, {
86
- size: "mini" | "small" | "medium" | "large";
86
+ size: "small" | "mini" | "medium" | "large";
87
87
  disabled: boolean;
88
88
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
89
  IconInfoCircleFill: {
@@ -20,8 +20,8 @@ declare const OverflowList: {
20
20
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
21
  change: (_value: number) => true;
22
22
  }, import("vue").PublicProps, {
23
- margin: number;
24
23
  from: "start" | "end";
24
+ margin: number;
25
25
  min: number;
26
26
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
27
27
  P: {};
@@ -46,8 +46,8 @@ declare const OverflowList: {
46
46
  }>> & Readonly<{
47
47
  onChange?: ((_value: number) => any) | undefined;
48
48
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
49
- margin: number;
50
49
  from: "start" | "end";
50
+ margin: number;
51
51
  min: number;
52
52
  }>;
53
53
  __isFragment?: never;
@@ -71,8 +71,8 @@ declare const OverflowList: {
71
71
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
72
  change: (_value: number) => true;
73
73
  }, string, {
74
- margin: number;
75
74
  from: "start" | "end";
75
+ margin: number;
76
76
  min: number;
77
77
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
78
78
  install: (app: App, options?: SDOptions) => void;
@@ -30,8 +30,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
30
30
  }>> & Readonly<{
31
31
  onChange?: ((_value: number) => any) | undefined;
32
32
  }>, {
33
- margin: number;
34
33
  from: "start" | "end";
34
+ margin: number;
35
35
  min: number;
36
36
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
37
  export default _default;