@sdata/web-vue-mcp 1.0.0 → 1.2.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 +110 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5,8 +5,8 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprot
5
5
  //#endregion
6
6
  //#region src/index.ts
7
7
  const data = {
8
- version: "3.11.0",
9
- generatedAt: "2026-07-15T07:34:46.345Z",
8
+ version: "3.12.0",
9
+ generatedAt: "2026-07-16T10:55:13.705Z",
10
10
  library: {
11
11
  "name": "@sdata/web-vue",
12
12
  "framework": "Vue 3",
@@ -129,6 +129,15 @@ const data = {
129
129
  "zh": "设置跳转链接。设置此属性时,按钮渲染为a标签。",
130
130
  "en": "Set up a jump link. When this property is set, the button is rendered as `<a>`"
131
131
  }
132
+ },
133
+ {
134
+ "name": "tooltip",
135
+ "type": "string | TooltipProps",
136
+ "default": "",
137
+ "description": {
138
+ "zh": "按钮的文字气泡配置。传入字符串时作为气泡内容;传入对象时可完整继承 Tooltip 的所有属性。",
139
+ "en": "Tooltip configuration for the button. A string is used as the tooltip content; an object inherits all Tooltip props."
140
+ }
132
141
  }
133
142
  ],
134
143
  "events": [{
@@ -1575,6 +1584,24 @@ const data = {
1575
1584
  "zh": "卡片右上角的操作区域",
1576
1585
  "en": "Content to render in the top-right corner of the card"
1577
1586
  }
1587
+ },
1588
+ {
1589
+ "name": "full-height",
1590
+ "type": "boolean",
1591
+ "default": "false",
1592
+ "description": {
1593
+ "zh": "是否高度撑满父容器(内容区域自动滚动,仅在父容器有确定高度时生效)",
1594
+ "en": "Whether to fill the height of the parent container (the content area scrolls automatically, only effective when the parent container has a determinate height)"
1595
+ }
1596
+ },
1597
+ {
1598
+ "name": "scrollbar",
1599
+ "type": "boolean | ScrollbarProps",
1600
+ "default": "true",
1601
+ "description": {
1602
+ "zh": "内容区域是否使用 Scrollbar 组件滚动,可传入对象自定义滚动条配置。为 false 时使用原生 overflow 滚动。仅 `full-height` 为 true 时生效",
1603
+ "en": "Whether the content area uses the Scrollbar component for scrolling, an object can be passed to customize the scrollbar. When false, native overflow scrolling is used. Only effective when `full-height` is true"
1604
+ }
1578
1605
  }
1579
1606
  ],
1580
1607
  "events": [],
@@ -3863,6 +3890,24 @@ const data = {
3863
3890
  "zh": "被选中 tab 的滚动位置,默认 auto 即会将 activeTab 滚动到可见区域,但不会特意做位置调整",
3864
3891
  "en": "The scroll position of the selected tab, the default auto will scroll the activeTab to the visible area, but will not adjust the position intentionally"
3865
3892
  }
3893
+ },
3894
+ {
3895
+ "name": "full-height",
3896
+ "type": "boolean",
3897
+ "default": "false",
3898
+ "description": {
3899
+ "zh": "是否高度撑满父容器(仅在水平方向生效,内容区域自动滚动)",
3900
+ "en": "Whether to fill the height of the parent container (only effective in horizontal direction, the content area scrolls automatically)"
3901
+ }
3902
+ },
3903
+ {
3904
+ "name": "scrollbar",
3905
+ "type": "boolean | ScrollbarProps",
3906
+ "default": "true",
3907
+ "description": {
3908
+ "zh": "内容区域是否使用 Scrollbar 组件滚动,可传入对象自定义滚动条配置。为 false 时使用原生 overflow 滚动。仅 `full-height` 为 true 时生效",
3909
+ "en": "Whether the content area uses the Scrollbar component for scrolling, an object can be passed to customize the scrollbar. When false, native overflow scrolling is used. Only effective when `full-height` is true"
3910
+ }
3866
3911
  }
3867
3912
  ],
3868
3913
  "events": [
@@ -4473,7 +4518,7 @@ const data = {
4473
4518
  },
4474
4519
  {
4475
4520
  "name": "popup-container",
4476
- "type": "string | HTMLElement",
4521
+ "type": "union",
4477
4522
  "default": "",
4478
4523
  "description": {
4479
4524
  "zh": "弹出框的挂载容器",
@@ -6299,6 +6344,15 @@ const data = {
6299
6344
  "en": "Whether to disable"
6300
6345
  }
6301
6346
  },
6347
+ {
6348
+ "name": "readonly",
6349
+ "type": "boolean|string",
6350
+ "default": "false",
6351
+ "description": {
6352
+ "zh": "是否为只读状态",
6353
+ "en": "Whether it is read-only"
6354
+ }
6355
+ },
6302
6356
  {
6303
6357
  "name": "data",
6304
6358
  "type": "(string | number | SelectOptionData | SelectOptionGroup)[]",
@@ -6689,6 +6743,15 @@ const data = {
6689
6743
  "en": "Disabled"
6690
6744
  }
6691
6745
  },
6746
+ {
6747
+ "name": "readonly",
6748
+ "type": "boolean|string",
6749
+ "default": "false",
6750
+ "description": {
6751
+ "zh": "是否为只读状态",
6752
+ "en": "Whether it is read-only"
6753
+ }
6754
+ },
6692
6755
  {
6693
6756
  "name": "hide-trigger",
6694
6757
  "type": "boolean",
@@ -7028,7 +7091,7 @@ const data = {
7028
7091
  },
7029
7092
  {
7030
7093
  "name": "readonly",
7031
- "type": "boolean",
7094
+ "type": "boolean|string",
7032
7095
  "default": "false",
7033
7096
  "description": {
7034
7097
  "zh": "是否为只读状态",
@@ -7346,8 +7409,8 @@ const data = {
7346
7409
  }
7347
7410
  },
7348
7411
  {
7349
- "name": "read-only",
7350
- "type": "boolean",
7412
+ "name": "readonly",
7413
+ "type": "boolean|string",
7351
7414
  "default": "false",
7352
7415
  "description": {
7353
7416
  "zh": "只读",
@@ -7527,7 +7590,7 @@ const data = {
7527
7590
  },
7528
7591
  {
7529
7592
  "name": "readonly",
7530
- "type": "boolean",
7593
+ "type": "boolean|string",
7531
7594
  "default": "false",
7532
7595
  "description": {
7533
7596
  "zh": "是否为只读模式",
@@ -7754,6 +7817,15 @@ const data = {
7754
7817
  "en": "Whether to disable"
7755
7818
  }
7756
7819
  },
7820
+ {
7821
+ "name": "readonly",
7822
+ "type": "boolean|string",
7823
+ "default": "false",
7824
+ "description": {
7825
+ "zh": "是否为只读状态",
7826
+ "en": "Whether it is read-only"
7827
+ }
7828
+ },
7757
7829
  {
7758
7830
  "name": "allow-clear",
7759
7831
  "type": "boolean",
@@ -8003,7 +8075,7 @@ const data = {
8003
8075
  },
8004
8076
  {
8005
8077
  "name": "readonly",
8006
- "type": "boolean",
8078
+ "type": "boolean|string",
8007
8079
  "default": "false",
8008
8080
  "description": {
8009
8081
  "zh": "是否为只读状态",
@@ -8238,7 +8310,15 @@ const data = {
8238
8310
  "docUrl": "https://sd-design.js.org/components/select",
8239
8311
  "importPath": "@sdata/web-vue",
8240
8312
  "importName": "Select",
8241
- "props": [],
8313
+ "props": [{
8314
+ "name": "readonly",
8315
+ "type": "boolean|string",
8316
+ "default": "false",
8317
+ "description": {
8318
+ "zh": "是否为只读状态",
8319
+ "en": "Whether it is read-only"
8320
+ }
8321
+ }],
8242
8322
  "events": [],
8243
8323
  "slots": []
8244
8324
  },
@@ -8651,6 +8731,15 @@ const data = {
8651
8731
  "en": "Whether to disable"
8652
8732
  }
8653
8733
  },
8734
+ {
8735
+ "name": "readonly",
8736
+ "type": "boolean|string",
8737
+ "default": "false",
8738
+ "description": {
8739
+ "zh": "是否为只读状态",
8740
+ "en": "Whether it is read-only"
8741
+ }
8742
+ },
8654
8743
  {
8655
8744
  "name": "error",
8656
8745
  "type": "boolean",
@@ -8819,7 +8908,7 @@ const data = {
8819
8908
  },
8820
8909
  {
8821
8910
  "name": "readonly",
8822
- "type": "boolean",
8911
+ "type": "boolean|string",
8823
8912
  "default": "",
8824
8913
  "description": {
8825
8914
  "zh": "是否为只读模式",
@@ -9182,6 +9271,15 @@ const data = {
9182
9271
  "en": "Whether to disable"
9183
9272
  }
9184
9273
  },
9274
+ {
9275
+ "name": "readonly",
9276
+ "type": "boolean|string",
9277
+ "default": "",
9278
+ "description": {
9279
+ "zh": "是否为只读状态",
9280
+ "en": "Whether it is read-only"
9281
+ }
9282
+ },
9185
9283
  {
9186
9284
  "name": "loading",
9187
9285
  "type": "boolean",
@@ -10439,8 +10537,8 @@ const data = {
10439
10537
  },
10440
10538
  {
10441
10539
  "name": "readonly",
10442
- "type": "boolean",
10443
- "default": "",
10540
+ "type": "boolean|string",
10541
+ "default": "false",
10444
10542
  "description": {
10445
10543
  "zh": "只读",
10446
10544
  "en": "Readonly"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdata/web-vue-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Model Context Protocol (MCP) server for the SD Design Vue component library",
5
5
  "keywords": [
6
6
  "ai",