"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
    model: {
        attr: {
            placeholder: '',
            'v-model': ''
        },
        custom: {
            required: false,
            regList: [
                {
                    value: '',
                    label: ''
                }
            ],
            label: '开关',
        },
    },
    schema: {
        fields: [
            {
                type: 'object',
                label: '',
                model: 'attr',
                schema: {
                    fields: [
                        {
                            type: "input",
                            inputType: "text",
                            label: "v-model",
                            model: "v-model"
                        },
                        {
                            type: "input",
                            inputType: "text",
                            label: "placeholder",
                            model: "placeholder"
                        }
                    ]
                }
            },
            {
                type: 'object',
                label: '',
                model: 'custom',
                schema: {
                    fields: [
                        {
                            type: "switch",
                            label: "required",
                            model: "required",
                            textOn: '必填',
                            textOff: '非必填'
                        },
                        {
                            type: "array",
                            label: "regList",
                            model: "regList",
                            itemContainerComponent: 'ArrayContainer',
                            showRemoveButton: false,
                            fieldClasses: 'array-editor',
                            newElementButtonLabelClasses: "el-button el-button--primary el-button--small array-button-add",
                            items: {
                                type: 'object',
                                default: {},
                                schema: {
                                    fields: [
                                        {
                                            type: "input",
                                            inputType: "text",
                                            label: "label",
                                            model: "label"
                                        },
                                        {
                                            type: "input",
                                            inputType: "text",
                                            label: "value",
                                            model: "value"
                                        },
                                    ]
                                }
                            }
                        },
                        {
                            type: "input",
                            inputType: "text",
                            label: "label",
                            model: "label"
                        }
                    ]
                }
            }
        ]
    },
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9hZGFwdGVyLXZ1ZS9tb2R1bGVzL2NvbXBvbmVudC9Td2l0Y2gvY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsa0JBQWU7SUFDYixLQUFLLEVBQUU7UUFDTCxJQUFJLEVBQUU7WUFDSixXQUFXLEVBQUUsRUFBRTtZQUNmLF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