{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "autoShow": true,
        "height": 344,
        "width": 503,
        "designer|userClassName": "NuevoPersonalApe",
        "designer|userAlias": "NuevoPersonalApe",
        "header": false,
        "title": "",
        "modal": true
    },
    "designerId": "7755184c-6414-44c6-a347-b384f9e12d3d",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "autoRender": false,
                "frame": true,
                "height": 304,
                "id": "NuevoPersonal1",
                "width": 490,
                "bodyPadding": 10,
                "title": "Nuevo Personal..."
            },
            "designerId": "97a5ffd1-c06b-4221-aa46-68b2d013b561",
            "cn": [
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "PersonalDuplicado1",
                        "autoRender": false,
                        "id": "indiv_dni4",
                        "width": 235,
                        "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": "dfa4670d-de19-4e56-b0f8-cd20b605399e",
                    "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_appaterno3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "23e9bda2-4eef-475d-824e-4561792d9b59"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_appaterno3",
                        "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": "2f23992c-86d1-43f1-8d9a-a6655084a10f",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_appaternoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_apmaterno3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "5d6b9052-da81-4a64-9fdc-9d47afcf2f43"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_apmaterno3",
                        "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": "fc70a6be-b779-41ce-a8d2-c4dab39ddbb5",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_apmaternoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_nombres3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "45f11e9e-4a1d-4ab5-870c-08da65b512f3"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_nombres3",
                        "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": "b875f433-d788-4661-bffe-3865e548d73a",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_nombresKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_sexo3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "1f936950-53b4-40e5-9f74-8954f2c3e601"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.ComboBox",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_sexo3",
                        "width": 263,
                        "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": "902e597d-0cf0-4739-bb5b-8e12928cc6ee",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_sexoKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_direccion4').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "190aa3e2-4eb3-4816-ab8c-23c27c9df783"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_direccion4",
                        "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": "87ef0555-01b0-496d-a0e0-eef28009027b",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_direccion1Keypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_celular3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "8742d5f6-6197-47b9-90b3-10e2f52a5205"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": false,
                        "id": "indiv_celular3",
                        "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": "b6110cdb-9946-42ec-bf04-5406f4985253",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_celularKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_email3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "a699f660-d1e0-4f3b-9ebe-7aa4f7201c08"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "indiv_email3",
                        "width": 455,
                        "fieldLabel": "E-mail <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_email",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "50b9bf99-6fdf-4d6b-b812-c5900ce390a7",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_emailKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('indiv_fechanac3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "479e625e-54f7-487b-94c8-a1885efd8cbd"
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Date",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "autoRender": true,
                        "id": "indiv_fechanac3",
                        "width": 253,
                        "fieldLabel": "F.Nac dd/mm/AAAA <span style=\"color:red\">*</span>",
                        "labelWidth": 150,
                        "name": "indiv_fechanac",
                        "allowBlank": false,
                        "enableKeyEvents": true,
                        "selectOnFocus": true,
                        "format": "d/m/Y"
                    },
                    "designerId": "6ef3e122-0490-45f8-a4df-09803bf34a0c",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onIndiv_fechanacKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('idgrabar3').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "84fc2bd0-74c2-4e77-a0f2-e7f7287b12b2"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Ext.toolbar.Toolbar",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "dock": "bottom",
                "frame": false
            },
            "designerId": "21a2528f-1e5c-4b93-a97b-e238a0f3dc21",
            "cn": [
                {
                    "type": "Ext.toolbar.Fill",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null,
                        "height": 10,
                        "width": null,
                        "autoScroll": true
                    },
                    "designerId": "da1d326a-01fa-4066-874a-f3c75d3a5658"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "216d0373-5ffc-46de-8a73-2b629b80f819"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "7f5ae5b1-efa5-4942-bffb-20ca08870150"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "f24d249f-9e62-4324-9600-219a2b8694e8"
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "idgrabar3",
                        "layout|flex": null,
                        "id": "idgrabar3",
                        "width": 67,
                        "icon": "img/disk.png",
                        "text": "Grabar"
                    },
                    "designerId": "5c2a383f-71c1-4c47-b9c3-869d7414df07",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "1cae41ea-72b1-43db-9624-948dc0127cb9"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "e4035240-64ca-43e8-95e3-dbe896a8bb0f"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "af264b02-1b60-414e-96af-40dc68b18feb"
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "SalirNuevoPersonalApe",
                        "layout|flex": null,
                        "width": 68,
                        "icon": "img/exit.png",
                        "text": "Cerrar"
                    },
                    "designerId": "7ae436e9-7ac9-4970-9be0-205e66b2fbd6",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "002f6170-c84c-4e69-a505-13efb86c914c"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "d49d35e7-5ebb-4d96-9308-da5b747aad53"
                },
                {
                    "type": "Ext.toolbar.Separator",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout|flex": null
                    },
                    "designerId": "b0a515a1-8f25-4213-82f1-eb5bf4e2a838"
                }
            ]
        }
    ]
}