{
    "type": "Ext.window.Window",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "autoShow": true,
        "height": 281,
        "width": 642,
        "designer|userClassName": "consultaie",
        "designer|userAlias": "consultaie",
        "title": "Editar Instituciones Educativas",
        "modal": true
    },
    "designerId": "7f794ea9-4f42-40f7-9fc9-18d8d4a3d2ce",
    "cn": [
        {
            "type": "Ext.form.Panel",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "height": 221,
                "id": "frm1",
                "width": 630,
                "title": ""
            },
            "designerId": "c682d0e5-d155-4f42-9491-e329a8529203",
            "cn": [
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "height": 74,
                        "width": 626,
                        "layout": "column"
                    },
                    "designerId": "d927123a-6ec0-432d-9fa9-55a845b6dfa5",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": null,
                                "id": "codigo_departamento1",
                                "margin": "10 0 0 20",
                                "width": 261,
                                "fieldLabel": "D.R.E.",
                                "labelWidth": 70,
                                "name": "codigo_departamento",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "autoSelect": false,
                                "displayField": "nombre_departamento",
                                "store": "Dre",
                                "valueField": "codigo_departamento"
                            },
                            "designerId": "c2063d70-e035-45b5-9d1d-52cb5a84f0aa",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "ondptoBeforeSelect",
                                        "implHandler": [
                                            "//Ext.getCmp('nombre_ugel1').clearValue();\r",
                                            "Ext.getCmp('nombre_ugel1').enable();\r",
                                            "Ext.getCmp('nombre_ugel1').store.load({\r",
                                            "    params: {\r",
                                            "    id:record.get('codigo_departamento')}});\r",
                                            ""
                                        ],
                                        "name": "beforeselect",
                                        "scope": "me"
                                    },
                                    "designerId": "680e37f1-165b-4379-8fea-0e0234a763a9"
                                },
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_departamentoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('nombre_ugel1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "9bd61aef-b764-4e03-ba78-01fa95608495"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": null,
                                "disabled": true,
                                "id": "nombre_ugel1",
                                "margin": "10 0 0 90",
                                "fieldLabel": "Ugel",
                                "labelWidth": 70,
                                "name": "codigo_ugel",
                                "enableKeyEvents": true,
                                "editable": false,
                                "displayField": "nombre_ugel",
                                "queryMode": "local",
                                "store": "Ugel",
                                "valueField": "codigo_ugel"
                            },
                            "designerId": "4e90ab04-8d7b-4434-bee6-1117697d716a",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onNombre_ugelKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('nombre_ie1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "f106933d-decc-4adb-b684-de2ba5c07d51"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "action": "duplicado",
                                "id": "codigo_modular2",
                                "margin": "10 0 0 20",
                                "fieldLabel": "Cod.Mod.IE",
                                "labelWidth": 70,
                                "name": "codigo_modular",
                                "readOnly": true,
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "maskRe": "/[0-9.]/",
                                "maxLength": 7,
                                "selectOnFocus": true
                            },
                            "designerId": "49974b97-e6fb-433d-9ed7-4f58b4d1e337",
                            "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_ie1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "19a44a7f-04ff-4190-ad5e-c8f428b734c5"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "nombre_ie1",
                        "margin": "0 0 0 20",
                        "width": 578,
                        "fieldLabel": "Nombre",
                        "labelWidth": 70,
                        "name": "nombre_ie",
                        "fieldStyle": "text-transform: uppercase",
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "7be96233-6c63-47f0-8f0e-04441111d245",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onNombre_ieKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('codigo_nivel1').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "99510911-ae7a-4f43-8055-62a7b4b543fe"
                        }
                    ]
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout": "column"
                    },
                    "designerId": "18c6be65-76d8-45ff-9f6c-caafdd6af2fa",
                    "cn": [
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": false,
                                "id": "codigo_nivel1",
                                "margin": "10 0 0 20",
                                "width": 324,
                                "fieldLabel": "Nivel",
                                "labelWidth": 70,
                                "name": "nombre_nivel",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "displayField": "nombre_nivel",
                                "store": "Nivel",
                                "valueField": "codigo_nivel"
                            },
                            "designerId": "17cea0cc-4551-4550-9ae7-46d7abc4e56b",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_nivelKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('codigo_modalidad1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "c43df68e-6197-4d11-bec8-8425564fff3d"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.ComboBox",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "autoRender": false,
                                "id": "codigo_modalidad1",
                                "margin": "10 0 0 20",
                                "width": 231,
                                "fieldLabel": "Modalidad",
                                "labelWidth": 67,
                                "name": "nombre_modalidad",
                                "enableKeyEvents": true,
                                "selectOnFocus": true,
                                "editable": false,
                                "displayField": "nombre_modalidad",
                                "enableRegEx": null,
                                "store": "modalidad",
                                "typeAhead": true,
                                "valueField": "codigo_modalidad"
                            },
                            "designerId": "c4d2db28-6187-411d-8100-649bd7d4f0d6",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCodigo_modalidadKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('direccion1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "ed30014d-5123-4ce7-a3c0-28d921626ebb"
                                }
                            ]
                        }
                    ]
                },
                {
                    "type": "Ext.form.field.Text",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "id": "direccion1",
                        "margin": "10 0 0 20",
                        "width": 575,
                        "fieldLabel": "Direccion",
                        "labelWidth": 70,
                        "name": "direccion",
                        "fieldStyle": "text-transform: uppercase",
                        "enableKeyEvents": true,
                        "selectOnFocus": true
                    },
                    "designerId": "e19add8a-8501-4d10-b423-663580684567",
                    "cn": [
                        {
                            "type": "basiceventbinding",
                            "reference": {
                                "name": "listeners",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "fn": "onDireccionKeypress",
                                "implHandler": [
                                    "if(e.getKey()==13){\r",
                                    "    Ext.getCmp('telefono1').focus(100,true);\r",
                                    "}"
                                ],
                                "name": "keypress",
                                "scope": "me"
                            },
                            "designerId": "ba9a6c70-0904-416e-8abd-6456f0122cff"
                        }
                    ]
                },
                {
                    "type": "Ext.container.Container",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "layout": "column"
                    },
                    "designerId": "e20a2938-4494-4fef-aa39-a1e2051f823b",
                    "cn": [
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "id": "telefono1",
                                "margin": "10 0 0 20",
                                "width": 172,
                                "fieldLabel": "Telefono",
                                "labelWidth": 70,
                                "name": "telefono",
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "maskRe": " /[0-9.]/",
                                "maxLength": 9,
                                "selectOnFocus": true
                            },
                            "designerId": "ebe8ebca-2baf-4021-91ff-2a3a78c7c67e",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onTelefonoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('correo1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "1c6927c5-4681-41be-a61f-dfb120ef561b"
                                }
                            ]
                        },
                        {
                            "type": "Ext.form.field.Text",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "id": "correo1",
                                "margin": "10 0 0 90",
                                "width": 312,
                                "fieldLabel": "Correo",
                                "labelWidth": 60,
                                "name": "correo",
                                "enableKeyEvents": true,
                                "enforceMaxLength": true,
                                "selectOnFocus": true,
                                "vtype": "email"
                            },
                            "designerId": "1b0a38d2-8447-40dc-881a-526ba766e5d0",
                            "cn": [
                                {
                                    "type": "basiceventbinding",
                                    "reference": {
                                        "name": "listeners",
                                        "type": "array"
                                    },
                                    "codeClass": null,
                                    "userConfig": {
                                        "fn": "onCorreoKeypress",
                                        "implHandler": [
                                            "if(e.getKey()==13){\r",
                                            "    Ext.getCmp('Grabarie1').focus(100,true);\r",
                                            "}"
                                        ],
                                        "name": "keypress",
                                        "scope": "me"
                                    },
                                    "designerId": "6a7e4273-9da9-42d6-ba3c-f8f4a9b9aea4"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "type": "Ext.toolbar.Toolbar",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "dock": "bottom"
            },
            "designerId": "1aba2eb3-169e-476d-800b-0644b82a9769",
            "cn": [
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "grabarie1",
                        "layout|flex": null,
                        "id": "Grabarie1",
                        "margin": "0 0 0 240",
                        "icon": "img/filesave.png",
                        "text": "Grabar"
                    },
                    "designerId": "0af183e6-68e7-449e-a3af-b2d1d5eedaac",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "action": "salireditarie",
                        "layout|flex": null,
                        "margin": "0 0 0 15",
                        "icon": "img/exit.png",
                        "text": "Cerrar"
                    },
                    "designerId": "3873d29c-680c-45f5-92f7-038ddd76033d",
                    "customConfigs": [
                        {
                            "group": "(Custom Properties)",
                            "name": "action",
                            "type": "string"
                        }
                    ]
                }
            ]
        }
    ]
}