savor-ui 0.7.0 → 0.8.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 (57) hide show
  1. package/CHANGELOG.md +152 -143
  2. package/dist/es/components/index.d.ts +2 -0
  3. package/dist/es/components/index.mjs +3 -0
  4. package/dist/es/components/src/button/button.vue_vue_type_script_setup_true_vapor_true_lang.mjs +3 -0
  5. package/dist/es/components/src/button/types.d.ts +4 -2
  6. package/dist/es/components/src/carousel/types.d.ts +1 -1
  7. package/dist/es/components/src/datetime-picker/types.d.ts +2 -2
  8. package/dist/es/components/src/form/types.d.ts +9 -9
  9. package/dist/es/components/src/galleria/types.d.ts +1 -1
  10. package/dist/es/components/src/input-number/types.d.ts +2 -2
  11. package/dist/es/components/src/input-tag/types.d.ts +2 -2
  12. package/dist/es/components/src/menu/index.d.ts +0 -1
  13. package/dist/es/components/src/menu/menu.vue_vue_type_script_setup_true_vapor_true_lang.mjs +37 -43
  14. package/dist/es/components/src/menu/sub-menu.vue_vue_type_script_setup_true_vapor_true_lang.mjs +93 -112
  15. package/dist/es/components/src/menu/types.d.ts +0 -11
  16. package/dist/es/components/src/message/types.d.ts +1 -2
  17. package/dist/es/components/src/pagination/types.d.ts +1 -1
  18. package/dist/es/components/src/slider-verify/index.d.ts +37 -0
  19. package/dist/es/components/src/slider-verify/index.mjs +7 -0
  20. package/dist/es/components/src/slider-verify/slider-verify.d.ts +16 -0
  21. package/dist/es/components/src/slider-verify/slider-verify.vue.mjs +5 -0
  22. package/dist/es/components/src/slider-verify/slider-verify.vue_vue_type_script_setup_true_lang.mjs +104 -0
  23. package/dist/es/components/src/slider-verify/types.d.ts +26 -0
  24. package/dist/es/components/src/split/index.d.ts +51 -0
  25. package/dist/es/components/src/split/index.mjs +9 -0
  26. package/dist/es/components/src/split/split-bar.d.ts +26 -0
  27. package/dist/es/components/src/split/split-bar.vue.mjs +5 -0
  28. package/dist/es/components/src/split/split-bar.vue_vue_type_script_setup_true_vapor_true_lang.mjs +57 -0
  29. package/dist/es/components/src/split/split-pane.d.ts +25 -0
  30. package/dist/es/components/src/split/split-pane.vue.mjs +5 -0
  31. package/dist/es/components/src/split/split-pane.vue_vue_type_script_setup_true_vapor_true_lang.mjs +88 -0
  32. package/dist/es/components/src/split/split.d.ts +27 -0
  33. package/dist/es/components/src/split/split.vue.mjs +5 -0
  34. package/dist/es/components/src/split/split.vue_vue_type_script_setup_true_vapor_true_lang.mjs +262 -0
  35. package/dist/es/components/src/split/types.d.ts +111 -0
  36. package/dist/es/components/src/split/types.mjs +4 -0
  37. package/dist/es/components/src/tag/index.d.ts +1 -3
  38. package/dist/es/components/src/tag/tag.vue_vue_type_script_setup_true_vapor_true_lang.mjs +2 -9
  39. package/dist/es/components/src/tag/types.d.ts +4 -6
  40. package/dist/es/components/src/textarea/types.d.ts +1 -1
  41. package/dist/es/components/src/timeline/types.d.ts +5 -5
  42. package/dist/es/components/src/virtual-list/index.d.ts +3 -3
  43. package/dist/es/components/src/virtual-list/types.d.ts +6 -5
  44. package/dist/es/components/src/virtual-list/virtual-list.d.ts +2 -2
  45. package/dist/es/core/components.mjs +29 -24
  46. package/dist/es/core/global.d.ts +3 -0
  47. package/dist/es/core/index.mjs +25 -22
  48. package/dist/es/theme/components/button.scss +19 -3
  49. package/dist/es/theme/components/index.scss +2 -0
  50. package/dist/es/theme/components/menu.scss +5 -42
  51. package/dist/es/theme/components/slider-verify.scss +105 -0
  52. package/dist/es/theme/components/split.scss +197 -0
  53. package/dist/es/theme/components/tag.scss +10 -4
  54. package/dist/json/vetur-attributes.json +58 -15
  55. package/dist/json/vetur-tags.json +27 -4
  56. package/dist/json/web-types.json +161 -49
  57. package/package.json +63 -63
package/CHANGELOG.md CHANGED
@@ -2,175 +2,184 @@
2
2
 
3
3
 
4
4
 
5
- # [0.7.0](https://gitee.com/mach552/savor-ui/compare/v0.6.1...v0.7.0) (2026-06-30)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * **card:** 调整样式 ([45b7155](https://gitee.com/mach552/savor-ui/commits/45b71559882ce9afcb64df0a5add0f34378d2da2))
11
- * **descriptions:** 修复content没有内容时高度与label不一致问题 ([708f974](https://gitee.com/mach552/savor-ui/commits/708f9745c295ca66421c4954692e02f22d9e3f86))
12
- * **menu:** 调整样式 ([2817e6a](https://gitee.com/mach552/savor-ui/commits/2817e6a361b0aa9cd90a46d936300871b45bdced))
13
- * **scrollbar:** 调整样式 ([054eb92](https://gitee.com/mach552/savor-ui/commits/054eb929aca527c2d7db95718ceed59d2baa5e19))
14
- * **tree:** 修复高度无法异步更新的问题 ([5884a9a](https://gitee.com/mach552/savor-ui/commits/5884a9aac150429ce6913433d0ff588736f5d132))
5
+ # [0.8.0](https://gitee.com/mach552/savor-ui/compare/v0.7.0...v0.8.0) (2026-07-03)
15
6
 
16
7
 
17
8
  ### Features
18
9
 
19
- * **button:** 新增轮廓和次要按钮 ([5d48f25](https://gitee.com/mach552/savor-ui/commits/5d48f2594010079e9b5d67af9356580bcef085ee))
20
- * **highlight:** 新增高亮文本组件 ([8a53e5e](https://gitee.com/mach552/savor-ui/commits/8a53e5eaf8a74a2fa5ce1d624e60a7c70a7d87c4))
21
- * **steps:** 新增步骤条组件 ([790465f](https://gitee.com/mach552/savor-ui/commits/790465f686ed5dc8ff30c8574f888d11f74af51b))
22
- * **tag:** 新增多种类型 ([a448e67](https://gitee.com/mach552/savor-ui/commits/a448e678c48abf159f2c41256a0cd7c702df727d))
10
+ * **button:** 新增右侧图标插槽 ([741f921](https://gitee.com/mach552/savor-ui/commits/741f92165d634c3a377910a094adf4671ecc2339))
11
+ * **slider-verify:** 新增滑块验证组件 ([6c4e3a0](https://gitee.com/mach552/savor-ui/commits/6c4e3a089801bed651a85d23b8b00a3f66522b37))
12
+ * **split:** 新增分隔面板组件 ([63e51bf](https://gitee.com/mach552/savor-ui/commits/63e51bf2e0a0d4616984a781fc373c3f909b7b54))
13
+
14
+ # [0.7.0](https://gitee.com/mach552/savor-ui/compare/v0.6.1...v0.7.0) (2026-06-30)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **card:** 调整样式 ([45b7155](https://gitee.com/mach552/savor-ui/commits/45b71559882ce9afcb64df0a5add0f34378d2da2))
20
+ * **descriptions:** 修复content没有内容时高度与label不一致问题 ([708f974](https://gitee.com/mach552/savor-ui/commits/708f9745c295ca66421c4954692e02f22d9e3f86))
21
+ * **menu:** 调整样式 ([2817e6a](https://gitee.com/mach552/savor-ui/commits/2817e6a361b0aa9cd90a46d936300871b45bdced))
22
+ * **scrollbar:** 调整样式 ([054eb92](https://gitee.com/mach552/savor-ui/commits/054eb929aca527c2d7db95718ceed59d2baa5e19))
23
+ * **tree:** 修复高度无法异步更新的问题 ([5884a9a](https://gitee.com/mach552/savor-ui/commits/5884a9aac150429ce6913433d0ff588736f5d132))
24
+
25
+
26
+ ### Features
27
+
28
+ * **button:** 新增轮廓和次要按钮 ([5d48f25](https://gitee.com/mach552/savor-ui/commits/5d48f2594010079e9b5d67af9356580bcef085ee))
29
+ * **highlight:** 新增高亮文本组件 ([8a53e5e](https://gitee.com/mach552/savor-ui/commits/8a53e5eaf8a74a2fa5ce1d624e60a7c70a7d87c4))
30
+ * **steps:** 新增步骤条组件 ([790465f](https://gitee.com/mach552/savor-ui/commits/790465f686ed5dc8ff30c8574f888d11f74af51b))
31
+ * **tag:** 新增多种类型 ([a448e67](https://gitee.com/mach552/savor-ui/commits/a448e678c48abf159f2c41256a0cd7c702df727d))
23
32
  * **virtual-list:** 新增虚拟列表组件 ([bdf0dda](https://gitee.com/mach552/savor-ui/commits/bdf0dda038f1e5052e1feb058279183d5aaac706))
24
33
 
25
- ## [0.6.1](https://gitee.com/mach552/savor-ui/compare/v0.6.0...v0.6.1) (2026-06-26)
26
-
27
-
28
- ### Bug Fixes
29
-
34
+ ## [0.6.1](https://gitee.com/mach552/savor-ui/compare/v0.6.0...v0.6.1) (2026-06-26)
35
+
36
+
37
+ ### Bug Fixes
38
+
30
39
  * 修复打包路径问题 ([67d1faf](https://gitee.com/mach552/savor-ui/commits/67d1fafb089f939ca89068b29d8e562f9f795e0c))
31
40
 
32
- # [0.6.0](https://gitee.com/mach552/savor-ui/compare/v0.5.0...v0.6.0) (2026-06-26)
33
-
34
-
35
- ### Bug Fixes
36
-
37
- * **checkbox:** 修复文字不垂直居中问题 ([8a365ac](https://gitee.com/mach552/savor-ui/commits/8a365ac0360951954e1ac1ffb3835080850747e6))
38
- * **input-number:** 修复一些样式表现问题 ([4e39701](https://gitee.com/mach552/savor-ui/commits/4e39701d60b371ae62c1306a4c0ada5e323be003))
39
- * **input:** 修复禁用状态下依然显示清除按钮的问题 ([a5239c9](https://gitee.com/mach552/savor-ui/commits/a5239c957dad1f3dcf42384f462e96ac00c5048f))
40
- * **menu:** 修复弹层鼠标移开后不关闭问题 ([0be99e1](https://gitee.com/mach552/savor-ui/commits/0be99e1e525388518b0e9776ca74c960e8319219))
41
- * **scrollbar:** 修复滚动条偶发无效显示的问题 ([be0dd8e](https://gitee.com/mach552/savor-ui/commits/be0dd8e656e9958651a5519e2a80f0ecf4e5a762))
42
- * **segmented:** 修复默认值激活条在某些情况下尺寸不一致的问题 ([7d4c3b2](https://gitee.com/mach552/savor-ui/commits/7d4c3b210ce2b5d6074c29419a032d450c4bc864))
43
- * **table:** 修复最后一行无下边框问题 ([11847f3](https://gitee.com/mach552/savor-ui/commits/11847f387c74f86d07783f51438a7a1583251e0c))
44
- * **table:** 修复fixed列样式偶发失效问题 ([6c8518b](https://gitee.com/mach552/savor-ui/commits/6c8518b11cd25acd2a14eab101321f15d3ed92be))
45
-
46
-
47
- ### Features
48
-
41
+ # [0.6.0](https://gitee.com/mach552/savor-ui/compare/v0.5.0...v0.6.0) (2026-06-26)
42
+
43
+
44
+ ### Bug Fixes
45
+
46
+ * **checkbox:** 修复文字不垂直居中问题 ([8a365ac](https://gitee.com/mach552/savor-ui/commits/8a365ac0360951954e1ac1ffb3835080850747e6))
47
+ * **input-number:** 修复一些样式表现问题 ([4e39701](https://gitee.com/mach552/savor-ui/commits/4e39701d60b371ae62c1306a4c0ada5e323be003))
48
+ * **input:** 修复禁用状态下依然显示清除按钮的问题 ([a5239c9](https://gitee.com/mach552/savor-ui/commits/a5239c957dad1f3dcf42384f462e96ac00c5048f))
49
+ * **menu:** 修复弹层鼠标移开后不关闭问题 ([0be99e1](https://gitee.com/mach552/savor-ui/commits/0be99e1e525388518b0e9776ca74c960e8319219))
50
+ * **scrollbar:** 修复滚动条偶发无效显示的问题 ([be0dd8e](https://gitee.com/mach552/savor-ui/commits/be0dd8e656e9958651a5519e2a80f0ecf4e5a762))
51
+ * **segmented:** 修复默认值激活条在某些情况下尺寸不一致的问题 ([7d4c3b2](https://gitee.com/mach552/savor-ui/commits/7d4c3b210ce2b5d6074c29419a032d450c4bc864))
52
+ * **table:** 修复最后一行无下边框问题 ([11847f3](https://gitee.com/mach552/savor-ui/commits/11847f387c74f86d07783f51438a7a1583251e0c))
53
+ * **table:** 修复fixed列样式偶发失效问题 ([6c8518b](https://gitee.com/mach552/savor-ui/commits/6c8518b11cd25acd2a14eab101321f15d3ed92be))
54
+
55
+
56
+ ### Features
57
+
49
58
  * **cascader:** 新增非叶子节点可选择和值可为叶子节点 ([7f7e833](https://gitee.com/mach552/savor-ui/commits/7f7e83303d3cf283393c526708979d25c08c327f))
50
59
 
51
- # [0.5.0](https://gitee.com/mach552/savor-ui/compare/v0.4.1...v0.5.0) (2026-06-19)
52
-
53
-
54
- ### Bug Fixes
55
-
56
- * **tree:** 修复容器高度计算错误问题 ([a769600](https://gitee.com/mach552/savor-ui/commits/a769600d9771ccfe5e75ff1cd6ea15559ab733bd))
57
-
58
-
59
- ### Features
60
-
61
- * **expand-card:** 新增展开卡片组件 ([2bf0bda](https://gitee.com/mach552/savor-ui/commits/2bf0bdaa7d21f550089c83c62c549acbc2762d90))
62
- * **icon:** 新增动画和加载效果 ([6cab674](https://gitee.com/mach552/savor-ui/commits/6cab674844a32cf45d01b6a19a6f463d4bcd89ca))
60
+ # [0.5.0](https://gitee.com/mach552/savor-ui/compare/v0.4.1...v0.5.0) (2026-06-19)
61
+
62
+
63
+ ### Bug Fixes
64
+
65
+ * **tree:** 修复容器高度计算错误问题 ([a769600](https://gitee.com/mach552/savor-ui/commits/a769600d9771ccfe5e75ff1cd6ea15559ab733bd))
66
+
67
+
68
+ ### Features
69
+
70
+ * **expand-card:** 新增展开卡片组件 ([2bf0bda](https://gitee.com/mach552/savor-ui/commits/2bf0bdaa7d21f550089c83c62c549acbc2762d90))
71
+ * **icon:** 新增动画和加载效果 ([6cab674](https://gitee.com/mach552/savor-ui/commits/6cab674844a32cf45d01b6a19a6f463d4bcd89ca))
63
72
  * **menu:** 新增`circle`激活样式 ([30ca3ed](https://gitee.com/mach552/savor-ui/commits/30ca3ede06a2d3b93094179643a90d7215c9eef5))
64
73
 
65
- ## [0.4.1](https://gitee.com/mach552/savor-ui/compare/v0.4.0...v0.4.1) (2026-06-17)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * **input:** 调整一些样式问题 ([be7305f](https://gitee.com/mach552/savor-ui/commits/be7305ffc837a94f32bd8e971a0cf89e68d63cea))
71
- * **table:** 修复空状态下整体滚动问题 ([df4c6c8](https://gitee.com/mach552/savor-ui/commits/df4c6c8cc409ee6d9d7159dd523f0ea385ff2f06))
72
- * **table:** 修复宽高属性无效问题 ([834917b](https://gitee.com/mach552/savor-ui/commits/834917bb908eaf70b1293afdae0cb4779520e4c6))
73
- * **table:** 修复fixed列没有选中样式问题 ([7cd3def](https://gitee.com/mach552/savor-ui/commits/7cd3defe6eeb77426e8d59e8796b25e73ecc40f1))
74
+ ## [0.4.1](https://gitee.com/mach552/savor-ui/compare/v0.4.0...v0.4.1) (2026-06-17)
75
+
76
+
77
+ ### Bug Fixes
78
+
79
+ * **input:** 调整一些样式问题 ([be7305f](https://gitee.com/mach552/savor-ui/commits/be7305ffc837a94f32bd8e971a0cf89e68d63cea))
80
+ * **table:** 修复空状态下整体滚动问题 ([df4c6c8](https://gitee.com/mach552/savor-ui/commits/df4c6c8cc409ee6d9d7159dd523f0ea385ff2f06))
81
+ * **table:** 修复宽高属性无效问题 ([834917b](https://gitee.com/mach552/savor-ui/commits/834917bb908eaf70b1293afdae0cb4779520e4c6))
82
+ * **table:** 修复fixed列没有选中样式问题 ([7cd3def](https://gitee.com/mach552/savor-ui/commits/7cd3defe6eeb77426e8d59e8796b25e73ecc40f1))
74
83
  * **transition:** 修复传递无效属性问题 ([b06508c](https://gitee.com/mach552/savor-ui/commits/b06508c06085d183d1e515cf4365a4406e6045bf))
75
84
 
76
- # [0.4.0](https://gitee.com/mach552/savor-ui/compare/v0.3.3...v0.4.0) (2026-06-17)
77
-
78
-
79
- ### Bug Fixes
80
-
81
- * **cascader:** 修复清空值后没有清空激活状态的问题 ([0e7b7c8](https://gitee.com/mach552/savor-ui/commits/0e7b7c8c50f2b4c8bdf9b2c7f368db7babf2fa62))
82
- * **grid:** 修复动态计算span无效的问题 ([23c5e60](https://gitee.com/mach552/savor-ui/commits/23c5e606aa8a1f030ff7ddfc5a1f1aa17748fe32))
83
- * **menu:** 修复子菜单展开动画卡顿问题 ([e245006](https://gitee.com/mach552/savor-ui/commits/e245006281ad47719e10190fb052811bc5695e7b))
84
- * **popover:** 修复快速打开关闭时没有定位样式的问题 ([5190f75](https://gitee.com/mach552/savor-ui/commits/5190f75a3cb2e733e2dba5634de4c5e6f39d8686))
85
- * **scrollbar:** 修复容器和滚动条位置不一致问题 ([5fa85dd](https://gitee.com/mach552/savor-ui/commits/5fa85dd2b5abffff502f0b06ecdddebf4fa2035e))
86
- * **segmented:** 修复激活块偶发宽度不足的问题 ([a50c4c4](https://gitee.com/mach552/savor-ui/commits/a50c4c461b12919714662d1ce46e31e6bf01231e))
87
- * **table:** 修复从有数据变成数据为空时报错问题 ([ff7dfa0](https://gitee.com/mach552/savor-ui/commits/ff7dfa0295fb5cc82ed83bfeb3451e7c10b11ad0))
88
- * **table:** 修复单独设置`minWidth`无效的问题 ([a645d10](https://gitee.com/mach552/savor-ui/commits/a645d108cf615cee1b4d0e7551f830cb1804ebe6))
89
- * **table:** 修复复选框没有垂直居中的问题 ([923fe9b](https://gitee.com/mach552/savor-ui/commits/923fe9be0bed99e4e5c0109255c9ac8d09a21cfd))
90
- * **table:** 修复高度不足时空状态导致的表格整体滚动问题 ([9dc78c9](https://gitee.com/mach552/savor-ui/commits/9dc78c9a6de12a73a64836ca6b7b962db3b965fa))
91
- * **table:** 修复列宽无法固定的问题 ([02a8e36](https://gitee.com/mach552/savor-ui/commits/02a8e361a6c0a56869f1d5083a6be31bd563a822))
92
- * **table:** 修复fiexd列的阴影样式显示异常问题 ([41d8adf](https://gitee.com/mach552/savor-ui/commits/41d8adf817919136f198af57f435b14927b1a6d3))
93
- * **tree:** 修复容器高度计算错误的问题 ([7208476](https://gitee.com/mach552/savor-ui/commits/720847683d04664a8b0e91c34d88a907b64d5340))
94
-
95
-
96
- ### Features
97
-
98
- * **alert:** 新增警告提示组件 ([aae1dce](https://gitee.com/mach552/savor-ui/commits/aae1dce10f29f9aa2999ed11b5cfaf4cc4d510c0))
99
- * **chat-list:** 新增对话列表组件 ([7a28c84](https://gitee.com/mach552/savor-ui/commits/7a28c8420cd105d48b08ec618fa2cc7f9191c23f))
100
- * **scrollbar:** 新增滚动到结束方法 ([c41e4fc](https://gitee.com/mach552/savor-ui/commits/c41e4fcafb2a48c0c6bdb7ab818491a4bba8857d))
101
- * **scrollbar:** 新增原生滚动属性和触底事件 ([92b3474](https://gitee.com/mach552/savor-ui/commits/92b3474bcf19d4208e473ecaafb074d7ac5906aa))
102
- * **sender:** 新增AI对话输入组件 ([3ad13b0](https://gitee.com/mach552/savor-ui/commits/3ad13b0fd9bfc3faddfd629514cb5c202398aac7))
85
+ # [0.4.0](https://gitee.com/mach552/savor-ui/compare/v0.3.3...v0.4.0) (2026-06-17)
86
+
87
+
88
+ ### Bug Fixes
89
+
90
+ * **cascader:** 修复清空值后没有清空激活状态的问题 ([0e7b7c8](https://gitee.com/mach552/savor-ui/commits/0e7b7c8c50f2b4c8bdf9b2c7f368db7babf2fa62))
91
+ * **grid:** 修复动态计算span无效的问题 ([23c5e60](https://gitee.com/mach552/savor-ui/commits/23c5e606aa8a1f030ff7ddfc5a1f1aa17748fe32))
92
+ * **menu:** 修复子菜单展开动画卡顿问题 ([e245006](https://gitee.com/mach552/savor-ui/commits/e245006281ad47719e10190fb052811bc5695e7b))
93
+ * **popover:** 修复快速打开关闭时没有定位样式的问题 ([5190f75](https://gitee.com/mach552/savor-ui/commits/5190f75a3cb2e733e2dba5634de4c5e6f39d8686))
94
+ * **scrollbar:** 修复容器和滚动条位置不一致问题 ([5fa85dd](https://gitee.com/mach552/savor-ui/commits/5fa85dd2b5abffff502f0b06ecdddebf4fa2035e))
95
+ * **segmented:** 修复激活块偶发宽度不足的问题 ([a50c4c4](https://gitee.com/mach552/savor-ui/commits/a50c4c461b12919714662d1ce46e31e6bf01231e))
96
+ * **table:** 修复从有数据变成数据为空时报错问题 ([ff7dfa0](https://gitee.com/mach552/savor-ui/commits/ff7dfa0295fb5cc82ed83bfeb3451e7c10b11ad0))
97
+ * **table:** 修复单独设置`minWidth`无效的问题 ([a645d10](https://gitee.com/mach552/savor-ui/commits/a645d108cf615cee1b4d0e7551f830cb1804ebe6))
98
+ * **table:** 修复复选框没有垂直居中的问题 ([923fe9b](https://gitee.com/mach552/savor-ui/commits/923fe9be0bed99e4e5c0109255c9ac8d09a21cfd))
99
+ * **table:** 修复高度不足时空状态导致的表格整体滚动问题 ([9dc78c9](https://gitee.com/mach552/savor-ui/commits/9dc78c9a6de12a73a64836ca6b7b962db3b965fa))
100
+ * **table:** 修复列宽无法固定的问题 ([02a8e36](https://gitee.com/mach552/savor-ui/commits/02a8e361a6c0a56869f1d5083a6be31bd563a822))
101
+ * **table:** 修复fiexd列的阴影样式显示异常问题 ([41d8adf](https://gitee.com/mach552/savor-ui/commits/41d8adf817919136f198af57f435b14927b1a6d3))
102
+ * **tree:** 修复容器高度计算错误的问题 ([7208476](https://gitee.com/mach552/savor-ui/commits/720847683d04664a8b0e91c34d88a907b64d5340))
103
+
104
+
105
+ ### Features
106
+
107
+ * **alert:** 新增警告提示组件 ([aae1dce](https://gitee.com/mach552/savor-ui/commits/aae1dce10f29f9aa2999ed11b5cfaf4cc4d510c0))
108
+ * **chat-list:** 新增对话列表组件 ([7a28c84](https://gitee.com/mach552/savor-ui/commits/7a28c8420cd105d48b08ec618fa2cc7f9191c23f))
109
+ * **scrollbar:** 新增滚动到结束方法 ([c41e4fc](https://gitee.com/mach552/savor-ui/commits/c41e4fcafb2a48c0c6bdb7ab818491a4bba8857d))
110
+ * **scrollbar:** 新增原生滚动属性和触底事件 ([92b3474](https://gitee.com/mach552/savor-ui/commits/92b3474bcf19d4208e473ecaafb074d7ac5906aa))
111
+ * **sender:** 新增AI对话输入组件 ([3ad13b0](https://gitee.com/mach552/savor-ui/commits/3ad13b0fd9bfc3faddfd629514cb5c202398aac7))
103
112
  * **transition:** 新增过渡组件 ([d2cbf62](https://gitee.com/mach552/savor-ui/commits/d2cbf623b64fd9300888f0c5448f4090c3e203f1))
104
113
 
105
- ## [0.3.3](https://gitee.com/mach552/savor-ui/compare/v0.3.2...v0.3.3) (2026-06-09)
106
-
107
-
108
- ### Bug Fixes
109
-
110
- * **button:** 修复禁用状态样式无效问题 ([604ca42](https://gitee.com/mach552/savor-ui/commits/604ca427631e89bceaada29a04baf75371c77c60))
111
- * **cascader:** 修复不显示下拉箭头图标问题 ([c2eb385](https://gitee.com/mach552/savor-ui/commits/c2eb38597b79bda04e98c94a0a61bf32b1c6af59))
112
- * **cascader:** 修复空状态显示样式问题 ([25d0db3](https://gitee.com/mach552/savor-ui/commits/25d0db39d24b889de90ab15d8ccc663dcb04c424))
113
- * **cascader:** 修复清除图标不显示问题 ([0f6fda6](https://gitee.com/mach552/savor-ui/commits/0f6fda6a85611dce909f72bdc6062a77f348abc0))
114
- * **grid:** 修复动态增减item时不动态计算位置的问题 ([67785f2](https://gitee.com/mach552/savor-ui/commits/67785f208652f0fd5a66f0e593790461789283ee))
115
- * **input:** 修复禁用状态hover样式 ([cede93e](https://gitee.com/mach552/savor-ui/commits/cede93e6c8b72e6c608a37f59a6b395f4be4719f))
116
- * **menu:** 修复折叠时的样式问题 ([9633091](https://gitee.com/mach552/savor-ui/commits/9633091ba4a04f4ce8e18cca24332268b21e7401))
117
- * **table:** 修复横向滚动条在最右边反复横跳问题 ([a5e1902](https://gitee.com/mach552/savor-ui/commits/a5e19026cfe255fd0e303d7018a6eb69b62d4427))
118
- * **table:** 修复树形展开时图标不旋转问题 ([6813adb](https://gitee.com/mach552/savor-ui/commits/6813adb8387a3a64ced2f045a9d12d82023aa692))
114
+ ## [0.3.3](https://gitee.com/mach552/savor-ui/compare/v0.3.2...v0.3.3) (2026-06-09)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * **button:** 修复禁用状态样式无效问题 ([604ca42](https://gitee.com/mach552/savor-ui/commits/604ca427631e89bceaada29a04baf75371c77c60))
120
+ * **cascader:** 修复不显示下拉箭头图标问题 ([c2eb385](https://gitee.com/mach552/savor-ui/commits/c2eb38597b79bda04e98c94a0a61bf32b1c6af59))
121
+ * **cascader:** 修复空状态显示样式问题 ([25d0db3](https://gitee.com/mach552/savor-ui/commits/25d0db39d24b889de90ab15d8ccc663dcb04c424))
122
+ * **cascader:** 修复清除图标不显示问题 ([0f6fda6](https://gitee.com/mach552/savor-ui/commits/0f6fda6a85611dce909f72bdc6062a77f348abc0))
123
+ * **grid:** 修复动态增减item时不动态计算位置的问题 ([67785f2](https://gitee.com/mach552/savor-ui/commits/67785f208652f0fd5a66f0e593790461789283ee))
124
+ * **input:** 修复禁用状态hover样式 ([cede93e](https://gitee.com/mach552/savor-ui/commits/cede93e6c8b72e6c608a37f59a6b395f4be4719f))
125
+ * **menu:** 修复折叠时的样式问题 ([9633091](https://gitee.com/mach552/savor-ui/commits/9633091ba4a04f4ce8e18cca24332268b21e7401))
126
+ * **table:** 修复横向滚动条在最右边反复横跳问题 ([a5e1902](https://gitee.com/mach552/savor-ui/commits/a5e19026cfe255fd0e303d7018a6eb69b62d4427))
127
+ * **table:** 修复树形展开时图标不旋转问题 ([6813adb](https://gitee.com/mach552/savor-ui/commits/6813adb8387a3a64ced2f045a9d12d82023aa692))
119
128
  * **tree:** 修复各种事件无效问题 ([007a8ae](https://gitee.com/mach552/savor-ui/commits/007a8aecc76a257e61f5985c3e3a8803eb7d2f1e))
120
129
 
121
- ## [0.3.2](https://gitee.com/mach552/savor-ui/compare/v0.3.1...v0.3.2) (2026-06-08)
122
-
123
-
124
- ### Bug Fixes
125
-
130
+ ## [0.3.2](https://gitee.com/mach552/savor-ui/compare/v0.3.1...v0.3.2) (2026-06-08)
131
+
132
+
133
+ ### Bug Fixes
134
+
126
135
  * **tabs:** 修复切换动画失效问题 ([d1ae02c](https://gitee.com/mach552/savor-ui/commits/d1ae02cda637c471752a73a61b81d80ae34f3f95))
127
136
 
128
- ## [0.3.1](https://gitee.com/mach552/savor-ui/compare/v0.3.0...v0.3.1) (2026-06-07)
129
-
130
-
131
- ### Bug Fixes
132
-
137
+ ## [0.3.1](https://gitee.com/mach552/savor-ui/compare/v0.3.0...v0.3.1) (2026-06-07)
138
+
139
+
140
+ ### Bug Fixes
141
+
133
142
  * **config-provider:** 删除不兼容的非`vapor`组件 ([e4aaaaf](https://gitee.com/mach552/savor-ui/commits/e4aaaaf2eb1b2076923809fe3b284293721fd1a8))
134
143
 
135
- # [0.3.0](https://gitee.com/mach552/savor-ui/compare/v0.2.0...v0.3.0) (2026-06-07)
136
-
137
-
138
- ### Bug Fixes
139
-
140
- * **anchor:** 修复激活状态失效问题 ([b9033d6](https://gitee.com/mach552/savor-ui/commits/b9033d6f851785006999cde93465c9411a107a79))
141
- * **anchor:** 修复路由报历史警告问题 ([195493b](https://gitee.com/mach552/savor-ui/commits/195493b8859b2c0e114a30bc9f987471f3ad911a))
142
- * **collapse:** 修复禁用样式无效问题 ([0d45085](https://gitee.com/mach552/savor-ui/commits/0d450857cd03fca4b4d255e817eb2f03c71a85d7))
143
- * **pagination:** 修复页码处于边界时翻页按钮的禁用状态失效问题 ([a184a2f](https://gitee.com/mach552/savor-ui/commits/a184a2f22d2dec82909a9eb7a5b1d1c7944c88b3))
144
- * **table:** 修复列宽自适应失效问题 ([d334c8f](https://gitee.com/mach552/savor-ui/commits/d334c8f6d3c5623117783121516f459ed17f5ece))
145
-
146
-
147
- ### Features
148
-
149
- * **config-provider:** 新增`config-provider-vapor`组件 ([72be61f](https://gitee.com/mach552/savor-ui/commits/72be61fab0a8713c93886d8610548a01e92e3ee7))
150
- * **layout:** 新增`bgColor`背景颜色属性 ([3a11757](https://gitee.com/mach552/savor-ui/commits/3a11757f1eb472e84d00e6cf3ff7f775e2bff49d))
151
- * **scrollbar:** 新增`backtop`返回顶部属性和插槽 ([37ce9aa](https://gitee.com/mach552/savor-ui/commits/37ce9aa92a9b6d756ce5085fda0fd2552191a9c6))
152
- * **select:** 新增多选模式 ([325a62c](https://gitee.com/mach552/savor-ui/commits/325a62c3e0a54e9fdbba00fbf0177ecdfc00f6a5))
144
+ # [0.3.0](https://gitee.com/mach552/savor-ui/compare/v0.2.0...v0.3.0) (2026-06-07)
145
+
146
+
147
+ ### Bug Fixes
148
+
149
+ * **anchor:** 修复激活状态失效问题 ([b9033d6](https://gitee.com/mach552/savor-ui/commits/b9033d6f851785006999cde93465c9411a107a79))
150
+ * **anchor:** 修复路由报历史警告问题 ([195493b](https://gitee.com/mach552/savor-ui/commits/195493b8859b2c0e114a30bc9f987471f3ad911a))
151
+ * **collapse:** 修复禁用样式无效问题 ([0d45085](https://gitee.com/mach552/savor-ui/commits/0d450857cd03fca4b4d255e817eb2f03c71a85d7))
152
+ * **pagination:** 修复页码处于边界时翻页按钮的禁用状态失效问题 ([a184a2f](https://gitee.com/mach552/savor-ui/commits/a184a2f22d2dec82909a9eb7a5b1d1c7944c88b3))
153
+ * **table:** 修复列宽自适应失效问题 ([d334c8f](https://gitee.com/mach552/savor-ui/commits/d334c8f6d3c5623117783121516f459ed17f5ece))
154
+
155
+
156
+ ### Features
157
+
158
+ * **config-provider:** 新增`config-provider-vapor`组件 ([72be61f](https://gitee.com/mach552/savor-ui/commits/72be61fab0a8713c93886d8610548a01e92e3ee7))
159
+ * **layout:** 新增`bgColor`背景颜色属性 ([3a11757](https://gitee.com/mach552/savor-ui/commits/3a11757f1eb472e84d00e6cf3ff7f775e2bff49d))
160
+ * **scrollbar:** 新增`backtop`返回顶部属性和插槽 ([37ce9aa](https://gitee.com/mach552/savor-ui/commits/37ce9aa92a9b6d756ce5085fda0fd2552191a9c6))
161
+ * **select:** 新增多选模式 ([325a62c](https://gitee.com/mach552/savor-ui/commits/325a62c3e0a54e9fdbba00fbf0177ecdfc00f6a5))
153
162
  * **space:** 新增`wrap`换行属性 ([b046416](https://gitee.com/mach552/savor-ui/commits/b0464167d9db73ede45f1fa59e26b723107d1620))
154
163
 
155
- # [0.2.0](https://gitee.com/mach552/savor-ui/compare/v0.1.0...v0.2.0) (2026-05-22)
156
-
157
-
158
- ### Bug Fixes
159
-
160
- * **image:** 修复图片组预览图片不展示的问题 ([d485580](https://gitee.com/mach552/savor-ui/commits/d485580c89acd0483cd71cb885175a294b3db1d3))
161
- * **message:** 修复容器不销毁的问题 ([6c34e24](https://gitee.com/mach552/savor-ui/commits/6c34e24fcc1b0aadab4c49c385470cb79f88d1b5))
162
-
163
-
164
- ### Features
165
-
166
- * **radio:** 新增按钮类型的单选框组 ([4b7e12a](https://gitee.com/mach552/savor-ui/commits/4b7e12aef25fc0504e3bdb8d52a85d899acefd00))
164
+ # [0.2.0](https://gitee.com/mach552/savor-ui/compare/v0.1.0...v0.2.0) (2026-05-22)
165
+
166
+
167
+ ### Bug Fixes
168
+
169
+ * **image:** 修复图片组预览图片不展示的问题 ([d485580](https://gitee.com/mach552/savor-ui/commits/d485580c89acd0483cd71cb885175a294b3db1d3))
170
+ * **message:** 修复容器不销毁的问题 ([6c34e24](https://gitee.com/mach552/savor-ui/commits/6c34e24fcc1b0aadab4c49c385470cb79f88d1b5))
171
+
172
+
173
+ ### Features
174
+
175
+ * **radio:** 新增按钮类型的单选框组 ([4b7e12a](https://gitee.com/mach552/savor-ui/commits/4b7e12aef25fc0504e3bdb8d52a85d899acefd00))
167
176
  * **text:** 新增复制和编辑模式,新增气泡提示 ([39125c3](https://gitee.com/mach552/savor-ui/commits/39125c3877a14d9bcd9deda7736f7b2583e479b1))
168
177
 
169
- # 0.1.0 (2026-05-16)
170
-
171
-
172
- ### Features
173
-
178
+ # 0.1.0 (2026-05-16)
179
+
180
+
181
+ ### Features
182
+
174
183
  * 重构所有组件为Vapor。 ([a16e110](https://gitee.com/mach552/savor-ui/commits/a16e110a6d15810058f92b2a55ffce58b13957ab))
175
184
 
176
185
  ## [0.0.8](https://gitee.com/mach552/savor-ui/compare/v0.0.7...v0.0.8) (2026-05-11)
@@ -48,7 +48,9 @@ export * from './src/scrollbar';
48
48
  export * from './src/segmented';
49
49
  export * from './src/select';
50
50
  export * from './src/skeleton';
51
+ export * from './src/slider-verify';
51
52
  export * from './src/space';
53
+ export * from './src/split';
52
54
  export * from './src/statistic';
53
55
  export * from './src/steps';
54
56
  export * from './src/switch';
@@ -66,7 +66,10 @@ import "./src/radio/types.mjs";
66
66
  import "./src/radio/index.mjs";
67
67
  import "./src/segmented/index.mjs";
68
68
  import "./src/skeleton/index.mjs";
69
+ import "./src/slider-verify/index.mjs";
69
70
  import "./src/space/index.mjs";
71
+ import "./src/split/types.mjs";
72
+ import "./src/split/index.mjs";
70
73
  import "./src/statistic/index.mjs";
71
74
  import "./src/steps/index.mjs";
72
75
  import "./src/switch/index.mjs";
@@ -50,6 +50,9 @@ var y = g("<div>"), b = g(" "), x = g("<button>", 1), S = /*@__PURE__*/ c({
50
50
  }), 261), p(E, null, 1), s("default", null, () => {
51
51
  let e = b();
52
52
  return u(() => h(e, _(c.label))), e;
53
+ }), p(E, null, 2), o(() => g["icon-right"] && !c.loading, () => {
54
+ let e = y();
55
+ return u(() => f(e, [v(C).e("icon")])), p(e, null, 0), s("icon-right"), e;
53
56
  }), E;
54
57
  }
55
58
  });
@@ -35,9 +35,11 @@ export interface ButtonProps {
35
35
  }
36
36
  export interface ButtonSlots {
37
37
  /** 默认 */
38
- default: () => any;
38
+ default?: () => any;
39
39
  /** 图标 */
40
- icon: () => any;
40
+ icon?: () => any;
41
+ /** 右侧图标 */
42
+ "icon-right"?: () => any;
41
43
  }
42
44
  export interface ButtonGroupProps {
43
45
  /** 按钮组大小
@@ -22,5 +22,5 @@ export interface CarouselProps {
22
22
  /** 指示器位置
23
23
  * @default bottom
24
24
  */
25
- indicatorPosition?: 'top' | 'bottom' | 'left' | 'right' | 'outside';
25
+ indicatorPosition?: "top" | "bottom" | "left" | "right" | "outside";
26
26
  }
@@ -3,9 +3,9 @@ export interface DatetimePickerProps {
3
3
  /** 绑定值(v-model) */
4
4
  modelValue?: string | [string, string];
5
5
  /** 日期时间选择器类型 */
6
- type?: 'datetime' | 'datetime-range' | 'time';
6
+ type?: "datetime" | "datetime-range" | "time";
7
7
  /** 输入框大小 */
8
- size?: 'mini' | 'small' | 'medium' | 'large';
8
+ size?: "mini" | "small" | "medium" | "large";
9
9
  /** 是否禁用 */
10
10
  disabled?: boolean;
11
11
  /** 占位符 */
@@ -10,13 +10,13 @@ export interface FormProps {
10
10
  /** 表单校验规则 */
11
11
  rules?: Record<string, FormItemRule[]>;
12
12
  /** 表单尺寸 */
13
- size?: 'mini' | 'small' | 'medium' | 'large';
13
+ size?: "mini" | "small" | "medium" | "large";
14
14
  /** 表单项标签宽度 */
15
15
  labelWidth?: string | number;
16
16
  /** 表单项标签位置 */
17
- labelPosition?: 'left' | 'top';
17
+ labelPosition?: "left" | "top";
18
18
  /** 表单项标签对齐方式 */
19
- labelAlign?: 'left' | 'right';
19
+ labelAlign?: "left" | "right";
20
20
  }
21
21
  export interface FormEmits {
22
22
  /** 表单提交时触发 */
@@ -42,7 +42,7 @@ export interface FormItemProps {
42
42
  /** 表单项提示 */
43
43
  tooltip?: string;
44
44
  /** 表单项标签对齐方式 */
45
- labelAlign?: 'left' | 'right';
45
+ labelAlign?: "left" | "right";
46
46
  /** 是否显示必填标识 */
47
47
  showRequired?: boolean;
48
48
  }
@@ -56,17 +56,17 @@ export interface FormContext {
56
56
  /** 删除表单项 */
57
57
  removeField: (field: FormItemContext) => void;
58
58
  /** 表单尺寸 */
59
- size?: Ref<'mini' | 'small' | 'medium' | 'large'>;
59
+ size?: Ref<"mini" | "small" | "medium" | "large">;
60
60
  /** 表单项标签宽度 */
61
61
  labelWidth?: Ref<string | number>;
62
62
  /** 表单项标签位置 */
63
- labelPosition?: Ref<'left' | 'top'>;
63
+ labelPosition?: Ref<"left" | "top">;
64
64
  /** 表单项标签对齐方式 */
65
- labelAlign?: Ref<'left' | 'right' | undefined>;
65
+ labelAlign?: Ref<"left" | "right" | undefined>;
66
66
  }
67
67
  export declare const formContextKey: InjectionKey<FormContext>;
68
68
  export interface FormItemValidateStatus {
69
- state: 'success' | 'error' | 'init';
69
+ state: "success" | "error" | "init";
70
70
  errorMsg: string;
71
71
  loading: boolean;
72
72
  }
@@ -96,7 +96,7 @@ export interface FormValidateError {
96
96
  fields: ValidateFieldsError;
97
97
  }
98
98
  export interface FormItemStatusContext {
99
- size?: Ref<'mini' | 'small' | 'medium' | 'large'>;
99
+ size?: Ref<"mini" | "small" | "medium" | "large">;
100
100
  error?: Ref<boolean>;
101
101
  }
102
102
  export declare const formItemStatusContextKey: InjectionKey<FormItemStatusContext>;
@@ -4,7 +4,7 @@ export interface GalleriaProps {
4
4
  /** 缩略图位置
5
5
  * @default bottom
6
6
  */
7
- position?: 'top' | 'bottom' | 'left' | 'right';
7
+ position?: "top" | "bottom" | "left" | "right";
8
8
  /** 图片列表 */
9
9
  items: string[];
10
10
  }
@@ -1,6 +1,6 @@
1
1
  export interface InputNumberProps {
2
2
  /** 输入框大小 */
3
- size?: 'mini' | 'small' | 'medium' | 'large';
3
+ size?: "mini" | "small" | "medium" | "large";
4
4
  /** 最小值 */
5
5
  min?: number;
6
6
  /** 最大值 */
@@ -50,7 +50,7 @@ export interface InputNumberEmits {
50
50
  /** 输入框值变化时触发 */
51
51
  change: [value: number | null, evt: Event];
52
52
  /** 按下回车键时触发 */
53
- 'press-enter': [evt: KeyboardEvent];
53
+ "press-enter": [evt: KeyboardEvent];
54
54
  /** 点击清空按钮时触发 */
55
55
  clear: [evt: Event];
56
56
  /** 输入框获得焦点时触发 */
@@ -20,9 +20,9 @@ export interface InputTagProps {
20
20
  /** 后置标签 */
21
21
  append?: string;
22
22
  /** 触发方式 */
23
- trigger?: 'enter' | 'space';
23
+ trigger?: "enter" | "space";
24
24
  /** 尺寸 */
25
- size?: 'mini' | 'small' | 'medium' | 'large';
25
+ size?: "mini" | "small" | "medium" | "large";
26
26
  /** 是否折叠 */
27
27
  collapse?: boolean;
28
28
  /** 当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此功能,`collapse`的值必须为true */
@@ -45,7 +45,6 @@ export declare const SMenu: ((__VLS_props: NonNullable<Awaited<typeof __VLS_setu
45
45
  emit: (((evt: "itemClick", name: string | number, item: any) => void) & ((evt: "openChange", keys: string[]) => void)) & (((event: "update:activeKey", value: string | number | undefined) => void) & ((event: "update:openKeys", value: (string | number)[]) => void));
46
46
  }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
47
47
  props: PublicProps & {
48
- mode?: "horizontal" | "vertical" | undefined;
49
48
  collapsed?: boolean | undefined;
50
49
  width?: string | number | undefined;
51
50
  collapsedWidth?: number | undefined;
@@ -5,13 +5,12 @@ import { useResizeObserver as n } from "../../../hooks/src/use-resize-observer.m
5
5
  import "../../../hooks/index.mjs";
6
6
  import { SScrollbar as r } from "../scrollbar/index.mjs";
7
7
  import { menuContextKey as i } from "./types.mjs";
8
- import { computed as a, createComponent as o, createIf as s, createSlot as c, defineVaporComponent as l, mergeModels as u, provide as d, ref as f, renderEffect as p, setClass as m, setInsertionState as h, setStaticTemplateRef as g, setStyle as _, template as v, toRefs as y, unref as b, useModel as x, useTemplateRef as S } from "vue";
8
+ import { computed as a, createComponent as o, createSlot as s, defineVaporComponent as c, mergeModels as l, provide as u, ref as d, renderEffect as f, setClass as p, setInsertionState as m, setStaticTemplateRef as h, setStyle as g, template as _, toRefs as v, unref as y, useModel as b, useTemplateRef as x } from "vue";
9
9
  //#region ../components/src/menu/menu.vue?vue&type=script&setup=true&vapor=true&lang.ts
10
- var C = v("<div>"), w = v("<div>", 1), T = /*@__PURE__*/ l({
10
+ var S = _("<div>"), C = _("<div>", 1), w = /*@__PURE__*/ c({
11
11
  name: "SMenu",
12
12
  __name: "menu",
13
- props: /*@__PURE__*/ u({
14
- mode: { default: "vertical" },
13
+ props: /*@__PURE__*/ l({
15
14
  collapsed: { type: Boolean },
16
15
  width: { default: 220 },
17
16
  collapsedWidth: { default: 48 },
@@ -24,48 +23,43 @@ var C = v("<div>"), w = v("<div>", 1), T = /*@__PURE__*/ l({
24
23
  openKeys: { default: () => [] },
25
24
  openKeysModifiers: {}
26
25
  }),
27
- emits: /*@__PURE__*/ u(["itemClick", "openChange"], ["update:activeKey", "update:openKeys"]),
28
- setup(l, { emit: u }) {
29
- let v = l, T = u, E = t("menu"), D = a(() => ({ width: v.mode === "horizontal" ? "100%" : v.collapsed ? e(v.collapsedWidth) : e(v.width) })), O = x(l, "activeKey"), k = x(l, "openKeys"), A = (e, t) => {
30
- O.value = e, T("itemClick", e, t);
31
- }, j = (e) => {
32
- if (v.accordion) {
33
- k.value = [e];
26
+ emits: /*@__PURE__*/ l(["itemClick", "openChange"], ["update:activeKey", "update:openKeys"]),
27
+ setup(c, { emit: l }) {
28
+ let _ = c, w = l, T = t("menu"), E = a(() => ({ width: _.collapsed ? e(_.collapsedWidth) : e(_.width) })), D = b(c, "activeKey"), O = b(c, "openKeys"), k = (e, t) => {
29
+ D.value = e, w("itemClick", e, t);
30
+ }, A = (e) => {
31
+ if (_.accordion) {
32
+ O.value = [e];
34
33
  return;
35
34
  }
36
- k.value = [...k.value, e];
37
- }, M = (e) => {
38
- k.value = k.value.toSpliced(k.value.indexOf(e), 1);
39
- }, { collapsed: N, collapsedWidth: P, mode: F } = y(v), I = f(!1), L = f(void 0), R = (e) => {
40
- L.value = e;
41
- }, z = S("menuRef");
42
- n(z, (e) => {
43
- e[0].contentRect.width === P.value ? I.value = !0 : I.value = !1;
44
- }), d(i, {
45
- mode: F,
46
- collapsed: N,
47
- collapsedWidth: P,
48
- activeKey: O,
49
- itemClick: A,
50
- openKeys: k,
51
- setOpenKey: j,
52
- removeOpenKey: M,
53
- isCollapsed: I,
54
- activePopoverKey: L,
55
- setActivePopoverKey: R
35
+ O.value = [...O.value, e];
36
+ }, j = (e) => {
37
+ O.value = O.value.toSpliced(O.value.indexOf(e), 1);
38
+ }, { collapsed: M, collapsedWidth: N } = v(_), P = d(!1), F = d(void 0), I = (e) => {
39
+ F.value = e;
40
+ }, L = x("menuRef");
41
+ n(L, (e) => {
42
+ e[0].contentRect.width === N.value ? P.value = !0 : P.value = !1;
43
+ }), u(i, {
44
+ collapsed: M,
45
+ collapsedWidth: N,
46
+ activeKey: D,
47
+ itemClick: k,
48
+ openKeys: O,
49
+ setOpenKey: A,
50
+ removeOpenKey: j,
51
+ isCollapsed: P,
52
+ activePopoverKey: F,
53
+ setActivePopoverKey: I
56
54
  });
57
- let B = w();
58
- return p(() => {
59
- let e = b(E);
60
- m(B, [e.b(), e.m(b(F))]), _(B, D.value);
61
- }), h(B, null, 0), s(() => b(F) === "vertical", () => o(b(r), { padding: "4px" }, () => {
62
- let e = C();
63
- return p(() => m(e, [b(E).e("content")])), h(e, null, 0), c(), e;
64
- })), h(B, null, 1), s(() => b(F) === "horizontal", () => {
65
- let e = C();
66
- return p(() => m(e, [b(E).e("content")])), h(e, null, 0), c(), e;
67
- }), g(B, z, null, "menuRef"), B;
55
+ let R = C();
56
+ return f(() => {
57
+ p(R, [y(T).b()]), g(R, E.value);
58
+ }), m(R, null, 0), o(y(r), { padding: "4px" }, () => {
59
+ let e = S();
60
+ return f(() => p(e, [y(T).e("content")])), m(e, null, 0), s(), e;
61
+ }), h(R, L, null, "menuRef"), R;
68
62
  }
69
63
  });
70
64
  //#endregion
71
- export { T as default };
65
+ export { w as default };