{
"icon": "popEditor",
"name": {
"zh_CN": "弹出编辑框"
},
"component": "tiny-popeditor",
"schema": {
"properties": [
{
"label": {
"zh_CN": "基础信息"
},
"description": {
"zh_CN": "基础信息"
},
"collapse": {
"number": 6,
"text": {
"zh_CN": "显示更多"
}
},
"content": [
{
"property": "value",
"label": {
"text": {
"zh_CN": "绑定值"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": "双向绑定值"
},
"labelPosition": "left"
},
{
"property": "placeholder",
"label": {
"text": {
"zh_CN": "占位文本"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "InputConfigurator",
"props": {}
},
"description": {
"zh_CN": "输入框占位文本"
},
"labelPosition": "left"
},
{
"property": "show-clear-btn",
"label": {
"text": {
"zh_CN": "清除按钮"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": "是否显示清除按钮"
},
"labelPosition": "left"
},
{
"property": "disabled",
"label": {
"text": {
"zh_CN": "是否禁用"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": ""
}
}
]
},
{
"name": "1",
"label": {
"zh_CN": "其他"
},
"content": [
{
"property": "width",
"label": {
"text": {
"zh_CN": "宽度"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "NumberConfigurator",
"props": {}
},
"description": {
"zh_CN": "设置弹出面板的宽度(单位像素)"
},
"labelPosition": "left"
},
{
"property": "conditions",
"label": {
"text": {
"zh_CN": "过滤条件"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "CodeConfigurator",
"props": {}
},
"description": {
"zh_CN": "当弹出面板配置的是表格时,设置弹出面板中的过滤条件"
},
"labelPosition": "left"
},
{
"property": "grid-op",
"label": {
"text": {
"zh_CN": "表格配置"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "CodeConfigurator",
"props": {}
},
"description": {
"zh_CN": "设置弹出面板中表格组件的配置信息"
},
"labelPosition": "left"
},
{
"property": "pager-op",
"label": {
"text": {
"zh_CN": "分页配置"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "CodeConfigurator",
"props": {}
},
"description": {
"zh_CN": "设置弹出编辑框中分页配置"
},
"labelPosition": "left"
},
{
"property": "multi",
"label": {
"text": {
"zh_CN": "多选"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": "设置弹出面板中的数据是否可多选"
},
"labelPosition": "left"
},
{
"property": "show-pager",
"label": {
"text": {
"zh_CN": "启用分页"
}
},
"required": true,
"readOnly": false,
"disabled": false,
"cols": 12,
"widget": {
"component": "SwitchConfigurator",
"props": {}
},
"description": {
"zh_CN": "当 popseletor 为 grid 时才能生效,配置为 true 后还需配置 pagerOp 属性"
}
}
],
"description": {
"zh_CN": ""
}
}
],
"events": {
"onChange": {
"label": {
"zh_CN": "选中值改变时触发"
},
"description": {
"zh_CN": "在 Input 值改变时触发"
},
"type": "event",
"functionInfo": {
"params": [
{
"name": "value",
"type": "string",
"defaultValue": "",
"description": {
"zh_CN": "当前选中项的值"
}
},
{
"name": "value",
"type": "Object",
"defaultValue": "",
"description": {
"zh_CN": "当前选中对象"
}
}
],
"returns": {}
},
"defaultValue": ""
},
"onClose": {
"label": {
"zh_CN": "弹框关闭时触发的事件"
},
"description": {
"zh_CN": "弹框关闭时触发的事件"
},
"type": "event",
"functionInfo": {
"params": [],
"returns": {}
},
"defaultValue": ""
},
"onPageChange": {
"label": {
"zh_CN": "分页切换事件"
},
"description": {
"zh_CN": "表格模式下分页切换事件"
},
"type": "event",
"functionInfo": {
"params": [
{
"name": "value",
"type": "String",
"defaultValue": "",
"description": {
"zh_CN": "当前页码数"
}
}
],
"returns": {}
},
"defaultValue": ""
}
},
"shortcuts": {
"properties": ["value", "disabled"]
},
"contentMenu": {
"actions": ["create symbol"]
}
}
}