{
"icon": "radio",
"name": {
"zh_CN": "单选框"
},
"component": "tiny-radio",
"schema": {
"properties": [
{
"label": {
"zh_CN": "基础信息"
},
"description": {
"zh_CN": "基础信息"
},
"collapse": {
"number": 6,
"text": {
"zh_CN": "显示更多"
}
},
"content": [
{
"property": "text",
"label": {
"text": {
"zh_CN": "文本"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
},
{
"property": "label",
"label": {
"text": {
"zh_CN": "单选框的值"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"props": {}
},
"description": {
"zh_CN": ""
}
},
{
"property": "value",
"label": {
"text": {
"zh_CN": "绑定值"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
},
{
"property": "disabled",
"label": {
"text": {
"zh_CN": "禁用"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
}
]
},
{
"label": {
"zh_CN": "其他"
},
"description": {
"zh_CN": ""
},
"content": [
{
"property": "border",
"label": {
"text": {
"zh_CN": "显示边框"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
},
{
"property": "size",
"label": {
"text": {
"zh_CN": "单选框的尺寸"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
},
{
"property": "name",
"label": {
"text": {
"zh_CN": "原生 name 属性"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
}
]
}
],
"events": {
"onChange": {
"label": {
"zh_CN": "值变化事件"
},
"description": {
"zh_CN": "绑定值变化时触发的事件"
}
}
},
"slots": {
"default": {
"componentName": "slot"
}
}
}
}