@sdata/web-vue-mcp 5.2.0 → 5.3.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 (2) hide show
  1. package/dist/index.js +83 -22
  2. package/package.json +1 -1
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: "7.3.2",
9
- generatedAt: "2026-10-19T02:40:03.224Z",
8
+ version: "7.4.1",
9
+ generatedAt: "2026-10-19T09:28:42.102Z",
10
10
  library: {
11
11
  "name": "@sdata/web-vue",
12
12
  "framework": "Vue 3",
@@ -79,6 +79,42 @@ const data = {
79
79
  "en": "Whether the width of the button adapts to the container."
80
80
  }
81
81
  },
82
+ {
83
+ "name": "ellipsis",
84
+ "type": "boolean",
85
+ "default": "true",
86
+ "description": {
87
+ "zh": "",
88
+ "en": "是否开启默认内容省略,默认 true"
89
+ }
90
+ },
91
+ {
92
+ "name": "ellipsis-line-clamp",
93
+ "type": "number | string",
94
+ "default": "undefined",
95
+ "description": {
96
+ "zh": "",
97
+ "en": "默认内容省略的最大显示行数"
98
+ }
99
+ },
100
+ {
101
+ "name": "ellipsis-expand-trigger",
102
+ "type": "'click'",
103
+ "default": "undefined",
104
+ "description": {
105
+ "zh": "",
106
+ "en": "省略内容的展开触发方式"
107
+ }
108
+ },
109
+ {
110
+ "name": "ellipsis-tooltip",
111
+ "type": "boolean | EllipsisTooltipProps",
112
+ "default": "true",
113
+ "description": {
114
+ "zh": "",
115
+ "en": "省略提示配置,默认 true"
116
+ }
117
+ },
82
118
  {
83
119
  "name": "loading",
84
120
  "type": "boolean",
@@ -165,6 +201,13 @@ const data = {
165
201
  "en": ""
166
202
  }
167
203
  },
204
+ {
205
+ "name": "ellipsis-tooltip",
206
+ "description": {
207
+ "zh": "",
208
+ "en": ""
209
+ }
210
+ },
168
211
  {
169
212
  "name": "sr-only",
170
213
  "description": {
@@ -14091,6 +14134,42 @@ const data = {
14091
14134
  "en": "Link status"
14092
14135
  }
14093
14136
  },
14137
+ {
14138
+ "name": "ellipsis",
14139
+ "type": "boolean | undefined",
14140
+ "default": "undefined",
14141
+ "description": {
14142
+ "zh": "是否开启默认内容省略",
14143
+ "en": "Whether to enable ellipsis for the default slot content"
14144
+ }
14145
+ },
14146
+ {
14147
+ "name": "ellipsis-line-clamp",
14148
+ "type": "string | number | undefined",
14149
+ "default": "",
14150
+ "description": {
14151
+ "zh": "默认内容省略的最大显示行数",
14152
+ "en": "Maximum number of displayed lines for ellipsis content"
14153
+ }
14154
+ },
14155
+ {
14156
+ "name": "ellipsis-expand-trigger",
14157
+ "type": "\"click\" | undefined",
14158
+ "default": "",
14159
+ "description": {
14160
+ "zh": "省略内容的展开触发方式",
14161
+ "en": "Trigger mode for ellipsis expansion"
14162
+ }
14163
+ },
14164
+ {
14165
+ "name": "ellipsis-tooltip",
14166
+ "type": "boolean | EllipsisTooltipProps | undefined",
14167
+ "default": "undefined",
14168
+ "description": {
14169
+ "zh": "省略时是否展示提示。可传入 Tooltip 属性。",
14170
+ "en": "Whether to show a tooltip when ellipsis is active. Tooltip props are supported."
14171
+ }
14172
+ },
14094
14173
  {
14095
14174
  "name": "loading",
14096
14175
  "type": "boolean | undefined",
@@ -14117,24 +14196,6 @@ const data = {
14117
14196
  "zh": "触发复制的组件类型",
14118
14197
  "en": "Trigger component type"
14119
14198
  }
14120
- },
14121
- {
14122
- "name": "ellipsis",
14123
- "type": "",
14124
- "default": "undefined",
14125
- "description": {
14126
- "zh": "",
14127
- "en": ""
14128
- }
14129
- },
14130
- {
14131
- "name": "ellipsis-tooltip",
14132
- "type": "",
14133
- "default": "undefined",
14134
- "description": {
14135
- "zh": "",
14136
- "en": ""
14137
- }
14138
14199
  }
14139
14200
  ],
14140
14201
  "events": [{
@@ -17380,7 +17441,7 @@ const data = {
17380
17441
  {
17381
17442
  "name": "aria-has-popup",
17382
17443
  "type": "boolean | \"menu\" | \"listbox\" | \"tree\" | \"grid\" | \"dialog\" | undefined",
17383
- "default": "",
17444
+ "default": "undefined",
17384
17445
  "description": {
17385
17446
  "zh": "写入 aria-haspopup 的值",
17386
17447
  "en": "Value written to aria-haspopup"
@@ -18840,7 +18901,7 @@ const findByProp = (prop) => {
18840
18901
  const createServer = () => {
18841
18902
  const server = new McpServer({
18842
18903
  name: PKG_NAME,
18843
- version: "5.2.0"
18904
+ version: "5.3.0"
18844
18905
  });
18845
18906
  server.registerTool("list_components", {
18846
18907
  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
@@ -64,7 +64,7 @@
64
64
  "engines": {
65
65
  "node": ">=20"
66
66
  },
67
- "version": "5.2.0",
67
+ "version": "5.3.0",
68
68
  "scripts": {
69
69
  "gen": "node ./scripts/gen-component-data.ts",
70
70
  "build": "node ./scripts/build.ts",