@sdata/web-vue-mcp 2.5.4 → 2.6.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.
- package/dist/index.js +22 -53
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import * as z from "zod/v4";
|
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/index.ts
|
|
7
7
|
const data = {
|
|
8
|
-
version: "4.5.
|
|
9
|
-
generatedAt: "2026-09-
|
|
8
|
+
version: "4.5.5",
|
|
9
|
+
generatedAt: "2026-09-14T05:31:26.535Z",
|
|
10
10
|
library: {
|
|
11
11
|
"name": "@sdata/web-vue",
|
|
12
12
|
"framework": "Vue 3",
|
|
@@ -848,74 +848,43 @@ const data = {
|
|
|
848
848
|
"slots": []
|
|
849
849
|
},
|
|
850
850
|
{
|
|
851
|
-
"name": "sd-
|
|
852
|
-
"title": "
|
|
851
|
+
"name": "sd-panel-group",
|
|
852
|
+
"title": "面板组 PanelGroup",
|
|
853
853
|
"category": "布局",
|
|
854
|
-
"description": "
|
|
855
|
-
"docUrl": "https://sd-design.js.org/components/
|
|
854
|
+
"description": "可拖拽伸缩、带折叠动画的面板布局组件组,用于替代 ResizeBox。",
|
|
855
|
+
"docUrl": "https://sd-design.js.org/components/panel-group",
|
|
856
856
|
"importPath": "@sdata/web-vue",
|
|
857
|
-
"importName": "
|
|
857
|
+
"importName": "PanelGroup",
|
|
858
858
|
"props": [
|
|
859
859
|
{
|
|
860
|
-
"name": "
|
|
861
|
-
"type": "
|
|
860
|
+
"name": "orientation",
|
|
861
|
+
"type": "union",
|
|
862
862
|
"default": "",
|
|
863
863
|
"description": {
|
|
864
|
-
"zh": "
|
|
865
|
-
"en": "
|
|
864
|
+
"zh": "面板排列方向,仅初始化时生效",
|
|
865
|
+
"en": "Orientation, fixed at mount"
|
|
866
866
|
}
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
|
-
"name": "
|
|
870
|
-
"type": "
|
|
869
|
+
"name": "reorder",
|
|
870
|
+
"type": "boolean",
|
|
871
871
|
"default": "",
|
|
872
872
|
"description": {
|
|
873
|
-
"zh": "
|
|
874
|
-
"en": "
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"name": "component",
|
|
879
|
-
"type": "string",
|
|
880
|
-
"default": "'div'",
|
|
881
|
-
"description": {
|
|
882
|
-
"zh": "伸缩框的 html 标签",
|
|
883
|
-
"en": "The html tag of the telescopic box"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"name": "directions",
|
|
888
|
-
"type": "('left' | 'right' | 'top' | 'bottom')[]",
|
|
889
|
-
"default": "() => ['right']",
|
|
890
|
-
"description": {
|
|
891
|
-
"zh": "可以进行伸缩的边,有上、下、左、右可以使用",
|
|
892
|
-
"en": "Can be stretched side, there are up, down, left and right can be used"
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
],
|
|
896
|
-
"events": [
|
|
897
|
-
{
|
|
898
|
-
"name": "moving-start",
|
|
899
|
-
"description": {
|
|
900
|
-
"zh": "拖拽开始时触发",
|
|
901
|
-
"en": "Triggered when dragging starts"
|
|
873
|
+
"zh": "面板重排时是否播放位移动画",
|
|
874
|
+
"en": "Play FLIP animation when panels reorder"
|
|
902
875
|
}
|
|
903
876
|
},
|
|
904
877
|
{
|
|
905
|
-
"name": "
|
|
906
|
-
"
|
|
907
|
-
|
|
908
|
-
"en": "Triggered when dragging"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
{
|
|
912
|
-
"name": "moving-end",
|
|
878
|
+
"name": "transition",
|
|
879
|
+
"type": "PanelTransition",
|
|
880
|
+
"default": "",
|
|
913
881
|
"description": {
|
|
914
|
-
"zh": "
|
|
915
|
-
"en": "
|
|
882
|
+
"zh": "重排动画的过渡配置(毫秒)",
|
|
883
|
+
"en": "Transition for reorder animations (milliseconds)"
|
|
916
884
|
}
|
|
917
885
|
}
|
|
918
886
|
],
|
|
887
|
+
"events": [],
|
|
919
888
|
"slots": []
|
|
920
889
|
},
|
|
921
890
|
{
|
|
@@ -8503,7 +8472,7 @@ const findByProp = (prop) => {
|
|
|
8503
8472
|
const createServer = () => {
|
|
8504
8473
|
const server = new McpServer({
|
|
8505
8474
|
name: PKG_NAME,
|
|
8506
|
-
version: "2.
|
|
8475
|
+
version: "2.6.0"
|
|
8507
8476
|
});
|
|
8508
8477
|
server.registerTool("list_components", {
|
|
8509
8478
|
description: "List all SD Design components with their category, bilingual title and API size. Optionally filter by category. Use this first to discover what is available.",
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@semantic-release/exec": "^7.1.0",
|
|
55
55
|
"@semantic-release/github": "^12.0.9",
|
|
56
56
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
57
|
-
"@types/node": "~24.13.
|
|
57
|
+
"@types/node": "~24.13.4",
|
|
58
58
|
"fast-glob": "^3.3.3",
|
|
59
59
|
"semantic-release": "^25.0.9",
|
|
60
60
|
"tsdown": "^0.22.14",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=20"
|
|
66
66
|
},
|
|
67
|
-
"version": "2.
|
|
67
|
+
"version": "2.6.0",
|
|
68
68
|
"scripts": {
|
|
69
69
|
"gen": "node ./scripts/gen-component-data.mjs",
|
|
70
70
|
"build": "node ./scripts/build.mjs",
|