{"version":3,"sources":["data/params.js","controls/TextNumber.js","styles/setTheme.js","components/estudiante/RegistroEstudianteStyle.js","types/ubigeoTypes.js","redux/actions/ubigeoActions.js","controls/Mensaje.js","logErrors.js","helpers/urlBase.js","helpers/apiCall.js","helpers/ubigeoHelper.js","types/instEducativaTypes.js","redux/actions/instEducativaActions.js","helpers/institucionHelper.js","redux/thunk/instEducativaThunk.js","components/estudiante/registroEstudianteProfile.js","types/municipalidadTypes.js","redux/actions/municipalidadActions.js","helpers/municipalidadHelper.js","helpers/veeduriaHelper.js","types/veeduriaTypes.js","controls/Proceso.js","types/estudianteTypes.js","types/formatoTypes.js","controls/Confirmacion.js","controls/Alerta.js","types/parametroTypes.js","helpers/parametroHelper.js","components/estudiante/RegistroEstudianteScreen.js","redux/thunk/parametroThunk.js","redux/actions/parametroActions.js","redux/thunk/veeduriaThunk.js","redux/actions/veeduriaActions.js","redux/thunk/ubigeoThunk.js","redux/thunk/municipalidadThunk.js","types/padreTypes.js","redux/actions/padreActions.js","helpers/padreHelper.js","components/padre/RegistroPadreStyle.js","components/padre/registroPadreProfile.js","types/captchaTypes.js","helpers/captchaHelper.js","redux/thunk/captchaThunk.js","redux/actions/captchaActions.js","components/padre/RegistroPadreScreen.js","redux/thunk/padreThunk.js","App.js","states/padreState.js","states/captchaState.js","states/ubigeoState.js","states/instEducativaState.js","states/estudianteState.js","types/preguntaTypes.js","states/preguntaState.js","states/veeduriaState.js","states/formatoState.js","states/municipalidadState.js","states/parametroState.js","states/coordenadaState.js","types/coordenadaTypes.js","redux/store/store.js","redux/reducers/padreReducer.js","redux/reducers/captchaReducer.js","redux/reducers/ubigeoReducer.js","redux/reducers/instEducativaReducer.js","redux/reducers/estudianteReducer.js","redux/reducers/preguntaReducer.js","redux/reducers/veeduriaReducer.js","redux/reducers/formatoReducer.js","redux/reducers/parametroReducer.js","redux/reducers/municipalidadReducer.js","redux/reducers/coordenadasReducer.js","index.js"],"names":["niveles","cod","des","grados_primaria","grados_secundaria","generos","secciones","FORMATOS","TextNumber","props","inputRef","onChange","other","format","name","id","getInputRef","onValueChange","values","target","value","isNumericString","prefix","theme","createMuiTheme","palette","primary","main","red","bg_head","avatar","subAvatar","secondary","blue","warning","yellow","success","green","error","table","grey","bg_group","useStyles","makeStyles","root","width","headerTitle","fontSize","fontWeight","heading","typography","pxToRem","fontWeightRegular","icon","color","iconExpander","detalle","padding","classOne","textTransform","wrapper","position","fieldProgress","top","left","marginTop","marginLeft","autocompleteProgress","form","marginBottom","largeAvatarBrowser","spacing","height","white","backgroundColor","largeAvatarMobile","textBrowser","textMobile","pregDesc","inputStyle","paddingRight","borderBottom","selectStyle","radioStyle","buttonStyle","StyledAccordionSummary","withStyles","AccordionDetails","minHeight","content","margin","expanded","AccordionSummary","StyledAccordionActions","MuiAccordionSummary","AccordionActions","ubigeoTypes","resetDistritos","payload","type","Mensaje","text","showConfirmButton","Swal","fire","title","html","MessagesError","logErrors","e","errorModel","Type","Message","console","log","TypeError","RangeError","EvalError","urlBase","parametro_get_url","Headers","axios","interceptors","request","use","token","localStorage","getItem","headers","Authorization","Promise","reject","response","apiCall","method","url","data","qs","stringify","listar_regiones","only_actives","a","resp","Success","listar_provincias","region","listar_distritos","provincia","institucionTypes","resetInstituciones","listar_instituciones","distrito","nivel","tipo_inst_edu","ugel","getInstitucionesBD","dispatch","getState","Validacion","message","severity","Data","err","today","moment","ProfileSchema","Yup","shape","genero","required","fecha_nacimiento","max","typeError","nullable","celular","min","email","grado","nacionalidad","municipalidad","inst_educativa","otras","when","is","show_otras","then","trim","municipalidadTypes","getMunicipalidades","resetMunicipalidades","listar_municipalidades","all","insertar_veeduria","veeduriaTypes","ProcesoStart","allowOutsideClick","onBeforeOpen","showLoading","ProcesoEnd","close","estudianteTypes","formatoTypes","ConfirmControl","classes","onSubmit","onClose","open","dni","nombre","Dialog","disableBackdropClick","disableEscapeKeyDown","maxWidth","aria-labelledby","DialogTitle","DialogContent","dividers","Typography","className","DialogActions","style","display","flexGrow","Button","autoFocus","onClick","variant","flex","Alerta","Alert","state","handleClose","vertical","horizontal","Snackbar","autoHideDuration","anchorOrigin","key","AlertTitle","parametroTypes","listar_tipos_documento","padre","fetch","body","JSON","json","listar_tipos_inst_edu","listar_nacionalidades","require","RegistroEstudianteScreen","useDispatch","useSelector","estudiante","regionesMuni","provinciasMuni","distritosMuni","municipalidades","instituciones","tipos_inst_edu","veeduria","useState","expandedIE","setexpandedIE","nacionalidades","alert","setAlert","handleCloseAlert","messageActive","useRef","useEffect","apellido_paterno","apellido_materno","current","setTimeout","handleReload","PARAMETRO_PADRE_COD","window","location","reload","React","setOpen","handleClickListItem","newValue","handleClickValidaForm","initialValues","validationSchema","docente","setSubmitting","resetForm","lista_formato","insertVeeduria","errors","touched","handleChange","handleBlur","handleSubmit","setFieldValue","isSubmitting","isValid","autoComplete","Accordion","disabled","aria-controls","expandIcon","FormControl","formControl","fullWidth","size","Boolean","InputLabel","Select","labelId","label","tipo_doc_hijo","onBlur","map","item","MenuItem","FormHelperText","utils","DateFnsUtils","locale","esLocale","disableFuture","clearable","invalidDateMessage","inputVariant","maxDateMessage","openTo","clearLabel","cancelLabel","okLabel","views","KeyboardButtonProps","helperText","TextField","InputProps","inputComponent","inputProps","pattern","maxLength","event","isLoading","listado","opt","i","PARAMETRO_COD","PARAMETRO_DES","CircularProgress","parametro","length","multiple","input","OutlinedInput","renderValue","selected","join","grados","Checkbox","checked","indexOf","ListItemText","ids","forEach","element","push","multiline","isBrowser","rows","test","resetProvincias","REGION_COD","REGION_DES","PROVINCIA_COD","PROVINCIA_DES","getMunicipalidadesBD","DISTRITO_COD","DISTRITO_DES","MUNICIPALIDAD_COD","MUNICIPALIDAD_DES","CUI","DIRECCION","IE_DES","direccion_ie","Divider","startIcon","paper","keepMounted","padreTypes","validCodigoVerificacion","generateToken","validaDNI","captchaProgress","popover","pointerEvents","textDisabled","StyledTextField","tipo_doc_padre","fecha_emision","codigo_verificacion","captchaTypes","generaCaptcha","getCaptchaSR","captcha","img","RegistroPadreScreen","tipos_documento","isLooked","setIsLooked","setexpanded","setItem","MyField","useFormikContext","useField","field","meta","isCurrent","toLowerCase","codigo","nombre_completo","str_fecha_nacimiento","removeItem","savePadreBD","isValidated","imagen","src","alt","fontFamily","marginRight","App","ThemeProvider","padreState","existe","captchaState","ubigeoState","institucionState","estudianteState","seccion","beneficiario","formato","region_muni","provincia_muni","distrito_muni","referencia_muni","existe_observacion","preguntaTypes","preguntaState","grupos","preguntas","respuestas","dependencias","excluyentes","isComplete","veeduriaState","formatoState","municipalidadState","parametroState","coordenadaState","ubicacion_ie","ubicacion_user","coordenadaTypes","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","reducers","combineReducers","action","regiones","provincias","distritos","pregunta","preg","ID","HABILITADO","UPLOAD","CANTIDAD_ARCHIVO","FORMATO_ARCHIVO","OBLIGATORIO_ARCHIVO","DROPZONE_TEXT","formatos","coordenadas","store","createStore","applyMiddleware","thunk","ReactDOM","render","document","getElementById"],"mappings":"0IAAA,uOAAMA,EAAU,CACZ,CACIC,IAAK,IACLC,IAAI,YAER,CACID,IAAK,IACLC,IAAI,eAINC,EAAkB,CACpB,CACIF,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,iBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAIPE,EAAoB,CACtB,CACIH,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,iBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,iBAIPG,EAAU,CACZ,CACIJ,IAAK,IACLC,IAAI,YAER,CACID,IAAK,IACLC,IAAI,cAINI,EAAY,CACd,CACIL,IAAK,IACLC,IAAK,YAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,KACLC,IAAK,iBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,KACLC,IAAK,iBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,IACLC,IAAK,gBAET,CACID,IAAK,KACLC,IAAK,iBAET,CACID,IAAK,KACLC,IAAK,mB,mYC/LPK,EACG,WADHA,EAEG,cAFHA,EAGO,cAGN,SAASC,EAAWC,GAAQ,IACvBC,EAAiCD,EAAjCC,SAAUC,EAAuBF,EAAvBE,SAAaC,EADD,YACWH,EADX,yBAG1BI,EAAS,GACb,OAASJ,EAAMK,MACX,IAAK,MACDD,EAAqB,OAAZJ,EAAMM,GAAcR,EAAeA,EAC5C,MAEJ,IAAK,UACDM,EAASN,EAMjB,OACI,kBAAC,IAAD,iBACSK,EADT,CAEII,YAAcN,EACdO,cAAgB,SAACC,GACbP,EAAU,CACNQ,OAAQ,CACJL,KAAML,EAAMK,KACZM,MAAOF,EAAOE,UAM1BP,OAASA,EACTQ,iBAAe,EACfC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\r\n },\r\n]\r\n\r\nconst grados_primaria = [\r\n {\r\n cod: \"1\",\r\n des: \"Primer grado\",\r\n },\r\n {\r\n cod: \"2\",\r\n des: \"Segundo grado\",\r\n },\r\n {\r\n cod: \"3\",\r\n des: \"Tercer grado\",\r\n },\r\n {\r\n cod: \"4\",\r\n des: \"Cuarto grado\",\r\n },\r\n {\r\n cod: \"5\",\r\n des: \"Quinto grado\",\r\n },\r\n {\r\n cod: \"6\",\r\n des: \"Sexto grado\",\r\n },\r\n]\r\n\r\nconst grados_secundaria = [\r\n {\r\n cod: \"1\",\r\n des: \"Primer grado\",\r\n },\r\n {\r\n cod: \"2\",\r\n des: \"Segundo grado\",\r\n },\r\n {\r\n cod: \"3\",\r\n des: \"Tercer grado\",\r\n },\r\n {\r\n cod: \"4\",\r\n des: \"Cuarto grado\",\r\n },\r\n {\r\n cod: \"5\",\r\n des: \"Quinto grado\",\r\n },\r\n]\r\n\r\nconst generos = [\r\n {\r\n cod: 'F',\r\n des:'FEMENINO',\r\n },\r\n {\r\n cod: 'M',\r\n des:'MASCULINO',\r\n },\r\n]\r\n\r\nconst secciones = [\r\n {\r\n cod: \"1\",\r\n des: \"ÚNICA\",\r\n },\r\n {\r\n cod: \"A\",\r\n des: \"Sección.A\",\r\n },\r\n {\r\n cod: \"B\",\r\n des: \"Sección.B\",\r\n },\r\n {\r\n cod: \"C\",\r\n des: \"Sección.C\",\r\n },\r\n {\r\n cod: \"D\",\r\n des: \"Sección.D\",\r\n },\r\n {\r\n cod: \"E\",\r\n des: \"Sección.E\",\r\n },\r\n {\r\n cod: \"F\",\r\n des: \"Sección.F\",\r\n },\r\n {\r\n cod: \"G\",\r\n des: \"Sección.G\",\r\n },\r\n {\r\n cod: \"H\",\r\n des: \"Sección.H\",\r\n },\r\n {\r\n cod: \"I\",\r\n des: \"Sección.I\",\r\n },\r\n {\r\n cod: \"J\",\r\n des: \"Sección.J\",\r\n },\r\n {\r\n cod: \"K\",\r\n des: \"Sección.K\",\r\n },\r\n {\r\n cod: \"L\",\r\n des: \"Sección.L\",\r\n },\r\n {\r\n cod: \"LL\",\r\n des: \"Sección.LL\",\r\n },\r\n {\r\n cod: \"M\",\r\n des: \"Sección.M\",\r\n },\r\n {\r\n cod: \"N\",\r\n des: \"Sección.N\",\r\n },\r\n {\r\n cod: \"O\",\r\n des: \"Sección.O\",\r\n },\r\n {\r\n cod: \"P\",\r\n des: \"Sección.P\",\r\n },\r\n {\r\n cod: \"Q\",\r\n des: \"Sección.Q\",\r\n },\r\n {\r\n cod: \"R\",\r\n des: \"Sección.R\",\r\n },\r\n {\r\n cod: \"RR\",\r\n des: \"Sección.RR\",\r\n },\r\n {\r\n cod: \"S\",\r\n des: \"Sección.S\",\r\n },\r\n {\r\n cod: \"T\",\r\n des: \"Sección.T\",\r\n },\r\n {\r\n cod: \"U\",\r\n des: \"Sección.U\",\r\n },\r\n {\r\n cod: \"V\",\r\n des: \"Sección.V\",\r\n },\r\n {\r\n cod: \"W\",\r\n des: \"Sección.W\",\r\n },\r\n {\r\n cod: \"X\",\r\n des: \"Sección.X\",\r\n },\r\n {\r\n cod: \"Y\",\r\n des: \"Sección.Y\",\r\n },\r\n {\r\n cod: \"Z\",\r\n des: \"Sección.Z\",\r\n },\r\n {\r\n cod: \"A1\",\r\n des: \"Sección.A1\",\r\n },\r\n {\r\n cod: \"B1\",\r\n des: \"Sección.B1\",\r\n },\r\n]\r\n\r\nexport {\r\n niveles,\r\n grados_primaria,\r\n grados_secundaria,\r\n secciones,\r\n generos,\r\n}","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport NumberFormat from 'react-number-format'\r\n\r\nconst FORMATOS = {\r\n dni: '########',\r\n ruc: '###########',\r\n celular: '### ### ###',\r\n}\r\n\r\nexport function TextNumber(props) {\r\n const { inputRef, onChange, ...other } = props;\r\n\r\n var format = ''\r\n switch ( props.name ) {\r\n case 'dni':\r\n format = props.id == 'dni' ? FORMATOS.dni : FORMATOS.ruc\r\n break;\r\n\r\n case 'celular':\r\n format = FORMATOS.celular\r\n break;\r\n \r\n default:\r\n break;\r\n }\r\n return (\r\n {\r\n onChange( { \r\n target: {\r\n name: props.name,\r\n value: values.value,\r\n } } )\r\n \r\n } }\r\n \r\n // thousandSeparator\r\n format={ format }\r\n isNumericString\r\n prefix=\"\"\r\n />\r\n );\r\n}\r\nTextNumber.propTypes = {\r\n inputRef: PropTypes.func.isRequired,\r\n name: PropTypes.string.isRequired,\r\n onChange: PropTypes.func.isRequired,\r\n};\r\n\r\n\r\n\r\n{/* className={ clsx( classes.margin, classes.textField ) } */}\r\n{/* \r\n \r\n DNI\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n />\r\n */}\r\n\r\n\r\n","import { createMuiTheme } from '@material-ui/core/styles';\r\nimport blue from '@material-ui/core/colors/blue';\r\nimport red from '@material-ui/core/colors/red';\r\nimport grey from '@material-ui/core/colors/grey';\r\nimport { yellow, green } from '@material-ui/core/colors';\r\n\r\nexport const theme = createMuiTheme({\r\n palette: {\r\n primary: {\r\n main: red[900],\r\n bg_head: red[300],\r\n avatar: red[600],\r\n subAvatar: red[400],\r\n },\r\n secondary: {\r\n main: blue[700],\r\n bg_head: blue[100],\r\n avatar: blue[300],\r\n },\r\n warning: {\r\n main: yellow[700],\r\n },\r\n success: {\r\n main: green[400],\r\n },\r\n error: {\r\n main: red[400],\r\n },\r\n table: {\r\n bg_head: grey[400],\r\n bg_group: grey[200],\r\n },\r\n },\r\n // palette: {\r\n // primary: blue,\r\n // secondary: pink,\r\n // },\r\n});\r\n","import { makeStyles, AccordionSummary, AccordionActions, AccordionDetails } from \"@material-ui/core\";\r\nimport { withStyles } from '@material-ui/core/styles'\r\nimport { theme } from '../../styles/setTheme'\r\nimport MuiAccordionSummary from '@material-ui/core/AccordionSummary'\r\n\r\nexport const useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n },\r\n headerTitle: {\r\n fontSize: '16px !important',\r\n fontWeight: 'bold !important',\r\n // fontFamily: '\"Helvetica\", \"Arial\", sans-serif !important',\r\n },\r\n heading: {\r\n fontSize: theme.typography.pxToRem(17),\r\n fontWeight: theme.typography.fontWeightRegular,\r\n // fontFamily: 'HelveticaBold'\r\n },\r\n icon: {\r\n color: \"#ffffff\",\r\n },\r\n iconExpander: {\r\n color: \"#000\",\r\n },\r\n detalle: {\r\n padding: \"25px 10px 20px\",\r\n },\r\n classOne: {\r\n textTransform: 'lowercase',\r\n '& > :first-letter': {\r\n textTransform: 'uppercase'\r\n }\r\n },\r\n wrapper: {\r\n position: 'relative',\r\n },\r\n fieldProgress: {\r\n color: theme.palette.secondary.primary,\r\n position: 'absolute',\r\n top: '50%',\r\n left: '80%',\r\n marginTop: -6,\r\n marginLeft: -12,\r\n },\r\n autocompleteProgress: {\r\n color: theme.palette.secondary.main,\r\n position: 'absolute',\r\n top: '50%',\r\n left: '50%',\r\n marginTop: -6,\r\n marginLeft: -12,\r\n },\r\n form: {\r\n width: '100%',\r\n marginBottom: 0,\r\n marginTop: '12px',\r\n },\r\n largeAvatarBrowser: {\r\n width: theme.spacing(3),\r\n height: theme.spacing(3),\r\n color: theme.white,\r\n backgroundColor: theme.palette.primary.avatar,\r\n },\r\n largeAvatarMobile: {\r\n width: theme.spacing(3),\r\n height: theme.spacing(3),\r\n color: theme.white,\r\n backgroundColor: theme.palette.primary.avatar,\r\n },\r\n textBrowser: {\r\n fontSize: '14px',\r\n },\r\n textMobile: {\r\n fontSize: '12px',\r\n },\r\n pregDesc: {\r\n fontWeight: 'bold',\r\n fontSize: '16px',\r\n },\r\n\r\n //Agregado\r\n inputStyle: {\r\n \"& .MuiOutlinedInput-adornedEnd\" :{\r\n paddingRight: '0px'\r\n },\r\n \"& .MuiInputBase-input\" :{\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n /*\"& .MuiInputBase-input:focus\" :{\r\n borderBottom: '2px solid #4285f4 !important',\r\n },*/\r\n \"& .MuiInput-underline:after\" :{\r\n borderBottom: '2px solid #4285f4 !important',\r\n },\r\n '& label': {\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n //Color del label con el foco\r\n '& label.Mui-focused': {\r\n color: '#4285f4',\r\n },\r\n '& error': {\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n \"& .MuiFormHelperText-root.Mui-error\":{\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n \"& .MuiFormHelperText-root\":{\r\n // fontFamily: 'HelveticaBold',\r\n }\r\n\r\n /*\"& .MuiInput-underline:after\":{\r\n BorderBottom: '2px solid #4285f4',\r\n }*/\r\n //borderBottom: '1px solid #4285f4 !important',\r\n },\r\n\r\n selectStyle: {\r\n // fontFamily: 'HelveticaBold',\r\n \"& .MuiInputBase-input\" :{\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n \"& .MuiInput-underline:after\" :{\r\n borderBottom: '2px solid #4285f4 !important',\r\n },\r\n //Color del label con el foco\r\n '& label.Mui-focused': {\r\n color: '#4285f4',\r\n },\r\n\r\n \"& .MuiFormHelperText-root.Mui-error\": {\r\n // fontFamily: 'HelveticaBold',\r\n },\r\n },\r\n\r\n radioStyle: {\r\n // fontFamily: 'HelveticaBold',\r\n \"& .MuiTypography-body1\" :{\r\n // fontFamily: 'HelveticaBold',\r\n }\r\n },\r\n\r\n buttonStyle : {\r\n // fontFamily: 'HelveticaBold',\r\n \r\n }\r\n\r\n\r\n}));\r\n\r\n\r\n\r\nexport const StyledAccordionDetails = withStyles({\r\n root: {\r\n padding: \"20px 16px 16px\",\r\n }\r\n})(AccordionDetails);\r\n\r\n\r\n\r\nexport const StyledAccordionSummary = withStyles({\r\n root: {\r\n // backgroundColor: theme.palette.primary.main,\r\n backgroundColor: \"#ddd\",\r\n borderBottom: \"1px solid #A8A8A8\",\r\n //color: \"#ffffff\",\r\n marginBottom: -1,\r\n minHeight: 30,\r\n fontSize: 15,\r\n fontWeight: 500,\r\n color: \"#000000\",\r\n // fontFamily: \"HelveticaBold\",\r\n // boxShadow: '0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12)',\r\n '&$expanded': {\r\n minHeight: 30,\r\n },\r\n },\r\n content: {\r\n '&$expanded': {\r\n margin: '0px 0',\r\n },\r\n },\r\n expanded: {},\r\n})(AccordionSummary);\r\n\r\n\r\nexport const AccordionEstSummary = withStyles({\r\n root: {\r\n backgroundColor: '#eee',\r\n borderBottom: '1px solid #ddd',\r\n marginBottom: -1,\r\n minHeight: 46,\r\n '&$expanded': {\r\n minHeight: 46,\r\n },\r\n // fontFamily: \"HelveticaBold\",\r\n },\r\n content: {\r\n '&$expanded': {\r\n margin: '12px 0',\r\n },\r\n },\r\n expanded: {},\r\n})(MuiAccordionSummary);\r\n\r\nexport const StyledAccordionActions = withStyles({\r\n root: {\r\n padding: '8px 25px',\r\n },\r\n})(AccordionActions);\r\n","export const ubigeoTypes = {\r\n REGION_RESET: '[Region] RESET',\r\n REGION_GET_START: '[Region] GET_START',\r\n REGION_GET_COMPLETE: '[Region] GET_COMPLETE',\r\n REGION_GET_ERROR: '[Region] GET_ERROR',\r\n \r\n PROVINCIA_RESET: '[Provincia] RESET',\r\n PROVINCIA_GET_START: '[Provincia] GET_START',\r\n PROVINCIA_GET_COMPLETE: '[Provincia] GET_COMPLETE',\r\n PROVINCIA_GET_ERROR: '[Provincia] GET_ERROR',\r\n \r\n DISTRITO_RESET: '[Distrito] RESET',\r\n DISTRITO_GET_START: '[Distrito] GET_START',\r\n DISTRITO_GET_COMPLETE: '[Distrito] GET_COMPLETE',\r\n DISTRITO_GET_ERROR: '[Distrito] GET_ERROR',\r\n\r\n \r\n REGION_MUNI_RESET: '[RegionMuni] RESET',\r\n REGION_MUNI_GET_START: '[RegionMuni] GET_START',\r\n REGION_MUNI_GET_COMPLETE: '[RegionMuni] GET_COMPLETE',\r\n REGION_MUNI_GET_ERROR: '[RegionMuni] GET_ERROR',\r\n \r\n PROVINCIA_MUNI_RESET: '[ProvinciaMuni] RESET',\r\n PROVINCIA_MUNI_GET_START: '[ProvinciaMuni] GET_START',\r\n PROVINCIA_MUNI_GET_COMPLETE: '[ProvinciaMuni] GET_COMPLETE',\r\n PROVINCIA_MUNI_GET_ERROR: '[ProvinciaMuni] GET_ERROR',\r\n \r\n DISTRITO_MUNI_RESET: '[DistritoMuni] RESET',\r\n DISTRITO_MUNI_GET_START: '[DistritoMuni] GET_START',\r\n DISTRITO_MUNI_GET_COMPLETE: '[DistritoMuni] GET_COMPLETE',\r\n DISTRITO_MUNI_GET_ERROR: '[DistritoMuni] GET_ERROR',\r\n}","import { ubigeoTypes } from \"../../types/ubigeoTypes\"\r\n\r\nexport const getRegiones = ( payload ) => ({\r\n type: ubigeoTypes.REGION_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetRegiones = ( payload = [] ) => ({\r\n type: ubigeoTypes.REGION_RESET,\r\n payload\r\n})\r\n\r\nexport const getProvincias = ( payload ) => ({\r\n type: ubigeoTypes.PROVINCIA_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetProvincias = ( payload = [] ) => ({\r\n type: ubigeoTypes.PROVINCIA_RESET,\r\n payload\r\n})\r\n\r\nexport const getDistritos = ( payload ) => ({\r\n type: ubigeoTypes.DISTRITO_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetDistritos = ( payload = [] ) => ({\r\n type: ubigeoTypes.DISTRITO_RESET,\r\n payload\r\n})\r\n\r\n\r\n\r\n\r\nexport const getRegionesMuni = ( payload ) => ({\r\n type: ubigeoTypes.REGION_MUNI_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetRegionesMuni = ( payload = [] ) => ({\r\n type: ubigeoTypes.REGION_MUNI_RESET,\r\n payload\r\n})\r\n\r\nexport const getProvinciasMuni = ( payload ) => ({\r\n type: ubigeoTypes.PROVINCIA_MUNI_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetProvinciasMuni = ( payload = [] ) => ({\r\n type: ubigeoTypes.PROVINCIA_MUNI_RESET,\r\n payload\r\n})\r\n\r\nexport const getDistritosMuni = ( payload ) => ({\r\n type: ubigeoTypes.DISTRITO_MUNI_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetDistritosMuni = ( payload = [] ) => ({\r\n type: ubigeoTypes.DISTRITO_MUNI_RESET,\r\n payload\r\n})\r\n\r\n","import Swal from 'sweetalert2'\r\n\r\nexport const Mensaje = ( text, type = 'Error', icon = 'error', showConfirmButton = true ) => {\r\n // Swal.fire(type, text, icon)\r\n Swal.fire({\r\n title: type,\r\n icon: icon,\r\n html: text,\r\n showConfirmButton: showConfirmButton\r\n })\r\n}\r\n","export const MessagesError = {\r\n codigo_verificacion: 'Captcha incorrecto'\r\n}\r\n\r\nexport const logErrors = ( e ) => {\r\n const errorModel = {\r\n Type: '',\r\n Message: ''\r\n }\r\nconsole.log(e)\r\n if (e instanceof TypeError) {\r\n errorModel.Type = 'Type Error'\r\n } else if (e instanceof RangeError) {\r\n errorModel.Type = 'Range Error'\r\n } else if (e instanceof EvalError) {\r\n errorModel.Type = 'Eval Error'\r\n } else {\r\n errorModel.Type = 'Autorización'\r\n }\r\n\r\n if ( e.Message )\r\n errorModel.Message = e.Message\r\n else\r\n errorModel.Message = 'Tu sesión caducó.'\r\n\r\n return errorModel\r\n}\r\n","//const urlBase = 'http://localhost:63562/api/restful/'\r\nconst urlBase = 'https://apps1.contraloria.gob.pe/inscripciondocente/back/api/restful/'\r\n//const urlBase = 'https://apptest27.contraloria.gob.pe/servicioveeduria/api/restful/'\r\n\r\nconst NEXT_PUBLIC_GOOGLE_MAPS_API_KEY = \"AIzaSyDv_FqlYAibf3K_BSO4-7e9lGlWll4CHys\"\r\nconst generate_token_url = urlBase + 'padre-familia/generate-token'\r\nconst valida_dni_url = urlBase + 'padre-familia/valida-dni'\r\nconst valida_dni_private_url = urlBase + 'padre-familia/valida-dni-private'\r\nconst genera_captcha_url = urlBase + 'captcha/genera-captcha'\r\nconst region_get_url = urlBase + 'region/region-get-all'\r\nconst provincia_get_url = urlBase + 'provincia/provincia-get-all-by-region'\r\nconst distrito_get_url = urlBase + 'distrito/distrito-get-all-by-provincia'\r\nconst institucion_get_url = urlBase + 'inst-edu/inst-edu-get-all-by-ugel'\r\nconst pregunta_url = urlBase + 'pregunta/pregunta-get-all'\r\nconst veeduria_url = urlBase + 'docente/docente-insert-all'\r\nconst valida_existe_dni_url = urlBase + 'estudiante/valida-dni'\r\nconst obtiene_formatos_url = urlBase + 'inst-edu/obtiene-formatos'\r\nconst formato_get_url = urlBase + 'formato/formato-get-all'\r\nconst parametro_get_url = urlBase + 'parametro/parametro-get-all'\r\nconst municipalidad_get_url = urlBase + 'municipalidad/ugel-get-all-by-distrito'\r\nconst valida_beneficiario_url = urlBase + 'estudiante/valida-beneficiario'\r\n\r\nexport {\r\n generate_token_url,\r\n valida_dni_url,\r\n valida_dni_private_url,\r\n genera_captcha_url,\r\n region_get_url,\r\n provincia_get_url,\r\n distrito_get_url,\r\n institucion_get_url,\r\n pregunta_url,\r\n veeduria_url,\r\n valida_existe_dni_url,\r\n obtiene_formatos_url,\r\n formato_get_url,\r\n parametro_get_url,\r\n municipalidad_get_url,\r\n valida_beneficiario_url,\r\n NEXT_PUBLIC_GOOGLE_MAPS_API_KEY\r\n}\r\n\r\n\r\n","import qs from 'qs'\r\nimport axios from 'axios'\r\n\r\n\r\nconst Headers = {\r\n 'content-type': 'application/x-www-form-urlencoded;charset=utf-8',\r\n 'Access-Control-Allow-Origin': \"*\"\r\n}\r\n\r\naxios.interceptors.request.use( (request) => {\r\n const token = localStorage.getItem('token');\r\n if ( token )\r\n {\r\n request.headers.Authorization = `Bearer ${token}`;\r\n }\r\n else{\r\n request.headers.Authorization = '';\r\n }\r\n\r\n return request;\r\n}, error => {\r\n return Promise.reject(error);\r\n} );\r\n\r\naxios.interceptors.response.use( \r\n (response) => response,\r\n error => {\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\nexport const apiCall = ( method, url, data, headers = Headers ) => axios({\r\n method,\r\n url,\r\n data: qs.stringify({\r\n ...data\r\n }),\r\n headers\r\n})\r\n\r\n\r\n\r\n// export const client = (token = null) => {\r\n// const defaultOptions = {\r\n// headers: {\r\n// Authorization: token ? `Bearer ${token}` : '',\r\n// 'content-type': 'application/x-www-form-urlencoded;charset=utf-8',\r\n// 'Access-Control-Allow-Origin': \"*\"\r\n// },\r\n// };\r\n\r\n// return {\r\n// call: ( method, url, data, headers = { ...defaultOptions } ) => axios({\r\n// method,\r\n// url,\r\n// data: qs.stringify({\r\n// ...data\r\n// }),\r\n// headers\r\n// })\r\n// };\r\n// };\r\n","import { region_get_url, provincia_get_url, distrito_get_url } from \"./urlBase\"\r\nimport { apiCall } from \"./apiCall\";\r\n\r\nconst listar_regiones = async ( only_actives ) => {\r\n\r\n try {\r\n\r\n // const token = localStorage.getItem('token')\r\n // const request = client(token)\r\n // const resp = await request.call( 'GET', region_get_url, null )\r\n\r\n const resp = await apiCall( 'GET', `${region_get_url}/${only_actives}`, null )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('ubigeoHelper', '15')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '20')\r\n throw e\r\n }\r\n}\r\n\r\nconst listar_provincias = async ( region ) => {\r\n\r\n try {\r\n\r\n // const token = localStorage.getItem('token')\r\n // const request = client(token)\r\n // const resp = await request.call( 'GET', `${provincia_get_url}/${region}`, null )\r\n\r\n const resp = await apiCall( 'GET', `${provincia_get_url}/${region}`, null )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('ubigeoHelper', '36')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '41')\r\n throw e\r\n }\r\n}\r\n\r\nconst listar_distritos = async ( region, provincia ) => {\r\n\r\n try {\r\n\r\n // const token = localStorage.getItem('token')\r\n // const request = client(token)\r\n // const resp = await request.call( 'GET', `${distrito_get_url}/${region}/${provincia}`, null )\r\n\r\n const resp = await apiCall( 'GET', `${distrito_get_url}/${region}/${provincia}`, null )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('ubigeoHelper', '57')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '62')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n listar_regiones,\r\n listar_provincias,\r\n listar_distritos\r\n}","export const institucionTypes = {\r\n INSTITUCION_RESET: '[Institucion] RESET',\r\n INSTITUCION_GET_START: '[Institucion] GET_START',\r\n INSTITUCION_GET_COMPLETE: '[Institucion] GET_COMPLETE',\r\n INSTITUCION_GET_ERROR: '[Institucion] GET_ERROR',\r\n}","import { institucionTypes } from '../../types/instEducativaTypes'\r\n\r\nexport const getInstituciones = ( payload ) => ({\r\n type: institucionTypes.INSTITUCION_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetInstituciones = ( payload = [] ) => ({\r\n type: institucionTypes.INSTITUCION_RESET,\r\n payload\r\n})\r\n","import { institucion_get_url } from \"./urlBase\"\r\nimport { apiCall } from \"./apiCall\";\r\n\r\nconst listar_instituciones = async ( region, provincia, distrito, nivel, tipo_inst_edu, ugel ) => {\r\n\r\n try {\r\n\r\n // const token = localStorage.getItem('token')\r\n // const request = client(token)\r\n // const resp = await request.call( 'GET', `${institucion_get_url}/${region}/${provincia}/${distrito}/${nivel}`, null )\r\n const resp = await apiCall( 'GET', `${institucion_get_url}/${region}/${provincia}/${distrito}/${nivel}/${tipo_inst_edu}/${ugel}`, null )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('ubigeoHelper', '15')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '20')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n listar_instituciones\r\n}","import { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { listar_instituciones } from \"../../helpers/institucionHelper\"\r\nimport { getInstituciones } from \"../actions/instEducativaActions\"\r\nimport { institucionTypes } from \"../../types/instEducativaTypes\"\r\n\r\nexport const getInstitucionesBD = ( region, provincia, distrito, nivel, tipo_inst_edu, ugel ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getInstituciones( [] ) )\r\n \r\n const response = await listar_instituciones( region, provincia, distrito, nivel, tipo_inst_edu, ugel )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: institucionTypes.INSTITUCION_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: institucionTypes.INSTITUCION_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: institucionTypes.INSTITUCION_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n Mensaje( err.Message, err.Type )\r\n }\r\n \r\n }\r\n}","import * as Yup from 'yup'\r\nimport * as moment from 'moment';\r\nimport 'moment/locale/es';\r\n\r\nconst localTime = moment().format('YYYY-MM-DD');\r\nconst today = localTime + \"T00:00:00\";\r\n// \r\nconst ProfileSchema = Yup.object().shape( {\r\n genero: Yup.string().required('Requerido'),\r\n fecha_nacimiento: Yup.date().required(\"Requerido\").max(today, \"No puede ser mayor a hoy\").typeError('Fecha incorrecta').nullable(),\r\n celular: Yup.string().required('Requerido').min(9, 'Debe tener 9 dígitos').max(9, 'Debe tener 9 dígitos'),\r\n email: Yup.string().required('Requerido').email('Correo inválido'),\r\n tipo_inst_edu: Yup.string().required('Requerido'),\r\n nivel: Yup.string().required('Requerido'),\r\n grado: Yup.string().required('Requerido'),\r\n nacionalidad: Yup.string().required('Requerido'),\r\n region: Yup.string().required('Requerido'),\r\n provincia: Yup.string().required('Requerido'),\r\n distrito: Yup.string().required('Requerido'),\r\n municipalidad: Yup.string().required('Requerido'),\r\n inst_educativa: Yup.string().required('Requerido'),\r\n otras: Yup.string()\r\n .when(\"show_otras\", {\r\n is: ( show_otras => { return show_otras; } ),\r\n then: Yup.string().required('Requerido').trim('Requerido')\r\n })\r\n} )\r\n\r\nexport default ProfileSchema","export const municipalidadTypes = {\r\n MUNICIPALIDAD_RESET: '[municipalidad] RESET',\r\n MUNICIPALIDAD_GET_START: '[municipalidad] GET_START',\r\n MUNICIPALIDAD_GET_COMPLETE: '[municipalidad] GET_COMPLETE',\r\n MUNICIPALIDAD_GET_ERROR: '[municipalidad] GET_ERROR',\r\n}","import { municipalidadTypes } from '../../types/municipalidadTypes'\r\n\r\nexport const getMunicipalidades = ( payload ) => ({\r\n type: municipalidadTypes.MUNICIPALIDAD_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetMunicipalidades = ( payload = [] ) => ({\r\n type: municipalidadTypes.MUNICIPALIDAD_RESET,\r\n payload\r\n})\r\n","import { municipalidad_get_url } from \"./urlBase\"\r\nimport { apiCall } from \"./apiCall\";\r\n\r\nconst listar_municipalidades = async ( region, provincia, distrito, all ) => {\r\n\r\n try {\r\n const resp = await apiCall( 'GET', `${municipalidad_get_url}/${region}/${provincia}/${distrito}/${all}`, null )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('municipalidadHelper', '15')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('municipalidadHelper', '20')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n listar_municipalidades\r\n}","import { veeduria_url } from \"./urlBase\"\r\nimport { apiCall } from \"./apiCall\";\r\n\r\nconst insertar_veeduria = async (data) => {\r\n\r\n try {\r\n\r\n // const token = localStorage.getItem('token')\r\n // const request = client(token)\r\n // const resp = await request.call( 'POST', veeduria_url, data )\r\n\r\n const resp = await apiCall( 'POST', veeduria_url, data )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('veeduriaHelper', '15')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('veeduriaHelper', '20')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n insertar_veeduria\r\n}","export const veeduriaTypes = {\r\n VEEDURIA_SAVE_START: '[Veeduria] SAVE_START',\r\n VEEDURIA_SAVE_COMPLETE: '[Veeduria] SAVE_COMPLETE',\r\n VEEDURIA_SAVE_ERROR: '[Veeduria] SAVE_ERROR',\r\n}","import Swal from 'sweetalert2'\r\n\r\nexport const ProcesoStart = ( title = '' ) => {\r\n Swal.fire({\r\n title,\r\n text: 'Procesando...',\r\n allowOutsideClick: false,\r\n onBeforeOpen: () => {\r\n Swal.showLoading()\r\n }\r\n })\r\n}\r\n\r\nexport const ProcesoEnd = () => {\r\n Swal.close()\r\n}","export const estudianteTypes = {\r\n ESTUDIANTE_SAVE_START: '[Estudiante] SAVE_START',\r\n ESTUDIANTE_SAVE_COMPLETE: '[Estudiante] SAVE_COMPLETE',\r\n ESTUDIANTE_SAVE_ERROR: '[Estudiante] SAVE_ERROR',\r\n ESTUDIANTE_VALIDATED: '[Estudiante] VALIDATED',\r\n ESTUDIANTE_SET_OBSERVACION: '[Estudiante] SET_OBSERVACION',\r\n ESTUDIANTE_GET_FORMATOS: '[Estudiante] GET_FORMATOS',\r\n ESTUDIANTE_SAVE_RENIEC: '[Estudiante] ESTUDIANTE_SAVE_RENIEC',\r\n}","export const formatoTypes = {\r\n FORMATO_RESET: '[Formato] RESET',\r\n FORMATO_GET_START: '[Formato] GET_START',\r\n FORMATO_GET_COMPLETE: '[Formato] GET_COMPLETE',\r\n FORMATO_GET_ERROR: '[Formato] GET_ERROR',\r\n}","\r\nimport React from 'react'\r\nimport { Dialog, DialogTitle, DialogContent, Typography, DialogActions, Button, makeStyles,\r\n List, ListItem, ListItemText } from '@material-ui/core'\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n heading: {\r\n fontSize: theme.typography.pxToRem(17),\r\n fontWeight: theme.typography.fontWeightRegular,\r\n },\r\n}));\r\n\r\nexport const ConfirmControl = ( props ) => {\r\n\r\n const classes = useStyles();\r\n\r\n const { onSubmit, onClose, open, dni, nombre, ...other } = props;\r\n\r\n const handleCancel = () => {\r\n onClose();\r\n };\r\n\r\n const handleOk = () => {\r\n onSubmit();\r\n };\r\n\r\n return (\r\n \r\n ¿Desea recargar la página?\r\n \r\n {/* \r\n ¿Desea registrar la veeduría escolar?\r\n */}\r\n \r\n Se perderán todos los datos ingresados\r\n \r\n\r\n {/* \r\n \r\n \r\n \r\n \r\n \r\n */}\r\n\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n )\r\n}\r\n","import React from 'react'\r\nimport { Snackbar, withStyles, makeStyles } from '@material-ui/core'\r\nimport { Alert, AlertTitle } from '@material-ui/lab'\r\nimport { theme } from '../styles/setTheme';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n err: {\r\n backgroundColor: theme.palette.success.main,\r\n color: '#fff',\r\n },\r\n}));\r\n\r\n\r\nconst SuccessAlert = withStyles({\r\n root: {\r\n backgroundColor: theme.palette.success.main,\r\n color: '#fff',\r\n },\r\n icon: {\r\n backgroundColor: theme.palette.success.main,\r\n color: '#fff',\r\n },\r\n})(Alert);\r\n\r\nconst ErrorAlert = withStyles({\r\n root: {\r\n backgroundColor: theme.palette.error.main,\r\n color: '#fff',\r\n },\r\n icon: {\r\n backgroundColor: theme.palette.error.main,\r\n color: '#fff',\r\n },\r\n})(Alert);\r\n\r\nexport const Alerta = ( { state, handleClose } ) => {\r\n \r\nconst classes = useStyles();\r\n const { vertical, horizontal, open, message, severity } = state\r\n return (\r\n \r\n {/* {\r\n ( severity === 'error' )\r\n ? \r\n \r\n Error\r\n { message }\r\n \r\n :\r\n \r\n Éxito\r\n { message }\r\n \r\n } */}\r\n {\r\n ( severity === 'error' )\r\n &&\r\n \r\n Alerta!\r\n { message }\r\n \r\n }\r\n {/* \r\n Alerta!\r\n { message }\r\n */}\r\n \r\n \r\n\r\n\r\n // \r\n )\r\n}\r\n","export const parametroTypes = {\r\n TIPO_DOCUMENTO_RESET: '[Tipo_Documento] RESET',\r\n TIPO_DOCUMENTO_GET_START: '[Tipo_Documento] GET_START',\r\n TIPO_DOCUMENTO_GET_COMPLETE: '[Tipo_Documento] GET_COMPLETE',\r\n TIPO_DOCUMENTO_GET_ERROR: '[Tipo_Documento] GET_ERROR',\r\n \r\n TIPO_INST_EDU_RESET: '[Tipo_Inst_Edu] RESET',\r\n TIPO_INST_EDU_GET_START: '[Tipo_Inst_Edu] GET_START',\r\n TIPO_INST_EDU_GET_COMPLETE: '[Tipo_Inst_Edu] GET_COMPLETE',\r\n TIPO_INST_EDU_GET_ERROR: '[Tipo_Inst_Edu] GET_ERROR',\r\n \r\n NACIONALIDAD_RESET: '[Nacionalidad] RESET',\r\n NACIONALIDAD_GET_START: '[Nacionalidad] GET_START',\r\n NACIONALIDAD_GET_COMPLETE: '[Nacionalidad] GET_COMPLETE',\r\n NACIONALIDAD_GET_ERROR: '[Nacionalidad] GET_ERROR',\r\n}","import { parametro_get_url } from \"./urlBase\"\r\n\r\nconst listar_tipos_documento = async ( padre ) => {\r\n\r\n try {\r\n\r\n const resp = await fetch( parametro_get_url, {\r\n method: 'POST',\r\n headers: { 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': \"*\" },\r\n body: JSON.stringify({...padre})\r\n })\r\n const response = await resp.json()\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('parametroHelper', '20')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '41')\r\n throw e\r\n }\r\n}\r\n\r\nconst listar_tipos_inst_edu = async ( padre ) => {\r\n\r\n try {\r\n\r\n const resp = await fetch( parametro_get_url, {\r\n method: 'POST',\r\n headers: { 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': \"*\" },\r\n body: JSON.stringify({...padre})\r\n })\r\n const response = await resp.json()\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('parametroHelper', '20')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '41')\r\n throw e\r\n }\r\n}\r\n\r\nconst listar_nacionalidades = async ( padre ) => {\r\n\r\n try {\r\n\r\n const resp = await fetch( parametro_get_url, {\r\n method: 'POST',\r\n headers: { 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': \"*\" },\r\n body: JSON.stringify({...padre})\r\n })\r\n const response = await resp.json()\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('parametroHelper', '20')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('ubigeoHelper', '41')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n listar_tipos_documento,\r\n listar_tipos_inst_edu,\r\n listar_nacionalidades\r\n}","import React, { useState, useCallback, useEffect, useMemo } from 'react'\r\n\r\nimport { TextField,\r\n FormControl,\r\n InputLabel,\r\n Select,\r\n MenuItem,\r\n Button,\r\n Accordion,\r\n AccordionDetails,\r\n Typography,\r\n CircularProgress,\r\n Divider,\r\n FormHelperText,\r\n OutlinedInput,\r\n ListItemText,\r\n Checkbox,\r\n Tooltip,\r\n InputAdornment,\r\n IconButton\r\n} from '@material-ui/core'\r\n\r\nimport {\r\n KeyboardDatePicker,\r\n MuiPickersUtilsProvider,\r\n} from '@material-ui/pickers'\r\nimport DateFnsUtils from '@date-io/date-fns'\r\nimport esLocale from \"date-fns/locale/es\"\r\nimport 'date-fns'\r\nimport { isBrowser } from \"react-device-detect\";\r\n\r\nimport { TextNumber } from '../../controls/TextNumber'\r\nimport SendIcon from '@material-ui/icons/Send'\r\nimport CachedIcon from '@material-ui/icons/Cached'\r\n\r\nimport { useStyles, StyledAccordionSummary, AccordionEstSummary, StyledAccordionActions, StyledAccordionDetails } from './RegistroEstudianteStyle'\r\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore'\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { getRegionesMuniBD, getProvinciasMuniBD, getDistritosMuniBD } from '../../redux/thunk/ubigeoThunk'\r\nimport { resetProvincias, resetDistritos, resetProvinciasMuni, resetDistritosMuni, resetRegiones } from '../../redux/actions/ubigeoActions'\r\nimport { resetInstituciones } from '../../redux/actions/instEducativaActions'\r\nimport { getInstitucionesBD } from '../../redux/thunk/instEducativaThunk'\r\nimport { Formik, Field, useFormikContext, useField } from 'formik'\r\nimport ProfileSchema from './registroEstudianteProfile'\r\nimport { getMunicipalidades, resetMunicipalidades } from '../../redux/actions/municipalidadActions'\r\nimport { getMunicipalidadesBD } from '../../redux/thunk/municipalidadThunk'\r\n\r\nimport { insertVeeduriaBD } from '../../redux/thunk/veeduriaThunk'\r\nimport { validarDNI } from '../../redux/thunk/estudianteThunk'\r\nimport { ConfirmControl } from '../../controls/Confirmacion'\r\nimport { Alerta } from '../../controls/Alerta'\r\nimport { useRef } from 'react'\r\nimport { Mensaje } from '../../controls/Mensaje'\r\nimport 'moment/locale/es';\r\nimport { getTiposInstEduBD, getNacionalidadesBD } from '../../redux/thunk/parametroThunk'\r\n\r\nconst { niveles, grados_primaria, grados_secundaria, secciones } = require(\"../../data/params\")\r\n\r\nconst { generos } = require(\"../../data/params\")\r\n\r\nexport const RegistroEstudianteScreen = () => {\r\n\r\n const classes = useStyles()\r\n\r\n const dispatch = useDispatch()\r\n const padre = useSelector( state => state.padre )\r\n const estudiante = useSelector( state => state.estudiante )\r\n const regionesMuni = useSelector( state => state.regionesMuni )\r\n const provinciasMuni = useSelector( state => state.provinciasMuni )\r\n const distritosMuni = useSelector( state => state.distritosMuni )\r\n const municipalidades = useSelector( state => state.municipalidades ) \r\n const instituciones = useSelector( state => state.instituciones )\r\n const tipos_inst_edu = useSelector( state => state.tipos_inst_edu ) \r\n const veeduria = useSelector( state => state.veeduria )\r\n const [expandedIE, setexpandedIE] = useState(false)\r\n const nacionalidades = useSelector( state => state.nacionalidades )\r\n\r\n const [alert, setAlert] = useState({\r\n open: false,\r\n vertical: 'top',\r\n horizontal: 'center',\r\n message: '',\r\n severity: 'success'\r\n });\r\n const handleCloseAlert = () => {\r\n setAlert({ ...alert, open: false });\r\n };\r\n const messageActive = useRef( veeduria.message )\r\n\r\n useEffect(() => {\r\n if ( veeduria.message === 'ok' && veeduria.severity === 'success' )\r\n {\r\n Mensaje(`\r\n Muchas gracias por inscribirse.\r\n
\r\n
\r\n ${veeduria.nombre} ${veeduria.apellido_paterno} ${veeduria.apellido_materno}\r\n
\r\n Nro. documento: ${veeduria.dni}\r\n
\r\n `, '¡Registro Exitoso!', 'success', false)\r\n messageActive.current = veeduria.message\r\n setTimeout(() => {\r\n handleReload();\r\n }, 10000);\r\n }\r\n\r\n }, [ veeduria, alert ])\r\n\r\n useEffect( () => {\r\n if ( padre.severity === 'success' ) {\r\n setTimeout( () => {\r\n setexpandedIE( true )\r\n dispatch( getTiposInstEduBD() )\r\n }, 500 );\r\n }\r\n }, [ padre.severity, dispatch ] )\r\n\r\n\r\n const handleReload = () => {\r\n // history.push('/')\r\n // history.replace('/')\r\n\r\n window.location.reload();\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n const [open, setOpen] = React.useState(false);\r\n\r\n const handleClickListItem = () => {\r\n setOpen(true);\r\n };\r\n\r\n const handleClose = (newValue) => {\r\n setOpen(false);\r\n };\r\n\r\n const handleClickValidaForm = () => {\r\n return true;\r\n // return validaPreguntas();\r\n }\r\n\r\n\r\n return (\r\n {\r\n const payload = {\r\n genero: values.genero,\r\n fecha_nacimiento: values.fecha_nacimiento,\r\n celular: values.celular,\r\n email: values.email,\r\n tipo_inst_edu: values.tipo_inst_edu,\r\n nivel: values.nivel,\r\n grado: values.grado,\r\n lista_formato: values.lista_formato,\r\n otras: values.otras,\r\n // region: values.region,\r\n // provincia: values.provincia,\r\n // distrito: values.distrito,\r\n inst_educativa: values.inst_educativa\r\n }\r\n setOpen(false);\r\n dispatch( insertVeeduriaBD( payload ) ) \r\n // if (validaPreguntas())\r\n // dispatch( insertVeeduriaBD( payload ) ) \r\n setTimeout(() => {\r\n setSubmitting(false)\r\n }, 7000);\r\n \r\n\r\n } }\r\n >\r\n {({\r\n values,\r\n errors,\r\n touched,\r\n handleChange,\r\n handleBlur,\r\n handleSubmit,\r\n isSubmitting,\r\n isValid,\r\n setFieldValue,\r\n ...props\r\n }) => (\r\n
\r\n \r\n {/* Inicio: Institucion Educativa */}\r\n { setexpandedIE( !expandedIE ) } }\r\n disabled={padre.severity !== 'success'} style={{ marginTop: \"12px\" }} >\r\n } >\r\n \r\n Datos generales\r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n Género\r\n \r\n \r\n {\r\n touched.genero\r\n ? { errors.genero }\r\n : null\r\n }\r\n \r\n
\r\n
\r\n \r\n setFieldValue( \"fecha_nacimiento\", value ) }\r\n KeyboardButtonProps={ { \"aria-label\": \"change date\" } }\r\n onBlur={ handleBlur }\r\n helperText={ touched.fecha_nacimiento ? errors.fecha_nacimiento : \"\" }\r\n error={ touched.fecha_nacimiento && Boolean( errors.fecha_nacimiento ) }\r\n />\r\n \r\n
\r\n
\r\n {\r\n if ( !target.value ) {\r\n setFieldValue( \"celular\", '' )\r\n }\r\n else {\r\n setFieldValue( \"celular\", target.value )\r\n }\r\n } }\r\n onBlur={ handleBlur }\r\n InputProps={ { inputComponent: TextNumber } }\r\n autoComplete=\"off\"\r\n />\r\n
\r\n
\r\n {\r\n // const regex = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;;\r\n // const regex = /[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,8}(.[a-z{2,8}])?/g;\r\n // if (event.target.value === '' || regex.test(event.target.value)) {\r\n // setFieldValue(\"email\", event.target.value);\r\n // }\r\n setFieldValue(\"email\", event.target.value);\r\n }}\r\n // onChange={(event) => {\r\n // // const regex = /^([a-z0-9@.\\-_ ]+)$/i;\r\n // let regEmail = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n // if(!regEmail.test(event.target.value)){\r\n // return 'Invalid Email';\r\n // }\r\n // setFieldValue(\"email\", event.target.value);\r\n // }}\r\n />\r\n
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n Tipo I.E.\r\n \r\n \r\n {\r\n touched.tipo_inst_edu\r\n ? { errors.tipo_inst_edu }\r\n : null\r\n }\r\n \r\n {\r\n values.tipo_inst_edu === '0202'\r\n ? \r\n { 'Si no encuentra su I.E. seleccione \"I.E. PRIVADA\"' }\r\n : \r\n values.tipo_inst_edu === '0203'\r\n ? { 'Si no encuentra su I.E. seleccione \"I.E. POR CONVENIO\"' }\r\n : null\r\n }\r\n { tipos_inst_edu.isLoading && }\r\n
\r\n
\r\n
\r\n \r\n \r\n Nivel\r\n \r\n \r\n {\r\n touched.nivel\r\n ? { errors.nivel }\r\n : null\r\n }\r\n \r\n
\r\n
\r\n \r\n \r\n Grado\r\n \r\n \r\n {\r\n touched.grado\r\n ? { errors.grado }\r\n : null\r\n }\r\n \r\n
\r\n
\r\n \r\n \r\n Área\r\n \r\n \r\n {\r\n touched.nacionalidad\r\n ? { errors.nacionalidad }\r\n : null\r\n }\r\n \r\n { nacionalidades.isLoading && }\r\n
\r\n\r\n \r\n {\r\n values.show_otras\r\n &&\r\n
\r\n {\r\n const regex = /^([a-zñáéíóú ]+)$/i;\r\n if (event.target.value === '' || regex.test(event.target.value)) {\r\n setFieldValue(\"otras\", event.target.value);\r\n }\r\n }}\r\n className={ classes.inputStyle }\r\n />\r\n
\r\n }\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n Región I.E\r\n \r\n \r\n {\r\n touched.region\r\n ? { errors.region }\r\n : null\r\n }\r\n \r\n { regionesMuni.isLoading && }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Provincia I.E.\r\n \r\n \r\n {\r\n touched.provincia\r\n ? { errors.provincia }\r\n : null\r\n }\r\n \r\n { provinciasMuni.isLoading && }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Distrito I.E.\r\n \r\n \r\n {\r\n touched.distrito\r\n ? { errors.distrito }\r\n : null\r\n }\r\n \r\n { distritosMuni.isLoading && }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Ugel\r\n \r\n \r\n {\r\n touched.municipalidad\r\n ? { errors.municipalidad }\r\n : null\r\n }\r\n \r\n { municipalidades.isLoading && }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n Institución Educativa\r\n \r\n \r\n {\r\n touched.inst_educativa\r\n ? { errors.inst_educativa }\r\n : null\r\n }\r\n \r\n { instituciones.isLoading && }\r\n {\r\n values.inst_educativa\r\n ? { 'DIRECCIÓN: ' + values.direccion_ie }\r\n : null\r\n }\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n {\r\n veeduria.message !== 'ok'\r\n ?\r\n \r\n {/* */}\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n : null\r\n }\r\n \r\n \r\n
\r\n {/* Fin: Institucion Educativa */}\r\n\r\n
\r\n ) }\r\n \r\n )\r\n}","import { getTiposDocumento, getTiposInstEdu, getNacionalidades } from \"../actions/parametroActions\"\r\nimport { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { listar_tipos_documento, listar_tipos_inst_edu, listar_nacionalidades } from \"../../helpers/parametroHelper\"\r\nimport { parametroTypes } from \"../../types/parametroTypes\"\r\n\r\nexport const getTiposDocumentoBD = () => {\r\n return async( dispatch ) => {\r\n try {\r\n dispatch( getTiposDocumento( [] ) )\r\n \r\n const response = await listar_tipos_documento( { PARAMETRO_PADRE_COD: '0100' } )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: parametroTypes.TIPO_DOCUMENTO_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: parametroTypes.TIPO_DOCUMENTO_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: parametroTypes.TIPO_DOCUMENTO_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n// export const getAreasBD = (parametro) => {\r\n// return async( dispatch ) => {\r\n// try {\r\n// dispatch( getNacionalidades( [] ) )\r\n// debugger;\r\n// const response = await listar_nacionalidades( { PARAMETRO_PADRE_COD: parametro } )\r\n\r\n// if ( response.Validacion !== '' ){\r\n// dispatch( { type: parametroTypes.NACIONALIDAD_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n// }\r\n// else{\r\n// dispatch( { type: parametroTypes.NACIONALIDAD_GET_COMPLETE, \r\n// payload: response.Data } );\r\n// }\r\n\r\n// } catch ( e ) {\r\n// dispatch( { type: parametroTypes.NACIONALIDAD_GET_ERROR, payload: [] } );\r\n// const err = logErrors( e )\r\n// // Mensaje( err.Message, err.Type )\r\n// Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n// }\r\n \r\n// }\r\n// }\r\n\r\nexport const getTiposInstEduBD = () => {\r\n return async( dispatch ) => {\r\n try {\r\n dispatch( getTiposInstEdu( [] ) )\r\n \r\n const response = await listar_tipos_inst_edu( { PARAMETRO_PADRE_COD: '0200' } )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: parametroTypes.TIPO_INST_EDU_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: parametroTypes.TIPO_INST_EDU_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: parametroTypes.TIPO_INST_EDU_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\nexport const getNacionalidadesBD = (parametro) => {\r\n return async( dispatch ) => {\r\n try {\r\n dispatch( getNacionalidades( [] ) )\r\n \r\n const response = await listar_nacionalidades( { PARAMETRO_PADRE_COD: parametro } )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: parametroTypes.NACIONALIDAD_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: parametroTypes.NACIONALIDAD_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: parametroTypes.NACIONALIDAD_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n","import { parametroTypes } from \"../../types/parametroTypes\"\r\n\r\nexport const getTiposDocumento = ( payload ) => ({\r\n type: parametroTypes.TIPO_DOCUMENTO_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetTiposDocumento = ( payload = [] ) => ({\r\n type: parametroTypes.TIPO_DOCUMENTO_RESET,\r\n payload\r\n})\r\n\r\nexport const getTiposInstEdu = ( payload ) => ({\r\n type: parametroTypes.TIPO_INST_EDU_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetTiposInstEdu = ( payload = [] ) => ({\r\n type: parametroTypes.TIPO_INST_EDU_RESET,\r\n payload\r\n})\r\n\r\nexport const getNacionalidades = ( payload ) => ({\r\n type: parametroTypes.NACIONALIDAD_GET_START,\r\n payload\r\n})\r\n\r\nexport const resetNacionalidades = ( payload = [] ) => ({\r\n type: parametroTypes.NACIONALIDAD_RESET,\r\n payload\r\n})\r\n","import { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { insertar_veeduria } from \"../../helpers/veeduriaHelper\"\r\nimport { veeduriaTypes } from \"../../types/veeduriaTypes\"\r\nimport { insertVeeduria } from \"../actions/veeduriaActions\"\r\nimport { ProcesoEnd, ProcesoStart } from \"../../controls/Proceso\"\r\n\r\nexport const insertVeeduriaBD = (docente) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n const padre = getState().padre\r\n\r\n dispatch( insertVeeduria() )\r\n \r\n ProcesoStart()\r\n const response = await insertar_veeduria({ padre, docente });\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: veeduriaTypes.VEEDURIA_SAVE_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: veeduriaTypes.VEEDURIA_SAVE_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n \r\n ProcesoEnd()\r\n\r\n } catch ( e ) {\r\n ProcesoEnd()\r\n const err = logErrors( e )\r\n dispatch( { type: veeduriaTypes.VEEDURIA_SAVE_ERROR, payload: { message: err.Message, severity: 'error' } } );\r\n Mensaje( err.Message, err.Type )\r\n }\r\n \r\n }\r\n}","import { veeduriaTypes } from '../../types/veeduriaTypes'\r\n\r\nexport const insertVeeduria = ( payload ) => ({\r\n type: veeduriaTypes.VEEDURIA_SAVE_START,\r\n payload\r\n})\r\n","import { getRegiones, getProvincias, getDistritos, getRegionesMuni, getProvinciasMuni, getDistritosMuni } from \"../actions/ubigeoActions\"\r\nimport { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { listar_regiones, listar_provincias, listar_distritos } from \"../../helpers/ubigeoHelper\"\r\nimport { ubigeoTypes } from \"../../types/ubigeoTypes\"\r\n\r\nexport const getRegionesBD = () => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getRegiones( [] ) )\r\n \r\n const response = await listar_regiones('1')\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.REGION_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: ubigeoTypes.REGION_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.REGION_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\nexport const getProvinciasBD = ( region ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getProvincias( [] ) )\r\n \r\n const response = await listar_provincias( region )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.PROVINCIA_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: ubigeoTypes.PROVINCIA_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.PROVINCIA_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\nexport const getDistritosBD = ( region, provincia ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getDistritos( [] ) )\r\n \r\n const response = await listar_distritos( region, provincia )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.DISTRITO_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n \r\n dispatch( { type: ubigeoTypes.DISTRITO_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.DISTRITO_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\n\r\n\r\nexport const getRegionesMuniBD = () => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getRegionesMuni( [] ) )\r\n \r\n const response = await listar_regiones('0')\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.REGION_MUNI_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: ubigeoTypes.REGION_MUNI_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.REGION_MUNI_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\nexport const getProvinciasMuniBD = ( region ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getProvinciasMuni( [] ) )\r\n \r\n const response = await listar_provincias( region )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.PROVINCIA_MUNI_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: ubigeoTypes.PROVINCIA_MUNI_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.PROVINCIA_MUNI_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\nexport const getDistritosMuniBD = ( region, provincia ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getDistritosMuni( [] ) )\r\n \r\n const response = await listar_distritos( region, provincia )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: ubigeoTypes.DISTRITO_MUNI_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n \r\n dispatch( { type: ubigeoTypes.DISTRITO_MUNI_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: ubigeoTypes.DISTRITO_MUNI_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n // Mensaje( err.Message, err.Type )\r\n Mensaje( 'Se perdió la conexión. Intente nuevamente por favor', err.Type )\r\n }\r\n \r\n }\r\n}\r\n","import { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { listar_municipalidades } from \"../../helpers/municipalidadHelper\"\r\nimport { getMunicipalidades } from \"../actions/municipalidadActions\"\r\nimport { municipalidadTypes } from \"../../types/municipalidadTypes\"\r\n\r\nexport const getMunicipalidadesBD = ( region, provincia, distrito, all='si' ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n dispatch( getMunicipalidades( [] ) )\r\n \r\n const response = await listar_municipalidades( region, provincia, distrito, all )\r\n\r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: municipalidadTypes.MUNICIPALIDAD_GET_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n dispatch( { type: municipalidadTypes.MUNICIPALIDAD_GET_COMPLETE, \r\n payload: response.Data } );\r\n }\r\n\r\n } catch ( e ) {\r\n dispatch( { type: municipalidadTypes.MUNICIPALIDAD_GET_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n Mensaje( err.Message, err.Type )\r\n }\r\n \r\n }\r\n}","export const padreTypes = {\r\n PADRE_SAVE_START: '[Padre] SAVE_START',\r\n PADRE_SAVE_COMPLETE: '[Padre] SAVE_COMPLETE',\r\n PADRE_SAVE_ERROR: '[Padre] SAVE_ERROR',\r\n PADRE_VALIDATED: '[Padre] VALIDATED',\r\n PADRE_UPDATED: '[Padre] UPDATED',\r\n}","import { padreTypes } from \"../../types/padreTypes\"\r\n\r\nexport const savePadre = ( payload ) => ({\r\n type: padreTypes.PADRE_SAVE_START,\r\n payload\r\n})\r\n\r\nexport const validCodigoVerificacion = ( payload ) => ({\r\n type: padreTypes.PADRE_VALIDATED,\r\n payload\r\n})\r\n\r\nexport const updatePadre = ( payload ) => ({\r\n type: padreTypes.PADRE_UPDATED,\r\n payload\r\n})\r\n","import { generate_token_url, valida_dni_private_url } from \"./urlBase\"\r\nimport { apiCall } from \"./apiCall\";\r\n\r\nconst generateToken = async () => {\r\n try {\r\n\r\n // const resp = await fetch( generate_token_url, {\r\n // method: 'POST',\r\n // headers: { 'Content-Type': 'application/json',\r\n // 'Access-Control-Allow-Origin': \"*\" },\r\n // body: JSON.stringify({...padre})\r\n // })\r\n const resp = await fetch( generate_token_url, {\r\n method: 'POST',\r\n headers: { 'Content-Type': 'application/json',\r\n 'Access-Control-Allow-Origin': \"*\" },\r\n body: JSON.stringify(null)\r\n })\r\n const response = await resp.json()\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('padreHelper', '36')\r\n throw response\r\n }\r\n\r\n\r\n // const request = client(null)\r\n // const resp = await request.call( 'POST', valida_dni_url, padre )\r\n\r\n // const resp = await apiCall( 'POST', valida_dni_url, padre )\r\n // const response = resp.data\r\n\r\n // if ( response.Success ) {\r\n // return response\r\n // }\r\n // else {\r\n // console.log('padreHelper', '37')\r\n // throw response\r\n // }\r\n\r\n } catch ( e ) {\r\n throw e\r\n }\r\n}\r\n\r\n\r\nconst validaDNI = async ( padre ) => {\r\n\r\n try {\r\n const resp = await apiCall( 'POST', valida_dni_private_url, padre )\r\n const response = resp.data\r\n\r\n if ( response.Success ) {\r\n return response\r\n }\r\n else {\r\n console.log('padreHelper', '41')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log('padreHelper', e)\r\n console.log('padreHelper', '47')\r\n throw e\r\n }\r\n}\r\n\r\n// const validaDNI = async ( padre ) => {\r\n\r\n// try {\r\n// const resp = await fetch( valida_dni_url, {\r\n// method: 'POST',\r\n// headers: { 'Content-Type': 'application/json',\r\n// 'Access-Control-Allow-Origin': \"*\" },\r\n// body: JSON.stringify({...padre})\r\n// })\r\n// const response = await resp.json()\r\n\r\n// if ( response.Success ) {\r\n// return response\r\n// }\r\n// else {\r\n// console.log('padreHelper', '36')\r\n// throw response\r\n// }\r\n\r\n\r\n\r\n// } catch ( e ) {\r\n// console.log('padreHelper', '47')\r\n// throw e\r\n// }\r\n// }\r\n\r\n\r\n\r\n\r\nexport {\r\n generateToken,\r\n validaDNI\r\n}","import { AccordionActions, makeStyles, AccordionSummary, TextField } from \"@material-ui/core\";\r\nimport { withStyles } from '@material-ui/core/styles'\r\nimport '../../styles/fonts.css'\r\n\r\nexport const useStyles = makeStyles((theme) => ({\r\n form: {\r\n width: '100%',\r\n marginBottom: 0,\r\n },\r\n icon: {\r\n color: \"#ffffff\",\r\n },\r\n iconExpander: {\r\n color: \"#000\",\r\n },\r\n detalle: {\r\n padding: \"25px 10px 20px\",\r\n },\r\n wrapper: {\r\n position: 'relative',\r\n },\r\n captchaProgress: {\r\n color: theme.palette.secondary.main,\r\n position: 'absolute',\r\n top: '50%',\r\n left: '30%',\r\n },\r\n popover: {\r\n pointerEvents: 'none',\r\n },\r\n paper: {\r\n padding: theme.spacing(1),\r\n },\r\n textDisabled: {\r\n color: theme.palette.primary.main,\r\n fontWeight: 'bold',\r\n },\r\n fieldProgress: {\r\n color: theme.palette.secondary.primary,\r\n position: 'absolute',\r\n top: '50%',\r\n left: '80%',\r\n marginTop: -6,\r\n marginLeft: -12,\r\n },\r\n autocompleteProgress: {\r\n color: theme.palette.secondary.main,\r\n position: 'absolute',\r\n top: '50%',\r\n left: '50%',\r\n marginTop: -6,\r\n marginLeft: -12,\r\n },\r\n\r\n inputStyle: {\r\n \"& .MuiOutlinedInput-adornedEnd\" :{\r\n paddingRight: '0px'\r\n },\r\n \"& .MuiInput-underline:after\" :{\r\n borderBottom: '2px solid #4285f4 !important',\r\n },\r\n '& label.Mui-focused': {\r\n color: '#4285f4',\r\n },\r\n },\r\n\r\n selectStyle: {\r\n \"& .MuiInput-underline:after\" :{\r\n borderBottom: '2px solid #4285f4 !important',\r\n },\r\n '& label.Mui-focused': {\r\n color: '#4285f4',\r\n },\r\n },\r\n\r\n buttonStyle : {\r\n \"& button\": {\r\n color: '#fff',\r\n backgroundColor: '#0000ff',\r\n },\r\n ':hover': {\r\n backgroundColor: '#4285f4',\r\n },\r\n\r\n \"& .MuiButton-root.MuiButton-containedPrimary\" : {\r\n backgroundColor: '#4285f4',\r\n },\r\n \r\n \"& .MuiButton-containedPrimary:hover\" : {\r\n backgroundColor: '#4285f4',\r\n }\r\n }\r\n \r\n}));\r\n\r\nexport const StyledAccordionSummary = withStyles({\r\n root: {\r\n backgroundColor: \"#ddd\",\r\n borderBottom: \"1px solid #A8A8A8\",\r\n marginBottom: -1,\r\n minHeight: 30,\r\n fontSize: 15,\r\n fontWeight: 500,\r\n color: \"#000000\",\r\n\r\n '&$expanded': {\r\n minHeight: 30,\r\n },\r\n },\r\n content: {\r\n '&$expanded': {\r\n margin: '0px 0',\r\n },\r\n },\r\n expanded: {},\r\n})(AccordionSummary);\r\n\r\nexport const StyledAccordionActions = withStyles({\r\n root: {\r\n padding: '8px 25px',\r\n },\r\n})(AccordionActions);\r\n\r\n\r\nexport const StyledTextField = withStyles({\r\n root: {\r\n \"& .MuiInputBase-root.Mui-disabled\": {\r\n color: \"rgba(0, 0, 0, 0.87)\"\r\n }\r\n }\r\n})(TextField);","import * as Yup from 'yup'\r\nimport * as moment from 'moment';\r\nimport 'moment/locale/es';\r\n\r\nconst localTime = moment().format('YYYY-MM-DD');\r\nconst today = localTime + \"T00:00:00\";\r\n\r\nconst ProfileSchema = Yup.object().shape( {\r\n tipo_doc_padre: Yup.string()\r\n .required('Requerido'),\r\n dni: Yup.string()\r\n .when(\"tipo_doc_padre\", {\r\n is: (tipo_doc_padre => {\r\n return ( tipo_doc_padre === '0101' ) ? true : false;\r\n }),\r\n then: Yup.string().required('Requerido')\r\n .min(8, 'Debe tener 8 dígitos')\r\n .max(8, 'Debe tener 8 dígitos'),\r\n })\r\n .when(\"tipo_doc_padre\", {\r\n is: (tipo_doc_padre => {\r\n return ( tipo_doc_padre === '0102' || tipo_doc_padre === '0103' || tipo_doc_padre === '0104' ) ? true : false;\r\n }),\r\n then: Yup.string().required('Requerido')\r\n .min(12, 'Debe tener 12 caracteres')\r\n .max(12, 'Debe tener 12 caracteres'),\r\n })\r\n .when(\"tipo_doc_padre\", {\r\n is: (tipo_doc_padre => {\r\n return ( tipo_doc_padre === '0105' ) ? true : false;\r\n }),\r\n then: Yup.string().required('Requerido')\r\n .min(11, 'Debe tener 11 dígitos')\r\n .max(11, 'Debe tener 11 dígitos'),\r\n }),\r\n nombre: Yup.string()\r\n .required('Requerido')\r\n .trim('Requerido'),\r\n apellido_paterno: Yup.string()\r\n .required('Requerido')\r\n .trim('Requerido'),\r\n apellido_materno: Yup.string()\r\n .required('Requerido')\r\n .trim('Requerido'),\r\n fecha_emision: Yup.date()\r\n .when(\"tipo_doc_padre\", {\r\n is: (tipo_doc_padre => {\r\n return ( tipo_doc_padre === '0101' ) ? true : false;\r\n }),\r\n then: Yup.date().required(\"Requerido\")\r\n .max(today, \"No puede ser mayor a hoy\")\r\n .typeError('Fecha incorrecta'),\r\n })\r\n .nullable(),\r\n codigo_verificacion: Yup.string()\r\n .required('Requerido')\r\n .min(4, 'Debe tener 4 caracteres')\r\n .max(4, 'Debe tener 4 caracteres'),\r\n celular: Yup.string()\r\n .min(9, 'Debe tener 9 dígitos')\r\n .max(9, 'Debe tener 9 dígitos')\r\n} )\r\n\r\nexport default ProfileSchema","export const captchaTypes = {\r\n CAPTCHA_GET_START: '[Captcha] GET_START',\r\n CAPTCHA_GET_COMPLETE: '[Captcha] GET_COMPLETE',\r\n CAPTCHA_GET_ERROR: '[Captcha] GET_ERROR',\r\n}","import { genera_captcha_url } from \"./urlBase\"\r\n// import { client } from \"./apiCall\";\r\n\r\nconst generaCaptcha = async () => {\r\n\r\n try {\r\n // const request = client(null)\r\n // const resp = await request.call('GET', genera_captcha_url, null)\r\n\r\n // //const resp = await apiCall( 'GET', genera_captcha_url, null )\r\n // const response = resp.data\r\n\r\n\r\n const resp = await fetch( genera_captcha_url, {\r\n method: 'GET',\r\n headers: { 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',\r\n 'Access-Control-Allow-Origin': \"*\" }\r\n })\r\n const response = await resp.json()\r\n\r\n if ( response.Success ) {\r\n return response.Data\r\n }\r\n else {\r\n console.log('captchaHelper', '14')\r\n throw response\r\n }\r\n\r\n } catch ( e ) {\r\n console.log(e)\r\n console.log('captchaHelper', '20')\r\n throw e\r\n }\r\n}\r\n\r\nexport {\r\n generaCaptcha\r\n}","import { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors } from \"../../logErrors\"\r\nimport { getCaptcha } from \"../actions/captchaActions\"\r\nimport { captchaTypes } from \"../../types/captchaTypes\"\r\nimport { generaCaptcha } from \"../../helpers/captchaHelper\"\r\n\r\nexport const getCaptchaSR = ( captcha ) => {\r\n return async( dispatch ) => {\r\n try {\r\n // ProcesoStart()\r\n dispatch( getCaptcha( captcha ) )\r\n \r\n const img = await generaCaptcha()\r\n\r\n dispatch( { type: captchaTypes.CAPTCHA_GET_COMPLETE, payload: img } );\r\n } catch ( e ) {\r\n dispatch( { type: captchaTypes.CAPTCHA_GET_ERROR, payload: {} } );\r\n const err = logErrors( e )\r\n Mensaje( err.Message, err.Type )\r\n }\r\n \r\n }\r\n}","import { captchaTypes } from \"../../types/captchaTypes\"\r\n\r\nexport const getCaptcha = ( payload ) => ({\r\n type: captchaTypes.CAPTCHA_GET_START,\r\n payload\r\n})\r\n","import React, { useState, useEffect, useRef } from 'react'\r\nimport { TextField,\r\n Accordion,\r\n AccordionDetails,\r\n Button,\r\n Typography,\r\n CircularProgress,\r\n Tooltip,\r\n InputAdornment,\r\n IconButton,\r\n FormControl,\r\n InputLabel,\r\n Select,\r\n MenuItem,\r\n FormHelperText,\r\n Divider,\r\n} from '@material-ui/core'\r\nimport {\r\n KeyboardDatePicker,\r\n MuiPickersUtilsProvider,\r\n} from '@material-ui/pickers'\r\nimport SearchIcon from '@material-ui/icons/Search'\r\nimport TextRotationNoneSharpIcon from '@material-ui/icons/TextRotationNoneSharp'\r\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore'\r\nimport DateFnsUtils from '@date-io/date-fns'\r\nimport esLocale from \"date-fns/locale/es\"\r\nimport 'date-fns'\r\nimport { useDispatch, useSelector } from 'react-redux'\r\nimport { generate_Token, savePadreBD } from '../../redux/thunk/padreThunk'\r\nimport { Alerta } from '../../controls/Alerta'\r\nimport { Mensaje } from '../../controls/Mensaje'\r\nimport { TextNumber } from '../../controls/TextNumber'\r\nimport { useStyles, StyledAccordionSummary, StyledTextField } from './RegistroPadreStyle'\r\nimport { Formik, useField, useFormikContext } from 'formik'\r\nimport ProfileSchema from './registroPadreProfile'\r\nimport { getCaptchaSR } from '../../redux/thunk/captchaThunk'\r\nimport { validCodigoVerificacion, updatePadre } from '../../redux/actions/padreActions'\r\nimport { getTiposDocumentoBD } from '../../redux/thunk/parametroThunk'\r\n\r\nimport { StyledAccordionActions } from './../estudiante/RegistroEstudianteStyle'\r\nimport * as moment from 'moment';\r\nimport 'moment/locale/es';\r\n\r\nexport const RegistroPadreScreen = ( ) => {\r\n const classes = useStyles();\r\n \r\n const dispatch = useDispatch()\r\n const padre = useSelector( state => state.padre )\r\n const estudiante = useSelector( state => state.estudiante )\r\n const captcha = useSelector( state => state.captcha )\r\n const tipos_documento = useSelector( state => state.tipos_documento )\r\n\r\n const [alert, setAlert] = useState({\r\n open: false,\r\n vertical: 'top',\r\n horizontal: 'center',\r\n message: '',\r\n severity: 'success'\r\n });\r\n\r\n const [isLooked, setIsLooked] = useState(false)\r\n const [expanded, setexpanded] = useState(true)\r\n\r\n useEffect(() => {\r\n if (!isLooked) {\r\n setIsLooked( true )\r\n dispatch( generate_Token() ) \r\n dispatch( getCaptchaSR() )\r\n dispatch( getTiposDocumentoBD() )\r\n }\r\n }, [ isLooked, dispatch ])\r\n\r\n const handleCloseAlert = () => {\r\n setAlert({ ...alert, open: false });\r\n };\r\n\r\n const messageActive = useRef( padre.message )\r\n\r\n useEffect(() => {\r\n\r\n if ( padre.message !== '' && padre.severity === 'error' && !captcha.isLoading )\r\n {\r\n Mensaje(`\r\n ${\r\n padre.message\r\n }\r\n
\r\n `, '¡Validación!', 'error')\r\n\r\n dispatch( getCaptchaSR() )\r\n dispatch( validCodigoVerificacion( { message: '' } ) )\r\n messageActive.current = padre.message\r\n }\r\n if ( padre.message !== messageActive.current && padre.severity === 'success' )\r\n {\r\n setAlert({ ...alert, open: true, message: padre.message, severity: padre.severity });\r\n messageActive.current = padre.message\r\n }\r\n\r\n }, [ padre, alert, dispatch, captcha ])\r\n\r\n\r\n const MyField = props => {\r\n const {\r\n setFieldValue,\r\n } = useFormikContext();\r\n const [field, meta] = useField(props);\r\n \r\n useEffect(() => {\r\n let isCurrent = true;\r\n\r\n\r\n\r\n if ( padre.codigo_verificacion.toLowerCase() !== captcha.codigo.toLowerCase()\r\n && !padre.isLoading ) {\r\n if (!!isCurrent) {\r\n setFieldValue(props.name, '');\r\n setFieldValue('codigo_verificacion', '');\r\n }\r\n }\r\n else if ( padre.nombre_completo !== '' && !padre.isLoading ) {\r\n if (!!isCurrent) {\r\n setFieldValue(props.name, padre.nombre_completo);\r\n estudiante.genero = padre.genero;\r\n padre.fecha_nacimiento = moment(padre.str_fecha_nacimiento).format('YYYY-MM-DD') + \"T00:00:00\";\r\n estudiante.fecha_nacimiento = moment(padre.str_fecha_nacimiento).format('YYYY-MM-DD') + \"T00:00:00\";\r\n estudiante.tipo_doc_hijo = padre.tipo_doc_padre;\r\n if (padre.celular)\r\n {\r\n setFieldValue('celular', padre.celular);\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n\r\n // SEGURIDAD\r\n // if ( padre.nombre_completo !== '' && !padre.isLoading ) {\r\n // if (!!isCurrent) {\r\n // setFieldValue(props.name, padre.nombre_completo);\r\n // estudiante.genero = padre.genero;\r\n // padre.fecha_nacimiento = moment(padre.str_fecha_nacimiento).format('YYYY-MM-DD') + \"T00:00:00\";\r\n // estudiante.fecha_nacimiento = moment(padre.str_fecha_nacimiento).format('YYYY-MM-DD') + \"T00:00:00\";\r\n // estudiante.tipo_doc_hijo = padre.tipo_doc_padre;\r\n // if (padre.celular)\r\n // {\r\n // setFieldValue('celular', padre.celular);\r\n // }\r\n // }\r\n // }\r\n\r\n\r\n\r\n\r\n return () => {\r\n isCurrent = false;\r\n };\r\n }, [ setFieldValue, props.name ]);\r\n \r\n return (\r\n <>\r\n \r\n {!!meta.touched && !!meta.error &&
{meta.error}
}\r\n \r\n );\r\n };\r\n\r\n\r\n const MyPhone = props => {\r\n const {\r\n setFieldValue,\r\n } = useFormikContext();\r\n const [field, meta, handleBlur, value] = useField(props);\r\n \r\n useEffect(() => {\r\n console.log(value)\r\n let isCurrent = true;\r\n if ( padre.nombre_completo !== '' && !padre.isLoading ) {\r\n if (!!isCurrent) {\r\n if (padre.celular)\r\n {\r\n setFieldValue('celular', padre.celular);\r\n }\r\n }\r\n }\r\n\r\n return () => {\r\n isCurrent = false;\r\n };\r\n }, [ setFieldValue, props.name ]);\r\n \r\n return (\r\n <>\r\n \r\n {!!meta.touched && !!meta.error &&
{meta.error}
}\r\n \r\n );\r\n };\r\n\r\n\r\n return (\r\n {\r\n const payload = {\r\n tipo_doc_padre: values.tipo_doc_padre, \r\n dni: values.dni, \r\n nombre: values.nombre, \r\n apellido_paterno: values.apellido_paterno, \r\n apellido_materno: values.apellido_materno,\r\n fecha_emision: values.fecha_emision, \r\n codigo_verificacion: values.codigo_verificacion, \r\n celular: values.celular \r\n }\r\n dispatch( savePadreBD( payload ) );\r\n setTimeout(() => {\r\n setSubmitting(false)\r\n }, 5000);\r\n } }\r\n >\r\n {({\r\n values,\r\n errors,\r\n touched,\r\n handleChange,\r\n handleBlur,\r\n handleSubmit,\r\n isSubmitting,\r\n isValid,\r\n setFieldValue\r\n }) => (\r\n \r\n
\r\n { setexpanded( !expanded ) } }>\r\n } >\r\n \r\n Validación de datos\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n Tipo documento\r\n \r\n \r\n {\r\n touched.tipo_doc_padre\r\n ? { errors.tipo_doc_padre }\r\n : null\r\n }\r\n \r\n { tipos_documento.isLoading && }\r\n
\r\n
\r\n
\r\n {\r\n (values.tipo_doc_padre === '0101' || (values.tipo_doc_padre === '0105' && values.tipo_doc_padre !== ''))\r\n &&\r\n 0 || padre.isValidated }\r\n />\r\n }\r\n {\r\n values.tipo_doc_padre !== '0101' && values.tipo_doc_padre !== '0105' && values.tipo_doc_padre !== ''\r\n &&\r\n {\r\n const regex = /^([a-z0-9]+)$/i;\r\n if (event.target.value === '' || regex.test(event.target.value)) {\r\n setFieldValue(\"dni\", event.target.value);\r\n }\r\n }}\r\n\r\n />\r\n }\r\n
\r\n\r\n\r\n {\r\n values.tipo_doc_padre === '0101'\r\n &&\r\n
\r\n 0 } >\r\n 0 }\r\n fullWidth\r\n size=\"small\"\r\n name=\"fecha_emision\"\r\n value={ values.fecha_emision }\r\n onChange={ value => setFieldValue( \"fecha_emision\", value ) }\r\n KeyboardButtonProps={ { \"aria-label\": \"change date\" } }\r\n onBlur={ handleBlur }\r\n helperText={ touched.fecha_emision ? errors.fecha_emision : \"\" }\r\n error={ touched.fecha_emision && Boolean( errors.fecha_emision ) }\r\n />\r\n \r\n
\r\n }\r\n {\r\n values.tipo_doc_padre !== '0101' && values.tipo_doc_padre !== ''\r\n &&\r\n
\r\n {\r\n const regex = /^([a-zñáéíóú ]+)$/i;\r\n if (event.target.value === '' || regex.test(event.target.value)) {\r\n setFieldValue(\"nombre\", event.target.value);\r\n }\r\n }}\r\n className={ classes.inputStyle } //agregado\r\n />\r\n
\r\n }\r\n {\r\n values.tipo_doc_padre !== '0101' && values.tipo_doc_padre !== ''\r\n &&\r\n <>\r\n
\r\n {\r\n const regex = /^([a-zñáéíóú ]+)$/i;\r\n if (event.target.value === '' || regex.test(event.target.value)) {\r\n setFieldValue(\"apellido_paterno\", event.target.value);\r\n }\r\n }}\r\n className={ classes.inputStyle }\r\n />\r\n
\r\n
\r\n {\r\n const regex = /^([a-zñáéíóú ]+)$/i;\r\n if (event.target.value === '' || regex.test(event.target.value)) {\r\n setFieldValue(\"apellido_materno\", event.target.value);\r\n }\r\n }}\r\n className={ classes.inputStyle }\r\n />\r\n
\r\n \r\n }\r\n {\r\n padre.nombre_completo?.length === 0\r\n ?\r\n <>\r\n
\r\n {\r\n values.tipo_doc_padre !== ''\r\n &&\r\n 0 }\r\n helperText={ touched.codigo_verificacion ? errors.codigo_verificacion : \"\" }\r\n error={ touched.codigo_verificacion && Boolean( errors.codigo_verificacion ) }\r\n autoComplete=\"off\"\r\n className={ classes.inputStyle } //agregado\r\n />\r\n }\r\n
\r\n
\r\n {\r\n values.tipo_doc_padre !== ''\r\n &&\r\n
\r\n {\r\n ( captcha.imagen )\r\n ? \"captcha\"\r\n : \r\n }\r\n
\r\n }\r\n
\r\n
\r\n {\r\n values.tipo_doc_padre !== ''\r\n &&\r\n \r\n }\r\n
\r\n \r\n :\r\n <>\r\n {\r\n values.tipo_doc_padre === '0101'\r\n &&\r\n
\r\n \r\n
\r\n }\r\n \r\n }\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Datos utilizados únicamente por el programa de Inscripción de Docentes\r\n \r\n \r\n
\r\n\r\n
\r\n ) }\r\n \r\n )\r\n}\r\n","import { padreTypes } from \"../../types/padreTypes\"\r\nimport { estudianteTypes } from \"../../types/estudianteTypes\"\r\nimport { savePadre, validCodigoVerificacion } from \"../actions/padreActions\"\r\nimport { ProcesoStart, ProcesoEnd } from \"../../controls/Proceso\"\r\nimport { generateToken, validaDNI } from \"../../helpers/padreHelper\"\r\nimport { Mensaje } from \"../../controls/Mensaje\"\r\nimport { logErrors, MessagesError } from \"../../logErrors\"\r\n\r\n\r\nexport const generate_Token = () => {\r\n return async() => {\r\n try {\r\n const response = await generateToken()\r\n\r\n if ( response.Success ) {\r\n localStorage.setItem('token', response.Data);\r\n }\r\n\r\n } catch ( e ) {\r\n const err = logErrors( e )\r\n Mensaje( err.Message, err.Type )\r\n }\r\n \r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nexport const savePadreBD = ( padre ) => {\r\n return async( dispatch, getState ) => {\r\n try {\r\n\r\n const { dni } = getState().padre\r\n\r\n if ( dni !== padre.dni )\r\n {\r\n // INICIO: Con captcha\r\n const { codigo } = getState().captcha\r\n\r\n if ( padre.codigo_verificacion.toLowerCase() !== codigo.toLowerCase() )\r\n {\r\n dispatch( validCodigoVerificacion( { message: MessagesError.codigo_verificacion, severity: 'error' } ) )\r\n }\r\n else{\r\n ProcesoStart()\r\n dispatch( savePadre( padre ) )\r\n \r\n const response = await validaDNI( padre )\r\n \r\n if ( response.Validacion !== '' ){\r\n dispatch( { type: padreTypes.PADRE_SAVE_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n }\r\n else{\r\n localStorage.removeItem('token');\r\n localStorage.setItem('token', response.Data.token);\r\n dispatch( { type: padreTypes.PADRE_SAVE_COMPLETE, \r\n payload: { ...response.Data, message: 'Se validó con éxito', severity: 'success' } } );\r\n dispatch( { type: estudianteTypes.ESTUDIANTE_SAVE_RENIEC, \r\n payload: { ...response.Data } } );\r\n }\r\n \r\n ProcesoEnd()\r\n }\r\n // FIN: Con captcha\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n // SEGURIDAD\r\n // const { codigo } = getState().captcha\r\n // padre.codigo_captcha = codigo;\r\n\r\n // ProcesoStart()\r\n // dispatch( savePadre( padre ) )\r\n \r\n // const response = await validaDNI( padre )\r\n\r\n // if ( response.Validacion !== '' ){\r\n // dispatch( { type: padreTypes.PADRE_SAVE_ERROR, payload: { message: response.Validacion, severity: 'error' } } );\r\n // }\r\n // else{\r\n // localStorage.removeItem('token');\r\n // localStorage.setItem('token', response.Data.token);\r\n // dispatch( { type: padreTypes.PADRE_SAVE_COMPLETE, \r\n // payload: { ...response.Data, message: 'Se validó con éxito', severity: 'success' } } );\r\n // dispatch( { type: estudianteTypes.ESTUDIANTE_SAVE_RENIEC, \r\n // payload: { ...response.Data } } );\r\n // }\r\n\r\n // ProcesoEnd()\r\n\r\n\r\n\r\n }\r\n } catch ( e ) {\r\n\r\n ProcesoEnd()\r\n dispatch( { type: padreTypes.PADRE_SAVE_ERROR, payload: [] } );\r\n const err = logErrors( e )\r\n Mensaje( err.Message, err.Type )\r\n \r\n }\r\n \r\n }\r\n}","import React from 'react'\r\nimport { ThemeProvider, createMuiTheme } from '@material-ui/core/styles';\r\nimport { RegistroEstudianteScreen } from './components/estudiante/RegistroEstudianteScreen';\r\nimport { RegistroPadreScreen } from './components/padre/RegistroPadreScreen';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport { useSelector } from 'react-redux';\r\nimport './styles/main.scss';\r\n\r\nconst theme = createMuiTheme({\r\n typography: {\r\n fontFamily: [\r\n 'HelveticaNeueLT Std Cn'\r\n ],\r\n },});\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n \"& .MuiCardHeader-avatar\": {\r\n marginRight: '0px'\r\n }\r\n },\r\n avatar: {\r\n backgroundColor: theme.palette.primary.main,\r\n },\r\n headerTitle: {\r\n fontSize: '16px !important',\r\n fontWeight: 'bold !important',\r\n },\r\n}));\r\n\r\nexport const App = () => {\r\n const classes = useStyles();\r\n const padre = useSelector( state => state.padre )\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n \r\n {\r\n (padre.nombre_completo?.length > 0 || padre.isValidated)\r\n ?\r\n \r\n :\r\n null\r\n }\r\n
\r\n
\r\n
\r\n \r\n )\r\n}","import { date } from \"yup\";\r\n\r\nexport const padreState = {\r\n id: '',\r\n tipo_doc_padre: '',\r\n dni: '',\r\n nombre: '',\r\n apellido_paterno: '',\r\n apellido_materno: '',\r\n nombre_completo: '',\r\n celular: '',\r\n existe: false,\r\n fecha_emision: null,\r\n codigo_verificacion: '',\r\n // codigo_captcha: '', SEGURIDAD\r\n isLoading: false,\r\n isValidated: false,\r\n message: '',\r\n severity: '',\r\n token: '',\r\n genero: '',\r\n fecha_nacimiento: null,\r\n str_fecha_nacimiento: ''\r\n}","export const captchaState = {\r\n imagen: '',\r\n codigo: '',\r\n isLoading: false,\r\n}","export const ubigeoState = {\r\n listado: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n}","export const institucionState = {\r\n listado: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n}","export const estudianteState = {\r\n id: '',\r\n tipo_inst_edu: '',\r\n nivel: '',\r\n region: '',\r\n provincia: '',\r\n distrito: '',\r\n inst_educativa: '',\r\n\r\n tipo_doc_hijo: '',\r\n nacionalidad: [],\r\n dni: '',\r\n nombre: '',\r\n apellido_paterno: '',\r\n apellido_materno: '',\r\n genero: '',\r\n grado: [],\r\n seccion: '',\r\n email: '',\r\n beneficiario: false,\r\n fecha_nacimiento: null,\r\n celular: '',\r\n \r\n formato: '',\r\n lista_formato: [],\r\n\r\n region_muni: '',\r\n provincia_muni: '',\r\n distrito_muni: '',\r\n municipalidad: '',\r\n otras: '',\r\n referencia_muni: '',\r\n existe_observacion: false,\r\n\r\n isLoading: false,\r\n isValidated: false,\r\n message: '',\r\n severity: '',\r\n}","export const preguntaTypes = {\r\n PREGUNTA_GET_START: '[Pregunta] GET_START',\r\n PREGUNTA_GET_COMPLETE: '[Pregunta] GET_COMPLETE',\r\n PREGUNTA_GET_ERROR: '[Pregunta] GET_ERROR',\r\n PREGUNTA_SET_COMPLETE: '[Pregunta] SET_COMPLETE',\r\n PREGUNTA_SET_HABILITADO: '[Pregunta] SET_HABILITADO',\r\n PREGUNTA_SET_UPLOAD: '[Pregunta] SET_UPLOAD'\r\n}","export const preguntaState = {\r\n grupos: [],\r\n preguntas: [],\r\n respuestas: [],\r\n dependencias: [],\r\n excluyentes: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n isComplete: false,\r\n existe_observacion: false\r\n}","export const veeduriaState = {\r\n padre: {},\r\n estudiante: {},\r\n preguntas: [],\r\n isLoading: false,\r\n message: '',\r\n severity: ''\r\n}","export const formatoState = {\r\n listado: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n}","export const municipalidadState = {\r\n listado: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n}","export const parametroState = {\r\n listado: [],\r\n isLoading: false,\r\n message: '',\r\n severity: '',\r\n}","export const coordenadaState = {\r\n ubicacion_ie: { \"lat\": 0, \"lng\": 0 } ,\r\n ubicacion_user: { \"lat\": 0, \"lng\": 0 }\r\n}","export const coordenadaTypes = {\r\n SET_COORDENADA: '[Coordenada] SET_COORDENADA',\r\n}","import { createStore, combineReducers, applyMiddleware, compose } from \"redux\";\r\nimport { padreReducer } from \"../reducers/padreReducer\";\r\nimport thunk from \"redux-thunk\";\r\nimport { captchaReducer } from \"../reducers/captchaReducer\";\r\nimport { regionReducer, provinciaReducer, distritoReducer,\r\n regionMuniReducer, provinciaMuniReducer, distritoMuniReducer } from \"../reducers/ubigeoReducer\";\r\nimport { institucionReducer } from \"../reducers/instEducativaReducer\";\r\nimport { estudianteReducer } from \"../reducers/estudianteReducer\";\r\nimport { preguntaReducer } from \"../reducers/preguntaReducer\";\r\nimport { veeduriaReducer } from \"../reducers/veeduriaReducer\";\r\nimport { formatoReducer } from \"../reducers/formatoReducer\";\r\nimport { municipalidadReducer } from \"../reducers/municipalidadReducer\";\r\nimport { tipoDocumentoReducer, tipoInstEduReducer, nacionalidadReducer } from \"../reducers/parametroReducer\";\r\nimport { coordenadasReducer } from \"../reducers/coordenadasReducer\";\r\n\r\nconst composeEnhancers = (typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) || compose\r\n\r\nconst reducers = combineReducers( {\r\n padre: padreReducer,\r\n captcha: captchaReducer,\r\n regiones: regionReducer,\r\n provincias: provinciaReducer,\r\n distritos: distritoReducer,\r\n instituciones: institucionReducer,\r\n estudiante: estudianteReducer,\r\n pregunta: preguntaReducer,\r\n veeduria: veeduriaReducer,\r\n formatos: formatoReducer,\r\n tipos_documento: tipoDocumentoReducer,\r\n tipos_inst_edu: tipoInstEduReducer,\r\n nacionalidades: nacionalidadReducer,\r\n regionesMuni: regionMuniReducer,\r\n provinciasMuni: provinciaMuniReducer,\r\n distritosMuni: distritoMuniReducer,\r\n municipalidades: municipalidadReducer,\r\n coordenadas: coordenadasReducer,\r\n} );\r\n\r\nexport const store = createStore(\r\n reducers,\r\n composeEnhancers( applyMiddleware( thunk ) )\r\n)","import { padreTypes } from \"../../types/padreTypes\";\r\nimport { padreState } from \"../../states/padreState\";\r\n\r\nexport const padreReducer = ( state = padreState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase padreTypes.PADRE_SAVE_START:\r\n return { ...state, isLoading: true };\r\n\r\n\t\tcase padreTypes.PADRE_SAVE_COMPLETE:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case padreTypes.PADRE_SAVE_ERROR:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case padreTypes.PADRE_VALIDATED:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case padreTypes.PADRE_UPDATED:\r\n return { ...state, isLoading: false, ...action.payload };\r\n \r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { captchaState } from \"../../states/captchaState\";\r\nimport { captchaTypes } from \"../../types/captchaTypes\";\r\n\r\nexport const captchaReducer = ( state = captchaState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase captchaTypes.CAPTCHA_GET_START:\r\n return { ...state, isLoading: true };\r\n\r\n\t\tcase captchaTypes.CAPTCHA_GET_COMPLETE:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case captchaTypes.CAPTCHA_GET_ERROR:\r\n return { ...state, isLoading: false };\r\n \r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { ubigeoTypes } from \"../../types/ubigeoTypes\";\r\nimport { ubigeoState } from \"../../states/ubigeoState\";\r\n\r\nexport const regionReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.REGION_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.REGION_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.REGION_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.REGION_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const provinciaReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.PROVINCIA_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.PROVINCIA_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.PROVINCIA_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.PROVINCIA_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const distritoReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.DISTRITO_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.DISTRITO_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.DISTRITO_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.DISTRITO_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\nexport const regionMuniReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.REGION_MUNI_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.REGION_MUNI_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.REGION_MUNI_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.REGION_MUNI_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const provinciaMuniReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.PROVINCIA_MUNI_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.PROVINCIA_MUNI_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.PROVINCIA_MUNI_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.PROVINCIA_MUNI_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const distritoMuniReducer = ( state = ubigeoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase ubigeoTypes.DISTRITO_MUNI_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase ubigeoTypes.DISTRITO_MUNI_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase ubigeoTypes.DISTRITO_MUNI_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case ubigeoTypes.DISTRITO_MUNI_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\n","import { institucionTypes } from \"../../types/instEducativaTypes\";\r\nimport { institucionState } from \"../../states/instEducativaState\";\r\n\r\nexport const institucionReducer = ( state = institucionState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase institucionTypes.INSTITUCION_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase institucionTypes.INSTITUCION_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase institucionTypes.INSTITUCION_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case institucionTypes.INSTITUCION_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { estudianteState } from \"../../states/estudianteState\";\r\nimport { estudianteTypes } from \"../../types/estudianteTypes\";\r\nimport * as moment from 'moment';\r\nimport 'moment/locale/es';\r\n\r\nexport const estudianteReducer = ( state = estudianteState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase estudianteTypes.ESTUDIANTE_SAVE_START:\r\n return { ...state, isLoading: true, message: '' };\r\n\r\n\t\tcase estudianteTypes.ESTUDIANTE_SAVE_COMPLETE:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case estudianteTypes.ESTUDIANTE_SAVE_ERROR:\r\n return { ...state, isLoading: false, ...action.payload };\r\n\r\n case estudianteTypes.ESTUDIANTE_VALIDATED:\r\n return { ...state, isLoading: false, ...action.payload };\r\n \r\n\t\tcase estudianteTypes.ESTUDIANTE_SET_OBSERVACION:\r\n return { ...state, ...action.payload };\r\n\r\n case estudianteTypes.ESTUDIANTE_GET_FORMATOS:\r\n return { ...state, lista_formato: action.payload };\r\n\r\n \r\n\t\tcase estudianteTypes.ESTUDIANTE_SAVE_RENIEC:\r\n return { ...state, tipo_doc_hijo: action.payload.tipo_doc_padre, genero: action.payload.genero, fecha_nacimiento: moment(action.payload.str_fecha_nacimiento).format('YYYY-MM-DD') + \"T00:00:00\" };\r\n\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { preguntaTypes } from \"../../types/preguntaTypes\";\r\nimport { preguntaState } from \"../../states/preguntaState\";\r\n\r\nexport const preguntaReducer = ( state = preguntaState, action ) => {\r\n switch ( action.type ) {\r\n\r\n\t\tcase preguntaTypes.PREGUNTA_GET_START:\r\n return { ...state, isLoading: true };\r\n\r\n\t\tcase preguntaTypes.PREGUNTA_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', ...action.payload };\r\n \r\n\t\tcase preguntaTypes.PREGUNTA_SET_COMPLETE:\r\n return { ...state, ...action.payload };\r\n\r\n case preguntaTypes.PREGUNTA_SET_HABILITADO:\r\n return {\r\n ...state,\r\n preguntas: state.preguntas.map(\r\n preg => preg.ID === action.payload.ID\r\n ? { ...preg , HABILITADO: action.payload.HABILITADO }\r\n : preg\r\n )\r\n }\r\n\r\n case preguntaTypes.PREGUNTA_SET_UPLOAD:\r\n return {\r\n ...state,\r\n preguntas: state.preguntas.map(\r\n preg => preg.ID === action.payload.ID\r\n ? { ...preg , \r\n UPLOAD: action.payload.UPLOAD, \r\n CANTIDAD_ARCHIVO: action.payload.CANTIDAD_ARCHIVO, \r\n FORMATO_ARCHIVO: action.payload.FORMATO_ARCHIVO, \r\n OBLIGATORIO_ARCHIVO: action.payload.OBLIGATORIO_ARCHIVO,\r\n DROPZONE_TEXT: action.payload.DROPZONE_TEXT }\r\n : preg\r\n )\r\n }\r\n \r\n case preguntaTypes.PREGUNTA_GET_ERROR:\r\n return { ...state, isLoading: false, \r\n grupos: [],\r\n preguntas: [],\r\n respuestas: [],\r\n dependencias: [],\r\n ...action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { veeduriaTypes } from \"../../types/veeduriaTypes\";\r\nimport { veeduriaState } from \"../../states/veeduriaState\";\r\n\r\nexport const veeduriaReducer = ( state = veeduriaState, action ) => {\r\n switch ( action.type ) {\r\n\r\n\t\tcase veeduriaTypes.VEEDURIA_SAVE_START:\r\n return { ...state, isLoading: true };\r\n\r\n\t\tcase veeduriaTypes.VEEDURIA_SAVE_COMPLETE:\r\n return { ...state, isLoading: false, message: 'ok', severity: 'success', ...action.payload };\r\n\r\n case veeduriaTypes.VEEDURIA_SAVE_ERROR:\r\n return { ...state, isLoading: false, \r\n padre: {},\r\n estudiante: {},\r\n preguntas: [],\r\n ...action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { formatoTypes } from \"../../types/formatoTypes\";\r\nimport { formatoState } from \"../../states/formatoState\";\r\n\r\nexport const formatoReducer = ( state = formatoState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase formatoTypes.FORMATO_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase formatoTypes.FORMATO_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase formatoTypes.FORMATO_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case formatoTypes.FORMATO_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { parametroTypes } from \"../../types/parametroTypes\";\r\nimport { parametroState } from \"../../states/parametroState\";\r\n\r\nexport const tipoDocumentoReducer = ( state = parametroState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase parametroTypes.TIPO_DOCUMENTO_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase parametroTypes.TIPO_DOCUMENTO_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase parametroTypes.TIPO_DOCUMENTO_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case parametroTypes.TIPO_DOCUMENTO_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const tipoInstEduReducer = ( state = parametroState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase parametroTypes.TIPO_INST_EDU_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase parametroTypes.TIPO_INST_EDU_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase parametroTypes.TIPO_INST_EDU_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case parametroTypes.TIPO_INST_EDU_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n\r\n\r\nexport const nacionalidadReducer = ( state = parametroState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase parametroTypes.NACIONALIDAD_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase parametroTypes.NACIONALIDAD_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase parametroTypes.NACIONALIDAD_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case parametroTypes.NACIONALIDAD_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { municipalidadTypes } from \"../../types/municipalidadTypes\";\r\nimport { municipalidadState } from \"../../states/municipalidadState\";\r\n\r\nexport const municipalidadReducer = ( state = municipalidadState, action ) => {\r\n switch ( action.type ) {\r\n\t\tcase municipalidadTypes.MUNICIPALIDAD_RESET:\r\n return { ...state, isLoading: false, listado: [] };\r\n\r\n\t\tcase municipalidadTypes.MUNICIPALIDAD_GET_START:\r\n return { ...state, isLoading: true, listado: action.payload };\r\n\r\n\t\tcase municipalidadTypes.MUNICIPALIDAD_GET_COMPLETE:\r\n return { ...state, isLoading: false, message: 'Se buscó con éxito', severity: 'success', listado: action.payload };\r\n \r\n case municipalidadTypes.MUNICIPALIDAD_GET_ERROR:\r\n return { ...state, isLoading: false, listado: action.payload };\r\n\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import { coordenadaState } from \"../../states/coordenadaState\";\r\nimport { coordenadaTypes } from \"../../types/coordenadaTypes\";\r\n\r\nexport const coordenadasReducer = ( state = coordenadaState, action ) => {\r\n switch ( action.type ) {\r\n\t\t case coordenadaTypes.SET_COORDENADA:\r\n return { ...state, ...action.payload };\r\n default:\r\n return { ...state };\r\n }\r\n}\r\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { App } from './App';\nimport './styles/main.scss';\nimport { Provider } from 'react-redux';\nimport { store } from './redux/store/store';\n// import '../src/fonts/Helvetica LT Std Bold Condensed.otf';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n"],"sourceRoot":""}