@sdata/web-vue 4.5.5 → 4.7.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 (473) hide show
  1. package/THIRD_PARTY_NOTICES.md +15 -0
  2. package/dist/sd.css +107 -57
  3. package/dist/sd.min.css +2 -2
  4. package/es/_components/auto-tooltip/auto-tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/es/_components/client-only.vue_vue_type_script_setup_true_lang.js +1 -1
  6. package/es/_components/feedback-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  7. package/es/_components/icon-hover.vue_vue_type_script_setup_true_lang.js +1 -1
  8. package/es/_components/input-label/input-label.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/es/_components/picker/input-range.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/es/_components/picker/input.vue_vue_type_script_setup_true_lang.js +1 -1
  11. package/es/_components/resize-observer.vue_vue_type_script_setup_true_lang.js +1 -1
  12. package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/es/_components/select-view/select-view.vue_vue_type_script_setup_true_lang.js +1 -1
  14. package/es/_components/transition/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_setup_true_lang.js +3 -3
  16. package/es/_hooks/use-scrollbar.js +1 -1
  17. package/es/_utils/color.js +1 -1
  18. package/es/_utils/date.js +2 -2
  19. package/es/_utils/global-config.js +1 -1
  20. package/es/_utils/omit.js +1 -1
  21. package/es/_utils/responsive-observe.js +1 -1
  22. package/es/_utils/virtual-dropdown.js +1 -1
  23. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/asyncToGenerator.js +1 -1
  24. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/defineProperty.js +1 -1
  25. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/extends.js +1 -1
  26. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectDestructuringEmpty.js +1 -1
  27. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectSpread2.js +1 -1
  28. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutProperties.js +1 -1
  29. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  30. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPrimitive.js +1 -1
  31. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/toPropertyKey.js +1 -1
  32. package/es/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/typeof.js +1 -1
  33. package/es/affix/affix.vue_vue_type_script_setup_true_lang.js +1 -1
  34. package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +1 -1
  35. package/es/anchor/anchor-link.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +1 -1
  37. package/es/auto-complete/auto-complete.vue_vue_type_script_setup_true_lang.js +1 -1
  38. package/es/auto-complete/style/index.css +1 -1
  39. package/es/avatar/avatar-group.vue_vue_type_script_setup_true_lang.js +1 -1
  40. package/es/avatar/avatar.vue_vue_type_script_setup_true_lang.js +1 -1
  41. package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +1 -1
  42. package/es/badge/badge.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +2 -2
  44. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +2 -2
  45. package/es/bloom-menu/bloom-menu.vue_vue_type_script_setup_true_lang.js +1 -1
  46. package/es/bloom-menu/style/index.css +2 -2
  47. package/es/border-beam/border-beam.vue_vue_type_script_setup_true_lang.js +1 -1
  48. package/es/border-beam/styles.js +1 -1
  49. package/es/breadcrumb/breadcrumb-item.vue_vue_type_script_setup_true_lang.js +1 -1
  50. package/es/breadcrumb/breadcrumb.vue_vue_type_script_setup_true_lang.js +1 -1
  51. package/es/button/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  52. package/es/button/button.vue_vue_type_script_setup_true_lang.js +1 -1
  53. package/es/calendar/components/cell.vue_vue_type_script_setup_true_lang.js +2 -2
  54. package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
  55. package/es/calendar/components/index.vue_vue_type_script_setup_true_lang.js +2 -2
  56. package/es/card/card-actions.vue_vue_type_script_setup_true_lang.js +1 -1
  57. package/es/card/card-grid.vue_vue_type_script_setup_true_lang.js +1 -1
  58. package/es/card/card-meta.vue_vue_type_script_setup_true_lang.js +1 -1
  59. package/es/card/card.vue_vue_type_script_setup_true_lang.js +1 -1
  60. package/es/card/style/index.css +3 -3
  61. package/es/card/style/index.scss +9 -3
  62. package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  63. package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +1 -1
  64. package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/es/carousel/carousel.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/es/cascader/base-cascader-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  67. package/es/cascader/cascader-column.vue_vue_type_script_setup_true_lang.js +1 -1
  68. package/es/cascader/cascader-option.vue_vue_type_script_setup_true_lang.js +1 -1
  69. package/es/cascader/cascader-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  70. package/es/cascader/cascader-search-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  71. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +1 -1
  72. package/es/cascader/style/index.css +2 -2
  73. package/es/checkbox/checkbox-group.vue_vue_type_script_setup_true_lang.js +1 -1
  74. package/es/checkbox/checkbox.vue_vue_type_script_setup_true_lang.js +1 -1
  75. package/es/checkbox/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
  76. package/es/collapse/collapse-item.vue_vue_type_script_setup_true_lang.js +1 -1
  77. package/es/collapse/collapse.vue_vue_type_script_setup_true_lang.js +1 -1
  78. package/es/color-picker/color-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  79. package/es/color-picker/control-bar.vue_vue_type_script_setup_true_lang.js +1 -1
  80. package/es/color-picker/gradient-thumb.vue_vue_type_script_setup_true_lang.js +1 -1
  81. package/es/color-picker/palette.vue_vue_type_script_setup_true_lang.js +1 -1
  82. package/es/color-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
  83. package/es/color-picker/style/index.css +5 -5
  84. package/es/color-picker/utils.js +1 -1
  85. package/es/comment/comment.vue_vue_type_script_setup_true_lang.js +1 -1
  86. package/es/components.d.ts +3 -1
  87. package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  88. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  89. package/es/config-provider/theme.js +1 -1
  90. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +2 -2
  91. package/es/copy/style/index.css +1 -1
  92. package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +2 -2
  93. package/es/cropper/style/index.css +1 -1
  94. package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
  95. package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +1 -1
  96. package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +1 -1
  97. package/es/date-picker/panels/footer.vue_vue_type_script_setup_true_lang.js +1 -1
  98. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
  99. package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +1 -1
  100. package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +1 -1
  101. package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +1 -1
  102. package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +1 -1
  103. package/es/date-picker/panels/week-list.vue_vue_type_script_setup_true_lang.js +1 -1
  104. package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +1 -1
  105. package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  106. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +1 -1
  107. package/es/date-picker/pickers/date-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  108. package/es/date-picker/pickers/month-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  109. package/es/date-picker/pickers/quarter-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  110. package/es/date-picker/pickers/week-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  111. package/es/date-picker/pickers/year-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  113. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  114. package/es/date-picker/style/index.css +1 -1
  115. package/es/descriptions/descriptions-item.vue_vue_type_script_setup_true_lang.js +1 -1
  116. package/es/descriptions/descriptions.vue_vue_type_script_setup_true_lang.js +1 -1
  117. package/es/divider/divider.vue_vue_type_script_setup_true_lang.js +1 -1
  118. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +2 -2
  119. package/es/drawer/index.js +2 -2
  120. package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
  121. package/es/dropdown/dropdown-group.vue_vue_type_script_setup_true_lang.js +1 -1
  122. package/es/dropdown/dropdown-option.vue_vue_type_script_setup_true_lang.js +1 -1
  123. package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  124. package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
  125. package/es/dropdown/dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  126. package/es/dropdown/style/index.css +1 -1
  127. package/es/ellipsis/ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
  128. package/es/ellipsis/performant-ellipsis.vue_vue_type_script_setup_true_lang.js +2 -2
  129. package/es/empty/empty.vue_vue_type_script_setup_true_lang.js +1 -1
  130. package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +2 -2
  131. package/es/file-previewer/use-pdf-js.js +2 -2
  132. package/es/form/form-item-label.vue_vue_type_script_setup_true_lang.js +1 -1
  133. package/es/form/form-item-message.vue_vue_type_script_setup_true_lang.js +1 -1
  134. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +4 -4
  135. package/es/form/form.vue_vue_type_script_setup_true_lang.js +1 -1
  136. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
  137. package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
  138. package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
  139. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
  140. package/es/icon/icon-arrow-up/icon-arrow-up.vue_vue_type_script_setup_true_lang.js +1 -1
  141. package/es/icon/icon-calendar/icon-calendar.vue_vue_type_script_setup_true_lang.js +1 -1
  142. package/es/icon/icon-caret-down/icon-caret-down.vue_vue_type_script_setup_true_lang.js +1 -1
  143. package/es/icon/icon-caret-left/icon-caret-left.vue_vue_type_script_setup_true_lang.js +1 -1
  144. package/es/icon/icon-caret-right/icon-caret-right.vue_vue_type_script_setup_true_lang.js +1 -1
  145. package/es/icon/icon-caret-up/icon-caret-up.vue_vue_type_script_setup_true_lang.js +1 -1
  146. package/es/icon/icon-check/icon-check.vue_vue_type_script_setup_true_lang.js +1 -1
  147. package/es/icon/icon-check-circle-fill/icon-check-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  148. package/es/icon/icon-clock-circle/icon-clock-circle.vue_vue_type_script_setup_true_lang.js +1 -1
  149. package/es/icon/icon-close/icon-close.vue_vue_type_script_setup_true_lang.js +1 -1
  150. package/es/icon/icon-close-circle-fill/icon-close-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  151. package/es/icon/icon-copy/icon-copy.vue_vue_type_script_setup_true_lang.js +1 -1
  152. package/es/icon/icon-delete/icon-delete.vue_vue_type_script_setup_true_lang.js +1 -1
  153. package/es/icon/icon-double-left/icon-double-left.vue_vue_type_script_setup_true_lang.js +1 -1
  154. package/es/icon/icon-double-right/icon-double-right.vue_vue_type_script_setup_true_lang.js +1 -1
  155. package/es/icon/icon-down/icon-down.vue_vue_type_script_setup_true_lang.js +1 -1
  156. package/es/icon/icon-drag-dot/icon-drag-dot.vue_vue_type_script_setup_true_lang.js +1 -1
  157. package/es/icon/icon-drag-dot-vertical/icon-drag-dot-vertical.vue_vue_type_script_setup_true_lang.js +1 -1
  158. package/es/icon/icon-edit/icon-edit.vue_vue_type_script_setup_true_lang.js +1 -1
  159. package/es/icon/icon-empty/icon-empty.vue_vue_type_script_setup_true_lang.js +1 -1
  160. package/es/icon/icon-exclamation/icon-exclamation.vue_vue_type_script_setup_true_lang.js +1 -1
  161. package/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  162. package/es/icon/icon-eye/icon-eye.vue_vue_type_script_setup_true_lang.js +1 -1
  163. package/es/icon/icon-eye-invisible/icon-eye-invisible.vue_vue_type_script_setup_true_lang.js +1 -1
  164. package/es/icon/icon-face-frown-fill/icon-face-frown-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  165. package/es/icon/icon-face-meh-fill/icon-face-meh-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  166. package/es/icon/icon-face-smile-fill/icon-face-smile-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  167. package/es/icon/icon-file/icon-file.vue_vue_type_script_setup_true_lang.js +1 -1
  168. package/es/icon/icon-file-audio/icon-file-audio.vue_vue_type_script_setup_true_lang.js +1 -1
  169. package/es/icon/icon-file-image/icon-file-image.vue_vue_type_script_setup_true_lang.js +1 -1
  170. package/es/icon/icon-file-pdf/icon-file-pdf.vue_vue_type_script_setup_true_lang.js +1 -1
  171. package/es/icon/icon-file-video/icon-file-video.vue_vue_type_script_setup_true_lang.js +1 -1
  172. package/es/icon/icon-filter/icon-filter.vue_vue_type_script_setup_true_lang.js +1 -1
  173. package/es/icon/icon-fullscreen/icon-fullscreen.vue_vue_type_script_setup_true_lang.js +1 -1
  174. package/es/icon/icon-image-close/icon-image-close.vue_vue_type_script_setup_true_lang.js +1 -1
  175. package/es/icon/icon-info/icon-info.vue_vue_type_script_setup_true_lang.js +1 -1
  176. package/es/icon/icon-info-circle-fill/icon-info-circle-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  177. package/es/icon/icon-left/icon-left.vue_vue_type_script_setup_true_lang.js +1 -1
  178. package/es/icon/icon-link/icon-link.vue_vue_type_script_setup_true_lang.js +1 -1
  179. package/es/icon/icon-list/icon-list.vue_vue_type_script_setup_true_lang.js +1 -1
  180. package/es/icon/icon-loading/icon-loading.vue_vue_type_script_setup_true_lang.js +1 -1
  181. package/es/icon/icon-menu/icon-menu.vue_vue_type_script_setup_true_lang.js +1 -1
  182. package/es/icon/icon-menu-fold/icon-menu-fold.vue_vue_type_script_setup_true_lang.js +1 -1
  183. package/es/icon/icon-menu-unfold/icon-menu-unfold.vue_vue_type_script_setup_true_lang.js +1 -1
  184. package/es/icon/icon-minus/icon-minus.vue_vue_type_script_setup_true_lang.js +1 -1
  185. package/es/icon/icon-more/icon-more.vue_vue_type_script_setup_true_lang.js +1 -1
  186. package/es/icon/icon-mute/icon-mute.vue_vue_type_script_setup_true_lang.js +1 -1
  187. package/es/icon/icon-oblique-line/icon-oblique-line.vue_vue_type_script_setup_true_lang.js +1 -1
  188. package/es/icon/icon-original-size/icon-original-size.vue_vue_type_script_setup_true_lang.js +1 -1
  189. package/es/icon/icon-pause/icon-pause.vue_vue_type_script_setup_true_lang.js +1 -1
  190. package/es/icon/icon-play-arrow-fill/icon-play-arrow-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  191. package/es/icon/icon-plus/icon-plus.vue_vue_type_script_setup_true_lang.js +1 -1
  192. package/es/icon/icon-question-circle/icon-question-circle.vue_vue_type_script_setup_true_lang.js +1 -1
  193. package/es/icon/icon-right/icon-right.vue_vue_type_script_setup_true_lang.js +1 -1
  194. package/es/icon/icon-rotate-left/icon-rotate-left.vue_vue_type_script_setup_true_lang.js +1 -1
  195. package/es/icon/icon-rotate-right/icon-rotate-right.vue_vue_type_script_setup_true_lang.js +1 -1
  196. package/es/icon/icon-search/icon-search.vue_vue_type_script_setup_true_lang.js +1 -1
  197. package/es/icon/icon-star-fill/icon-star-fill.vue_vue_type_script_setup_true_lang.js +1 -1
  198. package/es/icon/icon-to-top/icon-to-top.vue_vue_type_script_setup_true_lang.js +1 -1
  199. package/es/icon/icon-up/icon-up.vue_vue_type_script_setup_true_lang.js +1 -1
  200. package/es/icon/icon-upload/icon-upload.vue_vue_type_script_setup_true_lang.js +1 -1
  201. package/es/icon/icon-voice/icon-voice.vue_vue_type_script_setup_true_lang.js +1 -1
  202. package/es/icon/icon-zoom-in/icon-zoom-in.vue_vue_type_script_setup_true_lang.js +1 -1
  203. package/es/icon/icon-zoom-out/icon-zoom-out.vue_vue_type_script_setup_true_lang.js +1 -1
  204. package/es/icon-component/add-from-icon-font-cn.js +1 -1
  205. package/es/icon-component/icon-font.vue_vue_type_script_setup_true_lang.js +1 -1
  206. package/es/icon-component/icon.vue_vue_type_script_setup_true_lang.js +1 -1
  207. package/es/icon.js +5 -5
  208. package/es/image/image-footer.vue_vue_type_script_setup_true_lang.js +1 -1
  209. package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
  210. package/es/image/preview-action.vue_vue_type_script_setup_true_lang.js +1 -1
  211. package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  212. package/es/image/preview-group.vue_vue_type_script_setup_true_lang.js +1 -1
  213. package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
  214. package/es/image/preview.vue_vue_type_script_setup_true_lang.js +1 -1
  215. package/es/index.css +107 -57
  216. package/es/index.d.ts +2 -2
  217. package/es/index.js +2 -2
  218. package/es/index.scss +1 -1
  219. package/es/input/input-group.vue_vue_type_script_setup_true_lang.js +1 -1
  220. package/es/input/input-password.vue_vue_type_script_setup_true_lang.js +1 -1
  221. package/es/input/input-search.vue_vue_type_script_setup_true_lang.js +1 -1
  222. package/es/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
  223. package/es/input-mask/input-mask.vue_vue_type_script_setup_true_lang.js +1 -1
  224. package/es/input-mask/mask-engine.js +1 -1
  225. package/es/input-number/input-number.vue_vue_type_script_setup_true_lang.js +1 -1
  226. package/es/input-tag/input-tag.vue_vue_type_script_setup_true_lang.js +1 -1
  227. package/es/input-tag/utils.js +1 -1
  228. package/es/json-form/json-form-component.vue_vue_type_script_setup_true_lang.js +1 -1
  229. package/es/json-form/json-form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  230. package/es/json-form/json-form.vue_vue_type_script_setup_true_lang.js +1 -1
  231. package/es/json-form/style/index.css +2 -2
  232. package/es/json-form/utils.js +1 -1
  233. package/es/kv-list/kv-list-row.vue_vue_type_script_setup_true_lang.js +1 -1
  234. package/es/kv-list/kv-list.vue_vue_type_script_setup_true_lang.js +1 -1
  235. package/es/layout/content.vue_vue_type_script_setup_true_lang.js +1 -1
  236. package/es/layout/footer.vue_vue_type_script_setup_true_lang.js +1 -1
  237. package/es/layout/header.vue_vue_type_script_setup_true_lang.js +1 -1
  238. package/es/layout/layout.vue_vue_type_script_setup_true_lang.js +1 -1
  239. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +1 -1
  240. package/es/layout/style/index.css +3 -3
  241. package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
  242. package/es/list/list-item-meta.vue_vue_type_script_setup_true_lang.js +1 -1
  243. package/es/list/list-item.vue_vue_type_script_setup_true_lang.js +1 -1
  244. package/es/list/list.vue_vue_type_script_setup_true_lang.js +1 -1
  245. package/es/mention/mention.vue_vue_type_script_setup_true_lang.js +1 -1
  246. package/es/menu/base-menu.vue_vue_type_script_setup_true_lang.js +1 -1
  247. package/es/menu/indent.vue_vue_type_script_setup_true_lang.js +1 -1
  248. package/es/menu/item-group.vue_vue_type_script_setup_true_lang.js +1 -1
  249. package/es/menu/item.vue_vue_type_script_setup_true_lang.js +1 -1
  250. package/es/menu/menu.vue_vue_type_script_setup_true_lang.js +1 -1
  251. package/es/menu/overflow-wrap.vue_vue_type_script_setup_true_lang.js +1 -1
  252. package/es/menu/style/index.css +2 -2
  253. package/es/menu/sub-menu-inline.vue_vue_type_script_setup_true_lang.js +1 -1
  254. package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +1 -1
  255. package/es/menu/sub-menu.vue_vue_type_script_setup_true_lang.js +1 -1
  256. package/es/message/index.js +1 -1
  257. package/es/message/message-list.vue_vue_type_script_setup_true_lang.js +1 -1
  258. package/es/message/message.vue_vue_type_script_setup_true_lang.js +1 -1
  259. package/es/message/style/index.css +1 -1
  260. package/es/modal/index.js +2 -2
  261. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +2 -2
  262. package/es/model-selector/model-selector-content.vue_vue_type_script_setup_true_lang.js +1 -1
  263. package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +1 -1
  264. package/es/model-selector/model-selector-empty.vue_vue_type_script_setup_true_lang.js +1 -1
  265. package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +1 -1
  266. package/es/model-selector/model-selector-input.vue_vue_type_script_setup_true_lang.js +1 -1
  267. package/es/model-selector/model-selector-item.vue_vue_type_script_setup_true_lang.js +1 -1
  268. package/es/model-selector/model-selector-list.vue_vue_type_script_setup_true_lang.js +1 -1
  269. package/es/model-selector/model-selector-logo-group.vue_vue_type_script_setup_true_lang.js +1 -1
  270. package/es/model-selector/model-selector-logo.vue_vue_type_script_setup_true_lang.js +1 -1
  271. package/es/model-selector/model-selector-name.vue_vue_type_script_setup_true_lang.js +1 -1
  272. package/es/model-selector/model-selector-separator.vue_vue_type_script_setup_true_lang.js +1 -1
  273. package/es/model-selector/model-selector-shortcut.vue_vue_type_script_setup_true_lang.js +1 -1
  274. package/es/model-selector/model-selector-trigger.vue_vue_type_script_setup_true_lang.js +1 -1
  275. package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +1 -1
  276. package/es/notification/index.js +1 -1
  277. package/es/notification/notification-list.vue_vue_type_script_setup_true_lang.js +1 -1
  278. package/es/notification/notification.vue_vue_type_script_setup_true_lang.js +1 -1
  279. package/es/notification/style/index.css +1 -1
  280. package/es/notification/style/index.scss +3 -1
  281. package/es/number-flow/number-flow-group.vue_vue_type_script_setup_true_lang.js +2 -2
  282. package/es/number-flow/number-flow.vue_vue_type_script_setup_true_lang.js +2 -2
  283. package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +1 -1
  284. package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +1 -1
  285. package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +1 -1
  286. package/es/pagination/page-item.vue_vue_type_script_setup_true_lang.js +1 -1
  287. package/es/pagination/page-jumper.vue_vue_type_script_setup_true_lang.js +1 -1
  288. package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +1 -1
  289. package/es/pagination/pagination.vue_vue_type_script_setup_true_lang.js +1 -1
  290. package/es/panel-group/context.d.ts +4 -0
  291. package/es/panel-group/context.js +13 -0
  292. package/es/panel-group/core/axes.d.ts +33 -0
  293. package/es/panel-group/core/axes.js +33 -0
  294. package/es/panel-group/core/dom.d.ts +6 -0
  295. package/es/panel-group/core/dom.js +42 -0
  296. package/es/panel-group/core/env.d.ts +9 -0
  297. package/es/panel-group/core/env.js +31 -0
  298. package/es/panel-group/core/grips.d.ts +17 -0
  299. package/es/panel-group/core/grips.js +76 -0
  300. package/es/panel-group/core/group.d.ts +13 -0
  301. package/es/panel-group/core/group.js +19 -0
  302. package/es/panel-group/core/motion.d.ts +16 -0
  303. package/es/panel-group/core/motion.js +58 -0
  304. package/es/panel-group/core/panel.d.ts +54 -0
  305. package/es/panel-group/core/panel.js +277 -0
  306. package/es/panel-group/core/reorder.d.ts +6 -0
  307. package/es/panel-group/core/reorder.js +23 -0
  308. package/es/panel-group/core/separator.d.ts +3 -0
  309. package/es/panel-group/core/separator.js +130 -0
  310. package/es/panel-group/core/transition.d.ts +9 -0
  311. package/es/panel-group/core/transition.js +56 -0
  312. package/es/panel-group/core/utils.d.ts +11 -0
  313. package/es/panel-group/core/utils.js +19 -0
  314. package/es/panel-group/index.d.ts +134 -0
  315. package/es/panel-group/index.js +22 -0
  316. package/es/panel-group/panel-group.js +5 -0
  317. package/es/panel-group/panel-group.vue.d.ts +18 -0
  318. package/es/panel-group/panel-group.vue_vue_type_script_setup_true_lang.js +53 -0
  319. package/es/panel-group/panel-separator.js +5 -0
  320. package/es/panel-group/panel-separator.vue.d.ts +17 -0
  321. package/es/panel-group/panel-separator.vue_vue_type_script_setup_true_lang.js +119 -0
  322. package/es/panel-group/panel.js +5 -0
  323. package/es/panel-group/panel.vue.d.ts +30 -0
  324. package/es/panel-group/panel.vue_vue_type_script_setup_true_lang.js +251 -0
  325. package/es/panel-group/style/index.css +110 -0
  326. package/es/panel-group/style/index.scss +118 -0
  327. package/es/panel-group/style/token.scss +16 -0
  328. package/es/panel-group/types.d.ts +21 -0
  329. package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +2 -2
  330. package/es/popconfirm/style/index.css +1 -1
  331. package/es/popover/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  332. package/es/popover/style/index.css +1 -1
  333. package/es/progress/circle.vue_vue_type_script_setup_true_lang.js +1 -1
  334. package/es/progress/line.vue_vue_type_script_setup_true_lang.js +1 -1
  335. package/es/progress/progress.vue_vue_type_script_setup_true_lang.js +1 -1
  336. package/es/progress/steps.vue_vue_type_script_setup_true_lang.js +1 -1
  337. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +2 -2
  338. package/es/radio/radio-group.vue_vue_type_script_setup_true_lang.js +1 -1
  339. package/es/radio/radio.vue_vue_type_script_setup_true_lang.js +1 -1
  340. package/es/rate/rate.vue_vue_type_script_setup_true_lang.js +1 -1
  341. package/es/regex-vis/layout.js +1 -1
  342. package/es/regex-vis/parser/parser.js +1 -1
  343. package/es/regex-vis/regex-vis.vue_vue_type_script_setup_true_lang.js +1 -1
  344. package/es/result/403.vue_vue_type_script_setup_true_lang.js +1 -1
  345. package/es/result/404.vue_vue_type_script_setup_true_lang.js +1 -1
  346. package/es/result/500.vue_vue_type_script_setup_true_lang.js +1 -1
  347. package/es/result/result.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/es/rich-text-editor/nodes/inline-component-node.js +1 -1
  349. package/es/rich-text-editor/rich-text-editor.vue_vue_type_script_setup_true_lang.js +2 -2
  350. package/es/rich-text-editor/rich-text-node-renderer.vue_vue_type_script_setup_true_lang.js +2 -2
  351. package/es/scrollbar/scrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
  352. package/es/sd-vue.js +5 -3
  353. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +1 -1
  354. package/es/select/hooks/use-options.js +1 -1
  355. package/es/select/select-dropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  356. package/es/select/select.vue_vue_type_script_setup_true_lang.js +1 -1
  357. package/es/select/style/index.css +1 -1
  358. package/es/select/utils.js +1 -1
  359. package/es/selectable-card/selectable-card.vue_vue_type_script_setup_true_lang.js +1 -1
  360. package/es/sender/sender-header.vue_vue_type_script_setup_true_lang.js +1 -1
  361. package/es/sender/sender-recording-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  362. package/es/sender/sender-skill-tag.vue_vue_type_script_setup_true_lang.js +1 -1
  363. package/es/sender/sender-stop-loading-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  364. package/es/sender/sender-switch.vue_vue_type_script_setup_true_lang.js +1 -1
  365. package/es/sender/sender.vue_vue_type_script_setup_true_lang.js +1 -1
  366. package/es/skeleton/line.vue_vue_type_script_setup_true_lang.js +1 -1
  367. package/es/skeleton/shape.vue_vue_type_script_setup_true_lang.js +1 -1
  368. package/es/skeleton/skeleton.vue_vue_type_script_setup_true_lang.js +1 -1
  369. package/es/slider/slider-button.vue_vue_type_script_setup_true_lang.js +1 -1
  370. package/es/slider/slider-dots.vue_vue_type_script_setup_true_lang.js +1 -1
  371. package/es/slider/slider-input.vue_vue_type_script_setup_true_lang.js +1 -1
  372. package/es/slider/slider-marks.vue_vue_type_script_setup_true_lang.js +1 -1
  373. package/es/slider/slider-ticks.vue_vue_type_script_setup_true_lang.js +1 -1
  374. package/es/slider/slider.vue_vue_type_script_setup_true_lang.js +1 -1
  375. package/es/slider/style/index.css +1 -1
  376. package/es/space/space.vue_vue_type_script_setup_true_lang.js +1 -1
  377. package/es/spin/dot-loading.vue_vue_type_script_setup_true_lang.js +1 -1
  378. package/es/spin/spin.vue_vue_type_script_setup_true_lang.js +1 -1
  379. package/es/split/split.vue_vue_type_script_setup_true_lang.js +2 -2
  380. package/es/split/style/index.scss +1 -2
  381. package/es/split/style/token.scss +0 -3
  382. package/es/statistic/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
  383. package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +2 -2
  384. package/es/steps/step.vue_vue_type_script_setup_true_lang.js +1 -1
  385. package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +1 -1
  386. package/es/style/theme/_tokens.scss +1 -1
  387. package/es/style/theme/global.scss +69 -31
  388. package/es/style/theme/index.scss +5 -2
  389. package/es/switch/style/index.css +1 -1
  390. package/es/switch/switch.vue_vue_type_script_setup_true_lang.js +2 -2
  391. package/es/table/style/index.css +1 -1
  392. package/es/table/table-column.vue_vue_type_script_setup_true_lang.js +1 -1
  393. package/es/table/table-operation-td.vue_vue_type_script_setup_true_lang.js +1 -1
  394. package/es/table/table-operation-th.vue_vue_type_script_setup_true_lang.js +1 -1
  395. package/es/table/table-tbody.vue_vue_type_script_setup_true_lang.js +1 -1
  396. package/es/table/table-td.vue_vue_type_script_setup_true_lang.js +1 -1
  397. package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +1 -1
  398. package/es/table/table-thead.vue_vue_type_script_setup_true_lang.js +1 -1
  399. package/es/table/table-tr.vue_vue_type_script_setup_true_lang.js +1 -1
  400. package/es/table/table.vue_vue_type_script_setup_true_lang.js +2 -2
  401. package/es/table/utils.js +1 -1
  402. package/es/tabs/tab-pane.vue_vue_type_script_setup_true_lang.js +1 -1
  403. package/es/tabs/tabs-button.vue_vue_type_script_setup_true_lang.js +1 -1
  404. package/es/tabs/tabs-nav-ink.vue_vue_type_script_setup_true_lang.js +1 -1
  405. package/es/tabs/tabs-nav.vue_vue_type_script_setup_true_lang.js +1 -1
  406. package/es/tabs/tabs-tab.vue_vue_type_script_setup_true_lang.js +1 -1
  407. package/es/tabs/tabs.vue_vue_type_script_setup_true_lang.js +1 -1
  408. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +1 -1
  409. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +1 -1
  410. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +1 -1
  411. package/es/thinking-orb/engine/profiles.js +1 -1
  412. package/es/thinking-orb/presets.js +1 -1
  413. package/es/thinking-orb/thinking-orb.vue_vue_type_script_setup_true_lang.js +1 -1
  414. package/es/time-picker/panel.vue_vue_type_script_setup_true_lang.js +1 -1
  415. package/es/time-picker/range-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  416. package/es/time-picker/style/index.css +1 -1
  417. package/es/time-picker/time-column.vue_vue_type_script_setup_true_lang.js +1 -1
  418. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +1 -1
  419. package/es/timeline/item.vue_vue_type_script_setup_true_lang.js +1 -1
  420. package/es/timeline/timeline.vue_vue_type_script_setup_true_lang.js +1 -1
  421. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +1 -1
  422. package/es/tooltip/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  423. package/es/tour/style/index.css +1 -1
  424. package/es/tour/tour.vue_vue_type_script_setup_true_lang.js +2 -2
  425. package/es/transfer/transfer-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
  426. package/es/transfer/transfer-view.vue_vue_type_script_setup_true_lang.js +1 -1
  427. package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +1 -1
  428. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
  429. package/es/tree/expand-transition.vue_vue_type_script_setup_true_lang.js +1 -1
  430. package/es/tree/node-switcher.vue_vue_type_script_setup_true_lang.js +1 -1
  431. package/es/tree/node.vue_vue_type_script_setup_true_lang.js +1 -1
  432. package/es/tree/transition-node-list.vue_vue_type_script_setup_true_lang.js +1 -1
  433. package/es/tree/tree.vue_vue_type_script_setup_true_lang.js +2 -2
  434. package/es/tree/utils/tree-data.js +1 -1
  435. package/es/tree-select/hooks/use-selected-state.js +1 -1
  436. package/es/tree-select/panel.vue_vue_type_script_setup_true_lang.js +1 -1
  437. package/es/tree-select/style/index.css +1 -1
  438. package/es/tree-select/tree-select.vue_vue_type_script_setup_true_lang.js +1 -1
  439. package/es/trigger/trigger.vue_vue_type_script_setup_true_lang.js +1 -1
  440. package/es/typography/base.vue_vue_type_script_setup_true_lang.js +1 -1
  441. package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +1 -1
  442. package/es/typography/operations.vue_vue_type_script_setup_true_lang.js +1 -1
  443. package/es/typography/paragraph.vue_vue_type_script_setup_true_lang.js +1 -1
  444. package/es/typography/text.vue_vue_type_script_setup_true_lang.js +1 -1
  445. package/es/typography/title.vue_vue_type_script_setup_true_lang.js +1 -1
  446. package/es/typography/typography-content.vue_vue_type_script_setup_true_lang.js +1 -1
  447. package/es/typography/typography-operations.vue_vue_type_script_setup_true_lang.js +1 -1
  448. package/es/typography/typography.vue_vue_type_script_setup_true_lang.js +1 -1
  449. package/es/typography/utils/inner-text-renderer.vue_vue_type_script_setup_true_lang.js +1 -1
  450. package/es/upload/upload-button.vue_vue_type_script_setup_true_lang.js +1 -1
  451. package/es/upload/upload-list-item.vue_vue_type_script_setup_true_lang.js +1 -1
  452. package/es/upload/upload-list.vue_vue_type_script_setup_true_lang.js +1 -1
  453. package/es/upload/upload-picture-item.vue_vue_type_script_setup_true_lang.js +1 -1
  454. package/es/upload/upload-progress.vue_vue_type_script_setup_true_lang.js +1 -1
  455. package/es/upload/upload.vue_vue_type_script_setup_true_lang.js +1 -1
  456. package/es/verification-code/verification-code.vue_vue_type_script_setup_true_lang.js +1 -1
  457. package/es/watermark/hooks/use-mutation-observer.js +1 -1
  458. package/es/watermark/watermark.vue_vue_type_script_setup_true_lang.js +1 -1
  459. package/json/vetur-attributes.json +47 -24
  460. package/json/vetur-tags.json +26 -11
  461. package/json/web-types.json +134 -53
  462. package/package.json +5 -4
  463. package/es/resize-box/index.d.ts +0 -131
  464. package/es/resize-box/index.js +0 -10
  465. package/es/resize-box/resize-box.js +0 -5
  466. package/es/resize-box/resize-box.vue.d.ts +0 -74
  467. package/es/resize-box/resize-box.vue_vue_type_script_setup_true_lang.js +0 -240
  468. package/es/resize-box/style/index.css +0 -60
  469. package/es/resize-box/style/index.scss +0 -62
  470. package/es/resize-box/style/token.scss +0 -14
  471. /package/es/{resize-box → panel-group}/style/css.js +0 -0
  472. /package/es/{resize-box → panel-group}/style/index.d.ts +0 -0
  473. /package/es/{resize-box → panel-group}/style/index.js +0 -0
@@ -1,131 +0,0 @@
1
- import { App } from 'vue';
2
- import type { SDOptions } from '../_utils/types';
3
- import _ResizeBox from './resize-box.vue';
4
- declare const ResizeBox: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
6
- width: {
7
- type: NumberConstructor;
8
- };
9
- height: {
10
- type: NumberConstructor;
11
- };
12
- component: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- directions: {
17
- type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
18
- default: () => string[];
19
- };
20
- }>> & Readonly<{
21
- onMoving?: ((_size: {
22
- width: number;
23
- height: number;
24
- }, _ev: MouseEvent) => any) | undefined;
25
- onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
26
- onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
27
- "onUpdate:height"?: ((_height: number) => any) | undefined;
28
- "onUpdate:width"?: ((_width: number) => any) | undefined;
29
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- moving: (_size: {
31
- width: number;
32
- height: number;
33
- }, _ev: MouseEvent) => any;
34
- movingEnd: (_ev: MouseEvent) => any;
35
- movingStart: (_ev: MouseEvent) => any;
36
- "update:height": (_height: number) => any;
37
- "update:width": (_width: number) => any;
38
- }, import("vue").PublicProps, {
39
- component: string;
40
- directions: ("bottom" | "left" | "right" | "top")[];
41
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
42
- P: {};
43
- B: {};
44
- D: {};
45
- C: {};
46
- M: {};
47
- Defaults: {};
48
- }, Readonly<import("vue").ExtractPropTypes<{
49
- width: {
50
- type: NumberConstructor;
51
- };
52
- height: {
53
- type: NumberConstructor;
54
- };
55
- component: {
56
- type: StringConstructor;
57
- default: string;
58
- };
59
- directions: {
60
- type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
61
- default: () => string[];
62
- };
63
- }>> & Readonly<{
64
- onMoving?: ((_size: {
65
- width: number;
66
- height: number;
67
- }, _ev: MouseEvent) => any) | undefined;
68
- onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
69
- onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
70
- "onUpdate:height"?: ((_height: number) => any) | undefined;
71
- "onUpdate:width"?: ((_width: number) => any) | undefined;
72
- }>, {}, {}, {}, {}, {
73
- component: string;
74
- directions: ("bottom" | "left" | "right" | "top")[];
75
- }>;
76
- __isFragment?: never;
77
- __isTeleport?: never;
78
- __isSuspense?: never;
79
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
80
- width: {
81
- type: NumberConstructor;
82
- };
83
- height: {
84
- type: NumberConstructor;
85
- };
86
- component: {
87
- type: StringConstructor;
88
- default: string;
89
- };
90
- directions: {
91
- type: import("vue").PropType<('left' | 'right' | 'top' | 'bottom')[]>;
92
- default: () => string[];
93
- };
94
- }>> & Readonly<{
95
- onMoving?: ((_size: {
96
- width: number;
97
- height: number;
98
- }, _ev: MouseEvent) => any) | undefined;
99
- onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
100
- onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
101
- "onUpdate:height"?: ((_height: number) => any) | undefined;
102
- "onUpdate:width"?: ((_width: number) => any) | undefined;
103
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
- moving: (_size: {
105
- width: number;
106
- height: number;
107
- }, _ev: MouseEvent) => any;
108
- movingEnd: (_ev: MouseEvent) => any;
109
- movingStart: (_ev: MouseEvent) => any;
110
- "update:height": (_height: number) => any;
111
- "update:width": (_width: number) => any;
112
- }, string, {
113
- component: string;
114
- directions: ("bottom" | "left" | "right" | "top")[];
115
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
116
- $slots: {
117
- default?: (props: {}) => any;
118
- } & {
119
- 'resize-trigger'?: (props: {
120
- direction: "bottom" | "left" | "right" | "top";
121
- }) => any;
122
- } & {
123
- 'resize-trigger-icon'?: (props: {
124
- direction: "bottom" | "left" | "right" | "top";
125
- }) => any;
126
- };
127
- }) & {
128
- install: (app: App, options?: SDOptions) => void;
129
- };
130
- export type ResizeBoxInstance = InstanceType<typeof _ResizeBox>;
131
- export default ResizeBox;
@@ -1,10 +0,0 @@
1
- import { getComponentPrefix, setGlobalConfig } from "../_utils/global-config.js";
2
- import resize_box_default from "./resize-box.js";
3
- //#region components/resize-box/index.ts
4
- var ResizeBox = Object.assign(resize_box_default, { install: (app, options) => {
5
- setGlobalConfig(app, options);
6
- const componentPrefix = getComponentPrefix(options);
7
- app.component(componentPrefix + resize_box_default.name, resize_box_default);
8
- } });
9
- //#endregion
10
- export { ResizeBox as default };
@@ -1,5 +0,0 @@
1
- import resize_box_vue_vue_type_script_setup_true_lang_default from "./resize-box.vue_vue_type_script_setup_true_lang.js";
2
- //#region components/resize-box/resize-box.vue
3
- var resize_box_default = resize_box_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
- export { resize_box_default as default };
@@ -1,74 +0,0 @@
1
- import { PropType } from 'vue';
2
- export type DirectionType = 'left' | 'right' | 'top' | 'bottom';
3
- declare var __VLS_9: {}, __VLS_21: {
4
- direction: "bottom" | "left" | "right" | "top";
5
- }, __VLS_24: {
6
- direction: "bottom" | "left" | "right" | "top";
7
- };
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_9) => any;
10
- } & {
11
- 'resize-trigger'?: (props: typeof __VLS_21) => any;
12
- } & {
13
- 'resize-trigger-icon'?: (props: typeof __VLS_24) => any;
14
- };
15
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
16
- width: {
17
- type: NumberConstructor;
18
- };
19
- height: {
20
- type: NumberConstructor;
21
- };
22
- component: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- directions: {
27
- type: PropType<('left' | 'right' | 'top' | 'bottom')[]>;
28
- default: () => string[];
29
- };
30
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
- moving: (_size: {
32
- width: number;
33
- height: number;
34
- }, _ev: MouseEvent) => any;
35
- movingEnd: (_ev: MouseEvent) => any;
36
- movingStart: (_ev: MouseEvent) => any;
37
- "update:height": (_height: number) => any;
38
- "update:width": (_width: number) => any;
39
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
- width: {
41
- type: NumberConstructor;
42
- };
43
- height: {
44
- type: NumberConstructor;
45
- };
46
- component: {
47
- type: StringConstructor;
48
- default: string;
49
- };
50
- directions: {
51
- type: PropType<('left' | 'right' | 'top' | 'bottom')[]>;
52
- default: () => string[];
53
- };
54
- }>> & Readonly<{
55
- onMoving?: ((_size: {
56
- width: number;
57
- height: number;
58
- }, _ev: MouseEvent) => any) | undefined;
59
- onMovingEnd?: ((_ev: MouseEvent) => any) | undefined;
60
- onMovingStart?: ((_ev: MouseEvent) => any) | undefined;
61
- "onUpdate:height"?: ((_height: number) => any) | undefined;
62
- "onUpdate:width"?: ((_width: number) => any) | undefined;
63
- }>, {
64
- component: string;
65
- directions: ("bottom" | "left" | "right" | "top")[];
66
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
67
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
68
- declare const _default: typeof __VLS_export;
69
- export default _default;
70
- type __VLS_WithSlots<T, S> = T & {
71
- new (): {
72
- $slots: S;
73
- };
74
- };
@@ -1,240 +0,0 @@
1
- import _objectSpread2 from "../_virtual/_@oxc-project_runtime@0.147.0/helpers/esm/objectSpread2.js";
2
- import { getPrefixCls } from "../_utils/global-config.js";
3
- import { isNumber } from "../_utils/is.js";
4
- import { off, on } from "../_utils/dom.js";
5
- import { KEYBOARD_KEY } from "../_utils/keyboard.js";
6
- import useMergeState from "../_hooks/use-merge-state.js";
7
- import resize_trigger_default from "../_components/resize-trigger.js";
8
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createSlots, defineComponent, mergeProps, normalizeClass, onBeforeUnmount, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
9
- //#region components/resize-box/resize-box.vue?vue&type=script&setup=true&lang.ts
10
- var DIRECTION_LEFT = "left";
11
- var DIRECTION_RIGHT = "right";
12
- var DIRECTION_TOP = "top";
13
- var DIRECTION_BOTTOM = "bottom";
14
- var resize_box_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "ResizeBox" }), {}, {
15
- __name: "resize-box",
16
- props: {
17
- /**
18
- * @zh 宽度
19
- * @en Width
20
- * @vModel
21
- */
22
- width: { type: Number },
23
- /**
24
- * @zh 高度
25
- * @en Height
26
- * @vModel
27
- */
28
- height: { type: Number },
29
- /**
30
- * @zh 伸缩框的 html 标签
31
- * @en The html tag of the telescopic box
32
- */
33
- component: {
34
- type: String,
35
- default: "div"
36
- },
37
- /**
38
- * @zh 可以进行伸缩的边,有上、下、左、右可以使用
39
- * @en Can be stretched side, there are up, down, left and right can be used
40
- * */
41
- directions: {
42
- type: Array,
43
- default: () => ["right"]
44
- }
45
- },
46
- emits: [
47
- "update:width",
48
- "update:height",
49
- "movingStart",
50
- "moving",
51
- "movingEnd"
52
- ],
53
- setup(__props, { emit: __emit }) {
54
- const allDirections = [
55
- DIRECTION_LEFT,
56
- DIRECTION_RIGHT,
57
- DIRECTION_TOP,
58
- DIRECTION_BOTTOM
59
- ];
60
- function getRealSize(pageSize, padding) {
61
- if (pageSize === 0) return 0;
62
- const res = pageSize - padding;
63
- return res <= 0 ? 0 : res;
64
- }
65
- function isHorizontal(direction) {
66
- return [DIRECTION_TOP, DIRECTION_BOTTOM].indexOf(direction) > -1;
67
- }
68
- const props = __props;
69
- const emit = __emit;
70
- /**
71
- * @zh 伸缩杆的内容
72
- * @en The contents of the resize pole
73
- * @slot resize-trigger
74
- * @binding {'left' | 'right' | 'top' | 'bottom'} direction
75
- */
76
- /**
77
- * @zh 伸缩杆的图标
78
- * @en Resize pole icon
79
- * @slot resize-trigger-icon
80
- * @binding {'left' | 'right' | 'top' | 'bottom'} direction
81
- */
82
- const { height: propHeight, width: propWidth, directions } = toRefs(props);
83
- const [resWidth, setResWidth] = useMergeState(null, reactive({ value: propWidth }));
84
- const [resHeight, setResHeight] = useMergeState(null, reactive({ value: propHeight }));
85
- const wrapperRef = ref();
86
- const paddingStyles = reactive({});
87
- const prefixCls = getPrefixCls("resizebox");
88
- const classNames = computed(() => [prefixCls]);
89
- const styles = computed(() => {
90
- return _objectSpread2(_objectSpread2(_objectSpread2({}, isNumber(resWidth.value) ? { width: `${resWidth.value}px` } : {}), isNumber(resHeight.value) ? { height: `${resHeight.value}px` } : {}), paddingStyles);
91
- });
92
- const allowDirections = computed(() => directions.value.filter((direction) => allDirections.includes(direction)));
93
- const record = {
94
- direction: "",
95
- startPageX: 0,
96
- startPageY: 0,
97
- startWidth: 0,
98
- startHeight: 0,
99
- moving: false,
100
- padding: {
101
- left: 0,
102
- right: 0,
103
- top: 0,
104
- bottom: 0
105
- }
106
- };
107
- function onMoving(e) {
108
- if (!record.moving) return;
109
- const { startPageX, startPageY, startWidth, startHeight, direction } = record;
110
- let newWidth = startWidth;
111
- let newHeight = startHeight;
112
- const offsetX = e.pageX - startPageX;
113
- const offsetY = e.pageY - startPageY;
114
- switch (direction) {
115
- case DIRECTION_LEFT:
116
- newWidth = Math.max(0, startWidth - offsetX);
117
- setResWidth(newWidth);
118
- emit("update:width", newWidth);
119
- break;
120
- case DIRECTION_RIGHT:
121
- newWidth = Math.max(0, startWidth + offsetX);
122
- setResWidth(newWidth);
123
- emit("update:width", newWidth);
124
- break;
125
- case DIRECTION_TOP:
126
- newHeight = Math.max(0, startHeight - offsetY);
127
- setResHeight(newHeight);
128
- emit("update:height", newHeight);
129
- break;
130
- case DIRECTION_BOTTOM:
131
- newHeight = Math.max(0, startHeight + offsetY);
132
- setResHeight(newHeight);
133
- emit("update:height", newHeight);
134
- }
135
- emit("moving", {
136
- width: newWidth,
137
- height: newHeight
138
- }, e);
139
- }
140
- function cleanupDragging() {
141
- record.moving = false;
142
- off(window, "mousemove", onMoving);
143
- off(window, "mouseup", onMoveEnd);
144
- off(window, "contextmenu", onMoveEnd);
145
- document.body.style.cursor = "default";
146
- }
147
- function onMoveEnd(e) {
148
- cleanupDragging();
149
- emit("movingEnd", e);
150
- }
151
- function onMoveStart(direction, e) {
152
- var _wrapperRef$value, _wrapperRef$value2;
153
- emit("movingStart", e);
154
- record.moving = true;
155
- record.startPageX = e.pageX;
156
- record.startPageY = e.pageY;
157
- record.direction = direction;
158
- const { top, left, right, bottom } = record.padding;
159
- record.startWidth = getRealSize(((_wrapperRef$value = wrapperRef.value) === null || _wrapperRef$value === void 0 ? void 0 : _wrapperRef$value.clientWidth) || 0, left + right);
160
- record.startHeight = getRealSize(((_wrapperRef$value2 = wrapperRef.value) === null || _wrapperRef$value2 === void 0 ? void 0 : _wrapperRef$value2.clientHeight) || 0, top + bottom);
161
- on(window, "mousemove", onMoving);
162
- on(window, "mouseup", onMoveEnd);
163
- on(window, "contextmenu", onMoveEnd);
164
- document.body.style.cursor = isHorizontal(direction) ? "row-resize" : "col-resize";
165
- }
166
- function onTriggerResize(direction, entry) {
167
- const { width, height } = entry.contentRect;
168
- const size = isHorizontal(direction) ? height : width;
169
- record.padding[direction] = size;
170
- paddingStyles[`padding-${direction}`] = `${size}px`;
171
- }
172
- function onTriggerKeydown(direction, e) {
173
- const horiz = direction === DIRECTION_LEFT || direction === DIRECTION_RIGHT;
174
- const key = e.key;
175
- const posKey = horiz ? KEYBOARD_KEY.ARROW_RIGHT : KEYBOARD_KEY.ARROW_DOWN;
176
- const negKey = horiz ? KEYBOARD_KEY.ARROW_LEFT : KEYBOARD_KEY.ARROW_UP;
177
- if (key !== posKey && key !== negKey) return;
178
- e.preventDefault();
179
- const step = e.shiftKey ? 20 : 10;
180
- const dirSign = direction === DIRECTION_LEFT || direction === DIRECTION_TOP ? -1 : 1;
181
- const delta = step * (key === posKey ? 1 : -1) * dirSign;
182
- if (horiz) {
183
- var _wrapperRef$value3;
184
- const base = isNumber(resWidth.value) ? resWidth.value : Math.max(0, getRealSize(((_wrapperRef$value3 = wrapperRef.value) === null || _wrapperRef$value3 === void 0 ? void 0 : _wrapperRef$value3.clientWidth) || 0, record.padding.left + record.padding.right));
185
- const newWidth = Math.max(0, base + delta);
186
- setResWidth(newWidth);
187
- emit("update:width", newWidth);
188
- } else {
189
- var _wrapperRef$value4;
190
- const base = isNumber(resHeight.value) ? resHeight.value : Math.max(0, getRealSize(((_wrapperRef$value4 = wrapperRef.value) === null || _wrapperRef$value4 === void 0 ? void 0 : _wrapperRef$value4.clientHeight) || 0, record.padding.top + record.padding.bottom));
191
- const newHeight = Math.max(0, base + delta);
192
- setResHeight(newHeight);
193
- emit("update:height", newHeight);
194
- }
195
- }
196
- onBeforeUnmount(cleanupDragging);
197
- return (_ctx, _cache) => {
198
- return openBlock(), createBlock(resolveDynamicComponent(__props.component), mergeProps({
199
- ref_key: "wrapperRef",
200
- ref: wrapperRef,
201
- class: classNames.value
202
- }, _ctx.$attrs, { style: styles.value }), {
203
- default: withCtx(() => [renderSlot(_ctx.$slots, "default"), (openBlock(true), createElementBlock(Fragment, null, renderList(allowDirections.value, (direction) => {
204
- return openBlock(), createBlock(resize_trigger_default, {
205
- key: direction,
206
- "prefix-cls": `${unref(prefixCls)}-trigger`,
207
- class: normalizeClass(`${unref(prefixCls)}-direction-${direction}`),
208
- direction: isHorizontal(direction) ? "horizontal" : "vertical",
209
- onMousedown: (e) => {
210
- onMoveStart(direction, e);
211
- },
212
- onResize: (entry) => {
213
- onTriggerResize(direction, entry);
214
- },
215
- onKeydown: (e) => {
216
- onTriggerKeydown(direction, e);
217
- }
218
- }, createSlots({
219
- default: withCtx(() => [_ctx.$slots["resize-trigger"] ? renderSlot(_ctx.$slots, "resize-trigger", { direction }, void 0, void 0, 0) : createCommentVNode("", true)]),
220
- _: 2
221
- }, [_ctx.$slots["resize-trigger-icon"] ? {
222
- name: "icon",
223
- fn: withCtx(() => [renderSlot(_ctx.$slots, "resize-trigger-icon", { direction })]),
224
- key: "0"
225
- } : void 0]), 1032, [
226
- "prefix-cls",
227
- "class",
228
- "direction",
229
- "onMousedown",
230
- "onResize",
231
- "onKeydown"
232
- ]);
233
- }), 128))]),
234
- _: 3
235
- }, 16, ["class", "style"]);
236
- };
237
- }
238
- }));
239
- //#endregion
240
- export { resize_box_vue_vue_type_script_setup_true_lang_default as default };
@@ -1,60 +0,0 @@
1
- /******** borderSize *******/
2
- /******** borderStyle *******/
3
- /******** radius *******/
4
- /******** shadow distance *******/
5
- /******** size *******/
6
- /******** spacing *******/
7
- /******** shadow *******/
8
- /******** opacity *******/
9
- /******** fontSize *******/
10
- /******** fontWeight ********/
11
- /******** Primary *******/
12
- /******** success *******/
13
- /******** warning *******/
14
- /******** danger *******/
15
- /******** link *******/
16
- /******** radius *******/
17
- /********* icon hover *********/
18
- .sd-resizebox {
19
- position: relative;
20
- width: 100%;
21
- overflow: hidden;
22
- }
23
- .sd-resizebox-direction-left, .sd-resizebox-direction-right, .sd-resizebox-direction-top, .sd-resizebox-direction-bottom {
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- box-sizing: border-box;
28
- user-select: none;
29
- }
30
- .sd-resizebox-direction-right {
31
- right: 0;
32
- left: unset;
33
- }
34
- .sd-resizebox-direction-bottom {
35
- top: unset;
36
- bottom: 0;
37
- }
38
-
39
- .sd-resizebox-trigger-icon-wrapper {
40
- display: flex;
41
- align-items: center;
42
- justify-content: center;
43
- height: 100%;
44
- color: var(--sd-color-text-1);
45
- font-size: 12px;
46
- line-height: 1;
47
- background-color: var(--sd-color-neutral-3);
48
- }
49
- .sd-resizebox-trigger-icon {
50
- display: inline-block;
51
- margin: -3px;
52
- }
53
- .sd-resizebox-trigger-vertical {
54
- height: 100%;
55
- cursor: col-resize;
56
- }
57
- .sd-resizebox-trigger-horizontal {
58
- width: 100%;
59
- cursor: row-resize;
60
- }
@@ -1,62 +0,0 @@
1
- @use '@style/theme/index.scss' as theme;
2
- @use 'sass:string';
3
- @use '@components/resize-box/style/token.scss' as *;
4
-
5
- $resizebox-prefix-cls: string.unquote('#{theme.$prefix}-resizebox');
6
- $resizebox-trigger-prefix-cls: string.unquote('#{$resizebox-prefix-cls}-trigger');
7
-
8
- .#{$resizebox-prefix-cls} {
9
- position: relative;
10
- width: 100%;
11
- overflow: hidden;
12
-
13
- &-direction-left,
14
- &-direction-right,
15
- &-direction-top,
16
- &-direction-bottom {
17
- position: absolute;
18
- top: 0;
19
- left: 0;
20
- box-sizing: border-box;
21
- user-select: none;
22
- }
23
-
24
- &-direction-right {
25
- right: 0;
26
- left: unset;
27
- }
28
-
29
- &-direction-bottom {
30
- top: unset;
31
- bottom: 0;
32
- }
33
- }
34
-
35
- // 伸缩触发杆
36
- .#{$resizebox-trigger-prefix-cls} {
37
- &-icon-wrapper {
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- height: 100%;
42
- color: $resizeBox-trigger-color-icon;
43
- font-size: $resizeBox-trigger-font-size-icon;
44
- line-height: 1;
45
- background-color: $resizeBox-trigger-color-background;
46
- }
47
-
48
- &-icon {
49
- display: inline-block;
50
- margin: -($resizeBox-trigger-font-size-icon * 0.25);
51
- }
52
-
53
- &-vertical {
54
- height: 100%;
55
- cursor: col-resize;
56
- }
57
-
58
- &-horizontal {
59
- width: 100%;
60
- cursor: row-resize;
61
- }
62
- }
@@ -1,14 +0,0 @@
1
- @use '@style/theme/index.scss' as global;
2
-
3
- @forward '@style/theme/index.scss';
4
- @forward '@style/color/colors.scss' hide $sd-vars-prefix, $sd-cssvars-prefix;
5
-
6
- @use 'sass:string';
7
- @use '@style/theme/index.scss' as *;
8
-
9
- $resizeBox-trigger-color-background: var(
10
- string.unquote('#{global.$sd-cssvars-prefix}-color-neutral-3')
11
- );
12
- // $resizeBox-trigger-size-icon-wrapper: 6px;
13
- $resizeBox-trigger-font-size-icon: 12px;
14
- $resizeBox-trigger-color-icon: var(string.unquote('#{global.$sd-cssvars-prefix}-color-text-1'));
File without changes
File without changes
File without changes