@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
@@ -612,13 +612,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
612
612
  default: boolean;
613
613
  };
614
614
  contentClass: {
615
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
615
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
616
616
  };
617
617
  contentStyle: {
618
618
  type: PropType<CSSProperties>;
619
619
  };
620
620
  arrowClass: {
621
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
621
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
622
622
  };
623
623
  arrowStyle: {
624
624
  type: PropType<CSSProperties>;
@@ -676,7 +676,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
676
676
  default: boolean;
677
677
  };
678
678
  openedClass: {
679
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
679
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
680
680
  };
681
681
  autoFitPosition: {
682
682
  type: BooleanConstructor;
@@ -699,8 +699,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
699
699
  default: number;
700
700
  };
701
701
  }>> & Readonly<{
702
- onResize?: (() => any) | undefined;
703
702
  onHide?: (() => any) | undefined;
703
+ onResize?: (() => any) | undefined;
704
704
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
705
705
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
706
706
  onShow?: (() => any) | undefined;
@@ -803,13 +803,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
803
803
  default: boolean;
804
804
  };
805
805
  contentClass: {
806
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
806
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
807
807
  };
808
808
  contentStyle: {
809
809
  type: PropType<CSSProperties>;
810
810
  };
811
811
  arrowClass: {
812
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
812
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
813
813
  };
814
814
  arrowStyle: {
815
815
  type: PropType<CSSProperties>;
@@ -867,7 +867,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
867
867
  default: boolean;
868
868
  };
869
869
  openedClass: {
870
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
870
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
871
871
  };
872
872
  autoFitPosition: {
873
873
  type: BooleanConstructor;
@@ -890,8 +890,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
890
890
  default: number;
891
891
  };
892
892
  }>> & Readonly<{
893
- onResize?: (() => any) | undefined;
894
893
  onHide?: (() => any) | undefined;
894
+ onResize?: (() => any) | undefined;
895
895
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
896
896
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
897
897
  onShow?: (() => any) | undefined;
@@ -985,13 +985,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
985
985
  default: boolean;
986
986
  };
987
987
  contentClass: {
988
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
988
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
989
989
  };
990
990
  contentStyle: {
991
991
  type: PropType<CSSProperties>;
992
992
  };
993
993
  arrowClass: {
994
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
994
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
995
995
  };
996
996
  arrowStyle: {
997
997
  type: PropType<CSSProperties>;
@@ -1049,7 +1049,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1049
1049
  default: boolean;
1050
1050
  };
1051
1051
  openedClass: {
1052
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1052
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1053
1053
  };
1054
1054
  autoFitPosition: {
1055
1055
  type: BooleanConstructor;
@@ -1072,8 +1072,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1072
1072
  default: number;
1073
1073
  };
1074
1074
  }>> & Readonly<{
1075
- onResize?: (() => any) | undefined;
1076
1075
  onHide?: (() => any) | undefined;
1076
+ onResize?: (() => any) | undefined;
1077
1077
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1078
1078
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1079
1079
  onShow?: (() => any) | undefined;
@@ -1302,13 +1302,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1302
1302
  default: boolean;
1303
1303
  };
1304
1304
  contentClass: {
1305
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1305
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1306
1306
  };
1307
1307
  contentStyle: {
1308
1308
  type: PropType<CSSProperties>;
1309
1309
  };
1310
1310
  arrowClass: {
1311
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1311
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1312
1312
  };
1313
1313
  arrowStyle: {
1314
1314
  type: PropType<CSSProperties>;
@@ -1366,7 +1366,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1366
1366
  default: boolean;
1367
1367
  };
1368
1368
  openedClass: {
1369
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1369
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1370
1370
  };
1371
1371
  autoFitPosition: {
1372
1372
  type: BooleanConstructor;
@@ -1389,8 +1389,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1389
1389
  default: number;
1390
1390
  };
1391
1391
  }>> & Readonly<{
1392
- onResize?: (() => any) | undefined;
1393
1392
  onHide?: (() => any) | undefined;
1393
+ onResize?: (() => any) | undefined;
1394
1394
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1395
1395
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1396
1396
  onShow?: (() => any) | undefined;
@@ -1493,13 +1493,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1493
1493
  default: boolean;
1494
1494
  };
1495
1495
  contentClass: {
1496
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1496
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1497
1497
  };
1498
1498
  contentStyle: {
1499
1499
  type: PropType<CSSProperties>;
1500
1500
  };
1501
1501
  arrowClass: {
1502
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1502
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1503
1503
  };
1504
1504
  arrowStyle: {
1505
1505
  type: PropType<CSSProperties>;
@@ -1557,7 +1557,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1557
1557
  default: boolean;
1558
1558
  };
1559
1559
  openedClass: {
1560
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1560
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1561
1561
  };
1562
1562
  autoFitPosition: {
1563
1563
  type: BooleanConstructor;
@@ -1580,8 +1580,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1580
1580
  default: number;
1581
1581
  };
1582
1582
  }>> & Readonly<{
1583
- onResize?: (() => any) | undefined;
1584
1583
  onHide?: (() => any) | undefined;
1584
+ onResize?: (() => any) | undefined;
1585
1585
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1586
1586
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1587
1587
  onShow?: (() => any) | undefined;
@@ -1675,13 +1675,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1675
1675
  default: boolean;
1676
1676
  };
1677
1677
  contentClass: {
1678
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1678
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1679
1679
  };
1680
1680
  contentStyle: {
1681
1681
  type: PropType<CSSProperties>;
1682
1682
  };
1683
1683
  arrowClass: {
1684
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1684
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1685
1685
  };
1686
1686
  arrowStyle: {
1687
1687
  type: PropType<CSSProperties>;
@@ -1739,7 +1739,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1739
1739
  default: boolean;
1740
1740
  };
1741
1741
  openedClass: {
1742
- type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
1742
+ type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
1743
1743
  };
1744
1744
  autoFitPosition: {
1745
1745
  type: BooleanConstructor;
@@ -1762,8 +1762,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
1762
1762
  default: number;
1763
1763
  };
1764
1764
  }>> & Readonly<{
1765
- onResize?: (() => any) | undefined;
1766
1765
  onHide?: (() => any) | undefined;
1766
+ onResize?: (() => any) | undefined;
1767
1767
  "onUpdate:popupVisible"?: ((_visible: boolean) => any) | undefined;
1768
1768
  onPopupVisibleChange?: ((_visible: boolean) => any) | undefined;
1769
1769
  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 { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { off, on } from "../_utils/dom.js";
4
4
  import { throttleByRaf } from "../_utils/throttle-by-raf.js";
@@ -37,23 +37,48 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
37
37
  type: Boolean,
38
38
  default: true
39
39
  },
40
+ /**
41
+ * @zh 图片获取地址
42
+ * @en Image src
43
+ */
40
44
  src: { type: String },
45
+ /**
46
+ * @zh 是否可见
47
+ * @en Whether is visible
48
+ * @vModel
49
+ */
41
50
  visible: {
42
51
  type: Boolean,
43
52
  default: void 0
44
53
  },
54
+ /**
55
+ * @zh 默认是否可见,非受控
56
+ * @en Default visibility
57
+ */
45
58
  defaultVisible: {
46
59
  type: Boolean,
47
60
  default: false
48
61
  },
62
+ /**
63
+ * @zh 点击 mask 是否触发关闭
64
+ * @en Whether to close the modal when mask is clicked
65
+ */
49
66
  maskClosable: {
50
67
  type: Boolean,
51
68
  default: true
52
69
  },
70
+ /**
71
+ * @zh 是否显示关闭按钮
72
+ * @en Whether to show close button
73
+ */
53
74
  closable: {
54
75
  type: Boolean,
55
76
  default: true
56
77
  },
78
+ /**
79
+ * @zh 操作项的布局
80
+ * @en Layout of action list
81
+ */
57
82
  actionsLayout: {
58
83
  type: Array,
59
84
  default: () => [
@@ -65,6 +90,10 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
65
90
  "originalSize"
66
91
  ]
67
92
  },
93
+ /**
94
+ * @zh 设置弹出框的挂载点,同 `teleport` 的 `to`,缺省值是 document.body
95
+ * @en Set the mount point of the pop-up box, the same as the `to` of `teleport`, the default value is document.body
96
+ */
68
97
  popupContainer: { type: [Object, String] },
69
98
  inGroup: {
70
99
  type: Boolean,
@@ -74,28 +103,54 @@ var preview_vue_vue_type_script_lang_default = /* @__PURE__ */ defineComponent({
74
103
  type: Object,
75
104
  default: () => ({})
76
105
  },
106
+ /**
107
+ * @zh 是否支持 ESC 键关闭预览
108
+ * @en Whether to support the ESC key to close the preview
109
+ */
77
110
  escToClose: {
78
111
  type: Boolean,
79
112
  default: true
80
113
  },
114
+ /**
115
+ * @zh 是否开启滚轮缩放
116
+ * @en Whether to enable wheel zoom
117
+ */
81
118
  wheelZoom: {
82
119
  type: Boolean,
83
120
  default: true
84
121
  },
122
+ /**
123
+ * @zh 是否开启键盘控制
124
+ * @en Whether to enable keyboard shortcuts
125
+ */
85
126
  keyboard: {
86
127
  type: Boolean,
87
128
  default: true
88
129
  },
130
+ /**
131
+ * @zh 默认缩放比
132
+ * @en Default scale
133
+ */
89
134
  defaultScale: {
90
135
  type: Number,
91
136
  default: 1
92
137
  },
138
+ /**
139
+ * @zh 缩放速率,仅对滚动缩放生效
140
+ * @en Zoom rate, only for scroll zoom
141
+ */
93
142
  zoomRate: {
94
143
  type: Number,
95
144
  default: 1.1
96
145
  }
97
146
  },
98
147
  emits: ["close", "update:visible"],
148
+ /**
149
+ * @zh 自定义额外的操作项
150
+ * @en Customize additional action items
151
+ * @slot actions
152
+ * @version 2.17.0
153
+ */
99
154
  setup(props, { emit }) {
100
155
  const { t } = useI18n();
101
156
  const { src, popupContainer, visible, defaultVisible, maskClosable, actionsLayout, defaultScale, zoomRate } = toRefs(props);
package/es/index.css CHANGED
@@ -1253,12 +1253,10 @@ body {
1253
1253
  font-weight: 500;
1254
1254
  font-size: 12px;
1255
1255
  line-height: 22px;
1256
+ white-space: nowrap;
1256
1257
  vertical-align: middle;
1257
1258
  border: 1px solid transparent;
1258
1259
  border-radius: var(--border-radius-small);
1259
- overflow: hidden;
1260
- white-space: nowrap;
1261
- text-overflow: ellipsis;
1262
1260
  }
1263
1261
  .sd-tag .sd-icon-hover.sd-tag-icon-hover::before {
1264
1262
  width: 16px;
@@ -1313,9 +1311,18 @@ body {
1313
1311
  color: var(--color-text-2);
1314
1312
  }
1315
1313
  .sd-tag-text {
1316
- overflow: hidden;
1317
- white-space: nowrap;
1318
- text-overflow: ellipsis;
1314
+ min-width: 0;
1315
+ max-width: 100%;
1316
+ }
1317
+ .sd-tag-ellipsis-line-clamp {
1318
+ height: auto;
1319
+ }
1320
+ .sd-tag-no-ellipsis {
1321
+ min-width: fit-content;
1322
+ }
1323
+ .sd-tag-no-ellipsis .sd-tag-text {
1324
+ min-width: fit-content;
1325
+ max-width: none;
1319
1326
  }
1320
1327
  .sd-tag .sd-tag.sd-tag-checked.sd-tag-red {
1321
1328
  color: rgb(var(--red-6));
@@ -4258,6 +4265,82 @@ body {
4258
4265
  resize: vertical;
4259
4266
  }
4260
4267
 
4268
+ .sd-tag-group {
4269
+ position: relative;
4270
+ display: inline-flex;
4271
+ min-width: 0;
4272
+ max-width: 100%;
4273
+ vertical-align: middle;
4274
+ }
4275
+ .sd-tag-group-responsive {
4276
+ display: block;
4277
+ width: 100%;
4278
+ }
4279
+ .sd-tag-group-inner, .sd-tag-group-popover {
4280
+ display: inline-flex;
4281
+ gap: 4px;
4282
+ align-items: center;
4283
+ min-width: 0;
4284
+ margin: 0;
4285
+ padding: 0;
4286
+ list-style: none;
4287
+ }
4288
+ .sd-tag-group-responsive .sd-tag-group-inner {
4289
+ display: flex;
4290
+ width: 100%;
4291
+ }
4292
+ .sd-tag-group-popover {
4293
+ flex-wrap: wrap;
4294
+ max-width: 320px;
4295
+ }
4296
+ .sd-tag-group-item {
4297
+ display: inline-flex;
4298
+ flex: 0 1 auto;
4299
+ min-width: 0;
4300
+ max-width: 100%;
4301
+ }
4302
+ .sd-tag-group-item-counter > .sd-tag {
4303
+ cursor: pointer;
4304
+ }
4305
+ .sd-tag-group-item-content {
4306
+ max-width: 100%;
4307
+ }
4308
+ .sd-tag-group-counter-content {
4309
+ max-width: 100%;
4310
+ }
4311
+ .sd-tag-group-item-content-overflow {
4312
+ min-width: 0;
4313
+ }
4314
+ .sd-tag-group-item-content > .sd-tag, .sd-tag-group-counter-content > .sd-tag, .sd-tag-group-item-content > .sd-link, .sd-tag-group-counter-content > .sd-link, .sd-tag-group-item-content > a, .sd-tag-group-counter-content > a, .sd-tag-group-item-content > span, .sd-tag-group-counter-content > span {
4315
+ max-width: 100%;
4316
+ }
4317
+ .sd-tag-group-item-ellipsis {
4318
+ max-width: 100%;
4319
+ }
4320
+ .sd-tag-group-measure {
4321
+ position: absolute;
4322
+ top: 0;
4323
+ left: 0;
4324
+ z-index: -1;
4325
+ display: inline-flex;
4326
+ gap: 4px;
4327
+ align-items: center;
4328
+ height: 0;
4329
+ overflow: hidden;
4330
+ white-space: nowrap;
4331
+ visibility: hidden;
4332
+ pointer-events: none;
4333
+ }
4334
+ .sd-tag-group-measure .sd-tag-group-item {
4335
+ flex: 0 0 auto;
4336
+ max-width: none;
4337
+ }
4338
+ .sd-tag-group-resize-observer {
4339
+ position: absolute;
4340
+ inset: 0;
4341
+ pointer-events: none;
4342
+ }
4343
+
4261
4344
  .sd-icon-hover.sd-tabs-icon-hover::before {
4262
4345
  width: 16px;
4263
4346
  height: 16px;
@@ -7303,6 +7386,44 @@ body {
7303
7386
  border-top: 1px solid var(--color-fill-3);
7304
7387
  }
7305
7388
 
7389
+ .sd-secret {
7390
+ display: inline-flex;
7391
+ gap: 6px;
7392
+ align-items: center;
7393
+ min-width: 0;
7394
+ max-width: 100%;
7395
+ overflow: hidden;
7396
+ white-space: nowrap;
7397
+ }
7398
+ .sd-secret-content {
7399
+ flex: 1 1 auto;
7400
+ min-width: 0;
7401
+ }
7402
+ .sd-secret-placeholder {
7403
+ overflow: hidden;
7404
+ color: var(--color-text-3);
7405
+ white-space: nowrap;
7406
+ text-overflow: ellipsis;
7407
+ }
7408
+ .sd-secret-trigger {
7409
+ display: inline-flex;
7410
+ flex: none;
7411
+ align-items: center;
7412
+ justify-content: center;
7413
+ padding: 0;
7414
+ color: var(--color-text-3);
7415
+ background: transparent;
7416
+ border: 0;
7417
+ border-radius: var(--border-radius-small);
7418
+ cursor: pointer;
7419
+ }
7420
+ .sd-secret-trigger .sd-icon {
7421
+ font-size: 16px;
7422
+ }
7423
+ .sd-secret-trigger:hover {
7424
+ color: var(--color-text-1);
7425
+ }
7426
+
7306
7427
  .sd-scrollbar {
7307
7428
  position: relative;
7308
7429
  width: 100%;
@@ -9763,6 +9884,12 @@ body {
9763
9884
  font-size: 12px;
9764
9885
  vertical-align: middle;
9765
9886
  }
9887
+ .sd-link-content {
9888
+ min-width: 0;
9889
+ }
9890
+ .sd-link.sd-link-icon-only .sd-link-icon {
9891
+ margin-right: 0;
9892
+ }
9766
9893
 
9767
9894
  .sd-layout {
9768
9895
  display: flex;
@@ -14212,6 +14339,41 @@ body {
14212
14339
  color: rgb(var(--primary-6));
14213
14340
  }
14214
14341
 
14342
+ .sd-cropper {
14343
+ position: relative;
14344
+ display: block;
14345
+ width: var(--sd-cropper-width, 100%);
14346
+ min-width: 200px;
14347
+ height: var(--sd-cropper-height, 100%);
14348
+ min-height: 120px;
14349
+ overflow: hidden;
14350
+ background-color: var(--color-neutral-2);
14351
+ border: 1px solid var(--color-neutral-3);
14352
+ border-radius: 4px;
14353
+ }
14354
+ .sd-cropper-source-image {
14355
+ display: block;
14356
+ width: 100%;
14357
+ max-width: 100%;
14358
+ height: auto;
14359
+ opacity: 0;
14360
+ pointer-events: none;
14361
+ }
14362
+ .sd-cropper cropper-canvas {
14363
+ width: var(--sd-cropper-width, 100%);
14364
+ height: var(--sd-cropper-height, 100%);
14365
+ background-color: var(--color-neutral-2);
14366
+ }
14367
+ .sd-cropper cropper-image,
14368
+ .sd-cropper cropper-selection,
14369
+ .sd-cropper cropper-handle,
14370
+ .sd-cropper cropper-grid,
14371
+ .sd-cropper cropper-shade,
14372
+ .sd-cropper cropper-viewer,
14373
+ .sd-cropper cropper-crosshair {
14374
+ color: rgb(var(--primary-6));
14375
+ }
14376
+
14215
14377
  .sd-comment {
14216
14378
  display: flex;
14217
14379
  flex-wrap: nowrap;
@@ -14263,6 +14425,15 @@ body {
14263
14425
  justify-content: flex-end;
14264
14426
  }
14265
14427
 
14428
+ .sd-copy {
14429
+ border-radius: 2px;
14430
+ }
14431
+ .sd-copy.sd-copy-inherit {
14432
+ color: inherit;
14433
+ font: inherit;
14434
+ line-height: inherit;
14435
+ }
14436
+
14266
14437
  .sd-color-picker {
14267
14438
  display: inline-flex;
14268
14439
  align-items: center;
package/es/index.d.ts CHANGED
@@ -39,6 +39,10 @@ export { default as ConfigProvider } from './config-provider';
39
39
  export type { ConfigProviderInstance, SDThemeConfig, SDThemeMeta, SDThemeMode, ThemeTokenMap, ThemeTokenValue, } from './config-provider';
40
40
  export { default as ThemeProvider } from './theme-provider';
41
41
  export type { ThemeProviderInstance } from './theme-provider';
42
+ export { default as Copy } from './copy';
43
+ export type { CopyButtonProps, CopyComponentType, CopyInstance, CopyLinkProps, CopyProps, } from './copy';
44
+ export { default as Cropper } from './cropper';
45
+ export type { CropperCanvasProps, CropperExpose, CropperImageProps, CropperImageTransformDetail, CropperInstance, CropperProps, CropperSelectionChangeDetail, CropperSelectionProps, } from './cropper';
42
46
  export { default as DatePicker, MonthPicker, QuarterPicker, WeekPicker, YearPicker, RangePicker, } from './date-picker';
43
47
  export type { CalendarValue, DatePickerChangeHandler, DatePickerInstance, DatePickerOkHandler, DatePickerProps, DatePickerSelectHandler, DisabledDate, DisabledTime, DisabledTimeProps, FormatFunc, MonthPickerProps, MonthPickerInstance, PickerProps, QuarterPickerProps, QuarterPickerInstance, RangeDisabledDate, RangeDisabledTime, RangePickerChangeHandler, RangePickerInstance, RangePickerOkHandler, RangePickerProps, RangePickerSelectHandler, ShortcutType, ValueFormat, WeekPickerProps, WeekPickerInstance, YearPickerProps, YearPickerInstance, } from './date-picker';
44
48
  export { default as Descriptions, DescriptionsItem } from './descriptions';
@@ -69,7 +73,7 @@ export type { InputTagFieldNames, InputTagInstance, TagData } from './input-tag'
69
73
  export { default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, } from './layout';
70
74
  export type { LayoutContentInstance, LayoutFooterInstance, LayoutHeaderInstance, LayoutInstance, LayoutProps, LayoutSiderInstance, SiderProps, } from './layout';
71
75
  export { default as Link } from './link';
72
- export type { LinkInstance } from './link';
76
+ export type { LinkInstance, LinkProps } from './link';
73
77
  export { default as List, ListItem, ListItemMeta } from './list';
74
78
  export type { ListInstance, ListItemInstance, ListItemMetaInstance } from './list';
75
79
  export { default as Mention } from './mention';
@@ -104,6 +108,8 @@ export { default as Scrollbar } from './scrollbar';
104
108
  export type { ScrollbarElements, ScrollbarEventListener, ScrollbarEventListenerArgs, ScrollbarEventListeners, ScrollbarExpose, ScrollbarInstance, ScrollbarOptions, ScrollbarOptionsResolved, ScrollbarPlugin, ScrollbarProps, ScrollbarReadonlyOptions, ScrollbarState, ScrollbarType, ScrollbarUpdatedEvent, } from './scrollbar';
105
109
  export { default as Select, Optgroup, Option } from './select';
106
110
  export type { FilterOption, SelectFallbackOption, SelectFieldNames, SelectInstance, SelectOptGroupInstance, SelectOption, SelectOptionData, SelectOptionGroup, SelectOptionInstance, SelectProps, } from './select';
111
+ export { default as Secret } from './secret';
112
+ export type { SecretInstance } from './secret';
107
113
  export { default as Skeleton, SkeletonLine, SkeletonShape } from './skeleton';
108
114
  export type { SkeletonInstance, SkeletonLineInstance, SkeletonShapeInstance } from './skeleton';
109
115
  export { default as Slider } from './slider';
@@ -126,6 +132,8 @@ export { default as Tabs, TabPane } from './tabs';
126
132
  export type { ScrollPosition, TabPaneInstance, TabsInstance, TabsPosition, TabsType, TabTriggerEvent, } from './tabs';
127
133
  export { default as Tag } from './tag';
128
134
  export type { TagColor, TagInstance, TagProps } from './tag';
135
+ export { default as TagGroup } from './tag-group';
136
+ export type { TagGroupFieldNames, TagGroupInstance, TagGroupObjectOption, TagGroupOption, TagGroupOptionLabel, TagGroupProps, } from './tag-group';
129
137
  export { default as Textarea } from './textarea';
130
138
  export type { TextareaInstance } from './textarea';
131
139
  export { default as TimePicker } from './time-picker';
package/es/index.js CHANGED
@@ -53,6 +53,9 @@ import ColorPicker from "./color-picker/index.js";
53
53
  import Comment from "./comment/index.js";
54
54
  import ConfigProvider from "./config-provider/index.js";
55
55
  import Link from "./link/index.js";
56
+ import Message from "./message/index.js";
57
+ import Copy from "./copy/index.js";
58
+ import Cropper from "./cropper/index.js";
56
59
  import month_picker_default from "./date-picker/pickers/month-picker.js";
57
60
  import quarter_picker_default from "./date-picker/pickers/quarter-picker.js";
58
61
  import week_picker_default from "./date-picker/pickers/week-picker.js";
@@ -90,7 +93,6 @@ import item_default from "./menu/item.js";
90
93
  import item_group_default from "./menu/item-group.js";
91
94
  import sub_menu_default from "./menu/sub-menu.js";
92
95
  import Menu from "./menu/index.js";
93
- import Message from "./message/index.js";
94
96
  import Modal from "./modal/index.js";
95
97
  import Notification from "./notification/index.js";
96
98
  import OverflowList from "./overflow-list/index.js";
@@ -99,6 +101,7 @@ import Popconfirm from "./popconfirm/index.js";
99
101
  import Progress from "./progress/index.js";
100
102
  import Rate from "./rate/index.js";
101
103
  import Result from "./result/index.js";
104
+ import Secret from "./secret/index.js";
102
105
  import line_default from "./skeleton/line.js";
103
106
  import shape_default from "./skeleton/shape.js";
104
107
  import Skeleton from "./skeleton/index.js";
@@ -119,6 +122,7 @@ import table_column_default from "./table/table-column.js";
119
122
  import Table from "./table/index.js";
120
123
  import tab_pane_default from "./tabs/tab-pane.js";
121
124
  import Tabs from "./tabs/index.js";
125
+ import TagGroup from "./tag-group/index.js";
122
126
  import ThemeProvider from "./theme-provider/index.js";
123
127
  import TimePicker from "./time-picker/index.js";
124
128
  import item_default$1 from "./timeline/item.js";
@@ -134,4 +138,4 @@ import Upload from "./upload/index.js";
134
138
  import VerificationCode from "./verification-code/index.js";
135
139
  import Watermark from "./watermark/index.js";
136
140
  import SDVue from "./sd-vue.js";
137
- export { Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, countdown_default as Countdown, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification, optgroup_default as Optgroup, option_default as Option, OverflowList, PageHeader, Pagination, PerformantEllipsis, Popconfirm, Popover, Progress, quarter_picker_default as QuarterPicker, Radio, radio_group_default as RadioGroup, range_picker_default as RangePicker, Rate, ResizeBox, Result, grid_row_default as Row, Scrollbar, Select, Skeleton, line_default as SkeletonLine, shape_default as SkeletonShape, Slider, Space, Spin, Split, Statistic, step_default as Step, Steps, sub_menu_default as SubMenu, Switch, tab_pane_default as TabPane, Table, table_column_default as TableColumn, Tabs, Tag, table_tbody_default as Tbody, table_td_default as Td, Textarea, table_th_default as Th, table_thead_default as Thead, ThemeProvider, TimePicker, Timeline, item_default$1 as TimelineItem, Tooltip, table_tr_default as Tr, Transfer, Tree, TreeSelect, Trigger, Typography, paragraph_default as TypographyParagraph, text_default as TypographyText, title_default as TypographyTitle, Upload, VerificationCode, Watermark, week_picker_default as WeekPicker, year_picker_default as YearPicker, addI18nMessages, SDVue as default, getLocale, useFormItem, useLocale };
141
+ export { Affix, Alert, Anchor, anchor_link_default as AnchorLink, AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, breadcrumb_item_default as BreadcrumbItem, Button, button_group_default as ButtonGroup, Calendar, Card, card_grid_default as CardGrid, card_meta_default as CardMeta, Carousel, carousel_item_default as CarouselItem, Cascader, cascader_panel_default as CascaderPanel, Checkbox, checkbox_group_default as CheckboxGroup, grid_col_default as Col, Collapse, collapse_item_default as CollapseItem, ColorPicker, Comment, ConfigProvider, Copy, countdown_default as Countdown, Cropper, DatePicker, Descriptions, descriptions_item_default as DescriptionsItem, dropdown_group_default as Dgroup, Divider, dropdown_option_default as Doption, Drawer, Dropdown, dropdown_button_default as DropdownButton, dropdown_submenu_default as Dsubmenu, Ellipsis, Empty, Form, form_item_default as FormItem, Grid, grid_item_default as GridItem, Icon, Image, preview_default as ImagePreview, preview_action_default as ImagePreviewAction, preview_group_default as ImagePreviewGroup, Input, input_group_default as InputGroup, InputNumber, input_password_default as InputPassword, input_search_default as InputSearch, InputTag, Layout, content_default as LayoutContent, footer_default as LayoutFooter, header_default as LayoutHeader, sider_default as LayoutSider, Link, List, list_item_default as ListItem, list_item_meta_default as ListItemMeta, Mention, Menu, item_default as MenuItem, item_group_default as MenuItemGroup, Message, Modal, month_picker_default as MonthPicker, Notification, optgroup_default as Optgroup, option_default as Option, OverflowList, PageHeader, Pagination, PerformantEllipsis, Popconfirm, Popover, Progress, quarter_picker_default as QuarterPicker, Radio, radio_group_default as RadioGroup, range_picker_default as RangePicker, Rate, ResizeBox, Result, grid_row_default as Row, Scrollbar, Secret, Select, Skeleton, line_default as SkeletonLine, shape_default as SkeletonShape, Slider, Space, Spin, Split, Statistic, step_default as Step, Steps, sub_menu_default as SubMenu, Switch, tab_pane_default as TabPane, Table, table_column_default as TableColumn, Tabs, Tag, TagGroup, table_tbody_default as Tbody, table_td_default as Td, Textarea, table_th_default as Th, table_thead_default as Thead, ThemeProvider, TimePicker, Timeline, item_default$1 as TimelineItem, Tooltip, table_tr_default as Tr, Transfer, Tree, TreeSelect, Trigger, Typography, paragraph_default as TypographyParagraph, text_default as TypographyText, title_default as TypographyTitle, Upload, VerificationCode, Watermark, week_picker_default as WeekPicker, year_picker_default as YearPicker, addI18nMessages, SDVue as default, getLocale, useFormItem, useLocale };
package/es/index.scss CHANGED
@@ -16,6 +16,7 @@
16
16
  @use '@components/time-picker/style/index.scss' as *;
17
17
  @use '@components/textarea/style/index.scss' as *;
18
18
  @use '@components/tag/style/index.scss' as *;
19
+ @use '@components/tag-group/style/index.scss' as *;
19
20
  @use '@components/tabs/style/index.scss' as *;
20
21
  @use '@components/table/style/index.scss' as *;
21
22
  @use '@components/switch/style/index.scss' as *;
@@ -27,6 +28,7 @@
27
28
  @use '@components/slider/style/index.scss' as *;
28
29
  @use '@components/skeleton/style/index.scss' as *;
29
30
  @use '@components/select/style/index.scss' as *;
31
+ @use '@components/secret/style/index.scss' as *;
30
32
  @use '@components/scrollbar/style/index.scss' as *;
31
33
  @use '@components/result/style/index.scss' as *;
32
34
  @use '@components/resize-box/style/index.scss' as *;
@@ -59,7 +61,9 @@
59
61
  @use '@components/divider/style/index.scss' as *;
60
62
  @use '@components/descriptions/style/index.scss' as *;
61
63
  @use '@components/date-picker/style/index.scss' as *;
64
+ @use '@components/cropper/style/index.scss' as *;
62
65
  @use '@components/comment/style/index.scss' as *;
66
+ @use '@components/copy/style/index.scss' as *;
63
67
  @use '@components/color-picker/style/index.scss' as *;
64
68
  @use '@components/collapse/style/index.scss' as *;
65
69
  @use '@components/checkbox/style/index.scss' as *;