@sdata/web-vue-mcp 1.1.0 → 1.3.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 +146 -12
- 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.
|
|
9
|
-
generatedAt: "2026-07-
|
|
8
|
+
version: "3.13.0",
|
|
9
|
+
generatedAt: "2026-07-18T01:27:36.736Z",
|
|
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": "
|
|
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)[]",
|
|
@@ -6564,6 +6618,15 @@ const data = {
|
|
|
6564
6618
|
"zh": "是否为半选状态",
|
|
6565
6619
|
"en": "Whether it is half-selected"
|
|
6566
6620
|
}
|
|
6621
|
+
},
|
|
6622
|
+
{
|
|
6623
|
+
"name": "tabindex",
|
|
6624
|
+
"type": "number|string",
|
|
6625
|
+
"default": "undefined",
|
|
6626
|
+
"description": {
|
|
6627
|
+
"zh": "原生 input 的 tabindex(默认不渲染,input 保持原生可聚焦;树节点内传 -1 把 checkbox 移出 Tab 序列,改由 treeitem 统一聚焦/操作)",
|
|
6628
|
+
"en": "tabindex for the native input (omitted by default so the input stays natively focusable; pass -1 in tree nodes to remove the checkbox from the Tab order and operate it via the treeitem)"
|
|
6629
|
+
}
|
|
6567
6630
|
}
|
|
6568
6631
|
],
|
|
6569
6632
|
"events": [{
|
|
@@ -6689,6 +6752,15 @@ const data = {
|
|
|
6689
6752
|
"en": "Disabled"
|
|
6690
6753
|
}
|
|
6691
6754
|
},
|
|
6755
|
+
{
|
|
6756
|
+
"name": "readonly",
|
|
6757
|
+
"type": "boolean|string",
|
|
6758
|
+
"default": "false",
|
|
6759
|
+
"description": {
|
|
6760
|
+
"zh": "是否为只读状态",
|
|
6761
|
+
"en": "Whether it is read-only"
|
|
6762
|
+
}
|
|
6763
|
+
},
|
|
6692
6764
|
{
|
|
6693
6765
|
"name": "hide-trigger",
|
|
6694
6766
|
"type": "boolean",
|
|
@@ -7028,7 +7100,7 @@ const data = {
|
|
|
7028
7100
|
},
|
|
7029
7101
|
{
|
|
7030
7102
|
"name": "readonly",
|
|
7031
|
-
"type": "boolean",
|
|
7103
|
+
"type": "boolean|string",
|
|
7032
7104
|
"default": "false",
|
|
7033
7105
|
"description": {
|
|
7034
7106
|
"zh": "是否为只读状态",
|
|
@@ -7346,8 +7418,8 @@ const data = {
|
|
|
7346
7418
|
}
|
|
7347
7419
|
},
|
|
7348
7420
|
{
|
|
7349
|
-
"name": "
|
|
7350
|
-
"type": "boolean",
|
|
7421
|
+
"name": "readonly",
|
|
7422
|
+
"type": "boolean|string",
|
|
7351
7423
|
"default": "false",
|
|
7352
7424
|
"description": {
|
|
7353
7425
|
"zh": "只读",
|
|
@@ -7527,7 +7599,7 @@ const data = {
|
|
|
7527
7599
|
},
|
|
7528
7600
|
{
|
|
7529
7601
|
"name": "readonly",
|
|
7530
|
-
"type": "boolean",
|
|
7602
|
+
"type": "boolean|string",
|
|
7531
7603
|
"default": "false",
|
|
7532
7604
|
"description": {
|
|
7533
7605
|
"zh": "是否为只读模式",
|
|
@@ -7754,6 +7826,15 @@ const data = {
|
|
|
7754
7826
|
"en": "Whether to disable"
|
|
7755
7827
|
}
|
|
7756
7828
|
},
|
|
7829
|
+
{
|
|
7830
|
+
"name": "readonly",
|
|
7831
|
+
"type": "boolean|string",
|
|
7832
|
+
"default": "false",
|
|
7833
|
+
"description": {
|
|
7834
|
+
"zh": "是否为只读状态",
|
|
7835
|
+
"en": "Whether it is read-only"
|
|
7836
|
+
}
|
|
7837
|
+
},
|
|
7757
7838
|
{
|
|
7758
7839
|
"name": "allow-clear",
|
|
7759
7840
|
"type": "boolean",
|
|
@@ -8003,7 +8084,7 @@ const data = {
|
|
|
8003
8084
|
},
|
|
8004
8085
|
{
|
|
8005
8086
|
"name": "readonly",
|
|
8006
|
-
"type": "boolean",
|
|
8087
|
+
"type": "boolean|string",
|
|
8007
8088
|
"default": "false",
|
|
8008
8089
|
"description": {
|
|
8009
8090
|
"zh": "是否为只读状态",
|
|
@@ -8238,7 +8319,15 @@ const data = {
|
|
|
8238
8319
|
"docUrl": "https://sd-design.js.org/components/select",
|
|
8239
8320
|
"importPath": "@sdata/web-vue",
|
|
8240
8321
|
"importName": "Select",
|
|
8241
|
-
"props": [
|
|
8322
|
+
"props": [{
|
|
8323
|
+
"name": "readonly",
|
|
8324
|
+
"type": "boolean|string",
|
|
8325
|
+
"default": "false",
|
|
8326
|
+
"description": {
|
|
8327
|
+
"zh": "是否为只读状态",
|
|
8328
|
+
"en": "Whether it is read-only"
|
|
8329
|
+
}
|
|
8330
|
+
}],
|
|
8242
8331
|
"events": [],
|
|
8243
8332
|
"slots": []
|
|
8244
8333
|
},
|
|
@@ -8651,6 +8740,15 @@ const data = {
|
|
|
8651
8740
|
"en": "Whether to disable"
|
|
8652
8741
|
}
|
|
8653
8742
|
},
|
|
8743
|
+
{
|
|
8744
|
+
"name": "readonly",
|
|
8745
|
+
"type": "boolean|string",
|
|
8746
|
+
"default": "false",
|
|
8747
|
+
"description": {
|
|
8748
|
+
"zh": "是否为只读状态",
|
|
8749
|
+
"en": "Whether it is read-only"
|
|
8750
|
+
}
|
|
8751
|
+
},
|
|
8654
8752
|
{
|
|
8655
8753
|
"name": "error",
|
|
8656
8754
|
"type": "boolean",
|
|
@@ -8819,7 +8917,7 @@ const data = {
|
|
|
8819
8917
|
},
|
|
8820
8918
|
{
|
|
8821
8919
|
"name": "readonly",
|
|
8822
|
-
"type": "boolean",
|
|
8920
|
+
"type": "boolean|string",
|
|
8823
8921
|
"default": "",
|
|
8824
8922
|
"description": {
|
|
8825
8923
|
"zh": "是否为只读模式",
|
|
@@ -9182,6 +9280,15 @@ const data = {
|
|
|
9182
9280
|
"en": "Whether to disable"
|
|
9183
9281
|
}
|
|
9184
9282
|
},
|
|
9283
|
+
{
|
|
9284
|
+
"name": "readonly",
|
|
9285
|
+
"type": "boolean|string",
|
|
9286
|
+
"default": "",
|
|
9287
|
+
"description": {
|
|
9288
|
+
"zh": "是否为只读状态",
|
|
9289
|
+
"en": "Whether it is read-only"
|
|
9290
|
+
}
|
|
9291
|
+
},
|
|
9185
9292
|
{
|
|
9186
9293
|
"name": "loading",
|
|
9187
9294
|
"type": "boolean",
|
|
@@ -9914,6 +10021,33 @@ const data = {
|
|
|
9914
10021
|
"zh": "滚动阈值,当滚动距离超过该值时触发关闭",
|
|
9915
10022
|
"en": "Scroll threshold, trigger close when the scroll distance exceeds this value"
|
|
9916
10023
|
}
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
"name": "esc-to-close",
|
|
10027
|
+
"type": "boolean",
|
|
10028
|
+
"default": "false",
|
|
10029
|
+
"description": {
|
|
10030
|
+
"zh": "是否支持 ESC 键关闭弹出层",
|
|
10031
|
+
"en": "Whether to close the popup with the ESC key"
|
|
10032
|
+
}
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
"name": "aria-has-popup",
|
|
10036
|
+
"type": "boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog'",
|
|
10037
|
+
"default": "undefined",
|
|
10038
|
+
"description": {
|
|
10039
|
+
"zh": "弹出层类型,用于触发器的 `aria-haspopup`。设置后会自动给触发器加 `aria-haspopup` / `aria-expanded` / `aria-controls`,并给弹出层加 id。",
|
|
10040
|
+
"en": "Popup type for the trigger's `aria-haspopup`. When set, the trigger automatically gets `aria-haspopup` / `aria-expanded` / `aria-controls`, and the popup gets an id."
|
|
10041
|
+
}
|
|
10042
|
+
},
|
|
10043
|
+
{
|
|
10044
|
+
"name": "aria-describedby-popup",
|
|
10045
|
+
"type": "boolean",
|
|
10046
|
+
"default": "false",
|
|
10047
|
+
"description": {
|
|
10048
|
+
"zh": "是否给触发器加 `aria-describedby` 指向弹出层(tooltip 模式用)。弹出层显示时才挂。",
|
|
10049
|
+
"en": "Whether to add `aria-describedby` on the trigger pointing to the popup (tooltip pattern). Only applied while the popup is visible."
|
|
10050
|
+
}
|
|
9917
10051
|
}
|
|
9918
10052
|
],
|
|
9919
10053
|
"events": [
|
|
@@ -10439,8 +10573,8 @@ const data = {
|
|
|
10439
10573
|
},
|
|
10440
10574
|
{
|
|
10441
10575
|
"name": "readonly",
|
|
10442
|
-
"type": "boolean",
|
|
10443
|
-
"default": "",
|
|
10576
|
+
"type": "boolean|string",
|
|
10577
|
+
"default": "false",
|
|
10444
10578
|
"description": {
|
|
10445
10579
|
"zh": "只读",
|
|
10446
10580
|
"en": "Readonly"
|