{
    "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
    "data": {
        "properties": {
            "name": {
                "type": "string",
                "title": "绑定字段",
                "description": "表单字段的Key值，用于提交数据时，匹配数据模型字段标识。页面内需保证唯一。",
                "x-index": 1,
                "x-component": "_form-field-name-auto-complete",
                "x-rules": [
                    {
                        "message": "该字段必填",
                        "required": true
                    },
                    {
                        "message": "必须以字母开头，仅能输入字母或下划线或数字",
                        "pattern": "^[a-zA-Z][0-9a-zA-Z_]*$"
                    }
                ],
                "required": true,
                "x-category": "基础属性"
            },
            "value": {
                "type": "array",
                "title": "数组值",
                "format": "array",
                "default": [],
                "description": "用来传递数组的初始值",
                "x-index": 2,
                "dataType": "array",
                "x-category": "基础属性",
                "x-platforms": [""]
            },
            "isPureArray": {
                "type": "boolean",
                "title": "是否是纯属组",
                "default": false,
                "x-index": 3,
                "x-category": "基础属性",
                "x-platforms": [""]
            },
            "readOnly": {
                "type": "boolean",
                "title": "表单场景是否为只读",
                "default": false,
                "x-index": 4,
                "x-category": "基础属性",
                "x-platforms": [""]
            },
            "fieldAuth": {
                "type": "string",
                "title": "数据源字段权限",
                "default": "rw",
                "x-index": 5,
                "x-category": "基础属性",
                "x-platforms": [""]
            },
            "disabled": {
                "type": "boolean",
                "title": "禁用",
                "default": false,
                "description": "是否禁用输入/选择，启用后组件强制显示为只读效果",
                "x-index": 6,
                "x-category": "基础属性"
            },
            "hasInitValue": {
                "type": "boolean",
                "title": "是否有初始值",
                "default": false,
                "x-index": 7,
                "x-category": "基础属性",
                "x-platforms": [""]
            },
            "isWdFormDetail": {
                "type": "boolean",
                "title": "是否是规范化后的明细组件",
                "default": false,
                "x-index": 8,
                "x-category": "基础属性",
                "x-platforms": [""]
            }
        }
    },
    "events": [
        {
            "name": "onDataChange",
            "title": "值改变",
            "description": "组件中的数据内容发生改变时触发"
        }
    ],
    "methods": [
        {
            "name": "addition",
            "label": "新增一行"
        },
        {
            "name": "remove",
            "label": "删除该行",
            "params": {
                "properties": {
                    "index": {
                        "title": "删除数据的标识",
                        "type": "string",
                        "default": ""
                    }
                }
            }
        },
        {
            "name": "change",
            "label": "值改变",
            "params": {
                "properties": {
                    "name": {
                        "title": "改变值的标识",
                        "type": "string",
                        "default": ""
                    },
                    "value": {
                        "title": "改变值的value",
                        "type": "string",
                        "default": ""
                    }
                }
            }
        }
    ],
    "compConfig": {
        "isDataContainer": true,
        "componentType": "formField"
    },
    "isContainer": true,
    "meta": {
        "title": "明细",
        "description": "明细",
        "category": "表单",
        "visible": [],
        "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/form/FormDetail",
        "shortcut": {
            "props": ["name"]
        }
    }
}
