zohodealpos 2.2.4 → 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
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.4"),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})()}}]);
|
package/zoho/index.html
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer">
|
|
13
13
|
<link rel="manifest" href="manifest.webmanifest">
|
|
14
14
|
<meta name="theme-color" content="#1976d2">
|
|
15
|
-
<style>@charset "UTF-8";:root{--blue:#337ab7;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#c9302c;--orange:#f6a828;--yellow:#ffc107;--green:#89b03e;--teal:#20c997;--cyan:#17a2b8;--white:#ffffff;--gray:#6c757d;--gray-dark:#343a40;--primary:#337ab7;--secondary:#cccccc;--success:#89b03e;--info:#17a2b8;--warning:#f6a828;--danger:#c9302c;--light:#dddddd;--dark:#4d4d4d;--light-gray:rgba(203, 203, 210, .15);--light-blue:#dfeffc;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0;font-family:Roboto,sans-serif;font-size:.75rem;font-weight:400;line-height:1.5;color:#333;text-align:left;background-color:#fff}@media (max-width: 991px){body{position:relative}}html,body{height:100%}@media print{html,body{height:auto}body{color:#000!important}}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.
|
|
15
|
+
<style>@charset "UTF-8";:root{--blue:#337ab7;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#c9302c;--orange:#f6a828;--yellow:#ffc107;--green:#89b03e;--teal:#20c997;--cyan:#17a2b8;--white:#ffffff;--gray:#6c757d;--gray-dark:#343a40;--primary:#337ab7;--secondary:#cccccc;--success:#89b03e;--info:#17a2b8;--warning:#f6a828;--danger:#c9302c;--light:#dddddd;--dark:#4d4d4d;--light-gray:rgba(203, 203, 210, .15);--light-blue:#dfeffc;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0;font-family:Roboto,sans-serif;font-size:.75rem;font-weight:400;line-height:1.5;color:#333;text-align:left;background-color:#fff}@media (max-width: 991px){body{position:relative}}html,body{height:100%}@media print{html,body{height:auto}body{color:#000!important}}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/styles.4481c9bb03500e13.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/styles.4481c9bb03500e13.css"></noscript></head>
|
|
16
16
|
<body>
|
|
17
17
|
<app-root></app-root>
|
|
18
18
|
<noscript>Please enable JavaScript to continue using this application.</noscript>
|
|
19
|
-
<script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.
|
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/runtime.263ac42309aba4eb.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/polyfills.d23e93a178e5b024.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/scripts.f6756cf1f07d1f05.js" defer></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/main.71c5b14641a18f67.js" type="module"></script>
|
|
20
20
|
|
|
21
21
|
</body></html>
|
package/zoho/ngsw.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"configVersion": 1,
|
|
3
|
-
"timestamp":
|
|
3
|
+
"timestamp": 1689322152681,
|
|
4
4
|
"index": "/index.html",
|
|
5
5
|
"assetGroups": [
|
|
6
6
|
{
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"ignoreVary": true
|
|
12
12
|
},
|
|
13
13
|
"urls": [
|
|
14
|
-
"/718.
|
|
14
|
+
"/718.af632838d4d214f8.js",
|
|
15
15
|
"/84.19a5ecd4042c78d9.js",
|
|
16
16
|
"/921.29b6d34c3ab4af28.js",
|
|
17
17
|
"/favicon.ico",
|
|
18
18
|
"/main.71c5b14641a18f67.js",
|
|
19
19
|
"/manifest.webmanifest",
|
|
20
20
|
"/polyfills.d23e93a178e5b024.js",
|
|
21
|
-
"/runtime.
|
|
21
|
+
"/runtime.263ac42309aba4eb.js",
|
|
22
22
|
"/scripts.f6756cf1f07d1f05.js",
|
|
23
23
|
"/styles.4481c9bb03500e13.css"
|
|
24
24
|
],
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dataGroups": [],
|
|
49
49
|
"hashTable": {
|
|
50
|
-
"/718.
|
|
50
|
+
"/718.af632838d4d214f8.js": "84a958a227e5085aa2fc5f23f3f6253a9c1f14fc",
|
|
51
51
|
"/84.19a5ecd4042c78d9.js": "251f97f20abb6355e6d2f6cfa9afe11c22edc458",
|
|
52
52
|
"/921.29b6d34c3ab4af28.js": "0cd9e3e2207f5143d42bc5b692295e539c9f9509",
|
|
53
53
|
"/assets/icons/icon-128x128.png": "dae3b6ed49bdaf4327b92531d4b5b4a5d30c7532",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"/main.71c5b14641a18f67.js": "61dd50069cb4d9b7cee0224fe2c764d1196f72a7",
|
|
64
64
|
"/manifest.webmanifest": "40e01f683a92c9900e22bb9c67a0ba2ec99ebb0b",
|
|
65
65
|
"/polyfills.d23e93a178e5b024.js": "13cc5cbf625d0c314527af5edd8e90f7e9eef84c",
|
|
66
|
-
"/runtime.
|
|
66
|
+
"/runtime.263ac42309aba4eb.js": "43d24ea28b0cb8941c37e1a783e70e4b5d7e63dd",
|
|
67
67
|
"/scripts.f6756cf1f07d1f05.js": "bc0b13105f26f22b15a9b3cc7efcb01288eff54d",
|
|
68
68
|
"/styles.4481c9bb03500e13.css": "a352c3a618610505ffc483bc1520974d18954f54"
|
|
69
69
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,o,i)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,i]=e[f],l=!0,d=0;d<t.length;d++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,i<a&&(a=i));if(l){e.splice(f--,1);var
|
|
1
|
+
(()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,o,i)=>{if(!t){var a=1/0;for(f=0;f<e.length;f++){for(var[t,o,i]=e[f],l=!0,d=0;d<t.length;d++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,i<a&&(a=i));if(l){e.splice(f--,1);var c=o();void 0!==c&&(n=c)}}return n}i=i||0;for(var f=e.length;f>0&&e[f-1][2]>i;f--)e[f]=e[f-1];e[f]=[t,o,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,o){if(1&o&&(t=this(t)),8&o||"object"==typeof t&&t&&(4&o&&t.__esModule||16&o&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var f={};n=n||[null,e({}),e([]),e(e)];for(var a=2&o&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>f[l]=()=>t[l]);return f.default=()=>t,r.d(i,f),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{84:"19a5ecd4042c78d9",718:"af632838d4d214f8",921:"29b6d34c3ab4af28"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="zoho:";r.l=(t,o,i,f)=>{if(e[t])e[t].push(o);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var s=d[c];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==n+i){a=s;break}}a||(l=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[o];var u=(g,b)=>{a.onerror=a.onload=null,clearTimeout(p);var _=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),_&&_.forEach(y=>y(b)),g)return g(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="https://cdn.jsdelivr.net/npm/zohodealpos@2.2.5/zoho/",(()=>{var e={666:0};r.f.j=(o,i)=>{var f=r.o(e,o)?e[o]:void 0;if(0!==f)if(f)i.push(f[2]);else if(666!=o){var a=new Promise((s,u)=>f=e[o]=[s,u]);i.push(f[2]=a);var l=r.p+r.u(o),d=new Error;r.l(l,s=>{if(r.o(e,o)&&(0!==(f=e[o])&&(e[o]=void 0),f)){var u=s&&("load"===s.type?"missing":s.type),p=s&&s.target&&s.target.src;d.message="Loading chunk "+o+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,f[1](d)}},"chunk-"+o,o)}else e[o]=0},r.O.j=o=>0===e[o];var n=(o,i)=>{var d,c,[f,a,l]=i,s=0;if(f.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(o&&o(i);s<f.length;s++)r.o(e,c=f[s])&&e[c]&&e[c][0](),e[c]=0;return r.O(u)},t=self.webpackChunkzoho=self.webpackChunkzoho||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})();
|