{
    "type": "Ext.form.Panel",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "bodyPadding": 10,
        "cls": [
            "formpanel"
        ],
        "container|align": "stretch",
        "designer|userAlias": "depositosform",
        "designer|userClassName": "DepositosForm",
        "height": null,
        "initialTitle": "deposito",
        "itemId": null,
        "layout": "vbox",
        "scrollable": true,
        "title": "",
        "trackResetOnLoad": true,
        "width": null
    },
    "configAlternates": {
        "bodyPadding": "auto",
        "container|align": "string",
        "designer|userAlias": "string",
        "designer|userClassName": "string",
        "height": "auto",
        "itemId": "string",
        "layout": "string",
        "scrollable": "auto",
        "title": "string",
        "width": "auto",
        "cls": "typedarray",
        "initialTitle": "string",
        "trackResetOnLoad": "boolean"
    },
    "name": "ContratistasForm1",
    "designerId": "3fec14cc-3541-4e02-8086-cb4af94a9aa5",
    "customConfigs": [
        {
            "group": "(Custom Properties)",
            "name": "initialTitle",
            "type": "string"
        }
    ],
    "viewControllerInstanceId": "449c0b1b-52ca-4bbd-82cf-ebb2bf2cedca",
    "viewModelInstanceId": "6d2e1ef3-5238-4f0b-a8af-76270adf264d",
    "cn": [
        {
            "type": "Ext.form.field.Text",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "editable": false,
                "enableKeyEvents": true,
                "fieldLabel": "Codigo",
                "layout|flex": null,
                "name": "codigo"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "editable": "boolean",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean"
            },
            "name": "MyTextField12",
            "designerId": "c2b91169-c268-44b7-ab01-cd81e45c5363"
        },
        {
            "type": "Ext.form.field.Text",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "enableKeyEvents": true,
                "fieldLabel": "Nombre*",
                "layout|flex": null,
                "name": "nombre"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean"
            },
            "name": "MyTextField1",
            "designerId": "390cb10b-127d-4a70-9dec-9081f3d8d257"
        },
        {
            "type": "Ext.container.Container",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "container|align": "stretch",
                "container|pack": "center",
                "dock": "bottom",
                "layout": "hbox",
                "layout|flex": null
            },
            "configAlternates": {
                "container|align": "string",
                "container|pack": "string",
                "dock": "string",
                "layout": "string",
                "layout|flex": "number"
            },
            "name": "MyContainer1",
            "designerId": "a6d47457-dc8a-466e-9c8d-777410c79bca",
            "cn": [
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "iconCls": "x-fa fa-check",
                        "layout|flex": null,
                        "layout|margins": "",
                        "margin": 10,
                        "text": "Aceptar"
                    },
                    "configAlternates": {
                        "iconCls": "string",
                        "layout|flex": "number",
                        "layout|margins": "string",
                        "margin": "auto",
                        "text": "string"
                    },
                    "name": "MyButton6",
                    "designerId": "5c4d26a7-a2eb-42ae-8c34-b35549672fa4",
                    "cn": [
                        {
                            "type": "fixedfunction",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "designer|params": [
                                    "button",
                                    "e"
                                ],
                                "fn": "handler",
                                "implHandler": [
                                    "var formWrapper = this.up('[cls=formpanel]');",
                                    "if(formWrapper.getForm().isValid()) {",
                                    "  f_crud.save_form(formWrapper);",
                                    "}"
                                ]
                            },
                            "configAlternates": {
                                "designer|params": "typedarray",
                                "fn": "string",
                                "implHandler": "code"
                            },
                            "name": "handler",
                            "designerId": "aa6f6ffe-c958-445a-a421-eda4815e95ed"
                        }
                    ]
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "iconCls": "x-fa fa-remove",
                        "layout|flex": null,
                        "margin": 10,
                        "text": "Cancelar"
                    },
                    "configAlternates": {
                        "iconCls": "string",
                        "layout|flex": "number",
                        "margin": "auto",
                        "text": "string"
                    },
                    "name": "MyButton7",
                    "designerId": "8392d0b1-e7fa-47e1-988c-58f1d4da4bfc",
                    "cn": [
                        {
                            "type": "fixedfunction",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "designer|params": [
                                    "button",
                                    "e"
                                ],
                                "fn": "handler",
                                "implHandler": [
                                    "f_crud.close_form(this.up(\"[cls=formpanel]\"));"
                                ]
                            },
                            "configAlternates": {
                                "designer|params": "typedarray",
                                "fn": "string",
                                "implHandler": "code"
                            },
                            "name": "handler",
                            "designerId": "3469f9de-e88d-4737-bc7b-5d4bae883d4b"
                        }
                    ]
                }
            ]
        },
        {
            "type": "basiceventbinding",
            "reference": {
                "name": "listeners",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "fn": "onFormActivate",
                "implHandler": [
                    "f_crud.setFormTitle(component);"
                ],
                "name": "activate",
                "scope": "me"
            },
            "configAlternates": {
                "fn": "string",
                "implHandler": "code",
                "name": "string",
                "scope": "string"
            },
            "name": "onFormActivate",
            "designerId": "86113efa-4776-484d-b0e5-ddead52f5c34"
        }
    ]
}