@sdata/web-vue-mcp 3.9.4 → 3.9.6
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 +79 -66
- 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: "5.8.
|
|
9
|
-
generatedAt: "2026-10-
|
|
8
|
+
version: "5.8.5",
|
|
9
|
+
generatedAt: "2026-10-06T03:18:42.320Z",
|
|
10
10
|
library: {
|
|
11
11
|
"name": "@sdata/web-vue",
|
|
12
12
|
"framework": "Vue 3",
|
|
@@ -4849,7 +4849,7 @@ const data = {
|
|
|
4849
4849
|
{
|
|
4850
4850
|
"name": "default-popup-visible",
|
|
4851
4851
|
"type": "boolean",
|
|
4852
|
-
"default": "
|
|
4852
|
+
"default": "undefined",
|
|
4853
4853
|
"description": {
|
|
4854
4854
|
"zh": "下拉浮层是否默认显示(非受控状态)",
|
|
4855
4855
|
"en": "Whether the dropdown popup is visible by default (uncontrolled state)"
|
|
@@ -6066,7 +6066,7 @@ const data = {
|
|
|
6066
6066
|
{
|
|
6067
6067
|
"name": "default-popup-visible",
|
|
6068
6068
|
"type": "boolean",
|
|
6069
|
-
"default": "",
|
|
6069
|
+
"default": "undefined",
|
|
6070
6070
|
"description": {
|
|
6071
6071
|
"zh": "默认弹出框是否可见",
|
|
6072
6072
|
"en": "Whether the default pop-up box is visible"
|
|
@@ -9413,39 +9413,39 @@ const data = {
|
|
|
9413
9413
|
}
|
|
9414
9414
|
},
|
|
9415
9415
|
{
|
|
9416
|
-
"name": "
|
|
9417
|
-
"type": "
|
|
9418
|
-
"default": "",
|
|
9416
|
+
"name": "hoverable",
|
|
9417
|
+
"type": "boolean",
|
|
9418
|
+
"default": "() => inject(configProviderInjectionKey, undefined)?.table?.hoverable ?? true",
|
|
9419
9419
|
"description": {
|
|
9420
|
-
"zh": "
|
|
9421
|
-
"en": "
|
|
9420
|
+
"zh": "是否显示选中效果",
|
|
9421
|
+
"en": "Whether to show the hover effect"
|
|
9422
9422
|
}
|
|
9423
9423
|
},
|
|
9424
9424
|
{
|
|
9425
|
-
"name": "
|
|
9426
|
-
"type": "
|
|
9427
|
-
"default": "",
|
|
9425
|
+
"name": "stripe",
|
|
9426
|
+
"type": "boolean",
|
|
9427
|
+
"default": "() => inject(configProviderInjectionKey, undefined)?.table?.stripe ?? false",
|
|
9428
9428
|
"description": {
|
|
9429
|
-
"zh": "
|
|
9430
|
-
"en": "
|
|
9429
|
+
"zh": "是否开启斑马纹效果",
|
|
9430
|
+
"en": "Whether to enable the stripe effect"
|
|
9431
9431
|
}
|
|
9432
9432
|
},
|
|
9433
9433
|
{
|
|
9434
|
-
"name": "
|
|
9435
|
-
"type": "
|
|
9436
|
-
"default": "() => inject(configProviderInjectionKey, undefined)?.
|
|
9434
|
+
"name": "size",
|
|
9435
|
+
"type": "Size",
|
|
9436
|
+
"default": "() => inject(configProviderInjectionKey, undefined)?.size ?? 'large'",
|
|
9437
9437
|
"description": {
|
|
9438
|
-
"zh": "
|
|
9439
|
-
"en": "
|
|
9438
|
+
"zh": "表格的大小",
|
|
9439
|
+
"en": "The size of the table"
|
|
9440
9440
|
}
|
|
9441
9441
|
},
|
|
9442
9442
|
{
|
|
9443
|
-
"name": "
|
|
9444
|
-
"type": "
|
|
9445
|
-
"default": "()
|
|
9443
|
+
"name": "table-layout-fixed",
|
|
9444
|
+
"type": "boolean",
|
|
9445
|
+
"default": "() =>\n inject(configProviderInjectionKey, undefined)?.table?.tableLayoutFixed ?? false",
|
|
9446
9446
|
"description": {
|
|
9447
|
-
"zh": "
|
|
9448
|
-
"en": "The
|
|
9447
|
+
"zh": "表格的 table-layout 属性设置为 fixed,设置为 fixed 后,表格的宽度不会被内容撑开超出 100%。",
|
|
9448
|
+
"en": "The table-layout property of the table is set to fixed. After it is set to fixed, the width of the table will not be stretched beyond 100% by the content."
|
|
9449
9449
|
}
|
|
9450
9450
|
},
|
|
9451
9451
|
{
|
|
@@ -9467,48 +9467,48 @@ const data = {
|
|
|
9467
9467
|
}
|
|
9468
9468
|
},
|
|
9469
9469
|
{
|
|
9470
|
-
"name": "
|
|
9471
|
-
"type": "
|
|
9472
|
-
"default": "
|
|
9470
|
+
"name": "row-selection",
|
|
9471
|
+
"type": "TableRowSelection",
|
|
9472
|
+
"default": "",
|
|
9473
9473
|
"description": {
|
|
9474
|
-
"zh": "
|
|
9475
|
-
"en": "
|
|
9474
|
+
"zh": "表格的行选择器配置",
|
|
9475
|
+
"en": "Table row selector configuration"
|
|
9476
9476
|
}
|
|
9477
9477
|
},
|
|
9478
9478
|
{
|
|
9479
|
-
"name": "
|
|
9480
|
-
"type": "
|
|
9481
|
-
"default": "
|
|
9479
|
+
"name": "expandable",
|
|
9480
|
+
"type": "TableExpandable",
|
|
9481
|
+
"default": "",
|
|
9482
9482
|
"description": {
|
|
9483
|
-
"zh": "
|
|
9484
|
-
"en": "
|
|
9483
|
+
"zh": "表格的展开行配置",
|
|
9484
|
+
"en": "Expand row configuration of the table"
|
|
9485
9485
|
}
|
|
9486
9486
|
},
|
|
9487
9487
|
{
|
|
9488
|
-
"name": "
|
|
9489
|
-
"type": "
|
|
9490
|
-
"default": "
|
|
9488
|
+
"name": "scroll",
|
|
9489
|
+
"type": "{\n x?: number | string;\n y?: number | string;\n minWidth?: number | string;\n maxHeight?: number | string;\n}",
|
|
9490
|
+
"default": "",
|
|
9491
9491
|
"description": {
|
|
9492
|
-
"zh": "
|
|
9493
|
-
"en": "
|
|
9492
|
+
"zh": "表格的滚动属性配置。`2.13.0` 版本增加字符型值的支持。`2.20.0` 版本增加 `minWidth`,`maxHeight` 的支持。",
|
|
9493
|
+
"en": "Scrolling attribute configuration of the table. The `2.13.0` version adds support for character values. `2.20.0` version adds support for `minWidth`, `maxHeight`."
|
|
9494
9494
|
}
|
|
9495
9495
|
},
|
|
9496
9496
|
{
|
|
9497
|
-
"name": "
|
|
9498
|
-
"type": "boolean",
|
|
9499
|
-
"default": "()
|
|
9497
|
+
"name": "pagination",
|
|
9498
|
+
"type": "boolean | PaginationProps",
|
|
9499
|
+
"default": "() => inject(configProviderInjectionKey, undefined)?.table?.pagination ?? true",
|
|
9500
9500
|
"description": {
|
|
9501
|
-
"zh": "
|
|
9502
|
-
"en": "
|
|
9501
|
+
"zh": "分页的属性配置",
|
|
9502
|
+
"en": "Pagination properties configuration"
|
|
9503
9503
|
}
|
|
9504
9504
|
},
|
|
9505
9505
|
{
|
|
9506
|
-
"name": "
|
|
9507
|
-
"type": "
|
|
9508
|
-
"default": "",
|
|
9506
|
+
"name": "page-position",
|
|
9507
|
+
"type": "TablePagePosition",
|
|
9508
|
+
"default": "() => inject(configProviderInjectionKey, undefined)?.table?.pagePosition ?? 'br'",
|
|
9509
9509
|
"description": {
|
|
9510
|
-
"zh": "
|
|
9511
|
-
"en": "
|
|
9510
|
+
"zh": "分页选择器的位置",
|
|
9511
|
+
"en": "The position of the page selector"
|
|
9512
9512
|
}
|
|
9513
9513
|
},
|
|
9514
9514
|
{
|
|
@@ -9738,20 +9738,6 @@ const data = {
|
|
|
9738
9738
|
}
|
|
9739
9739
|
],
|
|
9740
9740
|
"events": [
|
|
9741
|
-
{
|
|
9742
|
-
"name": "update:selected-keys",
|
|
9743
|
-
"description": {
|
|
9744
|
-
"zh": "",
|
|
9745
|
-
"en": ""
|
|
9746
|
-
}
|
|
9747
|
-
},
|
|
9748
|
-
{
|
|
9749
|
-
"name": "update:expanded-keys",
|
|
9750
|
-
"description": {
|
|
9751
|
-
"zh": "",
|
|
9752
|
-
"en": ""
|
|
9753
|
-
}
|
|
9754
|
-
},
|
|
9755
9741
|
{
|
|
9756
9742
|
"name": "expand",
|
|
9757
9743
|
"description": {
|
|
@@ -10170,8 +10156,8 @@ const data = {
|
|
|
10170
10156
|
"type": "((data: UnknownRecord) => UnknownRecord) | undefined",
|
|
10171
10157
|
"default": "",
|
|
10172
10158
|
"description": {
|
|
10173
|
-
"zh": "
|
|
10174
|
-
"en": "Transform applied to
|
|
10159
|
+
"zh": "编辑详情回填时对详情数据的转换",
|
|
10160
|
+
"en": "Transform applied to detail data when populating the edit form"
|
|
10175
10161
|
}
|
|
10176
10162
|
},
|
|
10177
10163
|
{
|
|
@@ -14207,6 +14193,24 @@ const data = {
|
|
|
14207
14193
|
"zh": "触发复制的组件类型",
|
|
14208
14194
|
"en": "Trigger component type"
|
|
14209
14195
|
}
|
|
14196
|
+
},
|
|
14197
|
+
{
|
|
14198
|
+
"name": "ellipsis",
|
|
14199
|
+
"type": "",
|
|
14200
|
+
"default": "undefined",
|
|
14201
|
+
"description": {
|
|
14202
|
+
"zh": "",
|
|
14203
|
+
"en": ""
|
|
14204
|
+
}
|
|
14205
|
+
},
|
|
14206
|
+
{
|
|
14207
|
+
"name": "ellipsis-tooltip",
|
|
14208
|
+
"type": "",
|
|
14209
|
+
"default": "undefined",
|
|
14210
|
+
"description": {
|
|
14211
|
+
"zh": "",
|
|
14212
|
+
"en": ""
|
|
14213
|
+
}
|
|
14210
14214
|
}
|
|
14211
14215
|
],
|
|
14212
14216
|
"events": [{
|
|
@@ -14761,6 +14765,15 @@ const data = {
|
|
|
14761
14765
|
"en": "Display duration, the unit is `ms`"
|
|
14762
14766
|
}
|
|
14763
14767
|
},
|
|
14768
|
+
{
|
|
14769
|
+
"name": "resetOnUpdate",
|
|
14770
|
+
"type": "boolean | undefined",
|
|
14771
|
+
"default": "",
|
|
14772
|
+
"description": {
|
|
14773
|
+
"zh": "更新通知时是否重新开始计时;未设置时在提供 duration 的更新中重启",
|
|
14774
|
+
"en": "Whether to restart the timer on update; defaults to restarting when duration is supplied"
|
|
14775
|
+
}
|
|
14776
|
+
},
|
|
14764
14777
|
{
|
|
14765
14778
|
"name": "footer",
|
|
14766
14779
|
"type": "RenderFunction | undefined",
|
|
@@ -18924,7 +18937,7 @@ const findByProp = (prop) => {
|
|
|
18924
18937
|
const createServer = () => {
|
|
18925
18938
|
const server = new McpServer({
|
|
18926
18939
|
name: PKG_NAME,
|
|
18927
|
-
version: "3.9.
|
|
18940
|
+
version: "3.9.6"
|
|
18928
18941
|
});
|
|
18929
18942
|
server.registerTool("list_components", {
|
|
18930
18943
|
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.",
|