{"version":3,"sources":["webpack:///./src/app/components/auth/clave-asignar/clave-asignar.component.css","webpack:///./src/app/components/auth/clave-asignar/clave-asignar.component.html","webpack:///./src/app/components/auth/clave-asignar/clave-asignar.component.ts","webpack:///./src/app/components/auth/clave-recuperar/clave-recuperar.component.css","webpack:///./src/app/components/auth/clave-recuperar/clave-recuperar.component.html","webpack:///./src/app/components/auth/clave-recuperar/clave-recuperar.component.ts","webpack:///./src/app/components/auth/login-siase/login-siase.component.css","webpack:///./src/app/components/auth/login-siase/login-siase.component.html","webpack:///./src/app/components/auth/login-siase/login-siase.component.ts","webpack:///./src/app/components/auth/login/login.component.css","webpack:///./src/app/components/auth/login/login.component.html","webpack:///./src/app/components/auth/login/login.component.ts","webpack:///./src/app/components/auth/redireccion/redireccion.component.css","webpack:///./src/app/components/auth/redireccion/redireccion.component.html","webpack:///./src/app/components/auth/redireccion/redireccion.component.ts","webpack:///./src/app/components/auth/sesion-ingresando/sesion-ingresando.component.css","webpack:///./src/app/components/auth/sesion-ingresando/sesion-ingresando.component.html","webpack:///./src/app/components/auth/sesion-ingresando/sesion-ingresando.component.ts","webpack:///./src/app/components/auth/sesion-saliendo/sesion-saliendo.component.css","webpack:///./src/app/components/auth/sesion-saliendo/sesion-saliendo.component.html","webpack:///./src/app/components/auth/sesion-saliendo/sesion-saliendo.component.ts","webpack:///./src/app/models/Persona/Usuario.ts","webpack:///./src/app/modules/general/general.module.ts","webpack:///./src/app/modules/general/general.routing.ts","webpack:///./src/app/services/Persona/Persona.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mB;;;;;;;;;;;ACAA,6wHAA6wH,yCAAyC,wvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACApwH;AAET;AAE0D;AACzB;AACH;AAOvE;IAiBE,+BACU,SAAwB,EACxB,UAA0B,EAC1B,QAAyB,EACzB,MAAc;QAHd,cAAS,GAAT,SAAS,CAAe;QACxB,eAAU,GAAV,UAAU,CAAgB;QAC1B,aAAQ,GAAR,QAAQ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SAC5B,CAAC;QACF,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;IAtMU,cAAc;QAH1B,gEAAU,CAAC;YACV,UAAU,EAAE,MAAM;SACnB,CAAC;yCAQe,wEAAc;OAPlB,cAAc,CAwM1B;IAAD,qBAAC;CAAA;AAxM0B","file":"0.js","sourcesContent":["module.exports = \"\"","module.exports = \"
\\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
La URL no es válida
\\r\\n Iniciar sesión\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n La contraseña no debe contener su nombre o apellidos ni ser igual a su\\r\\n usuario de acceso. Además, debe contar con las siguientes características:\\r\\n \\r\\n
    \\r\\n
  • \\r\\n La longitud debe ser entre 8 y 16 caracteres\\r\\n
  • \\r\\n
  • \\r\\n Incluir al menos una letra mayúscula y una minúscula\\r\\n
  • \\r\\n
  • \\r\\n Incluir al menos un número\\r\\n
  • \\r\\n
  • \\r\\n No debe contener espacios en blanco dentro de la contraseña\\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 Campo requerido\\r\\n Contraseñas no coinciden\\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 { Component, OnInit } from '@angular/core';\r\nimport { FormControl, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { SnackBarService } from 'src/app/services/Utils/AngularMaterial/SnackBar/SnackBar.service';\r\nimport { PersonaService } from 'src/app/services/Persona/Persona.service';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\n\r\n@Component({\r\n selector: 'app-clave-asignar',\r\n templateUrl: './clave-asignar.component.html',\r\n styleUrls: ['./clave-asignar.component.css']\r\n})\r\nexport class ClaveAsignarComponent implements OnInit {\r\n public reset = {\r\n clave1: null,\r\n clave2: null\r\n };\r\n public clave1CodificadaConfirmacionContrasenia = '';\r\n public token;\r\n public tokenValido;\r\n public mostrarClave1 = false;\r\n public mostrarClave2 = false;\r\n\r\n public contraseniaValida = false;\r\n public contraseniaLongitudValida = false;\r\n public contraseniaLetrasValida = false;\r\n public contraseniaNumerosValida = false;\r\n public contraseniaSinEspaciosValida = false;\r\n\r\n constructor(\r\n private SesionSVC: SesionService,\r\n private PersonaSVC: PersonaService,\r\n private snackbar: SnackBarService,\r\n private router: Router\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.getToken();\r\n }\r\n\r\n onSubmitReset(form){\r\n console.log(form);\r\n }\r\n\r\n getToken() {\r\n if ((this.router.url).includes('?') && (this.router.url).includes('SolicitudId')) {\r\n let tokenCodificado = this.router.url.split(\"?\")[1].split(\"SolicitudId=\")[1];\r\n let tokenDecodificado = decodeURIComponent(tokenCodificado);\r\n this.token = tokenDecodificado.replace(/[\\s]/g,'+');\r\n this.validarToken();\r\n } \r\n else {\r\n this.tokenValido = false;\r\n }\r\n }\r\n\r\n validarToken() {\r\n this.PersonaSVC.ValidarSolicitudConfirmacionCorreo(this.token).subscribe(res => {\r\n console.log(res);\r\n\r\n if (!res.Error) {\r\n this.tokenValido = res.SolicitudValida;\r\n } \r\n else {\r\n this.tokenValido = false;\r\n }\r\n });\r\n }\r\n\r\n validarContrasenia(contrasenia) {\r\n var caracteristicasContraseniaCumplidas = true;\r\n\r\n if (contrasenia.length >= 8 && contrasenia.length <= 16) {\r\n this.contraseniaLongitudValida = true;\r\n }\r\n else {\r\n this.contraseniaLongitudValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/[a-z]/.test(contrasenia) && /[A-Z]/.test(contrasenia)) {\r\n this.contraseniaLetrasValida = true;\r\n }\r\n else {\r\n this.contraseniaLetrasValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/\\d/.test(contrasenia)) {\r\n this.contraseniaNumerosValida = true;\r\n }\r\n else {\r\n this.contraseniaNumerosValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/^\\S*$/.test(contrasenia) && contrasenia.length > 0) {\r\n this.contraseniaSinEspaciosValida = true;\r\n }\r\n else {\r\n this.contraseniaSinEspaciosValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n this.contraseniaValida = caracteristicasContraseniaCumplidas;\r\n this.clave1CodificadaConfirmacionContrasenia = contrasenia.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\r\n }\r\n\r\n public onSubmitCrearAcceso(form) {\r\n console.log(form);\r\n\r\n if (form.valid) {\r\n let data = {\r\n token : this.token,\r\n contrasena: this.reset[\"clave1\"]\r\n };\r\n\r\n console.log(data);\r\n\r\n this.PersonaSVC.CrearAcceso(data).subscribe(\r\n res => {\r\n console.log(res);\r\n\r\n if (!('Code' in res)) {\r\n // Success\r\n this.SesionSVC.RemoveSesionStorage();\r\n this.snackbar.success('Se ha asignado la contraseña con éxito', 5000);\r\n this.router.navigate(['Login']);\r\n }\r\n }, \r\n error => {\r\n console.log(error);\r\n });\r\n }\r\n }\r\n}\r\n","module.exports = \"\"","module.exports = \"
\\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
La URL no es válida
\\r\\n Iniciar Sesión\\r\\n
\\r\\n
\\r\\n \\r\\n\\r\\n
\\r\\n
La solicitud ha expirado
\\r\\n Iniciar Sesión\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n La contraseña no debe contener su nombre o apellidos ni ser igual a su\\r\\n usuario de acceso. Además, debe contar con las siguientes características:\\r\\n\\r\\n
    \\r\\n
  • \\r\\n La longitud debe ser entre 9 y 16 caracteres\\r\\n
  • \\r\\n
  • \\r\\n Incluir al menos una letra mayúscula y una minúscula\\r\\n
  • \\r\\n
  • \\r\\n Incluir al menos un número\\r\\n
  • \\r\\n
  • \\r\\n No debe contener espacios en blanco dentro de la contraseña\\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 Campo requerido\\r\\n Contraseñas no coinciden\\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

INICIO DE SESION

\\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 { Component, OnInit } from '@angular/core';\r\nimport { FormControl, Validators } from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport { Location } from '@angular/common';\r\n\r\nimport { SnackBarService } from 'src/app/services/Utils/AngularMaterial/SnackBar/SnackBar.service';\r\nimport { SeguridadService } from 'src/app/services/Seguridad/Seguridad.service';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\n\r\n@Component({\r\n selector: 'app-clave-recuperar',\r\n templateUrl: './clave-recuperar.component.html',\r\n styleUrls: ['./clave-recuperar.component.css']\r\n})\r\nexport class ClaveRecuperarComponent implements OnInit {\r\n\r\n public reset = {\r\n clave1: null,\r\n clave2: null\r\n };\r\n public clave1CodificadaConfirmacionContrasenia = '';\r\n public token;\r\n public validateURL;\r\n public tokenValido;\r\n public mostrarClave1 = false;\r\n public mostrarClave2 = false;\r\n\r\n public contraseniaValida = false;\r\n public contraseniaLongitudValida = false;\r\n public contraseniaLetrasValida = false;\r\n public contraseniaNumerosValida = false;\r\n public contraseniaSinEspaciosValida = false;\r\n\r\n constructor(\r\n private SesionSVC: SesionService,\r\n private SeguridadSVC: SeguridadService,\r\n private snackbar: SnackBarService,\r\n private location: Location,\r\n private router: Router\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.getToken();\r\n }\r\n\r\n onSubmitReset(form){\r\n console.log(form);\r\n }\r\n\r\n getToken() {\r\n if ((this.router.url).includes('?') && (this.router.url).includes('SolicitudId')) {\r\n this.validateURL = true;\r\n let tmp = this.router.url.split(\"?\")[1].split(\"SolicitudId=\")[1];\r\n let token = decodeURIComponent(tmp);\r\n this.token = token.replace(/[\\s]/g,'+');\r\n this.ValidarToken();\r\n } else {\r\n this.validateURL = false;\r\n }\r\n }\r\n\r\n public onSubmitChangePassword(form) {\r\n console.log(form);\r\n if (form.valid) {\r\n let data = {\r\n token : this.token,\r\n password: this.reset[\"clave1\"]\r\n };\r\n console.log(data);\r\n this.SeguridadSVC.CambiarContrasena(data).subscribe(\r\n res => {\r\n console.log(res);\r\n if (!('Code' in res)) {\r\n // Success\r\n this.SesionSVC.RemoveSesionStorage();\r\n this.snackbar.success('Se ha cambiado la contraseña con éxito', 5000);\r\n this.router.navigate(['Login']);\r\n }\r\n }, error => {\r\n console.log(error);\r\n });\r\n }\r\n }\r\n\r\n ValidarToken() {\r\n this.SeguridadSVC.ValidarSolicitudCambioContrasena(this.token).subscribe(res => {\r\n console.log(res);\r\n if(!res.Error) {\r\n this.tokenValido = res.SolicitudValida;\r\n } else {\r\n this.validateURL = false;\r\n }\r\n });\r\n }\r\n\r\n validarContrasenia(contrasenia) {\r\n var caracteristicasContraseniaCumplidas = true;\r\n\r\n if (contrasenia.length >= 9 && contrasenia.length <= 16) {\r\n this.contraseniaLongitudValida = true;\r\n }\r\n else {\r\n this.contraseniaLongitudValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/[a-z]/.test(contrasenia) && /[A-Z]/.test(contrasenia)) {\r\n this.contraseniaLetrasValida = true;\r\n }\r\n else {\r\n this.contraseniaLetrasValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/\\d/.test(contrasenia)) {\r\n this.contraseniaNumerosValida = true;\r\n }\r\n else {\r\n this.contraseniaNumerosValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n if (/^\\S*$/.test(contrasenia) && contrasenia.length > 0) {\r\n this.contraseniaSinEspaciosValida = true;\r\n }\r\n else {\r\n this.contraseniaSinEspaciosValida = false;\r\n caracteristicasContraseniaCumplidas = false;\r\n }\r\n\r\n this.contraseniaValida = caracteristicasContraseniaCumplidas;\r\n this.clave1CodificadaConfirmacionContrasenia = contrasenia.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\r\n }\r\n}\r\n","module.exports = \"\"","module.exports = \"\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
Validando sesión en servicios en línea.
\\r\\n
\\r\\n
\\r\\n
\\r\\n
ERROR {{Error.Id}}
\\r\\n
{{Error.Message}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","import { SnackBarService } from 'src/app/services/Utils/AngularMaterial/SnackBar/SnackBar.service';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { SeguridadService } from 'src/app/services/Seguridad/Seguridad.service';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\nimport { Perfil } from 'src/app/models/Persona/Perfil';\r\nimport { Rol } from 'src/app/models/Persona/Rol';\r\nimport { LoadingService } from 'src/app/services/Utils/Loading/Loading.service';\r\n\r\n@Component({\r\n selector: 'app-login-siase',\r\n templateUrl: './login-siase.component.html',\r\n styleUrls: ['./login-siase.component.css']\r\n})\r\nexport class LoginSiaseComponent implements OnInit {\r\n\r\n public Token: string;\r\n public Usuario: string;\r\n public NombreUsuario: string;\r\n public TipoClave: string;\r\n public Error;\r\n\r\n constructor(\r\n private SeguridadSVC: SeguridadService,\r\n private SesionSVC: SesionService,\r\n private LoadingSVC: LoadingService,\r\n private snackbar: SnackBarService,\r\n private router: Router\r\n ) {\r\n if(this.hasTokenId) {\r\n console.log('Sesion Type 1');\r\n this.getToken();\r\n } else {\r\n console.log('Sesion Type 2');\r\n this.ObtenerParametros();\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n //let Token = this.getToken();\r\n console.log(this.Token);\r\n this.LoginSIASE();\r\n }\r\n\r\n public LoginSIASE() {\r\n console.log('TOKEN:',this.Token);\r\n console.log('Usuario:',this.Usuario);\r\n console.log('NombreUsuario:',this.NombreUsuario);\r\n console.log('TipoClave:',this.TipoClave);\r\n if(this.Token) {\r\n this.SeguridadSVC.IniciarSesionSIASE(this.Token, this.Usuario, this.NombreUsuario, this.TipoClave).subscribe(res => {\r\n console.log(res);\r\n if(!res.Error) {\r\n //this.SesionSVC.ActualizarPerfil = res;\r\n this.SesionSVC.SesionStorage = null;\r\n this.SesionSVC.UpdateSesion(res.Sesion);\r\n this.router.navigate(['Iniciando']);\r\n //this.ObtenerPerfil(res.Sesion.Token);\r\n //this.router.navigate([]);\r\n } else {\r\n this.Error = res;\r\n }\r\n }, error => {\r\n console.log(error);\r\n this.Error = {\r\n Id: '0',\r\n Message: 'Ocurrió un problema al iniciar sesión',\r\n error: error\r\n }\r\n });\r\n } else {\r\n this.Error = {\r\n Id: '1',\r\n Message: 'No se encontro la SESION.',\r\n error: null\r\n }\r\n }\r\n }\r\n\r\n public ObtenerParametros() {\r\n this.Token = null;\r\n this.Usuario = null;\r\n this.NombreUsuario = null;\r\n this.TipoClave = null;\r\n let elementosRuta = this.router.url.split(\"?\");\r\n\r\n if (elementosRuta.length <= 1) {\r\n return;\r\n }\r\n\r\n let parametros = elementosRuta[1].split(\"&\");\r\n\r\n for (var i = 0; i < parametros.length; i++) {\r\n let elementosParametro = parametros[i].split(\"=\");\r\n let nombreParametro = elementosParametro[0];\r\n let valorParametro = elementosParametro[1];\r\n let tokenDecodificado;\r\n\r\n if (elementosParametro.length <= 1) {\r\n continue;\r\n }\r\n\r\n switch (nombreParametro) {\r\n\r\n case \"Ctrl\":\r\n this.getToken();\r\n break;\r\n\r\n case \"Usu\":\r\n this.Usuario = valorParametro;\r\n break;\r\n\r\n case \"HTMLUsuario\":\r\n this.NombreUsuario = valorParametro;\r\n break;\r\n\r\n case \"HTMLTipCve\":\r\n this.TipoClave = valorParametro;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n get hasTokenId() {\r\n return this.router.url.includes('TokenId') ? true : false;\r\n }\r\n\r\n getToken() {\r\n let _URL = this.router.url;\r\n let _TokenURL = this.hasTokenId ? _URL.split(\"TokenId=\")[1] : (_URL.split(\"Ctrl=\")[1]).split('&')[0] ;\r\n if(!_TokenURL) {\r\n return null;\r\n }\r\n let _Token = decodeURIComponent(_TokenURL);\r\n _Token = _Token.replace(/[\\s]/g,'+');\r\n this.Token = _Token;\r\n return _Token;\r\n }\r\n\r\n}\r\n","module.exports = \"\"","module.exports = \"
\\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 ¿Olvidaste tu contraseña?\\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 Iniciar Sesió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

Sesión Activa

\\r\\n
\\r\\n

Actualmente ya existe una sesión activa. ¿Deseas continuar e iniciar sesión?

\\r\\n
Al presionar el botón CONTINUAR, la sesión que se encuentra activa será eliminada e iniciara una nueva sesión.
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\"","import { Component, OnInit, ViewChild, TemplateRef } from '@angular/core';\r\nimport { MatSnackBar, MatDialogRef, MatDialog } from '@angular/material';\r\nimport { Router } from '@angular/router';\r\n\r\nimport { SeguridadService } from 'src/app/services/Seguridad/Seguridad.service';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\nimport { SnackBarService } from 'src/app/services/Utils/AngularMaterial/SnackBar/SnackBar.service';\r\nimport { LoadingService } from 'src/app/services/Utils/Loading/Loading.service';\r\n\r\nimport { Perfil } from 'src/app/models/Persona/Perfil';\r\nimport { Sesion } from 'src/app/models/Sesion/Sesion';\r\nimport { Rol } from 'src/app/models/Persona/Rol';\r\n\r\n@Component({\r\n selector: 'app-login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.css']\r\n})\r\n\r\n/* Validaciones Pendientes */\r\n//Usuario: maxlength 25 alfanumerico, caracteres especiales válidos(._@-)\r\n//Contraseña : maxlength 25 alfanumericos y especiales(todos)\r\n\r\nexport class LoginComponent implements OnInit {\r\n public DatosLogin = { usuario: null, password: null };\r\n public DatosRecuperacion = { NombreUsuario: null, Correo: null };\r\n private Sesion: Sesion;\r\n public showPass = false;\r\n\r\n public viewSection = 1;\r\n\r\n /* Mateiral Dialog Declaration */\r\n @ViewChild('DialogSesionImperative') DialogSesionImperative: TemplateRef;\r\n private dialogRef: MatDialogRef;\r\n\r\n constructor(\r\n private SesionSVC: SesionService,\r\n private SeguridadSVC: SeguridadService,\r\n private router: Router,\r\n private snackbar: SnackBarService,\r\n private Loading: LoadingService,\r\n private dialog: MatDialog\r\n ) {\r\n let _SesionStorage = this.SesionSVC.GetSesionStorage();\r\n if (_SesionStorage) {\r\n console.log('Sesion Existente');\r\n } else {\r\n console.log('Sesion no Existente');\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n public onSubmitLogin(): void{\r\n if(!this.DatosLogin.usuario || !this.DatosLogin.password) {\r\n this.snackbar.OpenSnackBarError(\"La información proporcionada esta incompleta. Revisa los datos e intenta nuevamente\", 5000);\r\n }else{\r\n this.IniciarSesion(false);\r\n }\r\n }\r\n\r\n public IniciarSesion(Imperative) {\r\n console.log(this.DatosLogin);\r\n this.Loading.ShowBackdrop();\r\n this.SeguridadSVC.IniciarSesion(this.DatosLogin, Imperative).subscribe(res => {\r\n this.Loading.HideBackdrop();\r\n if (!res.Error) {\r\n this.SesionSVC.SesionStorage = null;\r\n this.SesionSVC.UpdateSesion(res.Sesion);\r\n this.router.navigate(['Iniciando']);\r\n //this.ObtenerPerfil(res.Sesion.Token);\r\n } else {\r\n if (res.Code === 2003) {\r\n this.OpenDialog(this.DialogSesionImperative);\r\n }\r\n }\r\n }, error => this.Loading.ShowBackdrop());\r\n }\r\n\r\n changeSection(opt: number){\r\n this.viewSection = opt;\r\n //this.DatosLogin = ;\r\n //this.DatosRecuperacion = [];\r\n }\r\n\r\n public onSubmitRecuperarPassword(form): void{\r\n console.log(form);\r\n if(form.valid){\r\n this.SolicitarRecuperacionPassword();\r\n }else{\r\n if(!this.DatosRecuperacion[\"NombreUsuario\"] || !this.DatosRecuperacion[\"Correo\"]){\r\n this.snackbar.error(\"La información proporcionada esta incompleta.\",3000);\r\n }else{\r\n this.snackbar.error(\"Revisa los campos marcados e intenta nuevamente.\",3000);\r\n }\r\n }\r\n\r\n }\r\n\r\n public OpenDialog(Dialog) {\r\n this.dialogRef = this.dialog.open(Dialog, { disableClose: true });\r\n }\r\n\r\n\r\n public SolicitarRecuperacionPassword() {\r\n this.Loading.ShowBackdrop();\r\n this.DatosRecuperacion['OrganizacionId'] = 1;\r\n this.SeguridadSVC.SolicitarCambioContrasena(this.DatosRecuperacion).subscribe(\r\n result => {\r\n this.Loading.HideBackdrop();\r\n if (!result.Code) {\r\n this.snackbar.success('Se ha enviado un enlace a tu correo electrónico para recuperar tu contraseña, el cual tiene una duración de 30 min.', 5000);\r\n } else {\r\n this.snackbar.error(result.Message, 5000);\r\n }\r\n }, error => {\r\n this.Loading.HideBackdrop();\r\n });\r\n }\r\n\r\n public resetSesion(): void{\r\n this.IniciarSesion(true);\r\n }\r\n\r\n}\r\n","module.exports = \"\"","module.exports = \"
\\r\\n \\r\\n
\\r\\n
Espere un momento
\\r\\n
\\r\\n\"","import { Component, OnInit } from '@angular/core';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\nimport { RolService } from 'src/app/services/Rol/Rol.service';\r\n\r\n@Component({\r\n selector: 'app-redireccion',\r\n templateUrl: './redireccion.component.html',\r\n styleUrls: ['./redireccion.component.css']\r\n})\r\nexport class RedireccionComponent implements OnInit {\r\n\r\n constructor(\r\n private SesionSVC: SesionService,\r\n private RolSVC: RolService,\r\n ) {\r\n this.SesionSVC.Rol = this.SesionSVC.SesionStorage.Perfil.Rol;\r\n //this.Rol = this.SesionSVC.Rol;\r\n //this.SesionSVC.Rol = this.Rol;\r\n }\r\n\r\n ngOnInit() {\r\n this.SesionSVC.RedireccionarPerfil();\r\n }\r\n\r\n}\r\n","module.exports = \"\"","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
Ingresando a Nexus 7
\\r\\n
\\r\\n
\\r\\n\"","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Location } from '@angular/common';\r\nimport { SeguridadService } from 'src/app/services/Seguridad/Seguridad.service';\r\nimport { Perfil } from 'src/app/models/Persona/Perfil';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\nimport { PerfilService } from 'src/app/shared/services/perfil.service';\r\nimport { Perfil as PerfilDTO } from 'src/app/shared/DTO/Perfil';\r\n\r\n@Component({\r\n selector: 'app-sesion-ingresando',\r\n templateUrl: './sesion-ingresando.component.html',\r\n styleUrls: ['./sesion-ingresando.component.css']\r\n})\r\nexport class SesionIngresandoComponent implements OnInit {\r\n\r\n constructor(\r\n private SeguridadSVC: SeguridadService,\r\n private SesionSVC: SesionService,\r\n private router: Router,\r\n private location: Location,\r\n private perfil_service: PerfilService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.ObtenerPerfil();\r\n }\r\n\r\n private ObtenerPerfil() {\r\n this.SeguridadSVC.ConsultarPerfil(this.SesionSVC.Token).subscribe(res => {\r\n if (!res.Error) {\r\n let _Perfil = new Perfil({\r\n Persona: res.Persona,\r\n Cuenta: res.Persona.Cuentas[0],\r\n AreasAcademicas: res.Persona.Cuentas[0].AreasAcademicas\r\n });\r\n console.log(_Perfil);\r\n //let _Perfil = new Perfil(P);\r\n let _AA;\r\n _Perfil.AreasAcademicas.forEach(A => {\r\n if(A.Roles.find(R => R.EsRolPrincipal === true)) {\r\n _AA = A;\r\n }\r\n });\r\n console.log(_AA);\r\n //_Perfil.AreaAcademica = _AA ? _AA : _Perfil.AreasAcademicas[0];\r\n //_Perfil.Rol = _Perfil.AreaAcademica.Roles.find(R => R.EsRolPrincipal === true && R.Estado === true);\r\n _Perfil.AreaAcademica = _Perfil.AreasAcademicas.find(AA => AA.AreaAcademicaId === this.SesionSVC.SesionStorage.Sesion.AreaAcademicaId);\r\n _Perfil.Rol = _Perfil.AreaAcademica.Roles.find(R => R.RolId === this.SesionSVC.SesionStorage.Sesion.RolId);\r\n this.SesionSVC.Perfil = _Perfil;\r\n this.SesionSVC.ActualizarPerfil(_Perfil);\r\n\r\n console.log(this.SesionSVC.GetSesionStorage());\r\n console.log(this.SesionSVC.SesionStorage);\r\n this.perfil_service.InicioSesion(res);\r\n console.log('perfil service area academica', this.perfil_service.getAreaAcademicaSesion())\r\n this.router.navigate([\"App\"]);\r\n }\r\n });\r\n }\r\n}\r\n","module.exports = \"\"","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n
Cerrando Sesión
\\r\\n
\\r\\n
\\r\\n\"","import { Component, OnInit } from '@angular/core';\r\nimport { SesionService } from 'src/app/services/Sesion/Sesion.service';\r\nimport { SeguridadService } from 'src/app/services/Seguridad/Seguridad.service';\r\n\r\n@Component({\r\n selector: 'app-sesion-saliendo',\r\n templateUrl: './sesion-saliendo.component.html',\r\n styleUrls: ['./sesion-saliendo.component.css']\r\n})\r\nexport class SesionSaliendoComponent implements OnInit {\r\n\r\n constructor(\r\n private SeguridadSVC: SeguridadService,\r\n private SesionSVC: SesionService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.Logout();\r\n }\r\n\r\n Logout() {\r\n this.SeguridadSVC.TerminarSesion().subscribe(res => {\r\n window.location.href = '';\r\n this.SesionSVC.RemoveSesionStorage();\r\n });\r\n }\r\n\r\n}\r\n","import { Persona, PersonaBase, PersonaCuentas } from \"./Persona\";\r\nimport { Cuenta, CuentaPersona, CuentaBase, CuentaAreaAcademicaRol, CuentaAreaAcademica } from \"./Cuenta\";\r\n\r\n\r\nexport class Usuario {\r\n Persona: Persona;\r\n Cuenta: Cuenta;\r\n Roles: CuentaAreaAcademicaRol[];\r\n PersonaCuentas: PersonaCuentas;\r\n AreasAcademicas: CuentaAreaAcademica[];\r\n constructor(P, C, R?){\r\n this.Persona = new Persona(P);\r\n this.Cuenta = new Cuenta(C);\r\n this.AreasAcademicas = C.AreasAcademicas;\r\n this.PersonaCuentas = new PersonaCuentas(P);\r\n if (R) {\r\n this.Roles = R.map(Rol => new CuentaAreaAcademicaRol(Rol));\r\n }\r\n }\r\n}\r\n\r\nexport class UsuarioPersona extends Persona {\r\n Cuentas: CuentaPersona[] = [];\r\n}\r\n\r\nexport class UsuarioCuenta extends PersonaBase implements CuentaBase {\r\n CuentaId: number;\r\n RolId?: number;\r\n NombreUsuario: string;\r\n EnSIASE: boolean;\r\n CorreoUniversitario: string;\r\n constructor(P, C?){\r\n super(C ? C : P);\r\n if(P){\r\n this.NombreUsuario = P.NombreUsuario;\r\n this.EnSIASE = P.EnSIASE;\r\n this.CuentaId = P.CuentaId;\r\n this.RolId = P.RolId;\r\n this.CorreoUniversitario = P.CorreoUniversitario;\r\n }\r\n }\r\n}\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { NgSelectModule } from '@ng-select/ng-select';\r\n\r\nimport { MyMaterialModule } from './../material.module';\r\nimport { GeneralRoutingModule } from './general.routing';\r\nimport { LoginComponent } from '../../components/auth/login/login.component';\r\nimport { LoginSiaseComponent } from '../../components/auth/login-siase/login-siase.component';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SharedWidgetModule } from '../shared/widgets.module';\r\nimport { HttpModule } from '@angular/http';\r\nimport { RedireccionComponent } from 'src/app/components/auth/redireccion/redireccion.component';\r\nimport { ClaveRecuperarComponent } from 'src/app/components/auth/clave-recuperar/clave-recuperar.component';\r\nimport { ClaveAsignarComponent } from 'src/app/components/auth/clave-asignar/clave-asignar.component';\r\nimport { SesionSaliendoComponent } from 'src/app/components/auth/sesion-saliendo/sesion-saliendo.component';\r\nimport { SesionIngresandoComponent } from 'src/app/components/auth/sesion-ingresando/sesion-ingresando.component';\r\nimport { LoadingComponentsModule } from '../shared/LoadingComponents.module';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n LoginComponent,\r\n ClaveRecuperarComponent,\r\n LoginSiaseComponent,\r\n RedireccionComponent,\r\n SesionSaliendoComponent,\r\n SesionIngresandoComponent,\r\n ClaveAsignarComponent\r\n ],\r\n imports: [\r\n GeneralRoutingModule,\r\n CommonModule,\r\n FormsModule,\r\n MyMaterialModule,\r\n LoadingComponentsModule\r\n ],\r\n providers: [],\r\n})\r\nexport class GeneralModule { }\r\n","import { NgModule, ModuleWithProviders } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\n\r\nimport { LoginComponent } from 'src/app/components/auth/login/login.component';\r\nimport { LoginSiaseComponent } from 'src/app/components/auth/login-siase/login-siase.component';\r\nimport { RedireccionComponent } from 'src/app/components/auth/redireccion/redireccion.component';\r\nimport { ClaveRecuperarComponent } from 'src/app/components/auth/clave-recuperar/clave-recuperar.component';\r\nimport { ClaveAsignarComponent } from 'src/app/components/auth/clave-asignar/clave-asignar.component';\r\nimport { SesionSaliendoComponent } from 'src/app/components/auth/sesion-saliendo/sesion-saliendo.component';\r\nimport { SesionIngresandoComponent } from 'src/app/components/auth/sesion-ingresando/sesion-ingresando.component';\r\n\r\n\r\nconst routes: Routes = [\r\n { path: '', redirectTo: 'Login', pathMatch:'full'},\r\n { path: 'Login', component: LoginComponent},\r\n { path: 'LoginSIASE', component: LoginSiaseComponent},\r\n { path: 'Reestablecer', component: ClaveRecuperarComponent},\r\n { path: 'Redireccionando', component: RedireccionComponent},\r\n { path: 'Iniciando', component: SesionIngresandoComponent},\r\n { path: 'Saliendo', component: SesionSaliendoComponent},\r\n { path: 'Accesar', component: ClaveAsignarComponent}\r\n\r\n //{ path: '**', component: PageNotFoundComponent }\r\n\r\n //{ path: 'profesor', component: ProfesorPrincipal},\r\n];\r\n\r\nexport const GeneralRoutingModule: ModuleWithProviders = RouterModule.forChild(routes);\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { ApiHttpService } from '../api-http/ApiHttp.service';\r\nimport { Observable } from 'rxjs-compat/Observable';\r\nimport { Usuario, UsuarioCuenta } from 'src/app/models/Persona/Usuario';\r\nimport { PersonaCuentas, PersonaCuenta } from 'src/app/models/Persona/Persona';\r\nimport { Cuenta } from 'src/app/models/Persona/Cuenta';\r\nimport { ɵangular_packages_platform_browser_animations_animations_d } from '@angular/platform-browser/animations';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PersonaService {\r\n public Dominio = 'Persona';\r\n private _Persona;\r\n private _Cuenta;\r\n private _Usuario;\r\n\r\n constructor(\r\n private API: ApiHttpService\r\n ) { }\r\n\r\n set Persona(P) { this._Persona = P }\r\n get Persona() { return this._Persona }\r\n\r\n set Cuenta(C) { this._Cuenta = C }\r\n get Cuenta() { return this._Cuenta }\r\n\r\n set Usuario(U) { this._Usuario = U }\r\n get Usuario() { return this._Usuario }\r\n\r\n/********************** Usuarios ************************/\r\n public ConsultarUsuarios(_AreaAcademica,_PageNumber,_PageSize) {\r\n return this.API.POST(this.Dominio, 'ConsultarUsuarios',{\r\n AreaAcademicaId: _AreaAcademica,\r\n PageNumber: _PageNumber,\r\n PageSize: _PageSize\r\n });\r\n }\r\n/**************************** Persona********************************* */\r\n public ConsultarPersonas(_Tipo,_NombreUsuario,_Nombre,_Estado,_Organizacion,_EnSIASE,_AreaAcademica,_Rol,_PageNumber,_PageSize) {\r\n return this.API.POST(this.Dominio, 'ConsultarPersonas',{\r\n Username: (_Tipo == 1 ? _NombreUsuario : null),\r\n Nombre: (_Tipo == 2 ? _Nombre : null),\r\n Estado: _Estado,\r\n OrganizacionId: _Organizacion,\r\n EnSIASE: _EnSIASE,\r\n AreaAcademicaId: _AreaAcademica,\r\n RolId: _Rol,\r\n PageNumber: _PageNumber,\r\n PageSize: _PageSize\r\n });\r\n }\r\n public InsertarActualizarPersona(_Personas) {\r\n return this.API.POST(this.Dominio, 'InsertarActualizarPersona',{\r\n Personas: _Personas\r\n });\r\n }\r\n public ActualizarPersona(_Persona) {\r\n return this.API.POST(this.Dominio, 'ActualizarPersona',{\r\n Persona: _Persona\r\n });\r\n }\r\n public ActualizarPersonas(_Personas: any[]) {\r\n return this.API.POST(this.Dominio, 'ActualizarPersonas',{\r\n Personas: _Personas\r\n });\r\n }\r\n public ConsultarPersonaCURP(CURP) {\r\n return this.API.POST(this.Dominio, 'ConsultarPersonaCURP',{\r\n CURP: CURP\r\n });\r\n }\r\n public ConsultarPersonaNombreUsuario(NombreUsuario) {\r\n return this.API.POST(this.Dominio, 'ConsultarPersonaNombreUsuario',{\r\n NombreUsuario: NombreUsuario\r\n });\r\n }\r\n/*************************** Cuenta ******************************* */\r\n public ActualizarCuentas(PersonaId, Cuentas, AreaAcademicaId?) {\r\n return this.API.POST(this.Dominio, 'ActualizarCuentas',{\r\n PersonaId: PersonaId,\r\n Cuentas: Cuentas,\r\n AreaAcademicaId: AreaAcademicaId,\r\n AreaAcademicaEspecifica:AreaAcademicaId ? true : false\r\n });\r\n }\r\n public CrearCuenta(PersonaId, RolId) {\r\n return this.API.POST(this.Dominio, 'CrearCuenta',{\r\n PersonaId: PersonaId,\r\n\t RolId: RolId\r\n });\r\n }\r\n public ActualizarCuentaRol(CuentaId, RolId, AreaAcademicaId, EsRolPrincipal, Estado) {\r\n return this.API.POST(this.Dominio, 'ActualizarCuentaRol',{\r\n RolId: RolId,\r\n AreaAcademicaId: AreaAcademicaId,\r\n CuentaId: CuentaId,\r\n EsRolPrincipal: EsRolPrincipal,\r\n Activo: Estado\r\n });\r\n }\r\n /*\r\n public ActualizarEsBloqueado(CuentaId, Bloqueado) {\r\n return this.API.POST(this.Dominio, 'ActualizarEsBloqueado',{\r\n CuentaId: CuentaId,\r\n\t EsBloqueado: Bloqueado\r\n });\r\n }\r\n */\r\n public InsertarPersonaPorArchivo(_Personas) {\r\n return this.API.POST(this.Dominio, 'InsertarPersonaPorArchivo',{\r\n personas: _Personas\r\n });\r\n }\r\n public ActualizarCorreoAdicional(_PersonaId,_CorreoAdicional) {\r\n return this.API.POST(this.Dominio, 'ActualizarCorreoAdicional', {\r\n PersonaId: _PersonaId,\r\n CorreoAdicional: _CorreoAdicional\r\n });\r\n }\r\n public ConsultarEstudiantes(NombreUsuario) {\r\n return this.API.POST(this.Dominio, 'ConsultarEstudiantes', {\r\n Usernames: NombreUsuario\r\n });\r\n }\r\n public ConsultarCuenta(NombreUsuario) {\r\n return this.API.POST(this.Dominio, 'ConsultarPersonaNombreUsuario', {\r\n NombreUsuario: NombreUsuario\r\n });\r\n }\r\n public AsignarContrasenaCuentaCreada(Cuenta) {\r\n return this.API.POST(this.Dominio, 'AsignarContrasenaCuentaCreada', {\r\n Cuenta: Cuenta\r\n });\r\n }\r\n public ImportarCuenta(Cuentas) {\r\n return this.API.POST(this.Dominio, 'ImportarCuenta', {\r\n Cuentas: Cuentas\r\n });\r\n }\r\n public BloquearCuenta(_CuentaId: number) {\r\n return this.API.POST(this.Dominio, 'BloquearCuenta', {\r\n CuentaId: _CuentaId\r\n });\r\n }\r\n public DesbloquearCuenta(_CuentaId: number) {\r\n return this.API.POST(this.Dominio, 'DesbloquearCuenta', {\r\n CuentaId: _CuentaId\r\n });\r\n }\r\n/********************** Rol *************************/\r\n public ActualizarRol(CuentaId, Roles) {\r\n return this.API.POST(this.Dominio, 'ActualizarRol', {\r\n CuentaId: CuentaId,\r\n Roles: Roles\r\n });\r\n }\r\n public ActualizarRolPrincipal(_RolId) {\r\n return this.API.POST(this.Dominio, 'ActualizarRolPrincipal', {\r\n RolId: _RolId\r\n });\r\n }\r\n\r\n/******************* Functions *********************/\r\n public getPersonasCuentas(Personas: PersonaCuentas[]) {\r\n let Cuentas = [];\r\n Personas.forEach( P => P.Cuentas.forEach(C => Cuentas.push(new Usuario(P,C))));\r\n return Cuentas;\r\n }\r\n public getUsuariosFromPersonas(P: PersonaCuentas[]) {\r\n let Usuarios = [];\r\n P.forEach( P => P.Cuentas.forEach(C => {\r\n let _Usuario = new Usuario(P,C,C.AreasAcademicas[0].Roles);\r\n Usuarios.push(_Usuario);\r\n })\r\n );\r\n return Usuarios;\r\n }\r\n\r\n public getPersonaCuentas(P: PersonaCuentas) {\r\n let Cuentas = [];\r\n P.Cuentas.forEach(C => Cuentas.push(new Cuenta(C)));\r\n return Cuentas;\r\n }\r\n\r\n public findUsuario(_List, _Text) {\r\n return _List.find(Est =>\r\n Est.Matricula.toLowerCase().includes(_Text.toLowerCase()) ||\r\n (Est.Nombre+\" \"+Est.ApellidoPaterno+\" \"+Est.ApellidoMaterno).toLowerCase().includes(_Text.toLowerCase()) ||\r\n (Est.Nombre.split(\" \")[0]+\" \"+Est.ApellidoPaterno).toLowerCase().includes(_Text.toLowerCase()) ||\r\n (Est.ApellidoPaterno+\" \"+Est.ApellidoMaterno+\" \"+Est.Nombre).toLowerCase().includes(_Text.toLowerCase()) ||\r\n (Est.ApellidoPaterno+\" \"+Est.Nombre).toLowerCase().includes(_Text.toLowerCase()));\r\n }\r\n\r\n/******************* Accesos *********************/\r\n public ValidarSolicitudConfirmacionCorreo(Token: string): Observable {\r\n const Headers = {\r\n Token: Token\r\n };\r\n console.log(Headers);\r\n return this.API.POST(this.Dominio, \"ValidarSolicitudConfirmacionCorreo\", {}, Headers);\r\n }\r\n\r\n public CrearAcceso(data): Observable {\r\n const Headers = {\r\n Token: data.token,\r\n Contrasena: data.contrasena,\r\n };\r\n return this.API.POST(this.Dominio, \"CrearAcceso\", {}, Headers);\r\n }\r\n\r\n}\r\n"],"sourceRoot":""}