-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path883.824fa58b04144ff9.js
1 lines (1 loc) · 6.73 KB
/
883.824fa58b04144ff9.js
1
"use strict";(self.webpackChunkaes_admin=self.webpackChunkaes_admin||[]).push([[883],{2883:(N,l,e)=>{e.r(l),e.d(l,{AuthForgotPasswordModule:()=>J});var m=e(5357),g=e(7423),d=e(7322),c=e(5245),u=e(7531),f=e(773),h=e(5804),p=e(7775),v=e(2266),a=e(3075),w=e(8746),x=e(8288),o=e(5e3),F=e(8951),Z=e(9808);const A=["forgotPasswordNgForm"];function y(t,n){1&t&&(o.TgZ(0,"mat-error"),o._uU(1," El correo electr\xf3nico es obligatorio "),o.qZA())}function P(t,n){1&t&&(o.TgZ(0,"mat-error"),o._uU(1," Por favor introduzca una direcci\xf3n de correo valida. "),o.qZA())}function T(t,n){1&t&&(o.TgZ(0,"span"),o._uU(1," Enviar enlace de renovaci\xf3n "),o.qZA())}function b(t,n){1&t&&o._UZ(0,"mat-progress-spinner",36),2&t&&o.Q6J("diameter",24)("mode","indeterminate")}const U=function(){return["/sign-in"]},C=[{path:"",component:(()=>{class t{constructor(r,s,i){this._authService=r,this._formBuilder=s,this._router=i}ngOnInit(){this.forgotPasswordForm=this._formBuilder.group({email:["",[a.kI.required,a.kI.email]]})}sendResetLink(){this.forgotPasswordForm.invalid||(this.forgotPasswordForm.disable(),this._authService.forgotPassword(this.forgotPasswordForm.get("email").value).pipe((0,w.x)(()=>{this.forgotPasswordForm.enable(),this.forgotPasswordNgForm.resetForm()})).subscribe(r=>{this._router.navigate(["/confirmation-forgot-password"])},r=>{}))}}return t.\u0275fac=function(r){return new(r||t)(o.Y36(F.e),o.Y36(a.qu),o.Y36(m.F0))},t.\u0275cmp=o.Xpm({type:t,selectors:[["auth-forgot-password"]],viewQuery:function(r,s){if(1&r&&o.Gf(A,5),2&r){let i;o.iGM(i=o.CRH())&&(s.forgotPasswordNgForm=i.first)}},decls:54,vars:10,consts:[[1,"flex","flex-col","sm:flex-row","items-center","md:items-start","sm:justify-center","md:justify-start","flex-auto","min-w-0"],[1,"md:flex","md:items-center","md:justify-end","w-full","sm:w-auto","md:h-full","md:w-1/2","py-8","px-4","sm:p-12","md:p-16","sm:rounded-2xl","md:rounded-none","sm:shadow","md:shadow-none","sm:bg-card"],[1,"w-full","max-w-80","sm:w-80","mx-auto","sm:mx-0"],[1,"w-12"],["src","assets/images/logo/logo.svg"],[1,"mt-8","text-4xl","font-extrabold","tracking-tight","leading-tight"],[1,"mt-0.5","font-medium"],[1,"mt-8",3,"formGroup"],["forgotPasswordNgForm","ngForm"],[1,"w-full"],["id","email","matInput","",3,"formControlName"],[4,"ngIf"],["mat-flat-button","",1,"fuse-mat-button-large","w-full","mt-3",3,"color","disabled","click"],[3,"diameter","mode",4,"ngIf"],[1,"mt-8","text-md","font-medium","text-secondary"],[1,"ml-1","text-primary-500","hover:underline",3,"routerLink"],[1,"relative","hidden","md:flex","flex-auto","items-center","justify-center","w-1/2","h-full","p-16","lg:px-28","overflow-hidden","bg-gray-800","dark:border-l"],["viewBox","0 0 960 540","width","100%","height","100%","preserveAspectRatio","xMidYMax slice","xmlns","http://www.w3.org/2000/svg",1,"absolute","inset-0","pointer-events-none"],["fill","none","stroke","currentColor","stroke-width","100",1,"text-gray-700","opacity-25"],["r","234","cx","196","cy","23"],["r","234","cx","790","cy","491"],["viewBox","0 0 220 192","width","220","height","192","fill","none",1,"absolute","-top-16","-right-16","text-gray-700"],["id","837c3e70-6c3a-44e6-8854-cc48c737b659","x","0","y","0","width","20","height","20","patternUnits","userSpaceOnUse"],["x","0","y","0","width","4","height","4","fill","currentColor"],["width","220","height","192","fill","url(#837c3e70-6c3a-44e6-8854-cc48c737b659)"],[1,"z-10","relative","w-full","max-w-2xl"],[1,"text-7xl","font-bold","leading-none","text-gray-100"],[1,"mt-6","text-lg","leading-6","tracking-tight","text-gray-400"],[1,"flex","items-center","mt-8"],[1,"flex","flex-0","items-center","-space-x-1.5"],["src","assets/images/team/anabel.webp",1,"object-cover","w-10","h-10","rounded-full","flex-0","ring-4","ring-offset-1","ring-gray-800","ring-offset-gray-800"],["src","assets/images/team/frank.webp",1,"object-cover","w-10","h-10","rounded-full","flex-0","ring-4","ring-offset-1","ring-gray-800","ring-offset-gray-800"],["src","assets/images/team/andiel.webp",1,"object-cover","w-10","h-10","rounded-full","flex-0","ring-4","ring-offset-1","ring-gray-800","ring-offset-gray-800"],["src","assets/images/team/lazaro.webp",1,"object-cover","w-10","h-10","rounded-full","flex-0","ring-4","ring-offset-1","ring-gray-800","ring-offset-gray-800"],[1,"ml-4","font-medium","tracking-tight","text-gray-400"],["href","https://athendat.site","target","_blank",1,"text-blue-400","hover:underline"],[3,"diameter","mode"]],template:function(r,s){1&r&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),o._UZ(4,"img",4),o.qZA(),o.TgZ(5,"div",5),o._uU(6,"\xbfOlvid\xf3 su contrase\xf1a?"),o.qZA(),o.TgZ(7,"div",6),o._uU(8,"Rellene el formulario y renove su contrase\xf1a"),o.qZA(),o.TgZ(9,"form",7,8)(11,"mat-form-field",9)(12,"mat-label"),o._uU(13,"Correo electr\xf3nico"),o.qZA(),o._UZ(14,"input",10),o.YNc(15,y,2,0,"mat-error",11),o.YNc(16,P,2,0,"mat-error",11),o.qZA(),o.TgZ(17,"button",12),o.NdJ("click",function(){return s.sendResetLink()}),o.YNc(18,T,2,0,"span",11),o.YNc(19,b,1,2,"mat-progress-spinner",13),o.qZA(),o.TgZ(20,"div",14)(21,"span"),o._uU(22,"Regresar a"),o.qZA(),o.TgZ(23,"a",15),o._uU(24,"Iniciar Sesi\xf3n "),o.qZA()()()()(),o.TgZ(25,"div",16),o.O4$(),o.TgZ(26,"svg",17)(27,"g",18),o._UZ(28,"circle",19)(29,"circle",20),o.qZA()(),o.TgZ(30,"svg",21)(31,"defs")(32,"pattern",22),o._UZ(33,"rect",23),o.qZA()(),o._UZ(34,"rect",24),o.qZA(),o.kcU(),o.TgZ(35,"div",25)(36,"div",26)(37,"div"),o._uU(38,"Bienvenido a"),o.qZA(),o.TgZ(39,"div"),o._uU(40,"nuestra plataforma"),o.qZA()(),o.TgZ(41,"div",27),o._uU(42," ATHENDAT es una plataforma en l\xednea de aplicaciones empresariales destinada a desarrollar y potenciar al m\xe1ximo los beneficios de los negocios cubanos ofreciendo herramientas modernas, flexibles y robustas que garanticen el cumplimiento normativo de nuestro pa\xeds. "),o.qZA(),o.TgZ(43,"div",28)(44,"div",29),o._UZ(45,"img",30)(46,"img",31)(47,"img",32)(48,"img",33),o.qZA(),o.TgZ(49,"div",34),o._uU(50,"Para m\xe1s detalles consulte nuestra "),o.TgZ(51,"a",35),o._uU(52,"web"),o.qZA(),o._uU(53,"."),o.qZA()()()()()),2&r&&(o.xp6(9),o.Q6J("formGroup",s.forgotPasswordForm),o.xp6(5),o.Q6J("formControlName","email"),o.xp6(1),o.Q6J("ngIf",s.forgotPasswordForm.get("email").hasError("required")),o.xp6(1),o.Q6J("ngIf",s.forgotPasswordForm.get("email").hasError("email")),o.xp6(1),o.Q6J("color","primary")("disabled",s.forgotPasswordForm.disabled),o.xp6(1),o.Q6J("ngIf",!s.forgotPasswordForm.disabled),o.xp6(1),o.Q6J("ngIf",s.forgotPasswordForm.disabled),o.xp6(4),o.Q6J("routerLink",o.DdM(9,U)))},dependencies:[m.yS,g.lW,d.TO,d.KE,d.hX,u.Nt,f.Ou,Z.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u],encapsulation:2,data:{animation:x.L}}),t})()}];let J=(()=>{class t{}return t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[m.Bz.forChild(C),g.ot,d.lN,c.Ps,u.c,f.Cq,h.J,p.fC,v.m]}),t})()}}]);