zohodealpos 2.2.3 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/zoho/{718.89aded6e94bc3492.js → 718.af632838d4d214f8.js} +1 -1
- package/zoho/{921.d000ee09f982e05b.js → 921.29b6d34c3ab4af28.js} +1 -1
- package/zoho/index.html +2 -2
- package/zoho/ngsw.json +7 -7
- package/zoho/{runtime.28b768f8b34d973d.js → runtime.263ac42309aba4eb.js} +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"zohodealpos","version":"2.2.
|
|
1
|
+
{"name":"zohodealpos","version":"2.2.5"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[718],{7718:(O,m,a)=>{a.r(m),a.d(m,{LoginModule:()=>A});var u=a(9808),i=a(4182),g=a(8555),d=a(7406),t=a(9863),f=a(2994),h=a(405);let p=(()=>{class o{constructor(e,n){this.httpService=e,this.router=n}get loginResponse(){return this._loginResponse}login(e,n){return this.httpService.post("/api/Authentication/Login",JSON.stringify({client_id:e,client_secret:n})).pipe((0,f.b)(l=>{this._loginResponse=l,d.g.IsEmpty(l.UserID)&&d.g.IsNotEmpty(l.access_token)&&this.saveLoginResponse(l)}))}saveLoginResponse(e){localStorage.setItem("user",JSON.stringify(e))}redirectAfterLogin(){this.router.navigate(["pages/customer-tab/customer"])}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(h.O),t.LFG(g.F0))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Z=(()=>{class o{constructor(e,n,r,l){this.router=e,this.formBuilder=n,this.elementRef=r,this.authService=l;var c=JSON.parse(window.localStorage.getItem("user"));let x=new Date;null!=c&&new Date(c.expiredAt)>x&&this.router.navigate(["pages/customer-tab/customer"]),this.loginForm=this.formBuilder.group({username:["",i.kI.required],password:["",i.kI.required]})}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}onSubmit(){this.authService.login(this.loginForm.controls.username.value,this.loginForm.controls.password.value).subscribe(r=>{this.handlingSuccessLogin(r)},r=>{alert(r.error)})}handlingSuccessLogin(e){d.g.IsNotEmpty(e.UserID)&&d.g.IsEmpty(e.access_token)?this.router.navigate(["/verify-2fa"]):this.authService.redirectAfterLogin()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(g.F0),t.Y36(i.qu),t.Y36(t.SBq),t.Y36(p))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:37,vars:1,consts:[[1,"container"],[1,"row","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],["src","https://res.cloudinary.com/pos/image/upload/w_450/v1603265432/zohobooksxdealpos.png","alt","integration-image",1,"img-fluid"],[1,"col-12","col-md-5","order-first","order-md-last"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"ml-2","font-weight-normal","font-xl","robotoslab"],[3,"formGroup"],[1,"form-label-group"],["type","text","formControlName","username","name","username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-left"],["for","inputPassword",1,"text-left"],["type","password","formControlName","password","name","password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-left"],["type","submit",1,"btn","btn-lg","btn-primary","btn-block",3,"click"],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","mr-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],["href","https://changelog.dealpos.com/?categories=cat_V5iwt9cDrwQcE&view=complete","target","_blank"],[1,"pt-1rem","font-italic"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t._UZ(3,"img",3),t.qZA(),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t.TgZ(6,"div",6),t.TgZ(7,"div",7),t.TgZ(8,"h2",8),t._uU(9,"Sign in"),t.qZA(),t.qZA(),t.TgZ(10,"form",9),t.TgZ(11,"div",10),t._UZ(12,"input",11),t.TgZ(13,"label",12),t._uU(14,"Username"),t.qZA(),t.qZA(),t.TgZ(15,"div",10),t._UZ(16,"input",13),t.TgZ(17,"label",12),t._uU(18,"Password"),t.qZA(),t.qZA(),t.TgZ(19,"button",14),t.NdJ("click",function(){return n.onSubmit()}),t._uU(20,"Sign in"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",15),t.TgZ(22,"p",16),t._uU(23,"Powered by : "),t.qZA(),t.TgZ(24,"a",17),t._UZ(25,"img",18),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(26,"footer",19),t.TgZ(27,"div",20),t.TgZ(28,"div",21),t.TgZ(29,"p",16),t._uU(30,"Powered by : "),t.qZA(),t.TgZ(31,"a",17),t._UZ(32,"img",18),t.qZA(),t.qZA(),t.TgZ(33,"div",22),t.TgZ(34,"a",23),t.TgZ(35,"p",24),t._uU(36,"Version 2.2.3"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(10),t.Q6J("formGroup",n.loginForm))},directives:[i._Y,i.JL,i.sg,i.Fj,i.JJ,i.u,i.Q7],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}"]}),o})();var v=a(8929),b=a(1896),y=a(2290);const C=["totpCode"],T=[{path:"",component:Z,data:{title:"Dealpos x ZohoBook"}},{path:"verify-2fa",component:(()=>{class o{constructor(e,n,r,l,c){this.totpService=e,this.authService=n,this.toastrService=r,this.elementRef=l,this.router=c,this.destroy$=new v.xQ,this.checkOnRefreshPage()}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngAfterViewInit(){this.validationCodeEl.nativeElement.focus()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white",this.destroy$.next(),this.destroy$.complete()}checkOnRefreshPage(){d.g.IsEmpty(this.authService.loginResponse)&&this.router.navigate(["/"])}onSubmit(){var e;if(!this.validateOnVerfiyCode())return;const n=null===(e=this.authService.loginResponse)||void 0===e?void 0:e.UserID;this.totpService.validateCode(this.validationCode,n).subscribe(r=>{this.authService.saveLoginResponse(r),this.authService.redirectAfterLogin()})}validateOnVerfiyCode(){let e=!0;return d.g.IsEmpty(this.validationCode)?(e=!1,this.toastrService.warning("You must enter a authentication code.","Warning")):(this.validationCode.length<6||this.validationCode.length>6)&&(e=!1,this.toastrService.warning("The authentication code must be six digits long.","Warning")),e}numberOnly(e){return d.g.numberOnly(e)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(b.g),t.Y36(p),t.Y36(y._W),t.Y36(t.SBq),t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-totp"]],viewQuery:function(e,n){if(1&e&&t.Gf(C,5),2&e){let r;t.iGM(r=t.CRH())&&(n.validationCodeEl=r.first)}},decls:28,vars:1,consts:[[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-first","form-pane"],[1,"text-left","font-weight-bold"],[1,"mt-6","text-left"],[3,"submit"],[1,"row","mt-3"],[1,"col-12","text-left"],["for","totpCode",1,"form-label"],["type","text","data-cy","totp-code","placeholder","6-digit code","aria-label","Username","name","totp-code","id","totpCode",1,"form-control","form-control-lg","rounded","ps-6",2,"height","50px",3,"ngModel","ngModelChange","keypress"],["totpCode",""],[1,"d-md-flex","justify-content-end","mt-6"],[1,"order-md-last"],["type","submit",1,"btn","btn-lg","btn-primary","rounded-1","font-weight-normal","rounded-0"],[1,"col-md-5","order-md-last","order-last","border-start","border-secondary","d-flex","align-items-center","justify-content-center","img-pane"],[1,"d-flex","align-items-center","justify-content-center","mb-6"],["src","//res.cloudinary.com/pos/image/upload/v1666079494/POS/Images/Login/TOTP.png",1,"border-0",2,"width","50%"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"ms-3","border-0"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"h3",3),t._uU(4,"Enter time-based OTP"),t.qZA(),t.TgZ(5,"p",4),t._uU(6,"Enter the OTP generated on your authenticator app"),t.qZA(),t.TgZ(7,"form",5),t.NdJ("submit",function(){return n.onSubmit()}),t.TgZ(8,"div",6),t.TgZ(9,"div",7),t.TgZ(10,"label",8),t._uU(11,"AUTHENTICATION CODE"),t.qZA(),t.TgZ(12,"input",9,10),t.NdJ("ngModelChange",function(l){return n.validationCode=l})("keypress",function(l){return n.numberOnly(l)}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"div",11),t.TgZ(15,"div",12),t.TgZ(16,"button",13),t._uU(17," Verify "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div",14),t.TgZ(19,"div",15),t._UZ(20,"img",16),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",17),t.TgZ(22,"div",18),t.TgZ(23,"div"),t.TgZ(24,"span"),t._uU(25,"powered by :"),t.qZA(),t._UZ(26,"a",19),t._UZ(27,"img",20),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(12),t.Q6J("ngModel",n.validationCode))},directives:[i._Y,i.JL,i.F,i.Fj,i.JJ,i.On],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}.totp-pane[_ngcontent-%COMP%]{max-width:54rem;height:max-content;margin-top:140px}@media (max-width: 768px){.totp-pane[_ngcontent-%COMP%]{margin-top:0}}.form-pane[_ngcontent-%COMP%]{padding:3rem}@media (max-width: 768px){.form-pane[_ngcontent-%COMP%]{padding:50px 24px 30px}}@media (max-width: 768px){.img-pane[_ngcontent-%COMP%]{border:0px!important}}"]}),o})(),data:{title:"Dealpos x ZohoBook"}}];let w=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[g.Bz.forChild(T)],g.Bz]}),o})(),A=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[u.ez,i.u5,i.UX,w]]}),o})()}}]);
|
|
1
|
+
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[718],{7718:(O,m,a)=>{a.r(m),a.d(m,{LoginModule:()=>A});var u=a(9808),i=a(4182),g=a(8555),d=a(7406),t=a(9863),f=a(2994),h=a(405);let p=(()=>{class o{constructor(e,n){this.httpService=e,this.router=n}get loginResponse(){return this._loginResponse}login(e,n){return this.httpService.post("/api/Authentication/Login",JSON.stringify({client_id:e,client_secret:n})).pipe((0,f.b)(l=>{this._loginResponse=l,d.g.IsEmpty(l.UserID)&&d.g.IsNotEmpty(l.access_token)&&this.saveLoginResponse(l)}))}saveLoginResponse(e){localStorage.setItem("user",JSON.stringify(e))}redirectAfterLogin(){this.router.navigate(["pages/customer-tab/customer"])}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(h.O),t.LFG(g.F0))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})(),Z=(()=>{class o{constructor(e,n,r,l){this.router=e,this.formBuilder=n,this.elementRef=r,this.authService=l;var c=JSON.parse(window.localStorage.getItem("user"));let x=new Date;null!=c&&new Date(c.expiredAt)>x&&this.router.navigate(["pages/customer-tab/customer"]),this.loginForm=this.formBuilder.group({username:["",i.kI.required],password:["",i.kI.required]})}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}onSubmit(){this.authService.login(this.loginForm.controls.username.value,this.loginForm.controls.password.value).subscribe(r=>{this.handlingSuccessLogin(r)},r=>{alert(r.error)})}handlingSuccessLogin(e){d.g.IsNotEmpty(e.UserID)&&d.g.IsEmpty(e.access_token)?this.router.navigate(["/verify-2fa"]):this.authService.redirectAfterLogin()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(g.F0),t.Y36(i.qu),t.Y36(t.SBq),t.Y36(p))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:37,vars:1,consts:[[1,"container"],[1,"row","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],["src","https://res.cloudinary.com/pos/image/upload/w_450/v1603265432/zohobooksxdealpos.png","alt","integration-image",1,"img-fluid"],[1,"col-12","col-md-5","order-first","order-md-last"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"ml-2","font-weight-normal","font-xl","robotoslab"],[3,"formGroup"],[1,"form-label-group"],["type","text","formControlName","username","name","username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-left"],["for","inputPassword",1,"text-left"],["type","password","formControlName","password","name","password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-left"],["type","submit",1,"btn","btn-lg","btn-primary","btn-block",3,"click"],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","mr-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"row","justify-content-between","align-items-center"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],["href","https://changelog.dealpos.com/?categories=cat_V5iwt9cDrwQcE&view=complete","target","_blank"],[1,"pt-1rem","font-italic"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t._UZ(3,"img",3),t.qZA(),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t.TgZ(6,"div",6),t.TgZ(7,"div",7),t.TgZ(8,"h2",8),t._uU(9,"Sign in"),t.qZA(),t.qZA(),t.TgZ(10,"form",9),t.TgZ(11,"div",10),t._UZ(12,"input",11),t.TgZ(13,"label",12),t._uU(14,"Username"),t.qZA(),t.qZA(),t.TgZ(15,"div",10),t._UZ(16,"input",13),t.TgZ(17,"label",12),t._uU(18,"Password"),t.qZA(),t.qZA(),t.TgZ(19,"button",14),t.NdJ("click",function(){return n.onSubmit()}),t._uU(20,"Sign in"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",15),t.TgZ(22,"p",16),t._uU(23,"Powered by : "),t.qZA(),t.TgZ(24,"a",17),t._UZ(25,"img",18),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(26,"footer",19),t.TgZ(27,"div",20),t.TgZ(28,"div",21),t.TgZ(29,"p",16),t._uU(30,"Powered by : "),t.qZA(),t.TgZ(31,"a",17),t._UZ(32,"img",18),t.qZA(),t.qZA(),t.TgZ(33,"div",22),t.TgZ(34,"a",23),t.TgZ(35,"p",24),t._uU(36,"Version 2.2.5"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(10),t.Q6J("formGroup",n.loginForm))},directives:[i._Y,i.JL,i.sg,i.Fj,i.JJ,i.u,i.Q7],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:90%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:2.5rem}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]{max-width:70%}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}"]}),o})();var v=a(8929),b=a(1896),y=a(2290);const C=["totpCode"],T=[{path:"",component:Z,data:{title:"Dealpos x ZohoBook"}},{path:"verify-2fa",component:(()=>{class o{constructor(e,n,r,l,c){this.totpService=e,this.authService=n,this.toastrService=r,this.elementRef=l,this.router=c,this.destroy$=new v.xQ,this.checkOnRefreshPage()}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngAfterViewInit(){this.validationCodeEl.nativeElement.focus()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white",this.destroy$.next(),this.destroy$.complete()}checkOnRefreshPage(){d.g.IsEmpty(this.authService.loginResponse)&&this.router.navigate(["/"])}onSubmit(){var e;if(!this.validateOnVerfiyCode())return;const n=null===(e=this.authService.loginResponse)||void 0===e?void 0:e.UserID;this.totpService.validateCode(this.validationCode,n).subscribe(r=>{this.authService.saveLoginResponse(r),this.authService.redirectAfterLogin()})}validateOnVerfiyCode(){let e=!0;return d.g.IsEmpty(this.validationCode)?(e=!1,this.toastrService.warning("You must enter a authentication code.","Warning")):(this.validationCode.length<6||this.validationCode.length>6)&&(e=!1,this.toastrService.warning("The authentication code must be six digits long.","Warning")),e}numberOnly(e){return d.g.numberOnly(e)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(b.g),t.Y36(p),t.Y36(y._W),t.Y36(t.SBq),t.Y36(g.F0))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-totp"]],viewQuery:function(e,n){if(1&e&&t.Gf(C,5),2&e){let r;t.iGM(r=t.CRH())&&(n.validationCodeEl=r.first)}},decls:28,vars:1,consts:[[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-first","form-pane"],[1,"text-left","font-weight-bold"],[1,"mt-6","text-left"],[3,"submit"],[1,"row","mt-3"],[1,"col-12","text-left"],["for","totpCode",1,"form-label"],["type","text","data-cy","totp-code","placeholder","6-digit code","aria-label","Username","name","totp-code","id","totpCode",1,"form-control","form-control-lg","rounded","ps-6",2,"height","50px",3,"ngModel","ngModelChange","keypress"],["totpCode",""],[1,"d-md-flex","justify-content-end","mt-6"],[1,"order-md-last"],["type","submit",1,"btn","btn-lg","btn-primary","rounded-1","font-weight-normal","rounded-0"],[1,"col-md-5","order-md-last","order-last","border-start","border-secondary","d-flex","align-items-center","justify-content-center","img-pane"],[1,"d-flex","align-items-center","justify-content-center","mb-6"],["src","//res.cloudinary.com/pos/image/upload/v1666079494/POS/Images/Login/TOTP.png",1,"border-0",2,"width","50%"],[1,"fixed-bottom"],[1,"d-flex","justify-content-start","mb-11","mx-11","footer-mobile"],["target","_blank","href","http://www.dealpos.com"],["src","//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"ms-3","border-0"]],template:function(e,n){1&e&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"h3",3),t._uU(4,"Enter time-based OTP"),t.qZA(),t.TgZ(5,"p",4),t._uU(6,"Enter the OTP generated on your authenticator app"),t.qZA(),t.TgZ(7,"form",5),t.NdJ("submit",function(){return n.onSubmit()}),t.TgZ(8,"div",6),t.TgZ(9,"div",7),t.TgZ(10,"label",8),t._uU(11,"AUTHENTICATION CODE"),t.qZA(),t.TgZ(12,"input",9,10),t.NdJ("ngModelChange",function(l){return n.validationCode=l})("keypress",function(l){return n.numberOnly(l)}),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"div",11),t.TgZ(15,"div",12),t.TgZ(16,"button",13),t._uU(17," Verify "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(18,"div",14),t.TgZ(19,"div",15),t._UZ(20,"img",16),t.qZA(),t.qZA(),t.qZA(),t.TgZ(21,"div",17),t.TgZ(22,"div",18),t.TgZ(23,"div"),t.TgZ(24,"span"),t._uU(25,"powered by :"),t.qZA(),t._UZ(26,"a",19),t._UZ(27,"img",20),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&e&&(t.xp6(12),t.Q6J("ngModel",n.validationCode))},directives:[i._Y,i.JL,i.F,i.Fj,i.JJ,i.On],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}.totp-pane[_ngcontent-%COMP%]{max-width:54rem;height:max-content;margin-top:140px}@media (max-width: 768px){.totp-pane[_ngcontent-%COMP%]{margin-top:0}}.form-pane[_ngcontent-%COMP%]{padding:3rem}@media (max-width: 768px){.form-pane[_ngcontent-%COMP%]{padding:50px 24px 30px}}@media (max-width: 768px){.img-pane[_ngcontent-%COMP%]{border:0px!important}}"]}),o})(),data:{title:"Dealpos x ZohoBook"}}];let w=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[g.Bz.forChild(T)],g.Bz]}),o})(),A=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[u.ez,i.u5,i.UX,w]]}),o})()}}]);
|