@sdata/web-vue-mcp 3.7.8 → 3.7.9
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 +333 -18
- 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.6.
|
|
9
|
-
generatedAt: "2026-10-
|
|
8
|
+
version: "5.6.7",
|
|
9
|
+
generatedAt: "2026-10-03T05:46:45.160Z",
|
|
10
10
|
library: {
|
|
11
11
|
"name": "@sdata/web-vue",
|
|
12
12
|
"framework": "Vue 3",
|
|
@@ -769,7 +769,19 @@ const data = {
|
|
|
769
769
|
}
|
|
770
770
|
],
|
|
771
771
|
"events": [],
|
|
772
|
-
"slots": [
|
|
772
|
+
"slots": [{
|
|
773
|
+
"name": "split",
|
|
774
|
+
"description": {
|
|
775
|
+
"zh": "设置分隔符",
|
|
776
|
+
"en": "Set separator"
|
|
777
|
+
}
|
|
778
|
+
}, {
|
|
779
|
+
"name": "default",
|
|
780
|
+
"description": {
|
|
781
|
+
"zh": "间距包裹的内容",
|
|
782
|
+
"en": "Content wrapped by the space"
|
|
783
|
+
}
|
|
784
|
+
}]
|
|
773
785
|
},
|
|
774
786
|
{
|
|
775
787
|
"name": "sd-divider",
|
|
@@ -2853,7 +2865,36 @@ const data = {
|
|
|
2853
2865
|
}
|
|
2854
2866
|
}
|
|
2855
2867
|
],
|
|
2856
|
-
"slots": [
|
|
2868
|
+
"slots": [
|
|
2869
|
+
{
|
|
2870
|
+
"name": "prefix",
|
|
2871
|
+
"description": {
|
|
2872
|
+
"zh": "输入框内前缀",
|
|
2873
|
+
"en": "Inner prefix"
|
|
2874
|
+
}
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"name": "suffix",
|
|
2878
|
+
"description": {
|
|
2879
|
+
"zh": "输入框内后缀",
|
|
2880
|
+
"en": "Inner suffix"
|
|
2881
|
+
}
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"name": "prepend",
|
|
2885
|
+
"description": {
|
|
2886
|
+
"zh": "输入框外前置标签",
|
|
2887
|
+
"en": "Outer prepend label"
|
|
2888
|
+
}
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "append",
|
|
2892
|
+
"description": {
|
|
2893
|
+
"zh": "输入框外后置标签",
|
|
2894
|
+
"en": "Outer append label"
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
]
|
|
2857
2898
|
},
|
|
2858
2899
|
{
|
|
2859
2900
|
"name": "sd-verification-code",
|
|
@@ -4094,7 +4135,13 @@ const data = {
|
|
|
4094
4135
|
"en": "Trigger when the value changes"
|
|
4095
4136
|
}
|
|
4096
4137
|
}],
|
|
4097
|
-
"slots": [
|
|
4138
|
+
"slots": [{
|
|
4139
|
+
"name": "checkbox",
|
|
4140
|
+
"description": {
|
|
4141
|
+
"zh": "自定义复选框",
|
|
4142
|
+
"en": "Custom checkbox"
|
|
4143
|
+
}
|
|
4144
|
+
}]
|
|
4098
4145
|
},
|
|
4099
4146
|
{
|
|
4100
4147
|
"name": "sd-radio",
|
|
@@ -4158,7 +4205,13 @@ const data = {
|
|
|
4158
4205
|
"en": "Trigger when the value changes"
|
|
4159
4206
|
}
|
|
4160
4207
|
}],
|
|
4161
|
-
"slots": [
|
|
4208
|
+
"slots": [{
|
|
4209
|
+
"name": "radio",
|
|
4210
|
+
"description": {
|
|
4211
|
+
"zh": "自定义单选框",
|
|
4212
|
+
"en": "Custom radio"
|
|
4213
|
+
}
|
|
4214
|
+
}]
|
|
4162
4215
|
},
|
|
4163
4216
|
{
|
|
4164
4217
|
"name": "sd-switch",
|
|
@@ -5665,7 +5718,19 @@ const data = {
|
|
|
5665
5718
|
}
|
|
5666
5719
|
],
|
|
5667
5720
|
"events": [],
|
|
5668
|
-
"slots": [
|
|
5721
|
+
"slots": [{
|
|
5722
|
+
"name": "default",
|
|
5723
|
+
"description": {
|
|
5724
|
+
"zh": "徽标包裹的内容",
|
|
5725
|
+
"en": "Content wrapped by the badge"
|
|
5726
|
+
}
|
|
5727
|
+
}, {
|
|
5728
|
+
"name": "content",
|
|
5729
|
+
"description": {
|
|
5730
|
+
"zh": "自定义徽标内容",
|
|
5731
|
+
"en": "Custom badge content"
|
|
5732
|
+
}
|
|
5733
|
+
}]
|
|
5669
5734
|
},
|
|
5670
5735
|
{
|
|
5671
5736
|
"name": "sd-tag",
|
|
@@ -6013,7 +6078,36 @@ const data = {
|
|
|
6013
6078
|
}
|
|
6014
6079
|
],
|
|
6015
6080
|
"events": [],
|
|
6016
|
-
"slots": [
|
|
6081
|
+
"slots": [
|
|
6082
|
+
{
|
|
6083
|
+
"name": "title",
|
|
6084
|
+
"description": {
|
|
6085
|
+
"zh": "卡片标题",
|
|
6086
|
+
"en": "Title of card"
|
|
6087
|
+
}
|
|
6088
|
+
},
|
|
6089
|
+
{
|
|
6090
|
+
"name": "extra",
|
|
6091
|
+
"description": {
|
|
6092
|
+
"zh": "卡片右上角的操作区域",
|
|
6093
|
+
"en": "Content to render in the top-right corner of the card"
|
|
6094
|
+
}
|
|
6095
|
+
},
|
|
6096
|
+
{
|
|
6097
|
+
"name": "cover",
|
|
6098
|
+
"description": {
|
|
6099
|
+
"zh": "卡片封面",
|
|
6100
|
+
"en": "Cover of card"
|
|
6101
|
+
}
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
"name": "actions",
|
|
6105
|
+
"description": {
|
|
6106
|
+
"zh": "卡片底部的操作组",
|
|
6107
|
+
"en": "The action list which shows at the bottom of the Card"
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
]
|
|
6017
6111
|
},
|
|
6018
6112
|
{
|
|
6019
6113
|
"name": "sd-selectable-card",
|
|
@@ -6167,7 +6261,50 @@ const data = {
|
|
|
6167
6261
|
"en": "Emitted when the selection state changes"
|
|
6168
6262
|
}
|
|
6169
6263
|
}],
|
|
6170
|
-
"slots": [
|
|
6264
|
+
"slots": [
|
|
6265
|
+
{
|
|
6266
|
+
"name": "figure",
|
|
6267
|
+
"description": {
|
|
6268
|
+
"zh": "图标或图片",
|
|
6269
|
+
"en": "Icon or image"
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
{
|
|
6273
|
+
"name": "title",
|
|
6274
|
+
"description": {
|
|
6275
|
+
"zh": "标题",
|
|
6276
|
+
"en": "Title"
|
|
6277
|
+
}
|
|
6278
|
+
},
|
|
6279
|
+
{
|
|
6280
|
+
"name": "value",
|
|
6281
|
+
"description": {
|
|
6282
|
+
"zh": "主要值",
|
|
6283
|
+
"en": "Primary value"
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
{
|
|
6287
|
+
"name": "description",
|
|
6288
|
+
"description": {
|
|
6289
|
+
"zh": "描述",
|
|
6290
|
+
"en": "Description"
|
|
6291
|
+
}
|
|
6292
|
+
},
|
|
6293
|
+
{
|
|
6294
|
+
"name": "default",
|
|
6295
|
+
"description": {
|
|
6296
|
+
"zh": "自定义补充内容",
|
|
6297
|
+
"en": "Custom supplementary content"
|
|
6298
|
+
}
|
|
6299
|
+
},
|
|
6300
|
+
{
|
|
6301
|
+
"name": "actions",
|
|
6302
|
+
"description": {
|
|
6303
|
+
"zh": "操作区域",
|
|
6304
|
+
"en": "Actions"
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6307
|
+
]
|
|
6171
6308
|
},
|
|
6172
6309
|
{
|
|
6173
6310
|
"name": "sd-collapse",
|
|
@@ -7539,7 +7676,29 @@ const data = {
|
|
|
7539
7676
|
}
|
|
7540
7677
|
],
|
|
7541
7678
|
"events": [],
|
|
7542
|
-
"slots": [
|
|
7679
|
+
"slots": [
|
|
7680
|
+
{
|
|
7681
|
+
"name": "dot",
|
|
7682
|
+
"description": {
|
|
7683
|
+
"zh": "幽灵节点图标",
|
|
7684
|
+
"en": "Pending node dot"
|
|
7685
|
+
}
|
|
7686
|
+
},
|
|
7687
|
+
{
|
|
7688
|
+
"name": "pending",
|
|
7689
|
+
"description": {
|
|
7690
|
+
"zh": "幽灵节点",
|
|
7691
|
+
"en": "Pending node"
|
|
7692
|
+
}
|
|
7693
|
+
},
|
|
7694
|
+
{
|
|
7695
|
+
"name": "default",
|
|
7696
|
+
"description": {
|
|
7697
|
+
"zh": "时间轴节点",
|
|
7698
|
+
"en": "Timeline items"
|
|
7699
|
+
}
|
|
7700
|
+
}
|
|
7701
|
+
]
|
|
7543
7702
|
},
|
|
7544
7703
|
{
|
|
7545
7704
|
"name": "sd-statistic",
|
|
@@ -7684,7 +7843,19 @@ const data = {
|
|
|
7684
7843
|
"en": "Emitted when number animations finish"
|
|
7685
7844
|
}
|
|
7686
7845
|
}],
|
|
7687
|
-
"slots": [
|
|
7846
|
+
"slots": [{
|
|
7847
|
+
"name": "prefix",
|
|
7848
|
+
"description": {
|
|
7849
|
+
"zh": "自定义前缀,优先于 prefix 属性",
|
|
7850
|
+
"en": "Custom prefix, takes precedence over prefix"
|
|
7851
|
+
}
|
|
7852
|
+
}, {
|
|
7853
|
+
"name": "suffix",
|
|
7854
|
+
"description": {
|
|
7855
|
+
"zh": "自定义后缀,优先于 suffix 属性",
|
|
7856
|
+
"en": "Custom suffix, takes precedence over suffix"
|
|
7857
|
+
}
|
|
7858
|
+
}]
|
|
7688
7859
|
},
|
|
7689
7860
|
{
|
|
7690
7861
|
"name": "sd-empty",
|
|
@@ -7724,7 +7895,19 @@ const data = {
|
|
|
7724
7895
|
}
|
|
7725
7896
|
],
|
|
7726
7897
|
"events": [],
|
|
7727
|
-
"slots": [
|
|
7898
|
+
"slots": [{
|
|
7899
|
+
"name": "image",
|
|
7900
|
+
"description": {
|
|
7901
|
+
"zh": "图片/图标",
|
|
7902
|
+
"en": "Image/Icon"
|
|
7903
|
+
}
|
|
7904
|
+
}, {
|
|
7905
|
+
"name": "default",
|
|
7906
|
+
"description": {
|
|
7907
|
+
"zh": "描述内容",
|
|
7908
|
+
"en": "Description"
|
|
7909
|
+
}
|
|
7910
|
+
}]
|
|
7728
7911
|
},
|
|
7729
7912
|
{
|
|
7730
7913
|
"name": "sd-comment",
|
|
@@ -8275,7 +8458,50 @@ const data = {
|
|
|
8275
8458
|
"en": "Visible state change"
|
|
8276
8459
|
}
|
|
8277
8460
|
}],
|
|
8278
|
-
"slots": [
|
|
8461
|
+
"slots": [
|
|
8462
|
+
{
|
|
8463
|
+
"name": "title",
|
|
8464
|
+
"description": {
|
|
8465
|
+
"zh": "自定义标题",
|
|
8466
|
+
"en": "Custom title"
|
|
8467
|
+
}
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
"name": "content",
|
|
8471
|
+
"description": {
|
|
8472
|
+
"zh": "自定义预览内容,优先级最高,会完全接管预览区域",
|
|
8473
|
+
"en": "Custom preview content, highest priority, fully takes over the preview area"
|
|
8474
|
+
}
|
|
8475
|
+
},
|
|
8476
|
+
{
|
|
8477
|
+
"name": "image",
|
|
8478
|
+
"description": {
|
|
8479
|
+
"zh": "自定义图片预览内容,透出 Image 组件属性与状态",
|
|
8480
|
+
"en": "Custom image preview content, exposes Image component props and status"
|
|
8481
|
+
}
|
|
8482
|
+
},
|
|
8483
|
+
{
|
|
8484
|
+
"name": "video",
|
|
8485
|
+
"description": {
|
|
8486
|
+
"zh": "自定义视频预览内容,透出 Video.js 皮肤配置与状态",
|
|
8487
|
+
"en": "Custom video preview content, exposes Video.js skin config and status"
|
|
8488
|
+
}
|
|
8489
|
+
},
|
|
8490
|
+
{
|
|
8491
|
+
"name": "audio",
|
|
8492
|
+
"description": {
|
|
8493
|
+
"zh": "自定义音频预览内容,透出 Video.js 皮肤配置与状态",
|
|
8494
|
+
"en": "Custom audio preview content, exposes Video.js skin config and status"
|
|
8495
|
+
}
|
|
8496
|
+
},
|
|
8497
|
+
{
|
|
8498
|
+
"name": "pdf",
|
|
8499
|
+
"description": {
|
|
8500
|
+
"zh": "自定义 PDF 预览内容,透出 pdf.js 文档代理、分页与渲染能力",
|
|
8501
|
+
"en": "Custom PDF preview content, exposes pdf.js document proxy, pagination and rendering"
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
]
|
|
8279
8505
|
},
|
|
8280
8506
|
{
|
|
8281
8507
|
"name": "sd-cropper",
|
|
@@ -8593,7 +8819,19 @@ const data = {
|
|
|
8593
8819
|
"en": "Triggered when refresh action is clicked"
|
|
8594
8820
|
}
|
|
8595
8821
|
}],
|
|
8596
|
-
"slots": [
|
|
8822
|
+
"slots": [{
|
|
8823
|
+
"name": "status",
|
|
8824
|
+
"description": {
|
|
8825
|
+
"zh": "自定义状态覆盖层",
|
|
8826
|
+
"en": "Custom status overlay"
|
|
8827
|
+
}
|
|
8828
|
+
}, {
|
|
8829
|
+
"name": "icon",
|
|
8830
|
+
"description": {
|
|
8831
|
+
"zh": "自定义中心图标",
|
|
8832
|
+
"en": "Custom center icon"
|
|
8833
|
+
}
|
|
8834
|
+
}]
|
|
8597
8835
|
},
|
|
8598
8836
|
{
|
|
8599
8837
|
"name": "sd-regex-vis",
|
|
@@ -8657,7 +8895,19 @@ const data = {
|
|
|
8657
8895
|
}
|
|
8658
8896
|
],
|
|
8659
8897
|
"events": [],
|
|
8660
|
-
"slots": [
|
|
8898
|
+
"slots": [{
|
|
8899
|
+
"name": "default",
|
|
8900
|
+
"description": {
|
|
8901
|
+
"zh": "默认内容",
|
|
8902
|
+
"en": "Default content"
|
|
8903
|
+
}
|
|
8904
|
+
}, {
|
|
8905
|
+
"name": "tooltip",
|
|
8906
|
+
"description": {
|
|
8907
|
+
"zh": "自定义提示内容",
|
|
8908
|
+
"en": "Custom tooltip content"
|
|
8909
|
+
}
|
|
8910
|
+
}]
|
|
8661
8911
|
},
|
|
8662
8912
|
{
|
|
8663
8913
|
"name": "sd-clamp",
|
|
@@ -10043,7 +10293,36 @@ const data = {
|
|
|
10043
10293
|
}
|
|
10044
10294
|
],
|
|
10045
10295
|
"events": [],
|
|
10046
|
-
"slots": [
|
|
10296
|
+
"slots": [
|
|
10297
|
+
{
|
|
10298
|
+
"name": "element",
|
|
10299
|
+
"description": {
|
|
10300
|
+
"zh": "自定义元素",
|
|
10301
|
+
"en": "Custom element"
|
|
10302
|
+
}
|
|
10303
|
+
},
|
|
10304
|
+
{
|
|
10305
|
+
"name": "tip",
|
|
10306
|
+
"description": {
|
|
10307
|
+
"zh": "自定义提示内容",
|
|
10308
|
+
"en": "Custom tip"
|
|
10309
|
+
}
|
|
10310
|
+
},
|
|
10311
|
+
{
|
|
10312
|
+
"name": "default",
|
|
10313
|
+
"description": {
|
|
10314
|
+
"zh": "自定义内容",
|
|
10315
|
+
"en": "Custom content"
|
|
10316
|
+
}
|
|
10317
|
+
},
|
|
10318
|
+
{
|
|
10319
|
+
"name": "icon",
|
|
10320
|
+
"description": {
|
|
10321
|
+
"zh": "自定义图标(自动旋转)",
|
|
10322
|
+
"en": "Custom icon (auto-rotation)"
|
|
10323
|
+
}
|
|
10324
|
+
}
|
|
10325
|
+
]
|
|
10047
10326
|
},
|
|
10048
10327
|
{
|
|
10049
10328
|
"name": "sd-result",
|
|
@@ -10914,7 +11193,43 @@ const data = {
|
|
|
10914
11193
|
}
|
|
10915
11194
|
}
|
|
10916
11195
|
],
|
|
10917
|
-
"slots": [
|
|
11196
|
+
"slots": [
|
|
11197
|
+
{
|
|
11198
|
+
"name": "trigger",
|
|
11199
|
+
"description": {
|
|
11200
|
+
"zh": "自定义触发器",
|
|
11201
|
+
"en": "Custom trigger"
|
|
11202
|
+
}
|
|
11203
|
+
},
|
|
11204
|
+
{
|
|
11205
|
+
"name": "header",
|
|
11206
|
+
"description": {
|
|
11207
|
+
"zh": "自定义头部",
|
|
11208
|
+
"en": "Custom header"
|
|
11209
|
+
}
|
|
11210
|
+
},
|
|
11211
|
+
{
|
|
11212
|
+
"name": "item",
|
|
11213
|
+
"description": {
|
|
11214
|
+
"zh": "自定义完整菜单项内容",
|
|
11215
|
+
"en": "Custom complete item content"
|
|
11216
|
+
}
|
|
11217
|
+
},
|
|
11218
|
+
{
|
|
11219
|
+
"name": "icon",
|
|
11220
|
+
"description": {
|
|
11221
|
+
"zh": "自定义菜单项图标",
|
|
11222
|
+
"en": "Custom item icon"
|
|
11223
|
+
}
|
|
11224
|
+
},
|
|
11225
|
+
{
|
|
11226
|
+
"name": "empty",
|
|
11227
|
+
"description": {
|
|
11228
|
+
"zh": "空状态内容",
|
|
11229
|
+
"en": "Empty state content"
|
|
11230
|
+
}
|
|
11231
|
+
}
|
|
11232
|
+
]
|
|
10918
11233
|
},
|
|
10919
11234
|
{
|
|
10920
11235
|
"name": "sd-trigger",
|
|
@@ -11482,7 +11797,7 @@ const findByProp = (prop) => {
|
|
|
11482
11797
|
const createServer = () => {
|
|
11483
11798
|
const server = new McpServer({
|
|
11484
11799
|
name: PKG_NAME,
|
|
11485
|
-
version: "3.7.
|
|
11800
|
+
version: "3.7.9"
|
|
11486
11801
|
});
|
|
11487
11802
|
server.registerTool("list_components", {
|
|
11488
11803
|
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.",
|