@sdata/web-vue 1.11.1 → 1.12.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 (292) hide show
  1. package/dist/sd.css +177 -6
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/select-view/style/index.css +13 -6
  4. package/es/_components/virtual-list/virtual-list.vue_vue_type_script_lang.js +2 -2
  5. package/es/_hooks/use-allow-search.d.ts +10 -0
  6. package/es/_hooks/use-allow-search.js +31 -0
  7. package/es/_hooks/use-scrollbar.js +1 -1
  8. package/es/_utils/color.js +1 -1
  9. package/es/_utils/date.js +7 -1
  10. package/es/_utils/dom.js +1 -1
  11. package/es/_utils/global-config.js +1 -1
  12. package/es/_utils/omit.js +1 -1
  13. package/es/_utils/responsive-observe.js +1 -1
  14. package/es/_utils/virtual-dropdown.js +1 -1
  15. package/es/_utils/vue-utils.js +4 -18
  16. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/asyncToGenerator.js +1 -1
  17. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/defineProperty.js +1 -1
  18. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/extends.js +1 -1
  19. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectDestructuringEmpty.js +1 -1
  20. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectSpread2.js +1 -1
  21. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutProperties.js +1 -1
  22. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
  23. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPrimitive.js +1 -1
  24. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/toPropertyKey.js +1 -1
  25. package/es/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.130.0}/helpers/typeof.js +1 -1
  26. package/es/affix/affix.vue_vue_type_script_lang.js +31 -3
  27. package/es/alert/alert.vue_vue_type_script_lang.js +55 -0
  28. package/es/anchor/anchor-link.vue_vue_type_script_lang.js +8 -0
  29. package/es/anchor/anchor.vue_vue_type_script_lang.js +32 -0
  30. package/es/auto-complete/auto-complete.js +102 -0
  31. package/es/avatar/avatar-group.js +31 -0
  32. package/es/avatar/avatar.vue_vue_type_script_lang.js +51 -1
  33. package/es/back-top/back-top.vue_vue_type_script_lang.js +16 -0
  34. package/es/badge/badge.js +34 -1
  35. package/es/breadcrumb/breadcrumb-item.js +27 -0
  36. package/es/breadcrumb/breadcrumb.js +39 -0
  37. package/es/button/button-group.vue_vue_type_script_lang.js +22 -0
  38. package/es/button/button.vue_vue_type_script_lang.js +58 -1
  39. package/es/calendar/calendar.js +47 -0
  40. package/es/calendar/month.js +1 -1
  41. package/es/calendar/year.js +1 -1
  42. package/es/card/card-grid.vue_vue_type_script_lang.js +6 -1
  43. package/es/card/card-meta.js +23 -0
  44. package/es/card/card.js +54 -0
  45. package/es/carousel/carousel.js +68 -1
  46. package/es/cascader/cascader-panel.js +2 -28
  47. package/es/cascader/cascader-panel.vue.d.ts +24 -306
  48. package/es/cascader/{cascader-panel.vue_vue_type_script_lang.js → cascader-panel.vue_vue_type_script_setup_true_lang.js} +92 -101
  49. package/es/cascader/cascader.js +2 -145
  50. package/es/cascader/cascader.vue.d.ts +53 -1289
  51. package/es/cascader/{cascader.vue_vue_type_script_lang.js → cascader.vue_vue_type_script_setup_true_lang.js} +236 -172
  52. package/es/cascader/index.d.ts +4 -2986
  53. package/es/cascader/types.d.ts +79 -0
  54. package/es/checkbox/checkbox-group.js +48 -0
  55. package/es/checkbox/checkbox.js +35 -0
  56. package/es/collapse/collapse-item.js +36 -0
  57. package/es/collapse/collapse.vue_vue_type_script_lang.js +47 -0
  58. package/es/color-picker/color-picker.js +90 -1
  59. package/es/color-picker/panel.js +5 -2
  60. package/es/color-picker/utils.js +1 -1
  61. package/es/comment/comment.js +47 -1
  62. package/es/components.d.ts +132 -127
  63. package/es/config-provider/config-provider.vue.d.ts +9 -0
  64. package/es/config-provider/config-provider.vue_vue_type_script_lang.js +72 -1
  65. package/es/config-provider/context.d.ts +1 -0
  66. package/es/config-provider/index.d.ts +15 -0
  67. package/es/config-provider/theme-provider.vue_vue_type_script_setup_true_lang.js +1 -1
  68. package/es/config-provider/theme.js +1 -1
  69. package/es/copy/copy.js +5 -0
  70. package/es/copy/copy.vue.d.ts +15 -0
  71. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +95 -0
  72. package/es/copy/index.d.ts +15 -0
  73. package/es/copy/index.js +10 -0
  74. package/es/copy/style/css.js +2 -0
  75. package/es/copy/style/index.css +25 -0
  76. package/es/copy/style/index.d.ts +2 -0
  77. package/es/copy/style/index.js +2 -0
  78. package/es/copy/style/index.scss +15 -0
  79. package/es/copy/style/token.scss +3 -0
  80. package/es/copy/types.d.ts +21 -0
  81. package/es/cropper/cropper.js +5 -0
  82. package/es/cropper/cropper.vue.d.ts +45 -0
  83. package/es/cropper/cropper.vue_vue_type_script_setup_true_lang.js +266 -0
  84. package/es/cropper/index.d.ts +130 -0
  85. package/es/cropper/index.js +10 -0
  86. package/es/cropper/interface.d.ts +59 -0
  87. package/es/cropper/style/css.js +2 -0
  88. package/es/cropper/style/index.css +51 -0
  89. package/es/cropper/style/index.d.ts +2 -0
  90. package/es/cropper/style/index.js +2 -0
  91. package/es/cropper/style/index.scss +43 -0
  92. package/es/cropper/style/token.scss +8 -0
  93. package/es/date-picker/hooks/use-range-time-picker-value.js +1 -1
  94. package/es/date-picker/index.d.ts +54 -576
  95. package/es/date-picker/panels/date/index.js +1 -1
  96. package/es/date-picker/panels/date/index.vue_vue_type_script_lang.js +1 -1
  97. package/es/date-picker/panels/footer.vue.d.ts +55 -577
  98. package/es/date-picker/panels/footer.vue_vue_type_script_lang.js +1 -1
  99. package/es/date-picker/panels/month/index.js +1 -1
  100. package/es/date-picker/panels/quarter/index.js +1 -1
  101. package/es/date-picker/panels/year/index.js +1 -1
  102. package/es/date-picker/picker-panel.vue.d.ts +54 -576
  103. package/es/date-picker/picker.js +1 -1
  104. package/es/date-picker/picker.vue.d.ts +54 -576
  105. package/es/date-picker/picker.vue_vue_type_script_lang.js +193 -1
  106. package/es/date-picker/pickers/date-picker.js +42 -0
  107. package/es/date-picker/pickers/month-picker.js +12 -0
  108. package/es/date-picker/pickers/quarter-picker.js +17 -0
  109. package/es/date-picker/pickers/week-picker.js +23 -0
  110. package/es/date-picker/pickers/year-picker.js +12 -0
  111. package/es/date-picker/range-picker-panel.vue.d.ts +54 -576
  112. package/es/date-picker/range-picker-panel.vue_vue_type_script_lang.js +1 -1
  113. package/es/date-picker/range-picker.js +1 -1
  114. package/es/date-picker/range-picker.vue.d.ts +54 -576
  115. package/es/date-picker/range-picker.vue_vue_type_script_lang.js +120 -1
  116. package/es/descriptions/descriptions-item.vue_vue_type_script_lang.js +16 -0
  117. package/es/descriptions/descriptions.js +65 -1
  118. package/es/divider/divider.js +24 -0
  119. package/es/drawer/drawer.vue_vue_type_script_lang.js +161 -2
  120. package/es/drawer/index.js +2 -2
  121. package/es/dropdown/dropdown-button.vue_vue_type_script_lang.js +70 -0
  122. package/es/dropdown/dropdown-group.vue_vue_type_script_lang.js +12 -1
  123. package/es/dropdown/dropdown-option.vue_vue_type_script_lang.js +20 -1
  124. package/es/dropdown/dropdown-submenu.vue_vue_type_script_lang.js +57 -0
  125. package/es/dropdown/dropdown.vue_vue_type_script_lang.js +55 -0
  126. package/es/ellipsis/ellipsis.vue_vue_type_script_lang.js +25 -2
  127. package/es/ellipsis/performant-ellipsis.vue_vue_type_script_lang.js +24 -1
  128. package/es/empty/empty.js +18 -0
  129. package/es/form/form-item.vue_vue_type_script_lang.js +146 -3
  130. package/es/form/form.vue_vue_type_script_lang.js +108 -0
  131. package/es/grid/grid-col.vue_vue_type_script_lang.js +42 -1
  132. package/es/grid/grid-item.vue_vue_type_script_lang.js +13 -1
  133. package/es/grid/grid-row.vue_vue_type_script_lang.js +21 -0
  134. package/es/grid/grid.vue_vue_type_script_lang.js +20 -0
  135. package/es/icon.js +5 -5
  136. package/es/image/image.js +1 -1
  137. package/es/image/image.vue_vue_type_script_lang.js +82 -0
  138. package/es/image/preview-action.js +8 -0
  139. package/es/image/preview-group.js +1 -1
  140. package/es/image/preview-group.vue_vue_type_script_lang.js +48 -0
  141. package/es/image/preview-toolbar.vue_vue_type_script_lang.js +1 -0
  142. package/es/image/preview.vue_vue_type_script_lang.js +56 -1
  143. package/es/index.css +177 -6
  144. package/es/index.d.ts +9 -1
  145. package/es/index.js +6 -2
  146. package/es/index.scss +4 -0
  147. package/es/input/input-password.vue_vue_type_script_lang.js +13 -0
  148. package/es/input/input-search.js +35 -1
  149. package/es/input/input.js +129 -1
  150. package/es/input-number/index.d.ts +35 -23
  151. package/es/input-number/input-number.d.ts +19 -10
  152. package/es/input-number/input-number.js +205 -23
  153. package/es/input-tag/input-tag.js +137 -1
  154. package/es/input-tag/style/index.css +13 -6
  155. package/es/input-tag/utils.js +1 -1
  156. package/es/layout/content.js +5 -0
  157. package/es/layout/footer.js +5 -0
  158. package/es/layout/header.js +5 -0
  159. package/es/layout/layout.vue_vue_type_script_lang.js +6 -1
  160. package/es/layout/sider.vue_vue_type_script_lang.js +46 -0
  161. package/es/link/index.d.ts +44 -564
  162. package/es/link/interface.d.ts +15 -0
  163. package/es/link/link.js +2 -17
  164. package/es/link/link.vue.d.ts +31 -286
  165. package/es/link/link.vue_vue_type_script_setup_true_lang.js +112 -0
  166. package/es/link/style/index.css +6 -0
  167. package/es/link/style/index.scss +10 -0
  168. package/es/list/list-item-meta.vue_vue_type_script_lang.js +23 -0
  169. package/es/list/list-item.js +21 -1
  170. package/es/list/list.js +104 -2
  171. package/es/mention/mention.js +87 -1
  172. package/es/menu/base-menu.vue_vue_type_script_lang.js +102 -0
  173. package/es/menu/item-group.vue_vue_type_script_lang.js +11 -1
  174. package/es/menu/item.d.ts +1 -1
  175. package/es/menu/item.js +13 -2
  176. package/es/menu/menu.js +2 -1
  177. package/es/menu/sub-menu-pop.vue.d.ts +1 -1
  178. package/es/menu/sub-menu.js +40 -1
  179. package/es/message/index.js +1 -1
  180. package/es/modal/index.js +2 -2
  181. package/es/modal/modal.vue_vue_type_script_lang.js +193 -2
  182. package/es/notification/index.js +1 -1
  183. package/es/overflow-list/overflow-list.js +25 -1
  184. package/es/page-header/page-header.vue_vue_type_script_lang.js +38 -0
  185. package/es/pagination/page-jumper.vue.d.ts +35 -22
  186. package/es/pagination/pagination.js +122 -0
  187. package/es/popconfirm/popconfirm.vue_vue_type_script_lang.js +95 -1
  188. package/es/popover/popover.vue_vue_type_script_lang.js +62 -0
  189. package/es/progress/line.vue_vue_type_script_lang.js +1 -1
  190. package/es/progress/progress.vue_vue_type_script_lang.js +48 -0
  191. package/es/radio/radio-group.js +53 -0
  192. package/es/radio/radio.js +36 -0
  193. package/es/rate/rate.js +54 -0
  194. package/es/resize-box/resize-box.vue_vue_type_script_lang.js +47 -1
  195. package/es/result/result.vue_vue_type_script_lang.js +40 -0
  196. package/es/scrollbar/scrollbar.vue_vue_type_script_lang.js +108 -2
  197. package/es/sd-vue.js +10 -2
  198. package/es/secret/index.d.ts +48 -0
  199. package/es/secret/index.js +10 -0
  200. package/es/secret/secret.js +5 -0
  201. package/es/secret/secret.vue.d.ts +17 -0
  202. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +64 -0
  203. package/es/secret/style/css.js +2 -0
  204. package/es/secret/style/index.css +54 -0
  205. package/es/secret/style/index.d.ts +2 -0
  206. package/es/secret/style/index.js +2 -0
  207. package/es/secret/style/index.scss +48 -0
  208. package/es/secret/style/token.scss +9 -0
  209. package/es/select/hooks/use-options.js +1 -1
  210. package/es/select/optgroup.vue_vue_type_script_lang.js +12 -1
  211. package/es/select/option.vue_vue_type_script_lang.js +27 -0
  212. package/es/select/select.js +8 -6
  213. package/es/select/utils.js +1 -1
  214. package/es/skeleton/line.vue_vue_type_script_lang.js +16 -0
  215. package/es/skeleton/shape.vue_vue_type_script_lang.js +10 -0
  216. package/es/skeleton/skeleton.vue_vue_type_script_lang.js +8 -0
  217. package/es/slider/index.d.ts +66 -42
  218. package/es/slider/slider-input.vue.d.ts +33 -21
  219. package/es/slider/slider.vue.d.ts +33 -21
  220. package/es/slider/slider.vue_vue_type_script_lang.js +55 -0
  221. package/es/space/space.js +27 -0
  222. package/es/spin/spin.js +35 -0
  223. package/es/split/split.vue_vue_type_script_lang.js +62 -1
  224. package/es/statistic/countdown.vue_vue_type_script_lang.js +36 -1
  225. package/es/statistic/statistic.vue_vue_type_script_lang.js +74 -0
  226. package/es/steps/step.vue_vue_type_script_lang.js +36 -0
  227. package/es/steps/steps.vue_vue_type_script_lang.js +47 -0
  228. package/es/switch/switch.vue_vue_type_script_lang.js +98 -1
  229. package/es/table/table-column.js +115 -0
  230. package/es/table/table-operation-td.js +1 -1
  231. package/es/table/table-operation-th.js +1 -1
  232. package/es/table/table-td.js +1 -1
  233. package/es/table/table-th.js +1 -1
  234. package/es/table/table.js +442 -3
  235. package/es/table/utils.js +1 -1
  236. package/es/tabs/tab-pane.vue_vue_type_script_lang.js +23 -1
  237. package/es/tabs/tabs.js +104 -0
  238. package/es/tag/index.d.ts +29237 -74
  239. package/es/tag/interface.d.ts +9 -1
  240. package/es/tag/style/index.css +13 -6
  241. package/es/tag/style/index.scss +16 -4
  242. package/es/tag/tag.js +26 -5
  243. package/es/tag/tag.vue.d.ts +11688 -7
  244. package/es/tag/tag.vue_vue_type_script_lang.js +139 -3
  245. package/es/tag-group/index.d.ts +64 -0
  246. package/es/tag-group/index.js +10 -0
  247. package/es/tag-group/interface.d.ts +18 -0
  248. package/es/tag-group/style/css.js +2 -0
  249. package/es/tag-group/style/index.css +92 -0
  250. package/es/tag-group/style/index.d.ts +2 -0
  251. package/es/tag-group/style/index.js +2 -0
  252. package/es/tag-group/style/index.scss +108 -0
  253. package/es/tag-group/style/token.scss +6 -0
  254. package/es/tag-group/tag-group.js +5 -0
  255. package/es/tag-group/tag-group.vue.d.ts +46 -0
  256. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +360 -0
  257. package/es/textarea/textarea.vue_vue_type_script_lang.js +90 -1
  258. package/es/time-picker/range-panel.js +1 -1
  259. package/es/time-picker/time-picker.js +1 -1
  260. package/es/time-picker/time-picker.vue_vue_type_script_lang.js +132 -0
  261. package/es/timeline/item.vue_vue_type_script_lang.js +38 -1
  262. package/es/timeline/timeline.js +28 -0
  263. package/es/tooltip/tooltip.vue_vue_type_script_lang.js +61 -1
  264. package/es/transfer/transfer.vue_vue_type_script_lang.js +136 -0
  265. package/es/tree/base-node.vue_vue_type_script_lang.js +7 -0
  266. package/es/tree/node.js +1 -1
  267. package/es/tree/tree.vue_vue_type_script_lang.js +287 -2
  268. package/es/tree/utils/tree-data.js +1 -1
  269. package/es/tree-select/hooks/use-selected-state.js +1 -1
  270. package/es/tree-select/panel.js +1 -1
  271. package/es/tree-select/tree-select.js +1 -1
  272. package/es/tree-select/tree-select.vue_vue_type_script_lang.js +281 -8
  273. package/es/trigger/trigger.js +161 -1
  274. package/es/trigger/utils.js +1 -1
  275. package/es/typography/base.d.ts +7 -0
  276. package/es/typography/base.js +127 -3
  277. package/es/typography/interface.d.ts +2 -0
  278. package/es/typography/operations.js +30 -0
  279. package/es/typography/paragraph.js +8 -0
  280. package/es/typography/title.js +6 -1
  281. package/es/upload/upload.js +279 -2
  282. package/es/verification-code/verification-code.js +59 -0
  283. package/es/watermark/hooks/use-mutation-observer.js +1 -1
  284. package/es/watermark/watermark.js +58 -1
  285. package/es/web-vue.css +24 -24
  286. package/json/vetur-attributes.json +134 -218
  287. package/json/vetur-tags.json +58 -67
  288. package/json/web-types.json +304 -493
  289. package/package.json +9 -7
  290. package/es/_utils/clipboard.d.ts +0 -1
  291. package/es/_utils/clipboard.js +0 -35
  292. package/es/link/link.vue_vue_type_script_lang.js +0 -56
@@ -30,66 +30,198 @@ var time_picker_vue_vue_type_script_lang_default = defineComponent({
30
30
  },
31
31
  inheritAttrs: false,
32
32
  props: {
33
+ /**
34
+ * @zh 选择器类型
35
+ * @en Selector type
36
+ */
33
37
  type: {
34
38
  type: String,
35
39
  default: "time"
36
40
  },
41
+ /**
42
+ * @zh 绑定值
43
+ * @en Value
44
+ * */
37
45
  modelValue: { type: [
38
46
  String,
39
47
  Number,
40
48
  Date,
41
49
  Array
42
50
  ] },
51
+ /**
52
+ * @zh 默认值
53
+ * @en Default value
54
+ * */
43
55
  defaultValue: { type: [
44
56
  String,
45
57
  Number,
46
58
  Date,
47
59
  Array
48
60
  ] },
61
+ /**
62
+ * @zh 是否禁用
63
+ * @en Whether to disable
64
+ */
49
65
  disabled: { type: Boolean },
66
+ /**
67
+ * @zh 是否允许清除
68
+ * @en Whether to allow clear
69
+ * */
50
70
  allowClear: {
51
71
  type: Boolean,
52
72
  default: true
53
73
  },
74
+ /**
75
+ * @zh 是否为只读模式
76
+ * @en Whether it is read-only mode
77
+ * */
54
78
  readonly: { type: Boolean },
79
+ /**
80
+ * @zh 是否为错误状态
81
+ * @en Whether it is an error state
82
+ * */
55
83
  error: { type: Boolean },
84
+ /**
85
+ * @zh 展示日期的格式,参考[字符串解析格式](#字符串解析格式)
86
+ * @en Display the format of the date, refer to [String Parsing Format](#String Parsing Format)
87
+ * */
56
88
  format: {
57
89
  type: String,
58
90
  default: "HH:mm:ss"
59
91
  },
92
+ /**
93
+ * @zh 提示文案
94
+ * @en Prompt copy
95
+ * */
60
96
  placeholder: { type: [String, Array] },
97
+ /**
98
+ * @zh 输入框尺寸
99
+ * @en Input box size
100
+ * @values 'mini','small','medium','large'
101
+ * @defaultValue 'medium'
102
+ * */
61
103
  size: { type: String },
104
+ /**
105
+ * @zh 弹出框的挂载容器
106
+ * @en Mount container for pop-up box
107
+ * */
62
108
  popupContainer: { type: [String, Object] },
109
+ /**
110
+ * @zh 12 小时制
111
+ * @en 12 hour clock
112
+ * */
63
113
  use12Hours: { type: Boolean },
114
+ /**
115
+ * @zh 设置 时 / 分 / 秒 的选择间隔
116
+ * @en Set the hour/minute/second selection interval
117
+ * */
64
118
  step: { type: Object },
119
+ /**
120
+ * @zh 禁用的部分小时选项
121
+ * @en Disabled partial hour options
122
+ * */
65
123
  disabledHours: { type: Function },
124
+ /**
125
+ * @zh 禁用的部分分钟选项
126
+ * @en Disabled some minutes options
127
+ * */
66
128
  disabledMinutes: { type: Function },
129
+ /**
130
+ * @zh 禁用的部分秒数选项
131
+ * @en Disabled partial seconds option
132
+ * */
67
133
  disabledSeconds: { type: Function },
134
+ /**
135
+ * @zh 隐藏禁止选择的选项
136
+ * @en Hide prohibited options
137
+ * */
68
138
  hideDisabledOptions: { type: Boolean },
139
+ /**
140
+ * @zh 禁用确认步骤,开启后直接点选时间不需要点击确认按钮
141
+ * @en Disable the confirmation step, click the time directly after opening, without clicking the confirmation button
142
+ * */
69
143
  disableConfirm: { type: Boolean },
144
+ /**
145
+ * @zh 弹出的位置
146
+ * @en Pop-up position
147
+ * */
70
148
  position: {
71
149
  type: String,
72
150
  default: "bl"
73
151
  },
152
+ /**
153
+ * @zh 控制弹出框打开或者关闭
154
+ * @en Control the pop-up box to open or close
155
+ * @vModel
156
+ */
74
157
  popupVisible: {
75
158
  type: Boolean,
76
159
  default: void 0
77
160
  },
161
+ /**
162
+ * @zh 弹出框默认打开或者关闭
163
+ * @en The pop-up box is opened or closed by default
164
+ * */
78
165
  defaultPopupVisible: {
79
166
  type: Boolean,
80
167
  default: false
81
168
  },
169
+ /**
170
+ * @zh 可以传入 `Trigger` 组件的参数
171
+ * @en You can pass in the parameters of the `Trigger` component
172
+ * */
82
173
  triggerProps: { type: Object },
174
+ /**
175
+ * @zh 是否在关闭后销毁 dom 结构
176
+ * @en Whether to destroy the dom structure after closing
177
+ * */
83
178
  unmountOnClose: { type: Boolean }
84
179
  },
85
180
  emits: {
181
+ /**
182
+ * @zh 组件值发生改变
183
+ * @en The component value changes
184
+ * @param {string | Array<string | undefined> | undefined} timeString
185
+ * @param {date | Array<date | undefined> | undefined} time
186
+ */
86
187
  "change": (_timeString, _time) => true,
87
188
  "update:modelValue": (_timeString) => true,
189
+ /**
190
+ * @zh 选择时间但未触发组件值变化
191
+ * @en Select time but do not trigger component value change
192
+ * @param {string | Array<string | undefined>} timeString
193
+ * @param {Date | Array<Date | undefined>} time
194
+ */
88
195
  "select": (_timeString, _time) => true,
196
+ /**
197
+ * @zh 点击清除按钮
198
+ * @en Click the clear button
199
+ * */
89
200
  "clear": () => true,
201
+ /**
202
+ * @zh 弹出框展开和收起
203
+ * @en Pop-up box expand and collapse
204
+ * @param {boolean} visible
205
+ */
90
206
  "popup-visible-change": (_visible) => true,
91
207
  "update:popupVisible": (_visible) => true
92
208
  },
209
+ /**
210
+ * @zh 输入框前缀
211
+ * @en Input box prefix
212
+ * @slot prefix
213
+ * @version 2.41.0
214
+ */
215
+ /**
216
+ * @zh 输入框后缀图标
217
+ * @en Input box suffix icon
218
+ * @slot suffix-icon
219
+ */
220
+ /**
221
+ * @zh 额外的页脚
222
+ * @en Extra footer
223
+ * @slot extra
224
+ */
93
225
  setup(props, { emit }) {
94
226
  const { type, format, use12Hours, modelValue, defaultValue, popupVisible, defaultPopupVisible, disabled, placeholder, allowClear, disableConfirm, disabledHours, disabledMinutes, disabledSeconds } = toRefs(props);
95
227
  const { mergedDisabled, eventHandlers } = useFormItem({ disabled });
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { timelineInjectionKey } from "./context.js";
4
4
  import { computed, defineComponent, getCurrentInstance, inject } from "vue";
@@ -12,19 +12,56 @@ var getDefaultPosition = (index, mode, direction, position) => {
12
12
  var item_vue_vue_type_script_lang_default = defineComponent({
13
13
  name: "TimelineItem",
14
14
  props: {
15
+ /**
16
+ * @zh 节点颜色
17
+ * @en Dot color
18
+ */
15
19
  dotColor: { type: String },
20
+ /**
21
+ * @zh 节点类型:空心圆/实心圆
22
+ * @en Dot type
23
+ * @values 'hollow', 'solid'
24
+ */
16
25
  dotType: {
17
26
  type: String,
18
27
  default: "solid"
19
28
  },
29
+ /**
30
+ * @zh 时间轴类型:实线/虚线/点状线
31
+ * @en Line type
32
+ * @values 'solid', 'dashed', 'dotted'
33
+ */
20
34
  lineType: {
21
35
  type: String,
22
36
  default: "solid"
23
37
  },
38
+ /**
39
+ * @zh 时间轴颜色
40
+ * @en Line Color
41
+ */
24
42
  lineColor: { type: String },
43
+ /**
44
+ * @zh 标签文本
45
+ * @en Label text
46
+ */
25
47
  label: { type: String },
48
+ /**
49
+ * @zh Item 位置
50
+ * @en Item position
51
+ */
26
52
  position: { type: String }
27
53
  },
54
+ /**
55
+ * @zh 自定义节点
56
+ * @en Custom dot
57
+ * @slot dot
58
+ */
59
+ /**
60
+ * @zh 自定义标签
61
+ * @en Custom label
62
+ * @slot label
63
+ * @version 2.50.0
64
+ */
28
65
  setup(props) {
29
66
  const prefixCls = getPrefixCls("timeline-item");
30
67
  const instance = getCurrentInstance();
@@ -12,21 +12,49 @@ var timeline_default = /* @__PURE__ */ defineComponent({
12
12
  Spin
13
13
  },
14
14
  props: {
15
+ /**
16
+ * @zh 是否倒序
17
+ * @en Whether reverse order
18
+ */
15
19
  reverse: { type: Boolean },
20
+ /**
21
+ * @zh 时间轴方向
22
+ * @en Timeline direction
23
+ * @values 'horizontal', 'vertical'
24
+ */
16
25
  direction: {
17
26
  type: String,
18
27
  default: "vertical"
19
28
  },
29
+ /**
30
+ * @zh 时间轴的展示类型:时间轴在左侧,时间轴在右侧, 交替出现。
31
+ * @en The display mode of Timeline
32
+ * @values 'left','right','top','bottom','alternate'
33
+ */
20
34
  mode: {
21
35
  type: String,
22
36
  default: "left"
23
37
  },
38
+ /**
39
+ * @zh 是否展示幽灵节点,设置为 true 时候只展示幽灵节点。传入ReactNode时,会作为节点内容展示。
40
+ * @en Whether to display ghost nodes. When set to true, only ghost nodes are displayed. When passed to ReactNode, it will be displayed as node content
41
+ */
24
42
  pending: { type: [Boolean, String] },
43
+ /**
44
+ * @zh 设置标签文本的位置
45
+ * @en Position of label text
46
+ * @values 'relative', 'same'
47
+ */
25
48
  labelPosition: {
26
49
  type: String,
27
50
  default: "same"
28
51
  }
29
52
  },
53
+ /**
54
+ * @zh 幽灵节点
55
+ * @en Custom dot
56
+ * @slot dot
57
+ */
30
58
  setup(props, { slots }) {
31
59
  const prefixCls = getPrefixCls("timeline");
32
60
  const hasPending = computed(() => {
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import Trigger from "../trigger/index.js";
4
4
  import { computed, defineComponent, ref } from "vue";
@@ -7,46 +7,106 @@ var tooltip_vue_vue_type_script_lang_default = defineComponent({
7
7
  name: "Tooltip",
8
8
  components: { Trigger },
9
9
  props: {
10
+ /**
11
+ * @zh 文字气泡是否可见
12
+ * @en Whether the tooltip is visible
13
+ * @vModel
14
+ */
10
15
  popupVisible: {
11
16
  type: Boolean,
12
17
  default: void 0
13
18
  },
19
+ /**
20
+ * @zh 文字气泡默认是否可见(非受控模式)
21
+ * @en Whether the tooltip is visible by default (uncontrolled mode)
22
+ */
14
23
  defaultPopupVisible: {
15
24
  type: Boolean,
16
25
  default: false
17
26
  },
27
+ /**
28
+ * @zh 文字气泡是否禁用
29
+ * @en Whether to disable the tooltip
30
+ */
18
31
  disabled: {
19
32
  type: Boolean,
20
33
  default: false
21
34
  },
35
+ /**
36
+ * @zh 文字气泡内容
37
+ * @en Tooltip content
38
+ */
22
39
  content: String,
40
+ /**
41
+ * @zh 弹出位置
42
+ * @en Popup position
43
+ * @values 'top','tl','tr','bottom','bl','br','left','lt','lb','right','rt','rb'
44
+ */
23
45
  position: {
24
46
  type: String,
25
47
  default: "top"
26
48
  },
49
+ /**
50
+ * @zh 是否展示为迷你尺寸
51
+ * @en Whether to display as a mini size
52
+ */
27
53
  mini: {
28
54
  type: Boolean,
29
55
  default: false
30
56
  },
57
+ /**
58
+ * @zh 弹出框的背景颜色
59
+ * @en Background color of the popover
60
+ */
31
61
  backgroundColor: { type: String },
62
+ /**
63
+ * @zh 弹出框内容的类名
64
+ * @en The class name of the popup content
65
+ */
32
66
  contentClass: { type: [
33
67
  String,
34
68
  Array,
35
69
  Object
36
70
  ] },
71
+ /**
72
+ * @zh 弹出框内容的样式
73
+ * @en The style of the popup content
74
+ */
37
75
  contentStyle: { type: Object },
76
+ /**
77
+ * @zh 弹出框箭头的类名
78
+ * @en The class name of the popup arrow
79
+ */
38
80
  arrowClass: { type: [
39
81
  String,
40
82
  Array,
41
83
  Object
42
84
  ] },
85
+ /**
86
+ * @zh 弹出框箭头的样式
87
+ * @en The style of the popup arrow
88
+ */
43
89
  arrowStyle: { type: Object },
90
+ /**
91
+ * @zh 弹出框的挂载容器
92
+ * @en Mount container for popup
93
+ */
44
94
  popupContainer: { type: [String, Object] }
45
95
  },
46
96
  emits: {
47
97
  "update:popupVisible": (_visible) => true,
98
+ /**
99
+ * @zh 文字气泡显示状态改变时触发
100
+ * @en Emitted when the tooltip display status changes
101
+ * @param {boolean} visible
102
+ */
48
103
  "popupVisibleChange": (_visible) => true
49
104
  },
105
+ /**
106
+ * @zh 内容
107
+ * @en Content
108
+ * @slot content
109
+ */
50
110
  setup(props, { emit }) {
51
111
  const prefixCls = getPrefixCls("tooltip");
52
112
  const _popupVisible = ref(props.defaultPopupVisible);
@@ -16,60 +16,196 @@ var transfer_vue_vue_type_script_lang_default = defineComponent({
16
16
  IconRight
17
17
  },
18
18
  props: {
19
+ /**
20
+ * @zh 穿梭框的数据
21
+ * @en Data of the transfer
22
+ */
19
23
  data: {
20
24
  type: Array,
21
25
  default: () => []
22
26
  },
27
+ /**
28
+ * @zh 目标选择框中的值
29
+ * @en Value in the target selection box
30
+ * @vModel
31
+ */
23
32
  modelValue: {
24
33
  type: Array,
25
34
  default: void 0
26
35
  },
36
+ /**
37
+ * @zh 目标选择框中默认的值(非受控状态)
38
+ * @en The default value in the target selection box (uncontrolled state)
39
+ */
27
40
  defaultValue: {
28
41
  type: Array,
29
42
  default: () => []
30
43
  },
44
+ /**
45
+ * @zh 选中的选项值
46
+ * @en Selected option value
47
+ * @vModel
48
+ */
31
49
  selected: {
32
50
  type: Array,
33
51
  default: void 0
34
52
  },
53
+ /**
54
+ * @zh 默认选中的选项值(非受控状态)
55
+ * @en The option value selected by default (uncontrolled state)
56
+ */
35
57
  defaultSelected: {
36
58
  type: Array,
37
59
  default: () => []
38
60
  },
61
+ /**
62
+ * @zh 是否禁用
63
+ * @en Whether to disable
64
+ */
39
65
  disabled: {
40
66
  type: Boolean,
41
67
  default: false
42
68
  },
69
+ /**
70
+ * @zh 是否开启简单模式(点击选项即移动)
71
+ * @en Whether to open the simple mode (click the option to move)
72
+ */
43
73
  simple: {
44
74
  type: Boolean,
45
75
  default: false
46
76
  },
77
+ /**
78
+ * @zh 是否开启单向模式(仅可移动到目标选择框)
79
+ * @en Whether to open the one-way mode (only move to the target selection box)
80
+ */
47
81
  oneWay: {
48
82
  type: Boolean,
49
83
  default: false
50
84
  },
85
+ /**
86
+ * @zh 是否显示搜索框
87
+ * @en Whether to show the search input
88
+ */
51
89
  showSearch: {
52
90
  type: Boolean,
53
91
  default: false
54
92
  },
93
+ /**
94
+ * @zh 是否展示全选勾选框
95
+ * @en Whether show select all checkbox on the header
96
+ * @version 2.39.0
97
+ */
55
98
  showSelectAll: {
56
99
  type: Boolean,
57
100
  default: true
58
101
  },
102
+ /**
103
+ * @zh 源选择框和目标选择框的标题
104
+ * @en The title of the source and target selection boxes
105
+ */
59
106
  title: {
60
107
  type: Array,
61
108
  default: () => ["Source", "Target"]
62
109
  },
110
+ /**
111
+ * @zh 源选择框的搜索框配置
112
+ * @en Search box configuration for source selection box
113
+ * @version 2.51.1
114
+ */
63
115
  sourceInputSearchProps: { type: Object },
116
+ /**
117
+ * @zh 目标选择框的搜索框配置
118
+ * @en Search box configuration for target selection box
119
+ * @version 2.51.1
120
+ */
64
121
  targetInputSearchProps: { type: Object }
65
122
  },
66
123
  emits: {
67
124
  "update:modelValue": (_value) => true,
68
125
  "update:selected": (_selected) => true,
126
+ /**
127
+ * @zh 目标选择框的值改变时触发
128
+ * @en Triggered when the value of the target selection box changes
129
+ * @property {string[]} value
130
+ */
69
131
  "change": (_value) => true,
132
+ /**
133
+ * @zh 选中的值改变时触发
134
+ * @en Triggered when the selected value changes
135
+ * @property {string[]} selected
136
+ */
70
137
  "select": (_selected) => true,
138
+ /**
139
+ * @zh 用户搜索时触发
140
+ * @en Triggered when the user searches
141
+ * @property {string} value
142
+ * @property {'target'|'source'} type
143
+ */
71
144
  "search": (_value, _type) => true
72
145
  },
146
+ /**
147
+ * @zh 选项
148
+ * @en Option
149
+ * @slot item
150
+ * @binding {string} value
151
+ * @binding {string} label
152
+ */
153
+ /**
154
+ * @zh 源面板
155
+ * @en Source content
156
+ * @slot source
157
+ * @binding {TransferItem[]} data
158
+ * @binding {string[]} selectedKeys
159
+ * @binding {(value: string[]) => void} onSelect
160
+ * @version 2.39.0
161
+ */
162
+ /**
163
+ * @zh 目标面板
164
+ * @en Target content
165
+ * @slot target
166
+ * @binding {TransferItem[]} data
167
+ * @binding {string[]} selectedKeys
168
+ * @binding {(value: string[]) => void} onSelect
169
+ * @version 2.39.0
170
+ */
171
+ /**
172
+ * @zh 源标题插槽
173
+ * @en Source Header
174
+ * @slot source-title
175
+ * @binding {number} countTotal
176
+ * @binding {number} countSelected
177
+ * @binding {string} searchValue
178
+ * @binding {boolean} checked
179
+ * @binding {boolean} indeterminate
180
+ * @binding {(checked:boolean) => void} onSelectAllChange
181
+ * @binding {() => void} onClear
182
+ * @version 2.45.0
183
+ */
184
+ /**
185
+ * @zh 目标标题插槽
186
+ * @en Target Header
187
+ * @slot target-title
188
+ * @binding {number} countTotal
189
+ * @binding {number} countSelected
190
+ * @binding {string} searchValue
191
+ * @binding {boolean} checked
192
+ * @binding {boolean} indeterminate
193
+ * @binding {(checked:boolean) => void} onSelectAllChange
194
+ * @binding {() => void} onClear
195
+ * @version 2.45.0
196
+ */
197
+ /**
198
+ * @zh 移至源图标插槽
199
+ * @en To source icon slot
200
+ * @slot to-source-icon
201
+ * @version 2.52.0
202
+ */
203
+ /**
204
+ * @zh 移至目标图标插槽
205
+ * @en To target icon slot
206
+ * @slot to-target-icon
207
+ * @version 2.52.0
208
+ */
73
209
  setup(props, { emit, slots }) {
74
210
  const { mergedDisabled, eventHandlers } = useFormItem({ disabled: toRef(props, "disabled") });
75
211
  const prefixCls = getPrefixCls("transfer");
@@ -19,12 +19,19 @@ var base_node_vue_vue_type_script_lang_default = defineComponent({
19
19
  IconDragDotVertical
20
20
  },
21
21
  props: {
22
+ /** 标题 */
22
23
  title: { type: String },
24
+ /** 是否允许选中 */
23
25
  selectable: { type: Boolean },
26
+ /** 是否禁用节点 */
24
27
  disabled: { type: Boolean },
28
+ /** 是否禁用checkbox */
25
29
  disableCheckbox: { type: Boolean },
30
+ /** 是否显示多选框 */
26
31
  checkable: { type: Boolean },
32
+ /** 是否可以拖拽 */
27
33
  draggable: { type: Boolean },
34
+ /** 是否是叶子节点。动态加载时有效 */
28
35
  isLeaf: { type: Boolean },
29
36
  icon: { type: Function },
30
37
  switcherIcon: { type: Function },
package/es/tree/node.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
1
+ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.130.0/helpers/objectSpread2.js";
2
2
  import useNodeKey from "./hooks/use-node-key.js";
3
3
  import base_node_default from "./base-node.js";
4
4
  import transition_node_list_default from "./transition-node-list.js";