@sdata/web-vue 3.30.0 → 4.0.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 (740) hide show
  1. package/dist/sd.css +248 -23
  2. package/dist/sd.min.css +2 -2
  3. package/es/_components/auto-tooltip/auto-tooltip.js +3 -62
  4. package/es/_components/auto-tooltip/auto-tooltip.vue.d.ts +17 -0
  5. package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +66 -0
  6. package/es/_components/client-only.js +3 -16
  7. package/es/_components/client-only.vue.d.ts +13 -0
  8. package/es/_components/client-only.vue_vue_type_script_setup_true_lang.js +17 -0
  9. package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
  11. package/es/_components/input-label/input-label.js +3 -168
  12. package/es/_components/input-label/input-label.vue.d.ts +59 -0
  13. package/es/_components/input-label/input-label.vue_vue_type_script_setup_true_lang.js +192 -0
  14. package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
  16. package/es/_components/resize-observer.js +3 -44
  17. package/es/_components/resize-observer.vue.d.ts +17 -0
  18. package/es/_components/resize-observer.vue_vue_type_script_setup_true_lang.js +48 -0
  19. package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +2 -2
  20. package/es/_components/select-view/select-view.js +3 -231
  21. package/es/_components/select-view/select-view.vue.d.ts +76 -0
  22. package/es/_components/select-view/select-view.vue_vue_type_script_setup_true_lang.js +269 -0
  23. package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
  24. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +3 -3
  25. package/es/_hooks/use-scrollbar.js +1 -1
  26. package/es/_utils/array.js +1 -6
  27. package/es/_utils/color.js +4 -6
  28. package/es/_utils/date.js +2 -2
  29. package/es/_utils/global-config.js +1 -1
  30. package/es/_utils/omit.js +1 -1
  31. package/es/_utils/responsive-observe.js +1 -1
  32. package/es/_utils/virtual-dropdown.js +1 -1
  33. package/es/_utils/vue-utils.js +2 -1
  34. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/asyncToGenerator.js +1 -1
  35. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/defineProperty.js +1 -1
  36. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/extends.js +1 -1
  37. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
  38. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectSpread2.js +1 -1
  39. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectWithoutProperties.js +1 -1
  40. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  41. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/toPrimitive.js +1 -1
  42. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/toPropertyKey.js +1 -1
  43. package/es/_virtual/{_@oxc-project_runtime@0.139.0 → _@oxc-project_runtime@0.142.0}/helpers/esm/typeof.js +1 -1
  44. package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +3 -3
  45. package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +1 -1
  46. package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +1 -1
  47. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +3 -2
  48. package/es/auto-complete/auto-complete.js +3 -389
  49. package/es/auto-complete/auto-complete.vue.d.ts +693 -0
  50. package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +293 -0
  51. package/es/auto-complete/index.d.ts +1667 -79
  52. package/es/avatar/avatar-group.js +4 -96
  53. package/es/avatar/avatar-group.vue.d.ts +29 -0
  54. package/es/avatar/avatar-group.vue_vue_type_script_setup_true_lang.js +84 -0
  55. package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +1 -1
  56. package/es/avatar/index.d.ts +53 -51
  57. package/es/avatar/index.js +4 -4
  58. package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
  59. package/es/badge/badge.js +4 -149
  60. package/es/badge/badge.vue.d.ts +34 -0
  61. package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +97 -0
  62. package/es/badge/index.d.ts +36 -100
  63. package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +2 -2
  64. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
  65. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/es/border-beam/styles.js +1 -1
  67. package/es/breadcrumb/breadcrumb-item.js +3 -106
  68. package/es/breadcrumb/breadcrumb-item.vue.d.ts +25 -0
  69. package/es/breadcrumb/breadcrumb-item.vue_vue_type_script_setup_true_lang.js +89 -0
  70. package/es/breadcrumb/breadcrumb.js +3 -115
  71. package/es/breadcrumb/breadcrumb.vue.d.ts +29 -0
  72. package/es/breadcrumb/breadcrumb.vue_vue_type_script_setup_true_lang.js +98 -0
  73. package/es/breadcrumb/index.d.ts +72 -79
  74. package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  75. package/es/button/button.vue_vue_type_script_setup_true_lang.js +8 -6
  76. package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +4 -3
  77. package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +2 -2
  78. package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +3 -3
  79. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +2 -2
  80. package/es/card/card-actions.js +5 -0
  81. package/es/card/card-actions.vue.d.ts +7 -0
  82. package/es/card/card-actions.vue_vue_type_script_setup_true_lang.js +23 -0
  83. package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
  84. package/es/card/card-meta.js +3 -47
  85. package/es/card/card-meta.vue.d.ts +21 -0
  86. package/es/card/card-meta.vue_vue_type_script_setup_true_lang.js +54 -0
  87. package/es/card/card.js +3 -180
  88. package/es/card/card.vue.d.ts +40 -0
  89. package/es/card/card.vue_vue_type_script_setup_true_lang.js +116 -0
  90. package/es/card/context.d.ts +1 -2
  91. package/es/card/index.d.ts +67 -871
  92. package/es/card/index.js +1 -1
  93. package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  94. package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +1 -1
  95. package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +1 -1
  96. package/es/carousel/carousel.js +3 -289
  97. package/es/carousel/{carousel.d.ts → carousel.vue.d.ts} +8 -11
  98. package/es/carousel/carousel.vue_vue_type_script_setup_true_lang.js +229 -0
  99. package/es/carousel/index.d.ts +11 -17
  100. package/es/carousel/index.js +1 -1
  101. package/es/cascader/base-cascader-panel.js +3 -70
  102. package/es/cascader/{base-cascader-panel.d.ts → base-cascader-panel.vue.d.ts} +20 -11
  103. package/es/cascader/base-cascader-panel.vue_vue_type_script_setup_true_lang.js +85 -0
  104. package/es/cascader/cascader-column.js +3 -75
  105. package/es/cascader/{cascader-column.d.ts → cascader-column.vue.d.ts} +18 -11
  106. package/es/cascader/cascader-column.vue_vue_type_script_setup_true_lang.js +103 -0
  107. package/es/cascader/cascader-option.js +3 -141
  108. package/es/cascader/{cascader-option.d.ts → cascader-option.vue.d.ts} +4 -3
  109. package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +171 -0
  110. package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +4 -3
  111. package/es/cascader/cascader-search-panel.js +3 -58
  112. package/es/cascader/{cascader-search-panel.d.ts → cascader-search-panel.vue.d.ts} +15 -4
  113. package/es/cascader/cascader-search-panel.vue_vue_type_script_setup_true_lang.js +71 -0
  114. package/es/cascader/cascader.vue.d.ts +3 -1
  115. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +17 -13
  116. package/es/checkbox/checkbox-group.js +3 -139
  117. package/es/checkbox/checkbox-group.vue.d.ts +41 -0
  118. package/es/checkbox/checkbox-group.vue_vue_type_script_setup_true_lang.js +100 -0
  119. package/es/checkbox/checkbox.js +3 -195
  120. package/es/checkbox/checkbox.vue.d.ts +39 -0
  121. package/es/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +165 -0
  122. package/es/checkbox/icon-check.js +3 -18
  123. package/es/checkbox/icon-check.vue.d.ts +3 -0
  124. package/es/checkbox/icon-check.vue_vue_type_script_setup_true_lang.js +24 -0
  125. package/es/checkbox/index.d.ts +102 -294
  126. package/es/collapse/collapse-item.js +3 -177
  127. package/es/collapse/collapse-item.vue.d.ts +30 -0
  128. package/es/collapse/collapse-item.vue_vue_type_script_setup_true_lang.js +168 -0
  129. package/es/collapse/collapse.vue.d.ts +1 -1
  130. package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
  131. package/es/collapse/index.d.ts +50 -155
  132. package/es/collapse/style/index.css +1 -0
  133. package/es/collapse/style/index.scss +1 -0
  134. package/es/color-picker/color-picker.js +3 -293
  135. package/es/color-picker/{color-picker.d.ts → color-picker.vue.d.ts} +25 -14
  136. package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +256 -0
  137. package/es/color-picker/control-bar.js +3 -54
  138. package/es/color-picker/{control-bar.d.ts → control-bar.vue.d.ts} +5 -4
  139. package/es/color-picker/control-bar.vue_vue_type_script_setup_true_lang.js +68 -0
  140. package/es/color-picker/gradient-thumb.js +5 -0
  141. package/es/color-picker/gradient-thumb.vue.d.ts +13 -0
  142. package/es/color-picker/gradient-thumb.vue_vue_type_script_setup_true_lang.js +69 -0
  143. package/es/color-picker/index.d.ts +37 -32
  144. package/es/color-picker/palette.js +3 -43
  145. package/es/color-picker/palette.vue.d.ts +17 -0
  146. package/es/color-picker/palette.vue_vue_type_script_setup_true_lang.js +51 -0
  147. package/es/color-picker/panel.js +3 -475
  148. package/es/color-picker/{panel.d.ts → panel.vue.d.ts} +5 -4
  149. package/es/color-picker/panel.vue_vue_type_script_setup_true_lang.js +453 -0
  150. package/es/color-picker/utils.js +12 -10
  151. package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +1 -1
  152. package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  153. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  154. package/es/config-provider/theme.js +1 -1
  155. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
  156. package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
  157. package/es/date-picker/hooks/use-range-header-value.js +2 -2
  158. package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
  159. package/es/date-picker/hooks/use-time-picker-value.js +10 -8
  160. package/es/date-picker/index.d.ts +238 -122
  161. package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +1 -1
  162. package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +2 -2
  163. package/es/date-picker/panels/footer.vue_vue_type_script_setup_true_lang.js +1 -1
  164. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
  165. package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +1 -1
  166. package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +1 -1
  167. package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +1 -1
  168. package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +1 -1
  169. package/es/date-picker/panels/week-list.vue_vue_type_script_setup_true_lang.js +1 -1
  170. package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +2 -2
  171. package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  172. package/es/date-picker/picker.vue.d.ts +1 -1
  173. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +3 -3
  174. package/es/date-picker/pickers/date-picker.js +3 -93
  175. package/es/date-picker/pickers/{date-picker.d.ts → date-picker.vue.d.ts} +26 -35
  176. package/es/date-picker/pickers/date-picker.vue_vue_type_script_setup_true_lang.js +107 -0
  177. package/es/date-picker/pickers/month-picker.js +3 -37
  178. package/es/date-picker/pickers/month-picker.vue.d.ts +38 -0
  179. package/es/date-picker/pickers/month-picker.vue_vue_type_script_setup_true_lang.js +51 -0
  180. package/es/date-picker/pickers/quarter-picker.js +3 -46
  181. package/es/date-picker/pickers/{quarter-picker.d.ts → quarter-picker.vue.d.ts} +14 -3
  182. package/es/date-picker/pickers/quarter-picker.vue_vue_type_script_setup_true_lang.js +60 -0
  183. package/es/date-picker/pickers/week-picker.js +3 -56
  184. package/es/date-picker/pickers/{week-picker.d.ts → week-picker.vue.d.ts} +15 -4
  185. package/es/date-picker/pickers/week-picker.vue_vue_type_script_setup_true_lang.js +70 -0
  186. package/es/date-picker/pickers/year-picker.js +3 -37
  187. package/es/date-picker/pickers/year-picker.vue.d.ts +38 -0
  188. package/es/date-picker/pickers/year-picker.vue_vue_type_script_setup_true_lang.js +51 -0
  189. package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  190. package/es/date-picker/range-picker.vue.d.ts +1 -1
  191. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +3 -3
  192. package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
  193. package/es/descriptions/descriptions.js +3 -232
  194. package/es/descriptions/{descriptions.d.ts → descriptions.vue.d.ts} +22 -23
  195. package/es/descriptions/descriptions.vue_vue_type_script_setup_true_lang.js +209 -0
  196. package/es/descriptions/index.d.ts +18 -32
  197. package/es/descriptions/index.js +1 -1
  198. package/es/divider/divider.js +3 -71
  199. package/es/divider/divider.vue.d.ts +21 -0
  200. package/es/divider/divider.vue_vue_type_script_setup_true_lang.js +47 -0
  201. package/es/divider/index.d.ts +25 -66
  202. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +3 -3
  203. package/es/drawer/index.js +2 -2
  204. package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
  205. package/es/dropdown/dropdown-group.vue_vue_type_script_setup_true_lang.js +1 -1
  206. package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +1 -1
  207. package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -2
  208. package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
  209. package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  210. package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +3 -3
  211. package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
  212. package/es/empty/empty.js +3 -49
  213. package/es/empty/empty.vue.d.ts +18 -0
  214. package/es/empty/empty.vue_vue_type_script_setup_true_lang.js +44 -0
  215. package/es/empty/index.d.ts +20 -36
  216. package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +2 -2
  217. package/es/file-previewer/pdfjs-worker.min.mjs +4 -4
  218. package/es/file-previewer/use-pdf-js.js +2 -2
  219. package/es/form/form-item-label.vue_vue_type_script_setup_true_lang.js +1 -1
  220. package/es/form/form-item-message.vue_vue_type_script_setup_true_lang.js +1 -1
  221. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +31 -30
  222. package/es/form/form.vue_vue_type_script_setup_true_lang.js +1 -1
  223. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +4 -3
  224. package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
  225. package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +3 -2
  226. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
  227. package/es/grid/style/col.scss +29 -41
  228. package/es/grid/style/index.css +237 -0
  229. package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +1 -1
  230. package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  231. package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +1 -1
  232. package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +1 -1
  233. package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +1 -1
  234. package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +1 -1
  235. package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
  236. package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  237. package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +1 -1
  238. package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +1 -1
  239. package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  240. package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +1 -1
  241. package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +1 -1
  242. package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +1 -1
  243. package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +1 -1
  244. package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +1 -1
  245. package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +1 -1
  246. package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +1 -1
  247. package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +1 -1
  248. package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +1 -1
  249. package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +1 -1
  250. package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  251. package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +1 -1
  252. package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +1 -1
  253. package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  254. package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  255. package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  256. package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +1 -1
  257. package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +1 -1
  258. package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +1 -1
  259. package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +1 -1
  260. package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +1 -1
  261. package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +1 -1
  262. package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +1 -1
  263. package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +1 -1
  264. package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +1 -1
  265. package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  266. package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +1 -1
  267. package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +1 -1
  268. package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +1 -1
  269. package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +1 -1
  270. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +1 -1
  271. package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +1 -1
  272. package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +1 -1
  273. package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +1 -1
  274. package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +1 -1
  275. package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +1 -1
  276. package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +1 -1
  277. package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +1 -1
  278. package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +1 -1
  279. package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  280. package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +1 -1
  281. package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +1 -1
  282. package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +1 -1
  283. package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +1 -1
  284. package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +1 -1
  285. package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +1 -1
  286. package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  287. package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_setup_true_lang.js +1 -1
  288. package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
  289. package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
  290. package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +1 -1
  291. package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +1 -1
  292. package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +1 -1
  293. package/es/icon-component/add-from-icon-font-cn.d.ts +8 -13
  294. package/es/icon-component/add-from-icon-font-cn.js +13 -22
  295. package/es/icon-component/icon-font.js +5 -0
  296. package/es/icon-component/icon-font.vue.d.ts +35 -0
  297. package/es/icon-component/icon-font.vue_vue_type_script_setup_true_lang.js +38 -0
  298. package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +1 -1
  299. package/es/icon-component/index.d.ts +1 -13
  300. package/es/icon.js +5 -5
  301. package/es/image/hooks/use-image-drag.js +3 -1
  302. package/es/image/image-footer.vue_vue_type_script_setup_true_lang.js +1 -1
  303. package/es/image/image.vue_vue_type_script_setup_true_lang.js +2 -2
  304. package/es/image/index.d.ts +1 -1
  305. package/es/image/preview-action.js +3 -47
  306. package/es/image/preview-action.vue.d.ts +29 -0
  307. package/es/image/preview-action.vue_vue_type_script_setup_true_lang.js +55 -0
  308. package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  309. package/es/image/preview-group.vue_vue_type_script_setup_true_lang.js +1 -1
  310. package/es/image/preview-toolbar.vue.d.ts +2 -2
  311. package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +3 -3
  312. package/es/image/preview.vue_vue_type_script_setup_true_lang.js +33 -23
  313. package/es/index.css +248 -23
  314. package/es/index.d.ts +0 -2
  315. package/es/index.js +13 -14
  316. package/es/index.scss +0 -1
  317. package/es/input/index.d.ts +1770 -136
  318. package/es/input/index.js +1 -1
  319. package/es/input/input-group.vue_vue_type_script_setup_true_lang.js +1 -1
  320. package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +3 -3
  321. package/es/input/input-search.js +3 -140
  322. package/es/input/input-search.vue.d.ts +620 -0
  323. package/es/input/input-search.vue_vue_type_script_setup_true_lang.js +168 -0
  324. package/es/input/input.js +3 -487
  325. package/es/input/{input.d.ts → input.vue.d.ts} +42 -43
  326. package/es/input/input.vue_vue_type_script_setup_true_lang.js +377 -0
  327. package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +1 -1
  328. package/es/input-mask/mask-engine.js +4 -4
  329. package/es/input-mask/presets.js +1 -1
  330. package/es/input-number/index.d.ts +1670 -106
  331. package/es/input-number/input-number.js +3 -529
  332. package/es/input-number/input-number.vue.d.ts +708 -0
  333. package/es/input-number/input-number.vue_vue_type_script_setup_true_lang.js +384 -0
  334. package/es/input-tag/index.d.ts +76 -92
  335. package/es/input-tag/input-tag.js +3 -672
  336. package/es/input-tag/{input-tag.d.ts → input-tag.vue.d.ts} +52 -49
  337. package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +585 -0
  338. package/es/input-tag/utils.js +1 -1
  339. package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -1
  340. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  341. package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +1 -1
  342. package/es/json-form/utils.js +4 -4
  343. package/es/kv-list/index.d.ts +34 -34
  344. package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +1 -1
  345. package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +1 -1
  346. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +1 -1
  347. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +1 -1
  349. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +4 -3
  350. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +1 -1
  351. package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
  352. package/es/list/index.d.ts +2619 -93
  353. package/es/list/index.js +2 -2
  354. package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
  355. package/es/list/list-item.js +3 -54
  356. package/es/list/list-item.vue.d.ts +22 -0
  357. package/es/list/list-item.vue_vue_type_script_setup_true_lang.js +58 -0
  358. package/es/list/list.js +3 -383
  359. package/es/list/list.vue.d.ts +980 -0
  360. package/es/list/list.vue_vue_type_script_setup_true_lang.js +326 -0
  361. package/es/mention/index.d.ts +3234 -58
  362. package/es/mention/mention.js +3 -437
  363. package/es/mention/mention.vue.d.ts +1210 -0
  364. package/es/mention/mention.vue_vue_type_script_setup_true_lang.js +376 -0
  365. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +5 -4
  366. package/es/menu/hooks/use-level.js +2 -1
  367. package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +3 -2
  368. package/es/menu/index.d.ts +3 -3
  369. package/es/menu/index.js +1 -1
  370. package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +3 -2
  371. package/es/menu/item.js +3 -127
  372. package/es/menu/{item.d.ts → item.vue.d.ts} +25 -4
  373. package/es/menu/item.vue_vue_type_script_setup_true_lang.js +147 -0
  374. package/es/menu/menu.js +3 -57
  375. package/es/menu/menu.vue.d.ts +66 -0
  376. package/es/menu/menu.vue_vue_type_script_setup_true_lang.js +78 -0
  377. package/es/menu/overflow-wrap.js +3 -97
  378. package/es/menu/overflow-wrap.vue.d.ts +3 -0
  379. package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +114 -0
  380. package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +2 -2
  381. package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +2 -2
  382. package/es/menu/sub-menu.js +3 -115
  383. package/es/menu/{sub-menu.d.ts → sub-menu.vue.d.ts} +27 -30
  384. package/es/menu/sub-menu.vue_vue_type_script_setup_true_lang.js +110 -0
  385. package/es/message/index.js +1 -1
  386. package/es/message/message-list.js +3 -45
  387. package/es/message/{message-list.d.ts → message-list.vue.d.ts} +9 -7
  388. package/es/message/message-list.vue_vue_type_script_setup_true_lang.js +64 -0
  389. package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
  390. package/es/modal/index.js +3 -3
  391. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +3 -3
  392. package/es/model-selector/model-selector-content.vue_vue_type_script_setup_true_lang.js +1 -1
  393. package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +1 -1
  394. package/es/model-selector/model-selector-empty.vue_vue_type_script_setup_true_lang.js +1 -1
  395. package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +1 -1
  396. package/es/model-selector/model-selector-input.vue_vue_type_script_setup_true_lang.js +1 -1
  397. package/es/model-selector/model-selector-item.vue_vue_type_script_setup_true_lang.js +1 -1
  398. package/es/model-selector/model-selector-list.vue_vue_type_script_setup_true_lang.js +1 -1
  399. package/es/model-selector/model-selector-logo-group.vue_vue_type_script_setup_true_lang.js +1 -1
  400. package/es/model-selector/model-selector-logo.vue_vue_type_script_setup_true_lang.js +1 -1
  401. package/es/model-selector/model-selector-name.vue_vue_type_script_setup_true_lang.js +1 -1
  402. package/es/model-selector/model-selector-separator.vue_vue_type_script_setup_true_lang.js +1 -1
  403. package/es/model-selector/model-selector-shortcut.vue_vue_type_script_setup_true_lang.js +1 -1
  404. package/es/model-selector/model-selector-trigger-element.js +5 -0
  405. package/es/model-selector/model-selector-trigger-element.vue.d.ts +7 -0
  406. package/es/model-selector/model-selector-trigger-element.vue_vue_type_script_lang.js +18 -0
  407. package/es/model-selector/model-selector-trigger.vue_vue_type_script_setup_true_lang.js +4 -17
  408. package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +1 -1
  409. package/es/notification/index.js +1 -1
  410. package/es/notification/notification-list.js +3 -58
  411. package/es/notification/notification-list.vue.d.ts +34 -0
  412. package/es/notification/notification-list.vue_vue_type_script_setup_true_lang.js +96 -0
  413. package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
  414. package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +1 -1
  415. package/es/pagination/index.d.ts +45 -49
  416. package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
  417. package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +1 -1
  418. package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +1 -1
  419. package/es/pagination/page-jumper.vue_vue_type_script_setup_true_lang.js +1 -1
  420. package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +1 -1
  421. package/es/pagination/pagination.js +3 -463
  422. package/es/pagination/{pagination.d.ts → pagination.vue.d.ts} +42 -31
  423. package/es/pagination/pagination.vue_vue_type_script_setup_true_lang.js +454 -0
  424. package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +2 -2
  425. package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  426. package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +1 -1
  427. package/es/progress/line.vue_vue_type_script_setup_true_lang.js +1 -1
  428. package/es/progress/progress.vue_vue_type_script_setup_true_lang.js +1 -1
  429. package/es/progress/steps.vue_vue_type_script_setup_true_lang.js +1 -1
  430. package/es/qr-code/index.d.ts +18 -33
  431. package/es/qr-code/qr-code.vue.d.ts +6 -11
  432. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +4 -3
  433. package/es/radio/index.d.ts +111 -289
  434. package/es/radio/radio-group.js +3 -168
  435. package/es/radio/radio-group.vue.d.ts +45 -0
  436. package/es/radio/radio-group.vue_vue_type_script_setup_true_lang.js +129 -0
  437. package/es/radio/radio.js +3 -172
  438. package/es/radio/radio.vue.d.ts +40 -0
  439. package/es/radio/radio.vue_vue_type_script_setup_true_lang.js +152 -0
  440. package/es/rate/index.d.ts +17 -11
  441. package/es/rate/rate.js +3 -269
  442. package/es/rate/{rate.d.ts → rate.vue.d.ts} +18 -6
  443. package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +220 -0
  444. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +1 -3
  445. package/es/result/403.js +3 -481
  446. package/es/result/403.vue.d.ts +3 -0
  447. package/es/result/403.vue_vue_type_script_setup_true_lang.js +24 -0
  448. package/es/result/404.js +3 -335
  449. package/es/result/404.vue.d.ts +3 -0
  450. package/es/result/404.vue_vue_type_script_setup_true_lang.js +24 -0
  451. package/es/result/500.js +3 -344
  452. package/es/result/500.vue.d.ts +3 -0
  453. package/es/result/500.vue_vue_type_script_setup_true_lang.js +19 -0
  454. package/es/result/result.vue_vue_type_script_setup_true_lang.js +2 -2
  455. package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
  456. package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +2 -2
  457. package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +4 -4
  458. package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +2 -2
  459. package/es/sd-vue.js +14 -16
  460. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +2 -2
  461. package/es/select/hooks/use-options.js +1 -1
  462. package/es/select/index.d.ts +93 -2299
  463. package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  464. package/es/select/select.js +3 -684
  465. package/es/select/select.vue.d.ts +450 -0
  466. package/es/select/select.vue_vue_type_script_setup_true_lang.js +774 -0
  467. package/es/select/utils.js +1 -1
  468. package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
  469. package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +1 -1
  470. package/es/sender/sender-recording-icon.js +5 -0
  471. package/es/sender/sender-recording-icon.vue.d.ts +3 -0
  472. package/es/sender/sender-recording-icon.vue_vue_type_script_setup_true_lang.js +38 -0
  473. package/es/sender/sender-skill-tag.js +5 -0
  474. package/es/sender/sender-skill-tag.vue.d.ts +28 -0
  475. package/es/sender/sender-skill-tag.vue_vue_type_script_setup_true_lang.js +59 -0
  476. package/es/sender/sender-stop-loading-icon.js +5 -0
  477. package/es/sender/sender-stop-loading-icon.vue.d.ts +3 -0
  478. package/es/sender/sender-stop-loading-icon.vue_vue_type_script_setup_true_lang.js +54 -0
  479. package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +1 -1
  480. package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +8 -109
  481. package/es/sender/use-recorder.js +2 -1
  482. package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +1 -1
  483. package/es/skeleton/shape.vue_vue_type_script_setup_true_lang.js +1 -1
  484. package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +1 -1
  485. package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +5 -2
  486. package/es/slider/slider-dots.vue_vue_type_script_setup_true_lang.js +1 -1
  487. package/es/slider/slider-input.vue_vue_type_script_setup_true_lang.js +1 -1
  488. package/es/slider/slider-marks.vue_vue_type_script_setup_true_lang.js +1 -1
  489. package/es/slider/slider-ticks.vue_vue_type_script_setup_true_lang.js +1 -1
  490. package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +1 -1
  491. package/es/slider/utils.js +1 -2
  492. package/es/space/index.d.ts +26 -72
  493. package/es/space/space.js +3 -101
  494. package/es/space/space.vue.d.ts +22 -0
  495. package/es/space/space.vue_vue_type_script_setup_true_lang.js +84 -0
  496. package/es/spin/dot-loading.js +3 -28
  497. package/es/spin/dot-loading.vue.d.ts +6 -0
  498. package/es/spin/dot-loading.vue_vue_type_script_setup_true_lang.js +33 -0
  499. package/es/spin/index.d.ts +37 -60
  500. package/es/spin/spin.js +3 -153
  501. package/es/spin/spin.vue.d.ts +27 -0
  502. package/es/spin/spin.vue_vue_type_script_setup_true_lang.js +139 -0
  503. package/es/split/split.vue_vue_type_script_setup_true_lang.js +2 -2
  504. package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
  505. package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
  506. package/es/statistic/utils.js +5 -5
  507. package/es/steps/step.vue_vue_type_script_setup_true_lang.js +1 -1
  508. package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
  509. package/es/style/theme/z-index.js +3 -3
  510. package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +2 -2
  511. package/es/table/hooks/use-row-selection.js +1 -1
  512. package/es/table/index.d.ts +449 -362
  513. package/es/table/index.js +1 -1
  514. package/es/table/table-column.js +3 -254
  515. package/es/table/table-column.vue.d.ts +75 -0
  516. package/es/table/table-column.vue_vue_type_script_setup_true_lang.js +194 -0
  517. package/es/table/table-operation-td.js +3 -130
  518. package/es/table/table-operation-td.vue.d.ts +87 -0
  519. package/es/table/table-operation-td.vue_vue_type_script_setup_true_lang.js +114 -0
  520. package/es/table/table-operation-th.js +3 -73
  521. package/es/table/{table-operation-th.d.ts → table-operation-th.vue.d.ts} +5 -4
  522. package/es/table/table-operation-th.vue_vue_type_script_setup_true_lang.js +86 -0
  523. package/es/table/table-tbody.js +3 -16
  524. package/es/table/table-tbody.vue.d.ts +14 -0
  525. package/es/table/table-tbody.vue_vue_type_script_setup_true_lang.js +23 -0
  526. package/es/table/table-td.js +3 -192
  527. package/es/table/{table-td.d.ts → table-td.vue.d.ts} +26 -12
  528. package/es/table/table-td.vue_vue_type_script_setup_true_lang.js +218 -0
  529. package/es/table/table-th.js +3 -225
  530. package/es/table/{table-th.d.ts → table-th.vue.d.ts} +17 -6
  531. package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +268 -0
  532. package/es/table/table-thead.js +3 -16
  533. package/es/table/table-thead.vue.d.ts +14 -0
  534. package/es/table/table-thead.vue_vue_type_script_setup_true_lang.js +23 -0
  535. package/es/table/table-tr.js +3 -34
  536. package/es/table/table-tr.vue.d.ts +30 -0
  537. package/es/table/table-tr.vue_vue_type_script_setup_true_lang.js +48 -0
  538. package/es/table/table.js +3 -1637
  539. package/es/table/{table.d.ts → table.vue.d.ts} +41 -56
  540. package/es/table/table.vue_vue_type_script_setup_true_lang.js +1568 -0
  541. package/es/table/utils.js +1 -1
  542. package/es/tabs/index.d.ts +32 -33
  543. package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +1 -1
  544. package/es/tabs/tabs-button.js +3 -58
  545. package/es/tabs/{tabs-button.d.ts → tabs-button.vue.d.ts} +6 -3
  546. package/es/tabs/tabs-button.vue_vue_type_script_setup_true_lang.js +54 -0
  547. package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
  548. package/es/tabs/tabs-nav.js +3 -297
  549. package/es/tabs/{tabs-nav.d.ts → tabs-nav.vue.d.ts} +23 -13
  550. package/es/tabs/tabs-nav.vue_vue_type_script_setup_true_lang.js +332 -0
  551. package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
  552. package/es/tabs/tabs.js +3 -325
  553. package/es/tabs/{tabs.d.ts → tabs.vue.d.ts} +25 -18
  554. package/es/tabs/tabs.vue_vue_type_script_setup_true_lang.js +237 -0
  555. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
  556. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
  557. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +4 -3
  558. package/es/thinking-orb/engine/lattice.js +1 -1
  559. package/es/thinking-orb/engine/morph.js +1 -1
  560. package/es/thinking-orb/engine/profiles.js +1 -1
  561. package/es/thinking-orb/presets.js +1 -1
  562. package/es/thinking-orb/thinking-orb.vue_vue_type_script_setup_true_lang.js +1 -1
  563. package/es/time-picker/hooks/use-time-state.js +4 -2
  564. package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +2 -2
  565. package/es/time-picker/range-panel.js +3 -56
  566. package/es/time-picker/range-panel.vue.d.ts +44 -0
  567. package/es/time-picker/range-panel.vue_vue_type_script_setup_true_lang.js +65 -0
  568. package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
  569. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  570. package/es/timeline/context.d.ts +1 -0
  571. package/es/timeline/index.d.ts +36 -426
  572. package/es/timeline/item.vue.d.ts +3 -0
  573. package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +7 -5
  574. package/es/timeline/timeline.js +3 -109
  575. package/es/timeline/timeline.vue.d.ts +26 -0
  576. package/es/timeline/timeline.vue_vue_type_script_setup_true_lang.js +68 -0
  577. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
  578. package/es/tooltip/index.d.ts +3 -0
  579. package/es/tooltip/interface.d.ts +1 -0
  580. package/es/tooltip/style/index.css +3 -0
  581. package/es/tooltip/style/index.scss +4 -0
  582. package/es/tooltip/tooltip.vue.d.ts +1 -0
  583. package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +6 -2
  584. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +17 -15
  585. package/es/transfer/transfer-list-item.js +3 -74
  586. package/es/transfer/transfer-list-item.vue.d.ts +30 -0
  587. package/es/transfer/transfer-list-item.vue_vue_type_script_setup_true_lang.js +101 -0
  588. package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +3 -3
  589. package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +1 -1
  590. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
  591. package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
  592. package/es/tree/hooks/use-draggable.js +0 -2
  593. package/es/tree/node-switcher.js +2 -2
  594. package/es/tree/node-switcher.vue.d.ts +7 -43
  595. package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +85 -0
  596. package/es/tree/node.js +3 -20
  597. package/es/tree/node.vue.d.ts +15 -0
  598. package/es/tree/node.vue_vue_type_script_setup_true_lang.js +30 -0
  599. package/es/tree/transition-node-list.vue_vue_type_script_setup_true_lang.js +1 -1
  600. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +28 -30
  601. package/es/tree/utils/tree-data.js +1 -1
  602. package/es/tree-select/hooks/use-selected-state.js +1 -1
  603. package/es/tree-select/panel.js +3 -71
  604. package/es/tree-select/panel.vue.d.ts +56 -0
  605. package/es/tree-select/panel.vue_vue_type_script_setup_true_lang.js +75 -0
  606. package/es/tree-select/tree-select.vue.d.ts +5 -2
  607. package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +4 -4
  608. package/es/trigger/index.d.ts +168 -506
  609. package/es/trigger/trigger.js +3 -833
  610. package/es/trigger/trigger.vue.d.ts +108 -0
  611. package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +642 -0
  612. package/es/typography/base.js +3 -427
  613. package/es/typography/base.vue.d.ts +116 -0
  614. package/es/typography/base.vue_vue_type_script_setup_true_lang.js +314 -0
  615. package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
  616. package/es/typography/index.d.ts +108 -37
  617. package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
  618. package/es/typography/paragraph.js +3 -35
  619. package/es/typography/paragraph.vue.d.ts +33 -0
  620. package/es/typography/paragraph.vue_vue_type_script_setup_true_lang.js +42 -0
  621. package/es/typography/text.js +3 -22
  622. package/es/typography/text.vue.d.ts +27 -0
  623. package/es/typography/text.vue_vue_type_script_setup_true_lang.js +31 -0
  624. package/es/typography/title.js +3 -24
  625. package/es/typography/title.vue.d.ts +26 -0
  626. package/es/typography/title.vue_vue_type_script_setup_true_lang.js +33 -0
  627. package/es/typography/typography-content.js +5 -0
  628. package/es/typography/typography-content.vue.d.ts +9 -0
  629. package/es/typography/typography-content.vue_vue_type_script_setup_true_lang.js +47 -0
  630. package/es/typography/typography-operations.js +5 -0
  631. package/es/typography/typography-operations.vue.d.ts +22 -0
  632. package/es/typography/typography-operations.vue_vue_type_script_setup_true_lang.js +73 -0
  633. package/es/typography/typography.vue_vue_type_script_setup_true_lang.js +1 -1
  634. package/es/typography/utils/getInnerText.d.ts +1 -1
  635. package/es/typography/utils/getInnerText.js +4 -5
  636. package/es/typography/utils/inner-text-renderer.js +5 -0
  637. package/es/typography/utils/inner-text-renderer.vue.d.ts +7 -0
  638. package/es/typography/utils/inner-text-renderer.vue_vue_type_script_setup_true_lang.js +22 -0
  639. package/es/typography/utils/measure.d.ts +2 -3
  640. package/es/typography/utils/measure.js +8 -10
  641. package/es/upload/index.d.ts +74 -148
  642. package/es/upload/style/index.css +7 -9
  643. package/es/upload/style/index.scss +6 -6
  644. package/es/upload/upload-button.js +3 -137
  645. package/es/upload/{upload-button.d.ts → upload-button.vue.d.ts} +18 -11
  646. package/es/upload/upload-button.vue_vue_type_script_setup_true_lang.js +161 -0
  647. package/es/upload/upload-list-item.js +3 -120
  648. package/es/upload/{upload-list-item.d.ts → upload-list-item.vue.d.ts} +5 -4
  649. package/es/upload/upload-list-item.vue_vue_type_script_setup_true_lang.js +195 -0
  650. package/es/upload/upload-list.js +3 -46
  651. package/es/upload/upload-list.vue.d.ts +38 -0
  652. package/es/upload/upload-list.vue_vue_type_script_setup_true_lang.js +47 -0
  653. package/es/upload/upload-picture-item.js +3 -86
  654. package/es/upload/upload-picture-item.vue.d.ts +35 -0
  655. package/es/upload/upload-picture-item.vue_vue_type_script_setup_true_lang.js +147 -0
  656. package/es/upload/upload-progress.js +3 -73
  657. package/es/upload/{upload-progress.d.ts → upload-progress.vue.d.ts} +5 -4
  658. package/es/upload/upload-progress.vue_vue_type_script_setup_true_lang.js +75 -0
  659. package/es/upload/upload.js +3 -671
  660. package/es/upload/{upload.d.ts → upload.vue.d.ts} +50 -83
  661. package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +392 -0
  662. package/es/verification-code/index.d.ts +18 -24
  663. package/es/verification-code/verification-code.js +3 -216
  664. package/es/verification-code/{verification-code.d.ts → verification-code.vue.d.ts} +12 -15
  665. package/es/verification-code/verification-code.vue_vue_type_script_setup_true_lang.js +192 -0
  666. package/es/watermark/hooks/use-mutation-observer.js +1 -1
  667. package/es/watermark/index.d.ts +12 -8
  668. package/es/watermark/watermark.js +3 -292
  669. package/es/watermark/{watermark.d.ts → watermark.vue.d.ts} +13 -2
  670. package/es/watermark/watermark.vue_vue_type_script_setup_true_lang.js +303 -0
  671. package/json/vetur-attributes.json +70 -1356
  672. package/json/vetur-tags.json +86 -473
  673. package/json/web-types.json +2599 -5702
  674. package/package.json +14 -14
  675. package/es/_components/auto-tooltip/auto-tooltip.d.ts +0 -10
  676. package/es/_components/client-only.d.ts +0 -4
  677. package/es/_components/input-label/input-label.d.ts +0 -70
  678. package/es/_components/resize-observer.d.ts +0 -6
  679. package/es/_components/select-view/select-view.d.ts +0 -171
  680. package/es/auto-complete/auto-complete.d.ts +0 -146
  681. package/es/avatar/avatar-group.d.ts +0 -58
  682. package/es/badge/badge.d.ts +0 -67
  683. package/es/breadcrumb/breadcrumb-item.d.ts +0 -35
  684. package/es/breadcrumb/breadcrumb.d.ts +0 -34
  685. package/es/card/card-meta.d.ts +0 -18
  686. package/es/card/card.d.ts +0 -464
  687. package/es/checkbox/checkbox-group.d.ts +0 -62
  688. package/es/checkbox/checkbox.d.ts +0 -146
  689. package/es/checkbox/icon-check.d.ts +0 -2
  690. package/es/collapse/collapse-item.d.ts +0 -157
  691. package/es/color-picker/palette.d.ts +0 -16
  692. package/es/date-picker/pickers/month-picker.d.ts +0 -27
  693. package/es/date-picker/pickers/year-picker.d.ts +0 -27
  694. package/es/divider/divider.d.ts +0 -43
  695. package/es/empty/empty.d.ts +0 -20
  696. package/es/image/preview-action.d.ts +0 -73
  697. package/es/input/input-search.d.ts +0 -81
  698. package/es/input-number/input-number.d.ts +0 -178
  699. package/es/list/list-item.d.ts +0 -16
  700. package/es/list/list.d.ts +0 -127
  701. package/es/mention/mention.d.ts +0 -128
  702. package/es/menu/menu.d.ts +0 -455
  703. package/es/menu/overflow-wrap.d.ts +0 -2
  704. package/es/notification/notification-list.d.ts +0 -32
  705. package/es/overflow-list/index.d.ts +0 -81
  706. package/es/overflow-list/index.js +0 -10
  707. package/es/overflow-list/overflow-list.d.ts +0 -37
  708. package/es/overflow-list/overflow-list.js +0 -140
  709. package/es/overflow-list/style/css.js +0 -2
  710. package/es/overflow-list/style/index.css +0 -30
  711. package/es/overflow-list/style/index.d.ts +0 -2
  712. package/es/overflow-list/style/index.js +0 -2
  713. package/es/overflow-list/style/index.scss +0 -20
  714. package/es/radio/radio-group.d.ts +0 -72
  715. package/es/radio/radio.d.ts +0 -140
  716. package/es/result/403.d.ts +0 -2
  717. package/es/result/404.d.ts +0 -2
  718. package/es/result/500.d.ts +0 -2
  719. package/es/select/select.d.ts +0 -1533
  720. package/es/space/space.d.ts +0 -45
  721. package/es/spin/dot-loading.d.ts +0 -10
  722. package/es/spin/spin.d.ts +0 -37
  723. package/es/table/table-column.d.ts +0 -120
  724. package/es/table/table-operation-td.d.ts +0 -813
  725. package/es/table/table-tbody.d.ts +0 -4
  726. package/es/table/table-thead.d.ts +0 -4
  727. package/es/table/table-tr.d.ts +0 -41
  728. package/es/time-picker/range-panel.d.ts +0 -203
  729. package/es/timeline/timeline.d.ts +0 -226
  730. package/es/transfer/transfer-list-item.d.ts +0 -45
  731. package/es/tree/node-switcher.vue_vue_type_script_lang.js +0 -69
  732. package/es/tree/node.d.ts +0 -4
  733. package/es/tree-select/panel.d.ts +0 -14
  734. package/es/trigger/trigger.d.ts +0 -366
  735. package/es/typography/base.d.ts +0 -171
  736. package/es/typography/paragraph.d.ts +0 -27
  737. package/es/typography/text.d.ts +0 -18
  738. package/es/typography/title.d.ts +0 -17
  739. package/es/upload/upload-list.d.ts +0 -63
  740. package/es/upload/upload-picture-item.d.ts +0 -24
@@ -1,97 +1,5 @@
1
- import { configProviderInjectionKey } from "../config-provider/context.js";
2
- import { getPrefixCls } from "../_utils/global-config.js";
3
- import { getAllElements } from "../_utils/vue-utils.js";
4
- import Popover from "../popover/index.js";
5
- import { avatarGroupInjectionKey } from "./context.js";
6
- import avatar_default from "./avatar.js";
7
- import { computed, createTextVNode, createVNode, defineComponent, inject, provide, reactive, ref, toRefs } from "vue";
8
- //#region components/avatar/avatar-group.tsx
9
- var AvatarGroup = /* @__PURE__ */ defineComponent({
10
- name: "AvatarGroup",
11
- props: {
12
- /**
13
- * @zh 头像的形状,有圆形(circle)和正方形(square)两种
14
- * @en The shape of the avatar in the group, there are two kinds of circle (circle) and square (square)
15
- * @values 'circle', 'square'
16
- */
17
- shape: {
18
- type: String,
19
- default: "circle"
20
- },
21
- /**
22
- * @zh 头像的尺寸大小,单位是 `px`
23
- * @en The size of the avatar in the group, the unit is `px`
24
- */
25
- size: Number,
26
- /**
27
- * @zh 是否自动根据头像尺寸调整字体大小
28
- * @en Whether to automatically adjust the font size according to the size of the avatar.
29
- */
30
- autoFixFontSize: {
31
- type: Boolean,
32
- default: true
33
- },
34
- /**
35
- * @zh 头像组最多显示的头像数量,多余头像将以 `+x` 的形式展示。
36
- * @en The maximum number of avatars displayed in the avatar group. The excess avatars will be displayed in the form of `+x`.
37
- */
38
- maxCount: {
39
- type: Number,
40
- default: 0
41
- },
42
- /**
43
- * @zh 头像组内的头像 `z-index` 递增,默认是递减。
44
- * @en The avatar `z-index` in the avatar group increases, and the default is decreasing.
45
- */
46
- zIndexAscend: {
47
- type: Boolean,
48
- default: false
49
- },
50
- /**
51
- * @zh 多余头像样式。
52
- * @en Style for +x.
53
- * @version 2.7.0
54
- */
55
- maxStyle: { type: Object },
56
- /**
57
- * @zh 多余头像气泡的 `TriggerProps`
58
- * @en TriggerProps for popover around +x.
59
- * @version 2.7.0
60
- */
61
- maxPopoverTriggerProps: { type: Object }
62
- },
63
- setup(props, { slots }) {
64
- const { shape, size, autoFixFontSize, zIndexAscend } = toRefs(props);
65
- const prefixCls = getPrefixCls("avatar-group");
66
- const configCtx = inject(configProviderInjectionKey, void 0);
67
- const rtl = computed(() => {
68
- var _configCtx$rtl;
69
- return (_configCtx$rtl = configCtx === null || configCtx === void 0 ? void 0 : configCtx.rtl) !== null && _configCtx$rtl !== void 0 ? _configCtx$rtl : false;
70
- });
71
- const total = ref(0);
72
- provide(avatarGroupInjectionKey, reactive({
73
- shape,
74
- size,
75
- autoFixFontSize,
76
- zIndexAscend,
77
- total,
78
- rtl
79
- }));
80
- return () => {
81
- var _slots$default, _slots$default2;
82
- const children = getAllElements((_slots$default = (_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : []);
83
- const avatarsToRender = props.maxCount > 0 ? children.slice(0, props.maxCount) : children;
84
- const avatarsInPopover = props.maxCount > 0 ? children.slice(props.maxCount) : [];
85
- if (total.value !== children.length) total.value = children.length;
86
- return createVNode("div", { "class": `${prefixCls} ${rtl.value ? `${prefixCls}-rtl` : ""}` }, [avatarsToRender, avatarsInPopover.length > 0 && createVNode(Popover, props.maxPopoverTriggerProps, {
87
- default: () => [createVNode(avatar_default, {
88
- "class": `${prefixCls}-max-count-avatar`,
89
- "style": props.maxStyle
90
- }, { default: () => [createTextVNode("+"), avatarsInPopover.length] })],
91
- content: () => createVNode("div", null, [avatarsInPopover])
92
- })]);
93
- };
94
- }
95
- });
1
+ import avatar_group_vue_vue_type_script_setup_true_lang_default from "./avatar-group.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/avatar/avatar-group.vue
3
+ var avatar_group_default = avatar_group_vue_vue_type_script_setup_true_lang_default;
96
4
  //#endregion
97
- export { AvatarGroup as default };
5
+ export { avatar_group_default as default };
@@ -0,0 +1,29 @@
1
+ import type { CSSProperties, VNode } from 'vue';
2
+ import type { TriggerProps } from '../trigger';
3
+ import type { AvatarShape } from './interface';
4
+ type __VLS_Props = {
5
+ shape?: AvatarShape;
6
+ size?: number;
7
+ autoFixFontSize?: boolean;
8
+ maxCount?: number;
9
+ zIndexAscend?: boolean;
10
+ maxStyle?: CSSProperties;
11
+ maxPopoverTriggerProps?: TriggerProps;
12
+ };
13
+ type __VLS_Slots = {
14
+ default?: () => VNode[];
15
+ };
16
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ shape: AvatarShape;
18
+ autoFixFontSize: boolean;
19
+ maxCount: number;
20
+ zIndexAscend: boolean;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,84 @@
1
+ import { configProviderInjectionKey } from "../config-provider/context.js";
2
+ import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
3
+ import { getPrefixCls } from "../_utils/global-config.js";
4
+ import { getAllElements } from "../_utils/vue-utils.js";
5
+ import Popover from "../popover/index.js";
6
+ import { avatarGroupInjectionKey } from "./context.js";
7
+ import avatar_default from "./avatar.js";
8
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, provide, reactive, ref, toDisplayString, toRef, unref, useSlots, withCtx } from "vue";
9
+ import { createReusableTemplate } from "@vueuse/core";
10
+ //#region components/avatar/avatar-group.vue?vue&type=script&setup=true&lang.ts
11
+ var avatar_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "AvatarGroup" }), {}, {
12
+ __name: "avatar-group",
13
+ props: {
14
+ shape: { default: "circle" },
15
+ size: {},
16
+ autoFixFontSize: {
17
+ type: Boolean,
18
+ default: true
19
+ },
20
+ maxCount: { default: 0 },
21
+ zIndexAscend: {
22
+ type: Boolean,
23
+ default: false
24
+ },
25
+ maxStyle: {},
26
+ maxPopoverTriggerProps: {}
27
+ },
28
+ setup(__props) {
29
+ const props = __props;
30
+ const slots = useSlots();
31
+ const [DefineAvatarContent, ReuseAvatarContent] = createReusableTemplate();
32
+ const RenderVNodes = defineComponent({
33
+ name: "AvatarGroupRenderVNodes",
34
+ props: { content: {
35
+ type: Array,
36
+ required: true
37
+ } },
38
+ setup(renderProps) {
39
+ return () => renderProps.content;
40
+ }
41
+ });
42
+ const prefixCls = getPrefixCls("avatar-group");
43
+ const configCtx = inject(configProviderInjectionKey, void 0);
44
+ const rtl = computed(() => {
45
+ var _configCtx$rtl;
46
+ return (_configCtx$rtl = configCtx === null || configCtx === void 0 ? void 0 : configCtx.rtl) !== null && _configCtx$rtl !== void 0 ? _configCtx$rtl : false;
47
+ });
48
+ const total = ref(0);
49
+ const getChildren = () => {
50
+ var _slots$default, _slots$default2;
51
+ const children = getAllElements((_slots$default = (_slots$default2 = slots.default) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : []);
52
+ total.value = children.length;
53
+ return children;
54
+ };
55
+ const getVisibleAvatars = (children) => props.maxCount > 0 ? children.slice(0, props.maxCount) : children;
56
+ const getOverflowAvatars = (children) => props.maxCount > 0 ? children.slice(props.maxCount) : [];
57
+ provide(avatarGroupInjectionKey, reactive({
58
+ shape: toRef(props, "shape"),
59
+ size: toRef(props, "size"),
60
+ autoFixFontSize: toRef(props, "autoFixFontSize"),
61
+ zIndexAscend: toRef(props, "zIndexAscend"),
62
+ total,
63
+ rtl
64
+ }));
65
+ return (_ctx, _cache) => {
66
+ return openBlock(), createElementBlock("div", { class: normalizeClass([unref(prefixCls), { [`${unref(prefixCls)}-rtl`]: rtl.value }]) }, [createVNode(unref(DefineAvatarContent), null, {
67
+ default: withCtx(({ children }) => [createVNode(unref(RenderVNodes), { content: getVisibleAvatars(children) }, null, 8, ["content"]), getOverflowAvatars(children).length > 0 ? (openBlock(), createBlock(unref(Popover), normalizeProps(mergeProps({ key: 0 }, __props.maxPopoverTriggerProps)), {
68
+ content: withCtx(() => [createElementVNode("div", null, [createVNode(unref(RenderVNodes), { content: getOverflowAvatars(children) }, null, 8, ["content"])])]),
69
+ default: withCtx(() => [createVNode(avatar_default, {
70
+ class: normalizeClass(`${unref(prefixCls)}-max-count-avatar`),
71
+ style: normalizeStyle(__props.maxStyle)
72
+ }, {
73
+ default: withCtx(() => [createTextVNode(" +" + toDisplayString(getOverflowAvatars(children).length), 1)]),
74
+ _: 2
75
+ }, 1032, ["class", "style"])]),
76
+ _: 2
77
+ }, 1040)) : createCommentVNode("", true)]),
78
+ _: 1
79
+ }), createVNode(unref(ReuseAvatarContent), { children: getChildren() }, null, 8, ["children"])], 2);
80
+ };
81
+ }
82
+ }));
83
+ //#endregion
84
+ export { avatar_group_vue_vue_type_script_setup_true_lang_default as default };
@@ -1,5 +1,5 @@
1
1
  import { configProviderInjectionKey } from "../config-provider/context.js";
2
- import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
2
+ import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
3
3
  import { getPrefixCls } from "../_utils/global-config.js";
4
4
  import { isNumber } from "../_utils/is.js";
5
5
  import IconLoading from "../icon/icon-loading/index.js";
@@ -1,6 +1,6 @@
1
1
  import type { App } from 'vue';
2
2
  import type { SDOptions } from '../_utils/types';
3
- import _AvatarGroup from './avatar-group';
3
+ import _AvatarGroup from './avatar-group.vue';
4
4
  import _Avatar from './avatar.vue';
5
5
  declare const Avatar: {
6
6
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
@@ -120,60 +120,62 @@ declare const Avatar: {
120
120
  'trigger-icon'?: (props: {}) => any;
121
121
  };
122
122
  }) & {
123
- Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
124
- shape: {
125
- type: import("vue").PropType<import("./interface.ts").AvatarShape>;
126
- default: string;
127
- };
128
- size: NumberConstructor;
129
- autoFixFontSize: {
130
- type: BooleanConstructor;
131
- default: boolean;
132
- };
133
- maxCount: {
134
- type: NumberConstructor;
135
- default: number;
136
- };
137
- zIndexAscend: {
138
- type: BooleanConstructor;
139
- default: boolean;
140
- };
141
- maxStyle: {
142
- type: import("vue").PropType<import("vue").CSSProperties>;
143
- };
144
- maxPopoverTriggerProps: {
145
- type: import("vue").PropType<import("../index.ts").TriggerProps>;
146
- };
147
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
148
- shape: {
149
- type: import("vue").PropType<import("./interface.ts").AvatarShape>;
150
- default: string;
151
- };
152
- size: NumberConstructor;
153
- autoFixFontSize: {
154
- type: BooleanConstructor;
155
- default: boolean;
156
- };
157
- maxCount: {
158
- type: NumberConstructor;
159
- default: number;
160
- };
161
- zIndexAscend: {
162
- type: BooleanConstructor;
163
- default: boolean;
164
- };
165
- maxStyle: {
166
- type: import("vue").PropType<import("vue").CSSProperties>;
167
- };
168
- maxPopoverTriggerProps: {
169
- type: import("vue").PropType<import("../index.ts").TriggerProps>;
170
- };
171
- }>> & Readonly<{}>, {
123
+ Group: {
124
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
125
+ shape?: import("./interface.ts").AvatarShape;
126
+ size?: number;
127
+ autoFixFontSize?: boolean;
128
+ maxCount?: number;
129
+ zIndexAscend?: boolean;
130
+ maxStyle?: import("vue").CSSProperties;
131
+ maxPopoverTriggerProps?: import("../index.ts").TriggerProps;
132
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
133
+ shape: import("./interface.ts").AvatarShape;
134
+ autoFixFontSize: boolean;
135
+ maxCount: number;
136
+ zIndexAscend: boolean;
137
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
138
+ P: {};
139
+ B: {};
140
+ D: {};
141
+ C: {};
142
+ M: {};
143
+ Defaults: {};
144
+ }, Readonly<{
145
+ shape?: import("./interface.ts").AvatarShape;
146
+ size?: number;
147
+ autoFixFontSize?: boolean;
148
+ maxCount?: number;
149
+ zIndexAscend?: boolean;
150
+ maxStyle?: import("vue").CSSProperties;
151
+ maxPopoverTriggerProps?: import("../index.ts").TriggerProps;
152
+ }> & Readonly<{}>, {}, {}, {}, {}, {
153
+ shape: import("./interface.ts").AvatarShape;
154
+ autoFixFontSize: boolean;
155
+ maxCount: number;
156
+ zIndexAscend: boolean;
157
+ }>;
158
+ __isFragment?: never;
159
+ __isTeleport?: never;
160
+ __isSuspense?: never;
161
+ } & import("vue").ComponentOptionsBase<Readonly<{
162
+ shape?: import("./interface.ts").AvatarShape;
163
+ size?: number;
164
+ autoFixFontSize?: boolean;
165
+ maxCount?: number;
166
+ zIndexAscend?: boolean;
167
+ maxStyle?: import("vue").CSSProperties;
168
+ maxPopoverTriggerProps?: import("../index.ts").TriggerProps;
169
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
172
170
  shape: import("./interface.ts").AvatarShape;
173
171
  autoFixFontSize: boolean;
174
172
  maxCount: number;
175
173
  zIndexAscend: boolean;
176
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
174
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
175
+ $slots: {
176
+ default?: () => import("vue").VNode[];
177
+ };
178
+ });
177
179
  install: (app: App, options?: SDOptions) => void;
178
180
  };
179
181
  export type AvatarInstance = InstanceType<typeof _Avatar>;
@@ -1,15 +1,15 @@
1
1
  import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
2
2
  import avatar_default from "./avatar.js";
3
- import AvatarGroup from "./avatar-group.js";
3
+ import avatar_group_default from "./avatar-group.js";
4
4
  //#region components/avatar/index.ts
5
5
  var Avatar = Object.assign(avatar_default, {
6
- Group: AvatarGroup,
6
+ Group: avatar_group_default,
7
7
  install: (app, options) => {
8
8
  setGlobalConfig(app, options);
9
9
  const componentPrefix = getComponentPrefix(options);
10
10
  app.component(componentPrefix + avatar_default.name, avatar_default);
11
- app.component(componentPrefix + AvatarGroup.name, AvatarGroup);
11
+ app.component(componentPrefix + avatar_group_default.name, avatar_group_default);
12
12
  }
13
13
  });
14
14
  //#endregion
15
- export { AvatarGroup, Avatar as default };
15
+ export { avatar_group_default as AvatarGroup, Avatar as default };
@@ -1,4 +1,4 @@
1
- import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
1
+ import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isString } from "../_utils/is.js";
4
4
  import { off, on } from "../_utils/dom.js";
package/es/badge/badge.js CHANGED
@@ -1,150 +1,5 @@
1
- import { configProviderInjectionKey } from "../config-provider/context.js";
2
- import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/objectSpread2.js";
3
- import { getPrefixCls } from "../_utils/global-config.js";
4
- import { computed, createVNode, defineComponent, inject, toRefs } from "vue";
5
- //#region components/badge/badge.tsx
6
- var COLORS = [
7
- "red",
8
- "orangered",
9
- "orange",
10
- "gold",
11
- "lime",
12
- "green",
13
- "cyan",
14
- "sdblue",
15
- "purple",
16
- "pinkpurple",
17
- "magenta",
18
- "gray"
19
- ];
20
- var BADGE_STATUSES = [
21
- "normal",
22
- "processing",
23
- "success",
24
- "warning",
25
- "danger"
26
- ];
27
- var badge_default = /* @__PURE__ */ defineComponent({
28
- name: "Badge",
29
- props: {
30
- /**
31
- * @zh 自定义提示内容
32
- * @en Set the display text of the status dot
33
- */
34
- text: { type: String },
35
- /**
36
- * @zh 显示为小红点
37
- * @en Whether to display a red dot instead of `count`
38
- */
39
- dot: { type: Boolean },
40
- /**
41
- * @zh 徽标的样式
42
- * @en Customize badge dot style
43
- */
44
- dotStyle: { type: Object },
45
- /**
46
- * @zh 徽标最大显示数值,如果count超过这个数值会显示为maxCount
47
- * @en Max count to show. If count is larger than this value, it will be displayed as `${maxCount}+`
48
- */
49
- maxCount: {
50
- type: Number,
51
- default: 99
52
- },
53
- /**
54
- * @zh 设置徽标位置的偏移
55
- * @en Set offset of the badge dot
56
- */
57
- offset: {
58
- type: Array,
59
- default: () => []
60
- },
61
- /**
62
- * @zh 内置的一些颜色
63
- * @en Customize dot color
64
- */
65
- color: { type: String },
66
- /**
67
- * @zh 徽标的状态类型
68
- * @en Badge status
69
- * @values 'normal', 'processing', 'success', 'warning', 'danger'
70
- */
71
- status: {
72
- type: String,
73
- validator: (value) => {
74
- return BADGE_STATUSES.includes(value);
75
- }
76
- },
77
- /**
78
- * @zh 徽标显示的数字
79
- * @en Number to show in badge
80
- */
81
- count: { type: Number }
82
- },
83
- setup(props, { slots }) {
84
- const { status, color, dotStyle, offset, text, dot, maxCount, count } = toRefs(props);
85
- const prefixCls = getPrefixCls("badge");
86
- const configCtx = inject(configProviderInjectionKey, void 0);
87
- const rtl = computed(() => {
88
- var _configCtx$rtl;
89
- return (_configCtx$rtl = configCtx === null || configCtx === void 0 ? void 0 : configCtx.rtl) !== null && _configCtx$rtl !== void 0 ? _configCtx$rtl : false;
90
- });
91
- const wrapperClassName = computed(() => [prefixCls, {
92
- [`${prefixCls}-status`]: status === null || status === void 0 ? void 0 : status.value,
93
- [`${prefixCls}-no-children`]: !(slots === null || slots === void 0 ? void 0 : slots.default),
94
- [`${prefixCls}-rtl`]: rtl.value
95
- }]);
96
- const computedStyleRef = computed(() => {
97
- const computedDotStyle = _objectSpread2({}, dotStyle === null || dotStyle === void 0 ? void 0 : dotStyle.value);
98
- const [leftOffset, topOffset] = (offset === null || offset === void 0 ? void 0 : offset.value) || [];
99
- if (leftOffset) computedDotStyle.marginRight = `${-leftOffset}px`;
100
- if (topOffset) computedDotStyle.marginTop = `${topOffset}px`;
101
- const computedColorStyle = !(color === null || color === void 0 ? void 0 : color.value) || COLORS.includes(color === null || color === void 0 ? void 0 : color.value) ? {} : { backgroundColor: color.value };
102
- return {
103
- mergedStyle: _objectSpread2(_objectSpread2({}, computedColorStyle), computedDotStyle),
104
- computedDotStyle,
105
- computedColorStyle
106
- };
107
- });
108
- const getDot = () => {
109
- const textValue = text === null || text === void 0 ? void 0 : text.value;
110
- const colorValue = color === null || color === void 0 ? void 0 : color.value;
111
- const statusValue = status === null || status === void 0 ? void 0 : status.value;
112
- const dotValue = dot === null || dot === void 0 ? void 0 : dot.value;
113
- const countValue = Number(count === null || count === void 0 ? void 0 : count.value);
114
- const hasCount = (count === null || count === void 0 ? void 0 : count.value) != null;
115
- const { computedDotStyle, mergedStyle } = computedStyleRef.value;
116
- if (slots.content) return createVNode("span", {
117
- "class": `${prefixCls}-custom-dot`,
118
- "style": computedDotStyle
119
- }, [slots.content()]);
120
- if (textValue && !colorValue && !statusValue) return createVNode("span", {
121
- "class": `${prefixCls}-text`,
122
- "style": computedDotStyle
123
- }, [textValue]);
124
- if (statusValue || colorValue && !hasCount) return createVNode("span", { "class": `${prefixCls}-status-wrapper` }, [createVNode("span", {
125
- "class": [`${prefixCls}-status-dot`, {
126
- [`${prefixCls}-status-${statusValue}`]: statusValue,
127
- [`${prefixCls}-color-${colorValue}`]: colorValue
128
- }],
129
- "style": mergedStyle,
130
- "aria-hidden": "true"
131
- }, null), textValue && createVNode("span", { "class": `${prefixCls}-status-text` }, [textValue])]);
132
- if ((dotValue || colorValue) && countValue > 0) return createVNode("span", {
133
- "role": "status",
134
- "aria-label": String(countValue),
135
- "class": [`${prefixCls}-dot`, { [`${prefixCls}-color-${colorValue}`]: colorValue }],
136
- "style": mergedStyle
137
- }, null);
138
- if (countValue === 0) return null;
139
- return createVNode("span", {
140
- "class": `${prefixCls}-number`,
141
- "style": mergedStyle
142
- }, [createVNode("span", null, [maxCount.value && countValue > maxCount.value ? `${maxCount.value}+` : countValue])]);
143
- };
144
- return () => {
145
- return createVNode("span", { "class": wrapperClassName.value }, [slots.default && slots.default(), getDot()]);
146
- };
147
- }
148
- });
1
+ import badge_vue_vue_type_script_setup_true_lang_default, { COLORS } from "./badge.vue_vue_type_script_setup_true_lang.js";
2
+ //#region components/badge/badge.vue
3
+ var badge_default = badge_vue_vue_type_script_setup_true_lang_default;
149
4
  //#endregion
150
- export { BADGE_STATUSES, COLORS, badge_default as default };
5
+ export { COLORS, badge_default as default };
@@ -0,0 +1,34 @@
1
+ import type { CSSProperties } from 'vue';
2
+ export declare const COLORS: readonly ["red", "orangered", "orange", "gold", "lime", "green", "cyan", "sdblue", "purple", "pinkpurple", "magenta", "gray"];
3
+ export type ColorType = (typeof COLORS)[number];
4
+ export declare const BADGE_STATUSES: readonly ["normal", "processing", "success", "warning", "danger"];
5
+ export type BadgeStatus = (typeof BADGE_STATUSES)[number];
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
9
+ text?: string;
10
+ dot?: boolean;
11
+ dotStyle?: CSSProperties;
12
+ maxCount?: number;
13
+ offset?: number[];
14
+ color?: ColorType | string;
15
+ status?: BadgeStatus;
16
+ count?: number;
17
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
18
+ text?: string;
19
+ dot?: boolean;
20
+ dotStyle?: CSSProperties;
21
+ maxCount?: number;
22
+ offset?: number[];
23
+ color?: ColorType | string;
24
+ status?: BadgeStatus;
25
+ count?: number;
26
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
27
+ default?: () => unknown;
28
+ content?: () => unknown;
29
+ }>;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,97 @@
1
+ import { configProviderInjectionKey } from "../config-provider/context.js";
2
+ import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.142.0/helpers/esm/objectSpread2.js";
3
+ import { getPrefixCls } from "../_utils/global-config.js";
4
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, renderSlot, toDisplayString, unref, useSlots } from "vue";
5
+ //#region components/badge/badge.vue?vue&type=script&setup=true&lang.ts
6
+ var _hoisted_1 = ["aria-label"];
7
+ var COLORS = [
8
+ "red",
9
+ "orangered",
10
+ "orange",
11
+ "gold",
12
+ "lime",
13
+ "green",
14
+ "cyan",
15
+ "sdblue",
16
+ "purple",
17
+ "pinkpurple",
18
+ "magenta",
19
+ "gray"
20
+ ];
21
+ var badge_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Badge" }), {}, {
22
+ __name: "badge",
23
+ props: {
24
+ text: {},
25
+ dot: {
26
+ type: Boolean,
27
+ default: false
28
+ },
29
+ dotStyle: {},
30
+ maxCount: { default: 99 },
31
+ offset: { default: () => [] },
32
+ color: {},
33
+ status: {},
34
+ count: {}
35
+ },
36
+ setup(__props) {
37
+ const slots = useSlots();
38
+ const prefixCls = getPrefixCls("badge");
39
+ const configCtx = inject(configProviderInjectionKey, void 0);
40
+ const rtl = computed(() => {
41
+ var _configCtx$rtl;
42
+ return (_configCtx$rtl = configCtx === null || configCtx === void 0 ? void 0 : configCtx.rtl) !== null && _configCtx$rtl !== void 0 ? _configCtx$rtl : false;
43
+ });
44
+ const hasCount = computed(() => __props.count != null);
45
+ const countValue = computed(() => Number(__props.count));
46
+ const wrapperClassName = computed(() => [prefixCls, {
47
+ [`${prefixCls}-status`]: __props.status,
48
+ [`${prefixCls}-no-children`]: !slots.default,
49
+ [`${prefixCls}-rtl`]: rtl.value
50
+ }]);
51
+ const computedDotStyle = computed(() => {
52
+ const style = _objectSpread2({}, __props.dotStyle);
53
+ const [leftOffset, topOffset] = __props.offset;
54
+ if (leftOffset) style.marginRight = `${-leftOffset}px`;
55
+ if (topOffset) style.marginTop = `${topOffset}px`;
56
+ return style;
57
+ });
58
+ const mergedStyle = computed(() => _objectSpread2(_objectSpread2({}, !__props.color || COLORS.includes(__props.color) ? {} : { backgroundColor: __props.color }), computedDotStyle.value));
59
+ const displayCount = computed(() => __props.maxCount && countValue.value > __props.maxCount ? `${__props.maxCount}+` : countValue.value);
60
+ return (_ctx, _cache) => {
61
+ return openBlock(), createElementBlock("span", { class: normalizeClass(wrapperClassName.value) }, [renderSlot(_ctx.$slots, "default"), _ctx.$slots.content ? (openBlock(), createElementBlock("span", {
62
+ key: 0,
63
+ class: normalizeClass(`${unref(prefixCls)}-custom-dot`),
64
+ style: normalizeStyle(computedDotStyle.value)
65
+ }, [renderSlot(_ctx.$slots, "content")], 6)) : __props.text && !__props.color && !__props.status ? (openBlock(), createElementBlock("span", {
66
+ key: 1,
67
+ class: normalizeClass(`${unref(prefixCls)}-text`),
68
+ style: normalizeStyle(computedDotStyle.value)
69
+ }, toDisplayString(__props.text), 7)) : __props.status || __props.color && !hasCount.value ? (openBlock(), createElementBlock("span", {
70
+ key: 2,
71
+ class: normalizeClass(`${unref(prefixCls)}-status-wrapper`)
72
+ }, [createElementVNode("span", {
73
+ class: normalizeClass([`${unref(prefixCls)}-status-dot`, {
74
+ [`${unref(prefixCls)}-status-${__props.status}`]: __props.status,
75
+ [`${unref(prefixCls)}-color-${__props.color}`]: __props.color
76
+ }]),
77
+ style: normalizeStyle(mergedStyle.value),
78
+ "aria-hidden": "true"
79
+ }, null, 6), __props.text ? (openBlock(), createElementBlock("span", {
80
+ key: 0,
81
+ class: normalizeClass(`${unref(prefixCls)}-status-text`)
82
+ }, toDisplayString(__props.text), 3)) : createCommentVNode("", true)], 2)) : (__props.dot || __props.color) && countValue.value > 0 ? (openBlock(), createElementBlock("span", {
83
+ key: 3,
84
+ role: "status",
85
+ "aria-label": String(countValue.value),
86
+ class: normalizeClass([`${unref(prefixCls)}-dot`, { [`${unref(prefixCls)}-color-${__props.color}`]: __props.color }]),
87
+ style: normalizeStyle(mergedStyle.value)
88
+ }, null, 14, _hoisted_1)) : countValue.value !== 0 ? (openBlock(), createElementBlock("span", {
89
+ key: 4,
90
+ class: normalizeClass(`${unref(prefixCls)}-number`),
91
+ style: normalizeStyle(mergedStyle.value)
92
+ }, [createElementVNode("span", null, toDisplayString(displayCount.value), 1)], 6)) : createCommentVNode("", true)], 2);
93
+ };
94
+ }
95
+ }));
96
+ //#endregion
97
+ export { COLORS, badge_vue_vue_type_script_setup_true_lang_default as default };