{"version":3,"sources":["webpack:///./src/app/publicComponents/new-password/new-password.component.html","webpack:///./src/app/publicComponents/new-password/new-password.component.css","webpack:///./src/app/publicComponents/new-password/new-password.component.ts","webpack:///./src/app/publicComponents/new-password/new-password.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qwEAAqwE,6DAA6D,y+BAAy+B,qDAAqD,miFAAmiF,cAAc,+sCAA+sC,mGAAmG,2CAA2C,2CAA2C,sCAAsC,uBAAuB,suB;;;;;;;;;;;ACAt1O,uCAAuC,6CAA6C,wCAAwC,KAAK,mDAAmD,2gB;;;;;;;;;;;;;;;;;;;;;;;;;;;ACApL;gFACgF;AAC9B;AACT;AACgC;AACzB;AAChD,gDAAgD;AAShD,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAkB/B,YAAoB,MAAc,EAAU,kBAAsC,EAAU,cAAiC;QAAzG,WAAM,GAAN,MAAM,CAAQ;QAAU,uBAAkB,GAAlB,kBAAkB,CAAoB;QAAU,mBAAc,GAAd,cAAc,CAAmB;QAf7H,UAAK,GAAQ,EAAE,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC;QAC/D,WAAM,GAAG,KAAK,CAAC;QACf,eAAU,GAAG,IAAI,CAAC;QAClB,mBAAc,GAAG,KAAK,CAAC;QACvB,mBAAc,GAAG,KAAK,CAAC;QAEvB,0BAA0B;QAC1B,aAAQ,GAAW,GAAG,CAAC;QACvB,cAAS,GAAW,GAAG,CAAC;QACxB,aAAQ,GAAW,KAAK,CAAC;QAQvB,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;IACzD,CAAC;IAPD,uBAAuB;QACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAMD,QAAQ;IACR,CAAC;IACD,WAAW;QACT,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC;QAC3B,IAAI,CAAC,MAAM,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\\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
Regresar
\\r\\n
\\r\\n \\\"Thomas\\r\\n
\\r\\n
\\r\\n

Crear Nueva 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
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n

El campo Confirmar Nueva Contraseña no puede estar vacío.

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

Las contraseñas no coinciden.

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

El campo Nueva Contraseña no puede estar vacío.

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

La contraseña debe contener un mínimo de ocho caracteres, conformada por letras mayúsculas, minúsculas, símbolos y números.

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

\\r\\n Todos los Derechos Reservados:
\\r\\n ® Manejo Técnico de Información S.A.\\r\\n

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

{{ErrorMessage}}

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

\\r\\n Todos los Derechos Reservados:
\\r\\n ® Manejo Técnico de Información S.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 \\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\"","module.exports = \"\\r\\n.b-thomas.login {\\r\\n background: url('back.jpg') !important;\\r\\n background-size: cover !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcHVibGljQ29tcG9uZW50cy9uZXctcGFzc3dvcmQvbmV3LXBhc3N3b3JkLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBO0VBQ0Usc0NBQXdEO0VBQ3hELGlDQUFpQztBQUNuQyIsImZpbGUiOiJzcmMvYXBwL3B1YmxpY0NvbXBvbmVudHMvbmV3LXBhc3N3b3JkL25ldy1wYXNzd29yZC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbi5iLXRob21hcy5sb2dpbiB7XHJcbiAgYmFja2dyb3VuZDogdXJsKC4uLy4uLy4uL2Fzc2V0cy9pbWcvYmFjay5qcGcpICFpbXBvcnRhbnQ7XHJcbiAgYmFja2dyb3VuZC1zaXplOiBjb3ZlciAhaW1wb3J0YW50O1xyXG59XHJcbiJdfQ== */\"","/*Componente encargado de recibir la respuesta del servicio NewPasswordService.\r\nControla el comportamiento de la vista de acuerdo a la respuesta del servicio.*/\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { NewPasswordService } from '../../services/new-password.service';\r\nimport { NgxSpinnerService } from \"ngx-spinner\";\r\n//import Messages from '../../../Messages.json';\r\n\r\n@Component({\r\n selector: 'app-new-password',\r\n templateUrl: './new-password.component.html',\r\n styleUrls: ['./new-password.component.css']\r\n\r\n})\r\n\r\nexport class NewPasswordComponent implements OnInit {\r\n fieldNewPass: boolean;\r\n fieldConfirmPass: boolean;\r\n model: any = { Email: sessionStorage.getItem(\"emailSession\") };\r\n IsShow = false;\r\n IsShowForm = true;\r\n IsShowPassword = false;\r\n IsShowSamePass = false;\r\n ErrorMessage: string;\r\n //Message: any = Messages;\r\n State_OK: number = 200;\r\n State_BAD: number = 601;\r\n WaitTime: number = 10000;\r\n\r\n ClickPasswordSuccessful(): void {\r\n this.router.navigate(['/home']);\r\n }\r\n\r\n constructor(private router: Router, private NewPasswordService: NewPasswordService, private SpinnerService: NgxSpinnerService) {\r\n\r\n sessionStorage.setItem('previousPage', 'new-password');\r\n }\r\n ngOnInit() {\r\n }\r\n NewPassword() {\r\n this.SpinnerService.show();\r\n this.IsShow = false;\r\n this.IsShowPassword = false;\r\n \r\n this.NewPasswordService.NewPassword(this.model).subscribe((data: any) => {\r\n this.SpinnerService.show();\r\n if (data.state == this.State_OK) {\r\n this.SpinnerService.hide();\r\n this.ErrorMessage = data.message;\r\n this.IsShowForm = !this.IsShowForm;\r\n this.IsShowSamePass = !this.IsShowSamePass;\r\n this.IsShowPassword = !this.IsShowPassword;\r\n this.IsShow = !this.IsShow;\r\n setTimeout(() => {\r\n this.router.navigate(['/home']);\r\n }, this.WaitTime);\r\n }\r\n\r\n if (data.state == this.State_BAD) {\r\n\r\n this.SpinnerService.hide();\r\n this.ErrorMessage = data.message\r\n this.IsShow = !this.IsShow;\r\n this.IsShowPassword = true;\r\n this.IsShowSamePass = false;\r\n }\r\n\r\n if (data.state == 0) {\r\n this.SpinnerService.hide();\r\n this.ErrorMessage = data.message\r\n this.IsShow = !this.IsShow;\r\n }\r\n this.SpinnerService.hide();\r\n },\r\n error => {\r\n this.SpinnerService.hide();\r\n this.ErrorMessage = error.message;\r\n this.IsShow = !this.IsShow;\r\n });\r\n };\r\n}\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { SharedCoreModule } from './../../shared/sharedCore.module';\r\n\r\nimport { NewPasswordComponent } from './new-password.component';\r\nimport { NewPasswordService } from '../../services/new-password.service';\r\n\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { NgxSpinnerModule } from \"ngx-spinner\"; \r\n\r\nconst routes: Routes = [\r\n { path: '', component: NewPasswordComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n SharedCoreModule,\r\n RouterModule.forChild(routes),\r\n HttpClientModule,\r\n NgxSpinnerModule\r\n \r\n ],\r\n declarations: [\r\n NewPasswordComponent\r\n ],\r\n providers: [NewPasswordService], // servicios de los que depende el componente.\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class NewPasswordModule { }\r\n"],"sourceRoot":""}