@sdata/web-vue-mcp 2.7.3 → 3.1.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 +21 -4
  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: "4.7.1",
9
- generatedAt: "2026-09-20T07:42:00.968Z",
8
+ version: "4.7.2",
9
+ generatedAt: "2026-09-22T09:46:37.092Z",
10
10
  library: {
11
11
  "name": "@sdata/web-vue",
12
12
  "framework": "Vue 3",
@@ -3289,7 +3289,15 @@ const data = {
3289
3289
  "docUrl": "https://sd-design.js.org/components/upload",
3290
3290
  "importPath": "@sdata/web-vue",
3291
3291
  "importName": "Upload",
3292
- "props": [],
3292
+ "props": [{
3293
+ "name": "lock-key",
3294
+ "type": "",
3295
+ "default": "",
3296
+ "description": {
3297
+ "zh": "跨标签页上传互斥标识;相同标识同时只允许一个文件上传",
3298
+ "en": "Cross-tab upload lock key; only one file per key may upload at a time"
3299
+ }
3300
+ }],
3293
3301
  "events": [],
3294
3302
  "slots": []
3295
3303
  },
@@ -3958,6 +3966,15 @@ const data = {
3958
3966
  "en": "Whether to show a tooltip when ellipsis is active. Tooltip props are supported."
3959
3967
  }
3960
3968
  },
3969
+ {
3970
+ "name": "tooltip",
3971
+ "type": "string",
3972
+ "default": "",
3973
+ "description": {
3974
+ "zh": "自定义提示内容。设置后(或使用 tooltip 插槽时)无论内容是否省略,hover 时都会显示提示;ellipsis-tooltip 显式关闭(false 或 disabled: true)时除外",
3975
+ "en": "Custom tooltip content. When set (or when the tooltip slot is used), the tooltip shows on hover whether or not the content is truncated, unless the ellipsis tooltip is explicitly disabled (false or disabled: true)"
3976
+ }
3977
+ },
3961
3978
  {
3962
3979
  "name": "ellipsis-performant",
3963
3980
  "type": "boolean",
@@ -8472,7 +8489,7 @@ const findByProp = (prop) => {
8472
8489
  const createServer = () => {
8473
8490
  const server = new McpServer({
8474
8491
  name: PKG_NAME,
8475
- version: "2.7.3"
8492
+ version: "3.1.0"
8476
8493
  });
8477
8494
  server.registerTool("list_components", {
8478
8495
  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": "2.7.3",
67
+ "version": "3.1.0",
68
68
  "scripts": {
69
69
  "gen": "node ./scripts/gen-component-data.mjs",
70
70
  "build": "node ./scripts/build.mjs",