{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "autoShow": true,
        "height": 281,
        "width": 642,
        "designer|userClassName": "nuevoie",
        "designer|userAlias": "nuevoie",
        "title": "Ingreso Instituciones Educativas",
        "modal": true
    },
    "designerId": "cf8c9b7b-fb33-474c-992f-8ccd6d56cf65",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "height": 221,
                "id": "frm",
                "width": 630,
                "title": ""
            },
            "designerId": "31742fbd-88d8-4e5a-a6fb-a4eb0eb49510",
            "cn": [
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "height": 74,
                        "width": 626,
                        "layout": "column"
                    },
                    "designerId": "7fa2afeb-3ab4-4b5a-9160-1f76fcacaac8",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": null,
                                "id": "codigo_departamento",
                                "margin": "10 0 0 50",
                                "fieldLabel": "D.R.E.",
                                "name": "codigo_departamento",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "autoSelect": false,
                                "displayField": "nombre_departamento",
                                "store": "Dre",
                                "valueField": "codigo_departamento"
                            },
                            "designerId": "ac6e3e0d-f181-4931-8e7e-0a9f704a0f88",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "ondptoBeforeSelect",
                                        "implHandler": [
                                            "Ext.getCmp('nombre_ugel').clearValue();\r",
                                            "Ext.getCmp('nombre_ugel').enable();\r",
                                            "Ext.getCmp('nombre_ugel').store.load({\r",
                                            "    params: {\r",
                                            "    id:record.get('codigo_departamento')}});\r",
                                            ""
                                        ],
                                        "name": "beforeselect",
                                        "scope": "me"
                                    },
                                    "designerId": "6798f416-2f4b-4faf-b43f-7753c1c70b04"
                                },
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_departamentoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('nombre_ugel').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "ccd7be81-4c7b-4e33-9956-fc0e76a1488b"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": null,
                                "disabled": true,
                                "id": "nombre_ugel",
                                "margin": "10 0 0 20",
                                "fieldLabel": "Ugel",
                                "labelWidth": 70,
                                "name": "codigo_ugel",
                                "enableKeyEvents": true,
                                "editable": false,
                                "displayField": "nombre_ugel",
                                "queryMode": "local",
                                "store": "Ugel",
                                "typeAhead": true,
                                "valueField": "codigo_ugel"
                            },
                            "designerId": "f76a66cf-1923-4d44-8a94-82593e087ce7",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onNombre_ugelKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('codigo_modular').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "3af1b241-d0d5-4c3b-b098-d6ba7563c9c7"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "action": "duplicado",
                                "id": "codigo_modular",
                                "margin": "10 0 0 50",
                                "fieldLabel": "Cod.Mod.IE",
                                "name": "codigo_modular",
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "maskRe": "/[0-9.]/",
                                "maxLength": 7,
                                "selectOnFocus": true
                            },
                            "designerId": "871c7971-b121-4d12-836b-f2dbae92db14",
                            "customConfigs": [
                                {
                                    "group": "(Custom Properties)",
                                    "name": "action",
                                    "type": "string"
                                }
                            ],
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_modularKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('nombre_ie').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "d48b3b58-828c-4925-afc9-fbc2569d62d9"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "nombre_ie",
                        "margin": "0 0 0 50",
                        "width": 522,
                        "fieldLabel": "Nombre",
                        "name": "nombre_ie",
                        "fieldStyle": "text-transform: uppercase",
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "d26cf5c7-d439-482d-ad76-d82c5d3fcd62",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onNombre_ieKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('codigo_nivel').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "bc171119-1e23-425f-b71e-a9b3f605e0f6"
                        }
                    ]
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout": "column"
                    },
                    "designerId": "43155fe4-f9b7-4915-beec-20c80efbbffc",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": false,
                                "id": "codigo_nivel",
                                "margin": "10 0 0 50",
                                "fieldLabel": "Nivel",
                                "name": "nombre_nivel",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "displayField": "nombre_nivel",
                                "store": "Nivel",
                                "valueField": "codigo_nivel"
                            },
                            "designerId": "57babddd-1b7f-49fb-966b-20e83e22401b",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_nivelKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('codigo_modalidad').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "98fc3314-2ca5-434b-8e75-8fec0cdcf696"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": false,
                                "id": "codigo_modalidad",
                                "margin": "10 0 0 20",
                                "fieldLabel": "Modalidad",
                                "labelWidth": 77,
                                "name": "nombre_modalidad",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "displayField": "nombre_modalidad",
                                "enableRegEx": null,
                                "store": "modalidad",
                                "typeAhead": true,
                                "valueField": "codigo_modalidad"
                            },
                            "designerId": "afe8bece-9d36-43e3-bc92-2c4e9e6356ae",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_modalidadKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('direccion').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "95d344fa-9ba2-44a2-b60c-bb1cd37a098b"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "direccion",
                        "margin": "10 0 0 50",
                        "width": 521,
                        "fieldLabel": "Direccion",
                        "name": "direccion",
                        "fieldStyle": "text-transform: uppercase",
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "811b75e7-9cb5-4347-aef6-9f8ef640ba66",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onDireccionKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('telefono').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "62079249-1640-4028-a2bc-df32b2255898"
                        }
                    ]
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout": "column"
                    },
                    "designerId": "b683dfd6-0928-4b7f-854a-105b66202d79",
                    "cn": [
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "id": "telefono",
                                "margin": "10 0 0 50",
                                "width": 177,
                                "fieldLabel": "Telefono",
                                "name": "telefono",
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "maskRe": " /[0-9.]/",
                                "maxLength": 9,
                                "selectOnFocus": true
                            },
                            "designerId": "cd334b8e-fa53-4a79-8286-8331c7006f52",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onTelefonoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('correo').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "3280ccdb-88ac-4e15-ba3f-9a38445adda2"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "id": "correo",
                                "margin": "10 0 0 50",
                                "width": 293,
                                "fieldLabel": "Correo",
                                "labelWidth": 60,
                                "name": "correo",
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "selectOnFocus": true,
                                "vtype": "email"
                            },
                            "designerId": "c0c14541-9bf9-4d93-8497-001124fbf744",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCorreoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('Grabarie').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "c6e82557-8023-43a8-a7b4-98f9164b30dc"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "type": "Ext.toolbar.Toolbar",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "dock": "bottom"
            },
            "designerId": "cfba8bc9-c9b5-427c-8fbc-253647489112",
            "cn": [
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "grabarie",
                        "layout|flex": null,
                        "id": "Grabarie",
                        "margin": "0 0 0 240",
                        "icon": "img/filesave.png",
                        "text": "Grabar"
                    },
                    "designerId": "93d846bf-68a0-4e3e-a16d-1a64a9245921",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "salirnuevoie",
                        "layout|flex": null,
                        "margin": "0 0 0 15",
                        "icon": "img/exit.png",
                        "text": "Cerrar"
                    },
                    "designerId": "0bcd17b9-299b-4950-8e1e-a4b0963a9624",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                }
            ]
        }
    ]
}