{
    "type": "Ext.form.Panel",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "bodyPadding": 10,
        "cls": [
            "formpanel"
        ],
        "container|align": "stretch",
        "designer|userAlias": "tareasform",
        "designer|userClassName": "TareasForm",
        "height": null,
        "initialTitle": "tarea",
        "itemId": null,
        "layout": "vbox",
        "scrollable": true,
        "title": null,
        "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": "LotesForm2",
    "designerId": "4d279594-4a57-484c-a7d2-e21153e36c08",
    "customConfigs": [
        {
            "group": "(Custom Properties)",
            "name": "initialTitle",
            "type": "string"
        }
    ],
    "viewControllerInstanceId": "08264892-f640-4121-8bb3-93c0a4780258",
    "viewModelInstanceId": "a5be5582-7363-474e-8310-70e79a8621c4",
    "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": "MyTextField21",
            "designerId": "a30119ce-4686-4b77-b947-5f5ba4749ff5"
        },
        {
            "type": "Ext.form.field.Text",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "enableKeyEvents": true,
                "fieldLabel": "Descripcion*",
                "layout|flex": null,
                "name": "descripcion"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean"
            },
            "name": "MyTextField1",
            "designerId": "e86b3aef-4a02-4c3c-8c44-b62b859b89e1"
        },
        {
            "type": "Ext.form.field.ComboBox",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "displayField": "nombre",
                "enableKeyEvents": true,
                "fieldLabel": "Unidad de Medida*",
                "forceSelection": true,
                "itemId": "unidadMedida",
                "layout|flex": null,
                "name": "um",
                "queryMode": "local",
                "store": "UnidadesMedida",
                "valueField": "valor",
                "width": null
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "displayField": "datafield",
                "fieldLabel": "string",
                "forceSelection": "boolean",
                "itemId": "string",
                "layout|flex": "number",
                "name": "string",
                "queryMode": "string",
                "store": "store",
                "valueField": "datafield",
                "width": "auto",
                "enableKeyEvents": "boolean"
            },
            "name": "MyComboBox10",
            "designerId": "7742f5b9-1d20-424b-b7d9-2e3428da2596"
        },
        {
            "type": "Ext.form.field.Number",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "decimalSeparator": null,
                "enableKeyEvents": true,
                "fieldLabel": "Precio*",
                "inputType": "tel",
                "layout|flex": null,
                "minValue": 0,
                "name": "precio",
                "negativeText": "Este valor debe ser positivo"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean",
                "decimalSeparator": "string",
                "minValue": "number",
                "negativeText": "string",
                "inputType": "string"
            },
            "name": "MyNumberField3",
            "designerId": "51ca44e6-7906-4aba-9c92-69ed168af815"
        },
        {
            "type": "Ext.form.field.ComboBox",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "displayField": "nombre",
                "enableKeyEvents": true,
                "fieldLabel": "Tipo*",
                "forceSelection": true,
                "itemId": "tipoTarea",
                "layout|flex": null,
                "name": "tipo",
                "queryMode": "local",
                "store": "TiposTarea",
                "valueField": "valor",
                "width": null
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "displayField": "datafield",
                "fieldLabel": "string",
                "forceSelection": "boolean",
                "itemId": "string",
                "layout|flex": "number",
                "name": "string",
                "queryMode": "string",
                "store": "store",
                "valueField": "datafield",
                "width": "auto",
                "enableKeyEvents": "boolean"
            },
            "name": "MyComboBox9",
            "designerId": "48cc3ee4-cbaa-46e3-92c4-96755d557e58"
        },
        {
            "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": "7310ee82-c1ac-452b-b34f-adcc58ee5ae3",
            "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": "50e97c76-0402-48ae-a84b-d232d65d6047",
                    "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": "dca5265c-6840-4df5-bb62-a7687154308c"
                        }
                    ]
                },
                {
                    "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": "3312cd46-ce5b-4be8-802f-1b6797281505",
                    "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": "b14f6f67-d0d1-410e-b447-5ecb7cbf5c09"
                        }
                    ]
                }
            ]
        },
        {
            "type": "basiceventbinding",
            "reference": {
                "name": "listeners",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "fn": "onFormActivate",
                "implHandler": [
                    "f_crud.setFormTitle(component, true);"
                ],
                "name": "activate",
                "scope": "me"
            },
            "configAlternates": {
                "fn": "string",
                "implHandler": "code",
                "name": "string",
                "scope": "string"
            },
            "name": "onFormActivate",
            "designerId": "454f4d8b-3c59-46c4-a89a-55d994ef2ae4"
        }
    ]
}