@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
@@ -12,48 +12,102 @@ import { computed, createVNode, defineComponent, mergeProps, reactive, ref, toRe
12
12
  var pagination_default = /* @__PURE__ */ defineComponent({
13
13
  name: "Pagination",
14
14
  props: {
15
+ /**
16
+ * @zh 数据总数
17
+ * @en Total number of data
18
+ */
15
19
  total: {
16
20
  type: Number,
17
21
  required: true
18
22
  },
23
+ /**
24
+ * @zh 当前的页数
25
+ * @en Current page number
26
+ * @vModel
27
+ */
19
28
  current: Number,
29
+ /**
30
+ * @zh 默认的页数(非受控状态)
31
+ * @en The default number of pages (uncontrolled state)
32
+ */
20
33
  defaultCurrent: {
21
34
  type: Number,
22
35
  default: 1
23
36
  },
37
+ /**
38
+ * @zh 每页展示的数据条数
39
+ * @en Number of data items displayed per page
40
+ * @vModel
41
+ */
24
42
  pageSize: Number,
43
+ /**
44
+ * @zh 默认每页展示的数据条数(非受控状态)
45
+ * @en The number of data items displayed per page by default (uncontrolled state)
46
+ */
25
47
  defaultPageSize: {
26
48
  type: Number,
27
49
  default: 10
28
50
  },
51
+ /**
52
+ * @zh 是否禁用
53
+ * @en Whether to disable
54
+ */
29
55
  disabled: {
30
56
  type: Boolean,
31
57
  default: false
32
58
  },
59
+ /**
60
+ * @zh 单页时是否隐藏分页
61
+ * @en Whether to hide pagination when single page
62
+ */
33
63
  hideOnSinglePage: {
34
64
  type: Boolean,
35
65
  default: false
36
66
  },
67
+ /**
68
+ * @zh 是否为简单模式
69
+ * @en Whether it is simple mode
70
+ */
37
71
  simple: {
38
72
  type: Boolean,
39
73
  default: false
40
74
  },
75
+ /**
76
+ * @zh 是否显示数据总数
77
+ * @en Whether to display the total number of data
78
+ */
41
79
  showTotal: {
42
80
  type: Boolean,
43
81
  default: false
44
82
  },
83
+ /**
84
+ * @zh 是否显示更多按钮
85
+ * @en Whether to show more buttons
86
+ */
45
87
  showMore: {
46
88
  type: Boolean,
47
89
  default: false
48
90
  },
91
+ /**
92
+ * @zh 是否显示跳转
93
+ * @en Whether to show jump
94
+ */
49
95
  showJumper: {
50
96
  type: Boolean,
51
97
  default: false
52
98
  },
99
+ /**
100
+ * @zh 是否显示数据条数选择器
101
+ * @en Whether to display the data number selector
102
+ */
53
103
  showPageSize: {
54
104
  type: Boolean,
55
105
  default: false
56
106
  },
107
+ /**
108
+ * @zh 数据条数选择器的选项列表
109
+ * @en Selection list of data number selector
110
+ */
57
111
  pageSizeOptions: {
58
112
  type: Array,
59
113
  default: () => [
@@ -64,18 +118,49 @@ var pagination_default = /* @__PURE__ */ defineComponent({
64
118
  50
65
119
  ]
66
120
  },
121
+ /**
122
+ * @zh 数据条数选择器的Props
123
+ * @en Props of data number selector
124
+ */
67
125
  pageSizeProps: { type: Object },
126
+ /**
127
+ * @zh 分页选择器的大小
128
+ * @en The size of the page selector
129
+ * @values 'mini', 'small', 'medium', 'large'
130
+ * @defaultValue 'medium'
131
+ */
68
132
  size: { type: String },
133
+ /**
134
+ * @zh 分页按钮的样式
135
+ * @en The style of the paging button
136
+ */
69
137
  pageItemStyle: { type: Object },
138
+ /**
139
+ * @zh 当前分页按钮的样式
140
+ * @en The style of the current paging button
141
+ */
70
142
  activePageItemStyle: { type: Object },
143
+ /**
144
+ * @zh 计算显示省略的基础个数。显示省略的个数为 `baseSize + 2 * bufferSize`
145
+ * @en Calculate and display the number of omitted bases. Display the omitted number as `baseSize + 2 * bufferSize`
146
+ */
71
147
  baseSize: {
72
148
  type: Number,
73
149
  default: 6
74
150
  },
151
+ /**
152
+ * @zh 显示省略号时,当前页码左右显示的页码个数
153
+ * @en When the ellipsis is displayed, the number of page numbers displayed on the left and right of the current page number
154
+ */
75
155
  bufferSize: {
76
156
  type: Number,
77
157
  default: 2
78
158
  },
159
+ /**
160
+ * @zh 是否在改变数据条数时调整页码
161
+ * @en Whether to adjust the page number when changing the number of data
162
+ * @version 2.34.0
163
+ */
79
164
  autoAdjust: {
80
165
  type: Boolean,
81
166
  default: true
@@ -84,9 +169,46 @@ var pagination_default = /* @__PURE__ */ defineComponent({
84
169
  emits: {
85
170
  "update:current": (_current) => true,
86
171
  "update:pageSize": (_pageSize) => true,
172
+ /**
173
+ * @zh 页码改变时触发
174
+ * @en Triggered when page number changes
175
+ * @param {number} current
176
+ */
87
177
  "change": (_current) => true,
178
+ /**
179
+ * @zh 数据条数改变时触发
180
+ * @en Triggered when the number of data items changes
181
+ * @param {number} pageSize
182
+ */
88
183
  "pageSizeChange": (_pageSize) => true
89
184
  },
185
+ /**
186
+ * @zh 分页按钮
187
+ * @en Page item
188
+ * @version 2.9.0
189
+ * @slot page-item
190
+ * @binding {number} page The page number of the paging button
191
+ */
192
+ /**
193
+ * @zh 分页按钮(步)
194
+ * @en Page item (step)
195
+ * @version 2.9.0
196
+ * @slot page-item-step
197
+ * @binding {'previous'|'next'} type The type of page item step
198
+ */
199
+ /**
200
+ * @zh 分页按钮(省略)
201
+ * @en Page item (ellipsis)
202
+ * @version 2.9.0
203
+ * @slot page-item-ellipsis
204
+ */
205
+ /**
206
+ * @zh 总数
207
+ * @en Total
208
+ * @version 2.9.0
209
+ * @slot total
210
+ * @binding {number} total
211
+ */
90
212
  setup(props, { emit, slots }) {
91
213
  const prefixCls = getPrefixCls("pagination");
92
214
  const { t } = useI18n();
@@ -582,13 +582,13 @@ declare const Popconfirm: {
582
582
  default: boolean;
583
583
  };
584
584
  contentClass: {
585
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
585
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
586
586
  };
587
587
  contentStyle: {
588
588
  type: import("vue").PropType<import("vue").CSSProperties>;
589
589
  };
590
590
  arrowClass: {
591
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
591
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
592
592
  };
593
593
  arrowStyle: {
594
594
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -646,7 +646,7 @@ declare const Popconfirm: {
646
646
  default: boolean;
647
647
  };
648
648
  openedClass: {
649
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
649
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
650
650
  };
651
651
  autoFitPosition: {
652
652
  type: BooleanConstructor;
@@ -669,8 +669,8 @@ declare const Popconfirm: {
669
669
  default: number;
670
670
  };
671
671
  }>> & Readonly<{
672
- onResize?: (() => any) | undefined;
673
672
  onHide?: (() => any) | undefined;
673
+ onResize?: (() => any) | undefined;
674
674
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
675
675
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
676
676
  onShow?: (() => any) | undefined;
@@ -773,13 +773,13 @@ declare const Popconfirm: {
773
773
  default: boolean;
774
774
  };
775
775
  contentClass: {
776
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
776
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
777
777
  };
778
778
  contentStyle: {
779
779
  type: import("vue").PropType<import("vue").CSSProperties>;
780
780
  };
781
781
  arrowClass: {
782
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
782
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
783
783
  };
784
784
  arrowStyle: {
785
785
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -837,7 +837,7 @@ declare const Popconfirm: {
837
837
  default: boolean;
838
838
  };
839
839
  openedClass: {
840
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
840
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
841
841
  };
842
842
  autoFitPosition: {
843
843
  type: BooleanConstructor;
@@ -860,8 +860,8 @@ declare const Popconfirm: {
860
860
  default: number;
861
861
  };
862
862
  }>> & Readonly<{
863
- onResize?: (() => any) | undefined;
864
863
  onHide?: (() => any) | undefined;
864
+ onResize?: (() => any) | undefined;
865
865
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
866
866
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
867
867
  onShow?: (() => any) | undefined;
@@ -955,13 +955,13 @@ declare const Popconfirm: {
955
955
  default: boolean;
956
956
  };
957
957
  contentClass: {
958
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
958
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
959
959
  };
960
960
  contentStyle: {
961
961
  type: import("vue").PropType<import("vue").CSSProperties>;
962
962
  };
963
963
  arrowClass: {
964
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
964
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
965
965
  };
966
966
  arrowStyle: {
967
967
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -1019,7 +1019,7 @@ declare const Popconfirm: {
1019
1019
  default: boolean;
1020
1020
  };
1021
1021
  openedClass: {
1022
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1022
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1023
1023
  };
1024
1024
  autoFitPosition: {
1025
1025
  type: BooleanConstructor;
@@ -1042,8 +1042,8 @@ declare const Popconfirm: {
1042
1042
  default: number;
1043
1043
  };
1044
1044
  }>> & Readonly<{
1045
- onResize?: (() => any) | undefined;
1046
1045
  onHide?: (() => any) | undefined;
1046
+ onResize?: (() => any) | undefined;
1047
1047
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1048
1048
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1049
1049
  onShow?: (() => any) | undefined;
@@ -2232,13 +2232,13 @@ declare const Popconfirm: {
2232
2232
  default: boolean;
2233
2233
  };
2234
2234
  contentClass: {
2235
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2235
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2236
2236
  };
2237
2237
  contentStyle: {
2238
2238
  type: import("vue").PropType<import("vue").CSSProperties>;
2239
2239
  };
2240
2240
  arrowClass: {
2241
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2241
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2242
2242
  };
2243
2243
  arrowStyle: {
2244
2244
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -2296,7 +2296,7 @@ declare const Popconfirm: {
2296
2296
  default: boolean;
2297
2297
  };
2298
2298
  openedClass: {
2299
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2299
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2300
2300
  };
2301
2301
  autoFitPosition: {
2302
2302
  type: BooleanConstructor;
@@ -2319,8 +2319,8 @@ declare const Popconfirm: {
2319
2319
  default: number;
2320
2320
  };
2321
2321
  }>> & Readonly<{
2322
- onResize?: (() => any) | undefined;
2323
2322
  onHide?: (() => any) | undefined;
2323
+ onResize?: (() => any) | undefined;
2324
2324
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2325
2325
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2326
2326
  onShow?: (() => any) | undefined;
@@ -2423,13 +2423,13 @@ declare const Popconfirm: {
2423
2423
  default: boolean;
2424
2424
  };
2425
2425
  contentClass: {
2426
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2426
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2427
2427
  };
2428
2428
  contentStyle: {
2429
2429
  type: import("vue").PropType<import("vue").CSSProperties>;
2430
2430
  };
2431
2431
  arrowClass: {
2432
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2432
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2433
2433
  };
2434
2434
  arrowStyle: {
2435
2435
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -2487,7 +2487,7 @@ declare const Popconfirm: {
2487
2487
  default: boolean;
2488
2488
  };
2489
2489
  openedClass: {
2490
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2490
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2491
2491
  };
2492
2492
  autoFitPosition: {
2493
2493
  type: BooleanConstructor;
@@ -2510,8 +2510,8 @@ declare const Popconfirm: {
2510
2510
  default: number;
2511
2511
  };
2512
2512
  }>> & Readonly<{
2513
- onResize?: (() => any) | undefined;
2514
2513
  onHide?: (() => any) | undefined;
2514
+ onResize?: (() => any) | undefined;
2515
2515
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2516
2516
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2517
2517
  onShow?: (() => any) | undefined;
@@ -2605,13 +2605,13 @@ declare const Popconfirm: {
2605
2605
  default: boolean;
2606
2606
  };
2607
2607
  contentClass: {
2608
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2608
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2609
2609
  };
2610
2610
  contentStyle: {
2611
2611
  type: import("vue").PropType<import("vue").CSSProperties>;
2612
2612
  };
2613
2613
  arrowClass: {
2614
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2614
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2615
2615
  };
2616
2616
  arrowStyle: {
2617
2617
  type: import("vue").PropType<import("vue").CSSProperties>;
@@ -2669,7 +2669,7 @@ declare const Popconfirm: {
2669
2669
  default: boolean;
2670
2670
  };
2671
2671
  openedClass: {
2672
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
2672
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
2673
2673
  };
2674
2674
  autoFitPosition: {
2675
2675
  type: BooleanConstructor;
@@ -2692,8 +2692,8 @@ declare const Popconfirm: {
2692
2692
  default: number;
2693
2693
  };
2694
2694
  }>> & Readonly<{
2695
- onResize?: (() => any) | undefined;
2696
2695
  onHide?: (() => any) | undefined;
2696
+ onResize?: (() => any) | undefined;
2697
2697
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
2698
2698
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
2699
2699
  onShow?: (() => any) | undefined;
@@ -636,13 +636,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
636
636
  default: boolean;
637
637
  };
638
638
  contentClass: {
639
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
639
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
640
640
  };
641
641
  contentStyle: {
642
642
  type: PropType<CSSProperties>;
643
643
  };
644
644
  arrowClass: {
645
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
645
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
646
646
  };
647
647
  arrowStyle: {
648
648
  type: PropType<CSSProperties>;
@@ -700,7 +700,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
700
700
  default: boolean;
701
701
  };
702
702
  openedClass: {
703
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
703
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
704
704
  };
705
705
  autoFitPosition: {
706
706
  type: BooleanConstructor;
@@ -723,8 +723,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
723
723
  default: number;
724
724
  };
725
725
  }>> & Readonly<{
726
- onResize?: (() => any) | undefined;
727
726
  onHide?: (() => any) | undefined;
727
+ onResize?: (() => any) | undefined;
728
728
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
729
729
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
730
730
  onShow?: (() => any) | undefined;
@@ -827,13 +827,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
827
827
  default: boolean;
828
828
  };
829
829
  contentClass: {
830
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
830
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
831
831
  };
832
832
  contentStyle: {
833
833
  type: PropType<CSSProperties>;
834
834
  };
835
835
  arrowClass: {
836
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
836
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
837
837
  };
838
838
  arrowStyle: {
839
839
  type: PropType<CSSProperties>;
@@ -891,7 +891,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
891
891
  default: boolean;
892
892
  };
893
893
  openedClass: {
894
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
894
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
895
895
  };
896
896
  autoFitPosition: {
897
897
  type: BooleanConstructor;
@@ -914,8 +914,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
914
914
  default: number;
915
915
  };
916
916
  }>> & Readonly<{
917
- onResize?: (() => any) | undefined;
918
917
  onHide?: (() => any) | undefined;
918
+ onResize?: (() => any) | undefined;
919
919
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
920
920
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
921
921
  onShow?: (() => any) | undefined;
@@ -1009,13 +1009,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1009
1009
  default: boolean;
1010
1010
  };
1011
1011
  contentClass: {
1012
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1012
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1013
1013
  };
1014
1014
  contentStyle: {
1015
1015
  type: PropType<CSSProperties>;
1016
1016
  };
1017
1017
  arrowClass: {
1018
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1018
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1019
1019
  };
1020
1020
  arrowStyle: {
1021
1021
  type: PropType<CSSProperties>;
@@ -1073,7 +1073,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1073
1073
  default: boolean;
1074
1074
  };
1075
1075
  openedClass: {
1076
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1076
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1077
1077
  };
1078
1078
  autoFitPosition: {
1079
1079
  type: BooleanConstructor;
@@ -1096,8 +1096,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1096
1096
  default: number;
1097
1097
  };
1098
1098
  }>> & Readonly<{
1099
- onResize?: (() => any) | undefined;
1100
1099
  onHide?: (() => any) | undefined;
1100
+ onResize?: (() => any) | undefined;
1101
1101
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1102
1102
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1103
1103
  onShow?: (() => any) | undefined;
@@ -4,7 +4,7 @@ import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
4
4
  import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
5
5
  import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
6
6
  import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
7
- import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/asyncToGenerator.js";
7
+ import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/asyncToGenerator.js";
8
8
  import Button from "../button/index.js";
9
9
  import { useI18n } from "../locale/index.js";
10
10
  import Trigger from "../trigger/index.js";
@@ -21,53 +21,147 @@ var popconfirm_vue_vue_type_script_lang_default = defineComponent({
21
21
  IconCloseCircleFill
22
22
  },
23
23
  props: {
24
+ /**
25
+ * @zh 内容
26
+ * @en Content
27
+ */
24
28
  content: String,
29
+ /**
30
+ * @zh 弹出位置
31
+ * @en Popup position
32
+ * @values 'top','tl','tr','bottom','bl','br','left','lt','lb','right','rt','rb'
33
+ */
25
34
  position: {
26
35
  type: String,
27
36
  default: "top"
28
37
  },
38
+ /**
39
+ * @zh 气泡确认框是否可见
40
+ * @en Whether the popconfirm is visible
41
+ * @vModel
42
+ */
29
43
  popupVisible: {
30
44
  type: Boolean,
31
45
  default: void 0
32
46
  },
47
+ /**
48
+ * @zh 气泡确认框默认是否可见(非受控模式)
49
+ * @en Whether the popconfirm is visible by default (uncontrolled mode)
50
+ */
33
51
  defaultPopupVisible: {
34
52
  type: Boolean,
35
53
  default: false
36
54
  },
55
+ /**
56
+ * @zh 气泡确认框的类型
57
+ * @en Types of the popconfirm
58
+ * @values 'info','success','warning','error'
59
+ */
37
60
  type: {
38
61
  type: String,
39
62
  default: "info"
40
63
  },
64
+ /**
65
+ * @zh 确认按钮的内容
66
+ * @en The content of the ok button
67
+ */
41
68
  okText: String,
69
+ /**
70
+ * @zh 取消按钮的内容
71
+ * @en The content of the cancel button
72
+ */
42
73
  cancelText: String,
74
+ /**
75
+ * @zh 确认按钮是否为加载中状态
76
+ * @en Whether the ok button is in the loading state
77
+ */
43
78
  okLoading: {
44
79
  type: Boolean,
45
80
  default: false
46
81
  },
82
+ /**
83
+ * @zh 确认按钮的Props
84
+ * @en Props of ok button
85
+ */
47
86
  okButtonProps: { type: Object },
87
+ /**
88
+ * @zh 取消按钮的Props
89
+ * @en Props of cancel button
90
+ */
48
91
  cancelButtonProps: { type: Object },
92
+ /**
93
+ * @zh 弹出框内容的类名
94
+ * @en The class name of the popup content
95
+ */
49
96
  contentClass: { type: [
50
97
  String,
51
98
  Array,
52
99
  Object
53
100
  ] },
101
+ /**
102
+ * @zh 弹出框内容的样式
103
+ * @en The style of the popup content
104
+ */
54
105
  contentStyle: { type: Object },
106
+ /**
107
+ * @zh 弹出框箭头的类名
108
+ * @en The class name of the popup arrow
109
+ */
55
110
  arrowClass: { type: [
56
111
  String,
57
112
  Array,
58
113
  Object
59
114
  ] },
115
+ /**
116
+ * @zh 弹出框箭头的样式
117
+ * @en The style of the popup arrow
118
+ */
60
119
  arrowStyle: { type: Object },
120
+ /**
121
+ * @zh 弹出框的挂载点
122
+ * @en Mount container for popup
123
+ */
61
124
  popupContainer: { type: [String, Object] },
125
+ /**
126
+ * @zh 触发 ok 事件前的回调函数。如果返回 false 则不会触发后续事件,也可使用 done 进行异步关闭。
127
+ * @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.
128
+ */
62
129
  onBeforeOk: { type: Function },
130
+ /**
131
+ * @zh 触发 cancel 事件前的回调函数。如果返回 false 则不会触发后续事件。
132
+ * @en The callback function before the cancel event is triggered. If it returns false, no subsequent events will be triggered.
133
+ */
63
134
  onBeforeCancel: { type: Function }
64
135
  },
65
136
  emits: {
66
137
  "update:popupVisible": (_visible) => true,
138
+ /**
139
+ * @zh 气泡确认框的显隐状态改变时触发
140
+ * @en Triggered when the visible or hidden state of the bubble confirmation box changes
141
+ * @param {boolean} visible
142
+ */
67
143
  "popupVisibleChange": (_visible) => true,
144
+ /**
145
+ * @zh 点击确认按钮时触发
146
+ * @en Triggered when the confirm button is clicked
147
+ */
68
148
  "ok": () => true,
149
+ /**
150
+ * @zh 点击取消按钮时触发
151
+ * @en Triggered when the cancel button is clicked
152
+ */
69
153
  "cancel": () => true
70
154
  },
155
+ /**
156
+ * @zh 内容
157
+ * @en Content
158
+ * @slot content
159
+ */
160
+ /**
161
+ * @zh 图标
162
+ * @en Icon
163
+ * @slot icon
164
+ */
71
165
  setup(props, { emit }) {
72
166
  const prefixCls = getPrefixCls("popconfirm");
73
167
  const { t } = useI18n();