zohodealpos 2.0.2 → 2.0.3
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/41.8248c081cfc0f157.js +1 -0
- package/zoho/{972.da94ec5e1db10a51.js → 972.b1cbdf4ad460a74b.js} +1 -1
- package/zoho/index.html +2 -2
- package/zoho/main.742503077513268a.js +1 -0
- package/zoho/ngsw.json +9 -9
- package/zoho/runtime.5740332ba3da7328.js +1 -0
- package/zoho/181.4c62c03b6d4cea5d.js +0 -1
- package/zoho/main.f96d6ad40823c5b2.js +0 -1
- package/zoho/runtime.908246764c7ee74d.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[972],{6972:(b,s,i)=>{i.r(s),i.d(s,{LoginModule:()=>f});var c=i(6019),e=i(9010),l=i(1086),t=i(6079),d=i(4129);const p=[{path:"",component:(()=>{class o{constructor(n,r,m,Z){this.httpService=n,this.router=r,this.formBuilder=m,this.elementRef=Z;var g=JSON.parse(window.localStorage.getItem("user"));let h=new Date;null!=g&&new Date(g.expiredAt)>h&&this.router.navigate(["pages/customer-tab/customer"]),this.loginForm=this.formBuilder.group({username:["",e.kI.required],password:["",e.kI.required]})}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}onSubmit(){this.httpService.post("/api/Authentication/Login",JSON.stringify({client_id:this.loginForm.controls.username.value,client_secret:this.loginForm.controls.password.value})).subscribe(r=>{localStorage.setItem("user",JSON.stringify(r)),this.router.navigate(["pages/customer-tab/customer"])},r=>{alert(r.error)})}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(d.O),t.Y36(l.F0),t.Y36(e.qu),t.Y36(t.SBq))},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(n,r){1&n&&(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 r.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.0.
|
|
1
|
+
"use strict";(self.webpackChunkzoho=self.webpackChunkzoho||[]).push([[972],{6972:(b,s,i)=>{i.r(s),i.d(s,{LoginModule:()=>f});var c=i(6019),e=i(9010),l=i(1086),t=i(6079),d=i(4129);const p=[{path:"",component:(()=>{class o{constructor(n,r,m,Z){this.httpService=n,this.router=r,this.formBuilder=m,this.elementRef=Z;var g=JSON.parse(window.localStorage.getItem("user"));let h=new Date;null!=g&&new Date(g.expiredAt)>h&&this.router.navigate(["pages/customer-tab/customer"]),this.loginForm=this.formBuilder.group({username:["",e.kI.required],password:["",e.kI.required]})}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#c3f3f7"}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}onSubmit(){this.httpService.post("/api/Authentication/Login",JSON.stringify({client_id:this.loginForm.controls.username.value,client_secret:this.loginForm.controls.password.value})).subscribe(r=>{localStorage.setItem("user",JSON.stringify(r)),this.router.navigate(["pages/customer-tab/customer"])},r=>{alert(r.error)})}}return o.\u0275fac=function(n){return new(n||o)(t.Y36(d.O),t.Y36(l.F0),t.Y36(e.qu),t.Y36(t.SBq))},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(n,r){1&n&&(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 r.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.0.3"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(10),t.Q6J("formGroup",r.loginForm))},directives:[e._Y,e.JL,e.sg,e.Fj,e.JJ,e.u,e.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})(),data:{title:"Dealpos x ZohoBook"}}];let u=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[l.Bz.forChild(p)],l.Bz]}),o})(),f=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[c.ez,e.u5,e.UX,u]]}),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";.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}: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}}.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.
|
|
15
|
+
<style>@charset "UTF-8";.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}: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}}.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif;letter-spacing:normal}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/styles.de573142f87e669b.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/styles.de573142f87e669b.css"></noscript></head>
|
|
16
16
|
<body class="mat-typography">
|
|
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.0.
|
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/runtime.5740332ba3da7328.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/polyfills.ec35f453602e12cf.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/scripts.286a59437f49ac18.js" defer></script><script src="https://cdn.jsdelivr.net/npm/zohodealpos@2.0.3/zoho/main.742503077513268a.js" type="module"></script>
|
|
20
20
|
|
|
21
21
|
</body></html>
|