@sdata/web-vue-mcp 1.5.1 → 1.7.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.
- package/dist/index.js +599 -11
- package/package.json +5 -5
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.
|
|
9
|
-
generatedAt: "2026-07-
|
|
8
|
+
version: "3.18.0",
|
|
9
|
+
generatedAt: "2026-07-27T00:31:31.108Z",
|
|
10
10
|
library: {
|
|
11
11
|
"name": "@sdata/web-vue",
|
|
12
12
|
"framework": "Vue 3",
|
|
@@ -4438,6 +4438,15 @@ const data = {
|
|
|
4438
4438
|
"importPath": "@sdata/web-vue",
|
|
4439
4439
|
"importName": "Tooltip",
|
|
4440
4440
|
"props": [
|
|
4441
|
+
{
|
|
4442
|
+
"name": "floating-options",
|
|
4443
|
+
"type": "FloatingOptions",
|
|
4444
|
+
"default": "",
|
|
4445
|
+
"description": {
|
|
4446
|
+
"zh": "Floating UI Vue 的完整配置。",
|
|
4447
|
+
"en": "Complete Floating UI Vue options."
|
|
4448
|
+
}
|
|
4449
|
+
},
|
|
4441
4450
|
{
|
|
4442
4451
|
"name": "popup-visible",
|
|
4443
4452
|
"type": "boolean",
|
|
@@ -6428,6 +6437,24 @@ const data = {
|
|
|
6428
6437
|
"en": "Whether to allow the input to be cleared"
|
|
6429
6438
|
}
|
|
6430
6439
|
},
|
|
6440
|
+
{
|
|
6441
|
+
"name": "fit-width",
|
|
6442
|
+
"type": "boolean",
|
|
6443
|
+
"default": "false",
|
|
6444
|
+
"description": {
|
|
6445
|
+
"zh": "宽度是否适应文字内容",
|
|
6446
|
+
"en": "Whether the width adapts to the text content"
|
|
6447
|
+
}
|
|
6448
|
+
},
|
|
6449
|
+
{
|
|
6450
|
+
"name": "max-wfull",
|
|
6451
|
+
"type": "boolean",
|
|
6452
|
+
"default": "true",
|
|
6453
|
+
"description": {
|
|
6454
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
6455
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
6456
|
+
}
|
|
6457
|
+
},
|
|
6431
6458
|
{
|
|
6432
6459
|
"name": "virtual-list-props",
|
|
6433
6460
|
"type": "VirtualListProps",
|
|
@@ -6582,7 +6609,23 @@ const data = {
|
|
|
6582
6609
|
"docUrl": "https://sd-design.js.org/components/cascader",
|
|
6583
6610
|
"importPath": "@sdata/web-vue",
|
|
6584
6611
|
"importName": "Cascader",
|
|
6585
|
-
"props": [
|
|
6612
|
+
"props": [{
|
|
6613
|
+
"name": "max-wfull",
|
|
6614
|
+
"type": "boolean",
|
|
6615
|
+
"default": "true",
|
|
6616
|
+
"description": {
|
|
6617
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
6618
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
6619
|
+
}
|
|
6620
|
+
}, {
|
|
6621
|
+
"name": "fit-width",
|
|
6622
|
+
"type": "boolean",
|
|
6623
|
+
"default": "false",
|
|
6624
|
+
"description": {
|
|
6625
|
+
"zh": "宽度是否适应文字内容",
|
|
6626
|
+
"en": "Whether the width adapts to the text content"
|
|
6627
|
+
}
|
|
6628
|
+
}],
|
|
6586
6629
|
"events": [],
|
|
6587
6630
|
"slots": []
|
|
6588
6631
|
},
|
|
@@ -6914,6 +6957,24 @@ const data = {
|
|
|
6914
6957
|
"zh": "是否显示 `showTime` 时,选择当前时间的按钮",
|
|
6915
6958
|
"en": "Whether to display `showTime`, select the button of the current time"
|
|
6916
6959
|
}
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"name": "fit-width",
|
|
6963
|
+
"type": "boolean",
|
|
6964
|
+
"default": "false",
|
|
6965
|
+
"description": {
|
|
6966
|
+
"zh": "宽度是否适应文字内容",
|
|
6967
|
+
"en": "Whether the width adapts to the text content"
|
|
6968
|
+
}
|
|
6969
|
+
},
|
|
6970
|
+
{
|
|
6971
|
+
"name": "max-wfull",
|
|
6972
|
+
"type": "boolean",
|
|
6973
|
+
"default": "true",
|
|
6974
|
+
"description": {
|
|
6975
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
6976
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
6977
|
+
}
|
|
6917
6978
|
}
|
|
6918
6979
|
],
|
|
6919
6980
|
"events": [],
|
|
@@ -7053,6 +7114,64 @@ const data = {
|
|
|
7053
7114
|
],
|
|
7054
7115
|
"slots": []
|
|
7055
7116
|
},
|
|
7117
|
+
{
|
|
7118
|
+
"name": "sd-kv-list",
|
|
7119
|
+
"title": "键值列表 KvList",
|
|
7120
|
+
"category": "其他",
|
|
7121
|
+
"description": "编辑、排序键值对,并在结构化数组与 Bulk 文本之间保持同步。",
|
|
7122
|
+
"docUrl": "https://sd-design.js.org/components/kv-list",
|
|
7123
|
+
"importPath": "@sdata/web-vue",
|
|
7124
|
+
"importName": "KvList",
|
|
7125
|
+
"props": [
|
|
7126
|
+
{
|
|
7127
|
+
"name": "type",
|
|
7128
|
+
"type": "KvListType",
|
|
7129
|
+
"default": "",
|
|
7130
|
+
"description": {
|
|
7131
|
+
"zh": "编辑器类型。默认使用两个 Input",
|
|
7132
|
+
"en": "Editor type. Uses two Input components by default"
|
|
7133
|
+
}
|
|
7134
|
+
},
|
|
7135
|
+
{
|
|
7136
|
+
"name": "key-props",
|
|
7137
|
+
"type": "KvListKeyProps",
|
|
7138
|
+
"default": "",
|
|
7139
|
+
"description": {
|
|
7140
|
+
"zh": "透传给键编辑组件的属性",
|
|
7141
|
+
"en": "Props passed through to the key editor"
|
|
7142
|
+
}
|
|
7143
|
+
},
|
|
7144
|
+
{
|
|
7145
|
+
"name": "value-props",
|
|
7146
|
+
"type": "KvListValueProps",
|
|
7147
|
+
"default": "",
|
|
7148
|
+
"description": {
|
|
7149
|
+
"zh": "透传给值编辑组件的属性",
|
|
7150
|
+
"en": "Props passed through to the value editor"
|
|
7151
|
+
}
|
|
7152
|
+
},
|
|
7153
|
+
{
|
|
7154
|
+
"name": "disabled",
|
|
7155
|
+
"type": "boolean",
|
|
7156
|
+
"default": "",
|
|
7157
|
+
"description": {
|
|
7158
|
+
"zh": "是否禁用编辑和结构操作",
|
|
7159
|
+
"en": "Whether editing and structural actions are disabled"
|
|
7160
|
+
}
|
|
7161
|
+
},
|
|
7162
|
+
{
|
|
7163
|
+
"name": "bulk-editable",
|
|
7164
|
+
"type": "boolean",
|
|
7165
|
+
"default": "",
|
|
7166
|
+
"description": {
|
|
7167
|
+
"zh": "是否允许 Bulk 编辑。secret 类型默认关闭,其他类型默认开启",
|
|
7168
|
+
"en": "Whether bulk editing is available. Disabled by default for secret type"
|
|
7169
|
+
}
|
|
7170
|
+
}
|
|
7171
|
+
],
|
|
7172
|
+
"events": [],
|
|
7173
|
+
"slots": []
|
|
7174
|
+
},
|
|
7056
7175
|
{
|
|
7057
7176
|
"name": "sd-json-form",
|
|
7058
7177
|
"title": "JSON 表单 JsonForm",
|
|
@@ -7146,6 +7265,24 @@ const data = {
|
|
|
7146
7265
|
"en": "Prompt text"
|
|
7147
7266
|
}
|
|
7148
7267
|
},
|
|
7268
|
+
{
|
|
7269
|
+
"name": "fit-width",
|
|
7270
|
+
"type": "boolean",
|
|
7271
|
+
"default": "false",
|
|
7272
|
+
"description": {
|
|
7273
|
+
"zh": "宽度是否适应文字内容",
|
|
7274
|
+
"en": "Whether the width adapts to the text content"
|
|
7275
|
+
}
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"name": "max-wfull",
|
|
7279
|
+
"type": "boolean",
|
|
7280
|
+
"default": "true",
|
|
7281
|
+
"description": {
|
|
7282
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
7283
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
7284
|
+
}
|
|
7285
|
+
},
|
|
7149
7286
|
{
|
|
7150
7287
|
"name": "max-length",
|
|
7151
7288
|
"type": "number | { length: number; errorOnly?: boolean }",
|
|
@@ -7402,6 +7539,24 @@ const data = {
|
|
|
7402
7539
|
"en": "Input prompt text"
|
|
7403
7540
|
}
|
|
7404
7541
|
},
|
|
7542
|
+
{
|
|
7543
|
+
"name": "fit-width",
|
|
7544
|
+
"type": "boolean",
|
|
7545
|
+
"default": "false",
|
|
7546
|
+
"description": {
|
|
7547
|
+
"zh": "宽度是否适应文字内容",
|
|
7548
|
+
"en": "Whether the width adapts to the text content"
|
|
7549
|
+
}
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
"name": "max-wfull",
|
|
7553
|
+
"type": "boolean",
|
|
7554
|
+
"default": "true",
|
|
7555
|
+
"description": {
|
|
7556
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
7557
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
7558
|
+
}
|
|
7559
|
+
},
|
|
7405
7560
|
{
|
|
7406
7561
|
"name": "hide-button",
|
|
7407
7562
|
"type": "boolean",
|
|
@@ -7600,6 +7755,24 @@ const data = {
|
|
|
7600
7755
|
"en": "Placeholder"
|
|
7601
7756
|
}
|
|
7602
7757
|
},
|
|
7758
|
+
{
|
|
7759
|
+
"name": "fit-width",
|
|
7760
|
+
"type": "boolean",
|
|
7761
|
+
"default": "false",
|
|
7762
|
+
"description": {
|
|
7763
|
+
"zh": "宽度是否适应文字内容",
|
|
7764
|
+
"en": "Whether the width adapts to the text content"
|
|
7765
|
+
}
|
|
7766
|
+
},
|
|
7767
|
+
{
|
|
7768
|
+
"name": "max-wfull",
|
|
7769
|
+
"type": "boolean",
|
|
7770
|
+
"default": "true",
|
|
7771
|
+
"description": {
|
|
7772
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
7773
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
7774
|
+
}
|
|
7775
|
+
},
|
|
7603
7776
|
{
|
|
7604
7777
|
"name": "disabled",
|
|
7605
7778
|
"type": "boolean",
|
|
@@ -7864,6 +8037,33 @@ const data = {
|
|
|
7864
8037
|
"zh": "是否允许清空输入框",
|
|
7865
8038
|
"en": "Whether to allow the input to be cleared"
|
|
7866
8039
|
}
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
"name": "fit-width",
|
|
8043
|
+
"type": "boolean",
|
|
8044
|
+
"default": "false",
|
|
8045
|
+
"description": {
|
|
8046
|
+
"zh": "宽度是否适应文字内容",
|
|
8047
|
+
"en": "Whether the width adapts to the text content"
|
|
8048
|
+
}
|
|
8049
|
+
},
|
|
8050
|
+
{
|
|
8051
|
+
"name": "max-wfull",
|
|
8052
|
+
"type": "boolean",
|
|
8053
|
+
"default": "true",
|
|
8054
|
+
"description": {
|
|
8055
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
8056
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
8057
|
+
}
|
|
8058
|
+
},
|
|
8059
|
+
{
|
|
8060
|
+
"name": "floating-options",
|
|
8061
|
+
"type": "FloatingOptions",
|
|
8062
|
+
"default": "",
|
|
8063
|
+
"description": {
|
|
8064
|
+
"zh": "Floating UI Vue 的完整定位配置",
|
|
8065
|
+
"en": "Complete Floating UI Vue positioning options"
|
|
8066
|
+
}
|
|
7867
8067
|
}
|
|
7868
8068
|
],
|
|
7869
8069
|
"events": [
|
|
@@ -8223,6 +8423,163 @@ const data = {
|
|
|
8223
8423
|
],
|
|
8224
8424
|
"slots": []
|
|
8225
8425
|
},
|
|
8426
|
+
{
|
|
8427
|
+
"name": "sd-rich-text-editor",
|
|
8428
|
+
"title": "富文本编辑器 RichTextEditor",
|
|
8429
|
+
"category": "其他",
|
|
8430
|
+
"description": "基于 Lexical 的可扩展 Vue 富文本编辑器,支持完整 EditorState、组件节点、HTML、Markdown、历史记录和底层 API 访问。",
|
|
8431
|
+
"docUrl": "https://sd-design.js.org/components/rich-text-editor",
|
|
8432
|
+
"importPath": "@sdata/web-vue",
|
|
8433
|
+
"importName": "RichTextEditor",
|
|
8434
|
+
"props": [
|
|
8435
|
+
{
|
|
8436
|
+
"name": "model-value",
|
|
8437
|
+
"type": "RichTextEditorValue",
|
|
8438
|
+
"default": "",
|
|
8439
|
+
"description": {
|
|
8440
|
+
"zh": "受控的 Lexical 序列化状态",
|
|
8441
|
+
"en": "Controlled serialized Lexical state"
|
|
8442
|
+
}
|
|
8443
|
+
},
|
|
8444
|
+
{
|
|
8445
|
+
"name": "default-value",
|
|
8446
|
+
"type": "union",
|
|
8447
|
+
"default": "",
|
|
8448
|
+
"description": {
|
|
8449
|
+
"zh": "非受控初始状态,也可直接传入纯文本",
|
|
8450
|
+
"en": "Uncontrolled initial state, or plain text"
|
|
8451
|
+
}
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
"name": "editor-config",
|
|
8455
|
+
"type": "RichTextEditorConfig",
|
|
8456
|
+
"default": "",
|
|
8457
|
+
"description": {
|
|
8458
|
+
"zh": "Lexical 初始化配置,可注册自定义 nodes、theme、HTML 转换与错误处理",
|
|
8459
|
+
"en": "Lexical initialization config for custom nodes, theme, HTML conversions and errors"
|
|
8460
|
+
}
|
|
8461
|
+
},
|
|
8462
|
+
{
|
|
8463
|
+
"name": "plugins",
|
|
8464
|
+
"type": "TSTypeOperator",
|
|
8465
|
+
"default": "() => []",
|
|
8466
|
+
"description": {
|
|
8467
|
+
"zh": "编辑器初始化时注册的 Lexical 插件",
|
|
8468
|
+
"en": "Lexical plugins registered when the editor is initialized"
|
|
8469
|
+
}
|
|
8470
|
+
},
|
|
8471
|
+
{
|
|
8472
|
+
"name": "transformers",
|
|
8473
|
+
"type": "TSTypeOperator",
|
|
8474
|
+
"default": "() => TRANSFORMERS",
|
|
8475
|
+
"description": {
|
|
8476
|
+
"zh": "Markdown 导入导出的转换器",
|
|
8477
|
+
"en": "Transformers used for Markdown import and export"
|
|
8478
|
+
}
|
|
8479
|
+
},
|
|
8480
|
+
{
|
|
8481
|
+
"name": "placeholder",
|
|
8482
|
+
"type": "string",
|
|
8483
|
+
"default": "",
|
|
8484
|
+
"description": {
|
|
8485
|
+
"zh": "提示文字",
|
|
8486
|
+
"en": "Placeholder text"
|
|
8487
|
+
}
|
|
8488
|
+
},
|
|
8489
|
+
{
|
|
8490
|
+
"name": "disabled",
|
|
8491
|
+
"type": "boolean",
|
|
8492
|
+
"default": "",
|
|
8493
|
+
"description": {
|
|
8494
|
+
"zh": "是否禁用",
|
|
8495
|
+
"en": "Whether the editor is disabled"
|
|
8496
|
+
}
|
|
8497
|
+
},
|
|
8498
|
+
{
|
|
8499
|
+
"name": "readonly",
|
|
8500
|
+
"type": "boolean",
|
|
8501
|
+
"default": "",
|
|
8502
|
+
"description": {
|
|
8503
|
+
"zh": "是否只读",
|
|
8504
|
+
"en": "Whether the editor is read-only"
|
|
8505
|
+
}
|
|
8506
|
+
},
|
|
8507
|
+
{
|
|
8508
|
+
"name": "history",
|
|
8509
|
+
"type": "boolean",
|
|
8510
|
+
"default": "true",
|
|
8511
|
+
"description": {
|
|
8512
|
+
"zh": "是否启用撤销与重做历史",
|
|
8513
|
+
"en": "Whether undo and redo history is enabled"
|
|
8514
|
+
}
|
|
8515
|
+
},
|
|
8516
|
+
{
|
|
8517
|
+
"name": "history-delay",
|
|
8518
|
+
"type": "number",
|
|
8519
|
+
"default": "300",
|
|
8520
|
+
"description": {
|
|
8521
|
+
"zh": "连续输入合并为同一条历史记录的间隔",
|
|
8522
|
+
"en": "Delay used to merge continuous input into one history entry"
|
|
8523
|
+
}
|
|
8524
|
+
},
|
|
8525
|
+
{
|
|
8526
|
+
"name": "history-max-depth",
|
|
8527
|
+
"type": "union",
|
|
8528
|
+
"default": "null",
|
|
8529
|
+
"description": {
|
|
8530
|
+
"zh": "历史记录最大深度;null 表示不限制",
|
|
8531
|
+
"en": "Maximum history depth; null means unlimited"
|
|
8532
|
+
}
|
|
8533
|
+
},
|
|
8534
|
+
{
|
|
8535
|
+
"name": "auto-size",
|
|
8536
|
+
"type": "union",
|
|
8537
|
+
"default": "true",
|
|
8538
|
+
"description": {
|
|
8539
|
+
"zh": "是否启用自适应高度",
|
|
8540
|
+
"en": "Whether automatic height is enabled"
|
|
8541
|
+
}
|
|
8542
|
+
},
|
|
8543
|
+
{
|
|
8544
|
+
"name": "spellcheck",
|
|
8545
|
+
"type": "boolean",
|
|
8546
|
+
"default": "true",
|
|
8547
|
+
"description": {
|
|
8548
|
+
"zh": "是否启用拼写检查",
|
|
8549
|
+
"en": "Whether spell checking is enabled"
|
|
8550
|
+
}
|
|
8551
|
+
},
|
|
8552
|
+
{
|
|
8553
|
+
"name": "aria-label",
|
|
8554
|
+
"type": "string",
|
|
8555
|
+
"default": "",
|
|
8556
|
+
"description": {
|
|
8557
|
+
"zh": "输入区的无障碍名称",
|
|
8558
|
+
"en": "Accessible name of the editor"
|
|
8559
|
+
}
|
|
8560
|
+
},
|
|
8561
|
+
{
|
|
8562
|
+
"name": "class-names",
|
|
8563
|
+
"type": "Partial",
|
|
8564
|
+
"default": "() => ({})",
|
|
8565
|
+
"description": {
|
|
8566
|
+
"zh": "语义化节点类名",
|
|
8567
|
+
"en": "Semantic node class names"
|
|
8568
|
+
}
|
|
8569
|
+
},
|
|
8570
|
+
{
|
|
8571
|
+
"name": "styles",
|
|
8572
|
+
"type": "Partial",
|
|
8573
|
+
"default": "() => ({})",
|
|
8574
|
+
"description": {
|
|
8575
|
+
"zh": "语义化节点样式",
|
|
8576
|
+
"en": "Semantic node styles"
|
|
8577
|
+
}
|
|
8578
|
+
}
|
|
8579
|
+
],
|
|
8580
|
+
"events": [],
|
|
8581
|
+
"slots": []
|
|
8582
|
+
},
|
|
8226
8583
|
{
|
|
8227
8584
|
"name": "sd-scrollbar",
|
|
8228
8585
|
"title": "滚动条 Scrollbar",
|
|
@@ -8340,15 +8697,183 @@ const data = {
|
|
|
8340
8697
|
"docUrl": "https://sd-design.js.org/components/select",
|
|
8341
8698
|
"importPath": "@sdata/web-vue",
|
|
8342
8699
|
"importName": "Select",
|
|
8343
|
-
"props": [
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
"
|
|
8349
|
-
|
|
8700
|
+
"props": [
|
|
8701
|
+
{
|
|
8702
|
+
"name": "fit-width",
|
|
8703
|
+
"type": "boolean",
|
|
8704
|
+
"default": "false",
|
|
8705
|
+
"description": {
|
|
8706
|
+
"zh": "宽度是否适应文字内容",
|
|
8707
|
+
"en": "Whether the width adapts to the text content"
|
|
8708
|
+
}
|
|
8709
|
+
},
|
|
8710
|
+
{
|
|
8711
|
+
"name": "max-wfull",
|
|
8712
|
+
"type": "boolean",
|
|
8713
|
+
"default": "true",
|
|
8714
|
+
"description": {
|
|
8715
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
8716
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
8719
|
+
{
|
|
8720
|
+
"name": "readonly",
|
|
8721
|
+
"type": "boolean|string",
|
|
8722
|
+
"default": "false",
|
|
8723
|
+
"description": {
|
|
8724
|
+
"zh": "是否为只读状态",
|
|
8725
|
+
"en": "Whether it is read-only"
|
|
8726
|
+
}
|
|
8350
8727
|
}
|
|
8351
|
-
|
|
8728
|
+
],
|
|
8729
|
+
"events": [],
|
|
8730
|
+
"slots": []
|
|
8731
|
+
},
|
|
8732
|
+
{
|
|
8733
|
+
"name": "sd-sender",
|
|
8734
|
+
"title": "对话输入框 Sender",
|
|
8735
|
+
"category": "其他",
|
|
8736
|
+
"description": "用于聊天与 AI 对话场景的复合输入框,支持提交、加载取消、语音、头部面板、结构化词槽和功能开关。",
|
|
8737
|
+
"docUrl": "https://sd-design.js.org/components/sender",
|
|
8738
|
+
"importPath": "@sdata/web-vue",
|
|
8739
|
+
"importName": "Sender",
|
|
8740
|
+
"props": [
|
|
8741
|
+
{
|
|
8742
|
+
"name": "model-value",
|
|
8743
|
+
"type": "string",
|
|
8744
|
+
"default": "",
|
|
8745
|
+
"description": {
|
|
8746
|
+
"zh": "绑定值。词槽模式下请通过 change/submit 或实例方法读取结构化内容。",
|
|
8747
|
+
"en": "Bound value. In slot mode, read structured content from events or instance methods."
|
|
8748
|
+
}
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
"name": "default-value",
|
|
8752
|
+
"type": "string",
|
|
8753
|
+
"default": "''",
|
|
8754
|
+
"description": {
|
|
8755
|
+
"zh": "非受控模式的默认值",
|
|
8756
|
+
"en": "Default value in uncontrolled mode"
|
|
8757
|
+
}
|
|
8758
|
+
},
|
|
8759
|
+
{
|
|
8760
|
+
"name": "loading",
|
|
8761
|
+
"type": "boolean",
|
|
8762
|
+
"default": "",
|
|
8763
|
+
"description": {
|
|
8764
|
+
"zh": "是否加载中;加载中时发送按钮切换为停止按钮",
|
|
8765
|
+
"en": "Whether the sender is loading; the send button becomes a stop button while loading"
|
|
8766
|
+
}
|
|
8767
|
+
},
|
|
8768
|
+
{
|
|
8769
|
+
"name": "readonly",
|
|
8770
|
+
"type": "union",
|
|
8771
|
+
"default": "",
|
|
8772
|
+
"description": {
|
|
8773
|
+
"zh": "是否只读",
|
|
8774
|
+
"en": "Whether the input is read-only"
|
|
8775
|
+
}
|
|
8776
|
+
},
|
|
8777
|
+
{
|
|
8778
|
+
"name": "submit-type",
|
|
8779
|
+
"type": "SenderSubmitType",
|
|
8780
|
+
"default": "'enter'",
|
|
8781
|
+
"description": {
|
|
8782
|
+
"zh": "提交快捷键",
|
|
8783
|
+
"en": "Keyboard shortcut used to submit"
|
|
8784
|
+
}
|
|
8785
|
+
},
|
|
8786
|
+
{
|
|
8787
|
+
"name": "disabled",
|
|
8788
|
+
"type": "boolean",
|
|
8789
|
+
"default": "",
|
|
8790
|
+
"description": {
|
|
8791
|
+
"zh": "是否禁用",
|
|
8792
|
+
"en": "Whether the sender is disabled"
|
|
8793
|
+
}
|
|
8794
|
+
},
|
|
8795
|
+
{
|
|
8796
|
+
"name": "slot-config",
|
|
8797
|
+
"type": "TSTypeOperator",
|
|
8798
|
+
"default": "",
|
|
8799
|
+
"description": {
|
|
8800
|
+
"zh": "结构化词槽配置",
|
|
8801
|
+
"en": "Structured slot configuration"
|
|
8802
|
+
}
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"name": "allow-speech",
|
|
8806
|
+
"type": "SenderAllowSpeech",
|
|
8807
|
+
"default": "",
|
|
8808
|
+
"description": {
|
|
8809
|
+
"zh": "语音输入配置",
|
|
8810
|
+
"en": "Speech input configuration"
|
|
8811
|
+
}
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
"name": "auto-size",
|
|
8815
|
+
"type": "union",
|
|
8816
|
+
"default": "() => ({ maxRows: 8 })",
|
|
8817
|
+
"description": {
|
|
8818
|
+
"zh": "文本域自适应高度配置",
|
|
8819
|
+
"en": "Textarea auto-size configuration"
|
|
8820
|
+
}
|
|
8821
|
+
},
|
|
8822
|
+
{
|
|
8823
|
+
"name": "skill",
|
|
8824
|
+
"type": "SenderSkill",
|
|
8825
|
+
"default": "",
|
|
8826
|
+
"description": {
|
|
8827
|
+
"zh": "技能标签配置",
|
|
8828
|
+
"en": "Skill tag configuration"
|
|
8829
|
+
}
|
|
8830
|
+
},
|
|
8831
|
+
{
|
|
8832
|
+
"name": "placeholder",
|
|
8833
|
+
"type": "string",
|
|
8834
|
+
"default": "",
|
|
8835
|
+
"description": {
|
|
8836
|
+
"zh": "占位文本",
|
|
8837
|
+
"en": "Placeholder text"
|
|
8838
|
+
}
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"name": "show-actions",
|
|
8842
|
+
"type": "boolean",
|
|
8843
|
+
"default": "true",
|
|
8844
|
+
"description": {
|
|
8845
|
+
"zh": "是否显示默认操作区",
|
|
8846
|
+
"en": "Whether to show the default action area"
|
|
8847
|
+
}
|
|
8848
|
+
},
|
|
8849
|
+
{
|
|
8850
|
+
"name": "components",
|
|
8851
|
+
"type": "SenderComponents",
|
|
8852
|
+
"default": "",
|
|
8853
|
+
"description": {
|
|
8854
|
+
"zh": "替换内部输入组件",
|
|
8855
|
+
"en": "Replace internal input components"
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
{
|
|
8859
|
+
"name": "class-names",
|
|
8860
|
+
"type": "Partial",
|
|
8861
|
+
"default": "() => ({})",
|
|
8862
|
+
"description": {
|
|
8863
|
+
"zh": "语义化节点类名",
|
|
8864
|
+
"en": "Semantic node class names"
|
|
8865
|
+
}
|
|
8866
|
+
},
|
|
8867
|
+
{
|
|
8868
|
+
"name": "styles",
|
|
8869
|
+
"type": "Partial",
|
|
8870
|
+
"default": "() => ({})",
|
|
8871
|
+
"description": {
|
|
8872
|
+
"zh": "语义化节点样式",
|
|
8873
|
+
"en": "Semantic node styles"
|
|
8874
|
+
}
|
|
8875
|
+
}
|
|
8876
|
+
],
|
|
8352
8877
|
"events": [],
|
|
8353
8878
|
"slots": []
|
|
8354
8879
|
},
|
|
@@ -8752,6 +9277,24 @@ const data = {
|
|
|
8752
9277
|
"en": "Placeholder"
|
|
8753
9278
|
}
|
|
8754
9279
|
},
|
|
9280
|
+
{
|
|
9281
|
+
"name": "fit-width",
|
|
9282
|
+
"type": "boolean",
|
|
9283
|
+
"default": "false",
|
|
9284
|
+
"description": {
|
|
9285
|
+
"zh": "宽度是否适应文字内容",
|
|
9286
|
+
"en": "Whether the width adapts to the text content"
|
|
9287
|
+
}
|
|
9288
|
+
},
|
|
9289
|
+
{
|
|
9290
|
+
"name": "max-wfull",
|
|
9291
|
+
"type": "boolean",
|
|
9292
|
+
"default": "true",
|
|
9293
|
+
"description": {
|
|
9294
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
9295
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
9296
|
+
}
|
|
9297
|
+
},
|
|
8755
9298
|
{
|
|
8756
9299
|
"name": "disabled",
|
|
8757
9300
|
"type": "boolean",
|
|
@@ -8972,6 +9515,24 @@ const data = {
|
|
|
8972
9515
|
"en": "Prompt copy"
|
|
8973
9516
|
}
|
|
8974
9517
|
},
|
|
9518
|
+
{
|
|
9519
|
+
"name": "fit-width",
|
|
9520
|
+
"type": "boolean",
|
|
9521
|
+
"default": "false",
|
|
9522
|
+
"description": {
|
|
9523
|
+
"zh": "宽度是否适应文字内容",
|
|
9524
|
+
"en": "Whether the width adapts to the text content"
|
|
9525
|
+
}
|
|
9526
|
+
},
|
|
9527
|
+
{
|
|
9528
|
+
"name": "max-wfull",
|
|
9529
|
+
"type": "boolean",
|
|
9530
|
+
"default": "true",
|
|
9531
|
+
"description": {
|
|
9532
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
9533
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
9534
|
+
}
|
|
9535
|
+
},
|
|
8975
9536
|
{
|
|
8976
9537
|
"name": "size",
|
|
8977
9538
|
"type": "Size",
|
|
@@ -9391,6 +9952,24 @@ const data = {
|
|
|
9391
9952
|
"en": "Prompt copy"
|
|
9392
9953
|
}
|
|
9393
9954
|
},
|
|
9955
|
+
{
|
|
9956
|
+
"name": "fit-width",
|
|
9957
|
+
"type": "boolean",
|
|
9958
|
+
"default": "false",
|
|
9959
|
+
"description": {
|
|
9960
|
+
"zh": "宽度是否适应文字内容",
|
|
9961
|
+
"en": "Whether the width adapts to the text content"
|
|
9962
|
+
}
|
|
9963
|
+
},
|
|
9964
|
+
{
|
|
9965
|
+
"name": "max-wfull",
|
|
9966
|
+
"type": "boolean",
|
|
9967
|
+
"default": "true",
|
|
9968
|
+
"description": {
|
|
9969
|
+
"zh": "最大宽度是否限制为父容器宽度",
|
|
9970
|
+
"en": "Whether the maximum width is limited to the parent container width"
|
|
9971
|
+
}
|
|
9972
|
+
},
|
|
9394
9973
|
{
|
|
9395
9974
|
"name": "max-tag-count",
|
|
9396
9975
|
"type": "number | 'responsive'",
|
|
@@ -9746,6 +10325,15 @@ const data = {
|
|
|
9746
10325
|
"importPath": "@sdata/web-vue",
|
|
9747
10326
|
"importName": "Trigger",
|
|
9748
10327
|
"props": [
|
|
10328
|
+
{
|
|
10329
|
+
"name": "floating-options",
|
|
10330
|
+
"type": "FloatingOptions",
|
|
10331
|
+
"default": "",
|
|
10332
|
+
"description": {
|
|
10333
|
+
"zh": "Floating UI Vue 的完整配置。与旧定位参数冲突时以此配置为准。",
|
|
10334
|
+
"en": "Complete Floating UI Vue options. These options take precedence over legacy positioning props."
|
|
10335
|
+
}
|
|
10336
|
+
},
|
|
9749
10337
|
{
|
|
9750
10338
|
"name": "popup-visible",
|
|
9751
10339
|
"type": "boolean",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdata/web-vue-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for the SD Design Vue component library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
53
53
|
"@semantic-release/exec": "^7.1.0",
|
|
54
54
|
"@semantic-release/git": "^10.0.1",
|
|
55
|
-
"@semantic-release/github": "^12.0.
|
|
55
|
+
"@semantic-release/github": "^12.0.9",
|
|
56
56
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
57
|
-
"@types/node": "~24.13.
|
|
57
|
+
"@types/node": "~24.13.3",
|
|
58
58
|
"fast-glob": "^3.3.3",
|
|
59
|
-
"semantic-release": "^25.0.
|
|
60
|
-
"tsdown": "^0.22.
|
|
59
|
+
"semantic-release": "^25.0.7",
|
|
60
|
+
"tsdown": "^0.22.9",
|
|
61
61
|
"typescript": "^6.0.3",
|
|
62
62
|
"vue-docgen-api": "4.79.2"
|
|
63
63
|
},
|