{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "autoShow": true,
        "height": 344,
        "width": 503,
        "designer|userClassName": "NuevoPersonal",
        "designer|userAlias": "NuevoPersonal",
        "header": false,
        "title": "",
        "modal": true
    },
    "designerId": "c9661740-3614-4afc-8262-4b2592efb183",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "autoRender": false,
                "frame": true,
                "height": 304,
                "id": "NuevoPersonal",
                "width": 490,
                "bodyPadding": 10,
                "title": "Nuevo Personal..."
            },
            "designerId": "60f3effe-0eeb-4d6b-9752-581c8b655f41",
            "cn": [
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "PersonalDuplicado",
                        "autoRender": false,
                        "id": "indiv_dni2",
                        "width": 241,
                        "fieldLabel": "N°. DNI <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_dni",
                        "inputId": null,
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "enforceMaxLength": true,
                        "maskRe": "/[0-9.]/",
                        "maxLength": 8,
                        "selectOnFocus": true
                    },
                    "designerId": "a66dba4a-87a9-4b00-a86f-05d8299966a2",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ],
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_dniKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_appaterno').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "dd074be6-7837-4f3e-b9b7-8dfb3858363e"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_appaterno",
                        "width": 343,
                        "fieldLabel": "Ap. Paterno <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_appaterno",
                        "fieldStyle": "text-transform: uppercase",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "43d189bd-979e-481c-85df-3869cda06b38",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_appaternoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_apmaterno').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "ef8d3a49-9f37-4677-9e57-45eb2eb558a5"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_apmaterno",
                        "width": 342,
                        "fieldLabel": "Ap. Materno <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_apmaterno",
                        "fieldStyle": "text-transform: uppercase",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "50b1f12f-a8d5-422e-a6c8-4e5db970a727",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_apmaternoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_nombres').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "6bd44715-94c4-4131-b4d9-85d37011a893"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_nombres",
                        "width": 408,
                        "fieldLabel": "Nombres <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_nombres",
                        "fieldStyle": "text-transform: uppercase",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "b5150750-7b57-43a7-a092-4c72c859f9d9",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_nombresKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_sexo').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "796bacaa-0c17-4883-883a-d2ba19de15d9"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.ComboBox",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_sexo",
                        "width": 306,
                        "fieldLabel": "Sexo <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "codigo_sexo",
                        "allowBlank": false,
                        "blankText": "Ingrese sexo",
                        "enableKeyEvents": true,
                        "selectOnFocus": true,
                        "displayField": "nombre_sexo",
                        "store": "sexo",
                        "typeAhead": true,
                        "valueField": "codigo_sexo"
                    },
                    "designerId": "bb12b39d-9352-4da8-b09c-c38506a71542",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_sexoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_direccion1').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "d3bd6f34-87ff-4f80-b5c0-930921667f66"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_direccion1",
                        "width": 458,
                        "fieldLabel": "Dirección <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_direccion1",
                        "fieldStyle": "text-transform: uppercase",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "7d90cff9-8e64-4d04-b71a-0b0aac264d0c",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_direccion1Keypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_celular').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "4adc6f40-5d6d-4900-831a-d72c0a1471e1"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_celular",
                        "width": 292,
                        "fieldLabel": "N°. Celular <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_celular",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "enforceMaxLength": true,
                        "maskRe": "/[0-9.]/\r\n                ",
                        "maxLength": 9,
                        "selectOnFocus": true
                    },
                    "designerId": "a3435df5-ecad-4177-8198-26da53051d22",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_celularKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_email').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "b66caba4-d11a-4323-a30d-f337f6f445e0"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_email",
                        "width": 455,
                        "fieldLabel": "E-mail <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_email",
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "138f6c20-ced0-44f7-bd5b-5fdcb1ab444d",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_emailKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_fechanac').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "cbae2593-5885-4c27-8980-f20c65253926"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Date",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": true,
                        "id": "indiv_fechanac",
                        "width": 288,
                        "fieldLabel": "F.Nac dd/mm/AAAA <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_fechanac",
                        "enableKeyEvents": true,
                        "selectOnFocus": true,
                        "format": "d/m/Y"
                    },
                    "designerId": "6bcca38e-5ca0-4f7d-bfab-851cbbefaf3e",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_fechanacKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('idgrabar').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "9ff7ae74-a5c7-4afa-8cf7-7b259d4d2174"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Ext.toolbar.Toolbar",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "dock": "bottom",
                "frame": false
            },
            "designerId": "2f384b02-69eb-48be-8348-43068d24c1a1",
            "cn": [
                {
                    "type": "Ext.toolbar.Fill",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null,
                        "height": 10,
                        "width": null,
                        "autoScroll": true
                    },
                    "designerId": "a7aaa5c6-6395-40fb-88bc-463ac38a5db7"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "137b98c4-d523-472f-9a8a-e112ed830b7d"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "631418b1-6db1-4725-9484-5575a892bb09"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "7cc80712-6a76-4b69-85aa-8febc8e2ef4f"
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "idgrabar",
                        "layout|flex": null,
                        "id": "idgrabar",
                        "width": 67,
                        "icon": "img/disk.png",
                        "text": "Grabar"
                    },
                    "designerId": "53f0136d-f2ea-468f-8181-a90fa72f2c2a",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "2be21d6b-bcae-4c9c-80c2-3f68c92d5bb5"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "e9fb0033-f8ce-441a-8b8e-00f105d1a6d3"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "50a08673-fa82-4bf5-9dea-5aa80650d6f0"
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "SalirNuevoPersonalDni",
                        "layout|flex": null,
                        "width": 68,
                        "icon": "img/exit.png",
                        "text": "Cerrar"
                    },
                    "designerId": "f5be1f21-04eb-47f5-8447-3383c61e216f",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "8753ed24-88e3-4e06-ad21-95d49cff6518"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "63af3e19-6c5f-4198-ab58-0061ded24092"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "8349a455-31b2-4578-923b-6c06c8969b18"
                }
            ]
        }
    ]
}