dealpos 25.35.0 → 25.35.1

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.
Files changed (83) hide show
  1. package/browser/{chunk-AMVKJINW.js → chunk-2766CBQU.js} +1 -1
  2. package/browser/{chunk-Z32KNNLJ.js → chunk-2FSZUUQP.js} +1 -1
  3. package/browser/{chunk-4SD7QLKT.js → chunk-34QCNJH3.js} +1 -1
  4. package/browser/{chunk-Y3S3P6H6.js → chunk-3AY3BZNI.js} +1 -1
  5. package/browser/{chunk-V4RMUXVG.js → chunk-3DFVMZGU.js} +1 -1
  6. package/browser/{chunk-ZGZFS5F3.js → chunk-3GFJDGM7.js} +1 -1
  7. package/browser/{chunk-6BGIQ2TR.js → chunk-3O4GNGWN.js} +1 -1
  8. package/browser/{chunk-HCCKG5TU.js → chunk-3XSCHJBQ.js} +1 -1
  9. package/browser/{chunk-IEYFQYBN.js → chunk-3ZDDH7CJ.js} +1 -1
  10. package/browser/chunk-43V3SW6V.js +1 -0
  11. package/browser/{chunk-57I42Y5O.js → chunk-4JJZP56N.js} +1 -1
  12. package/browser/{chunk-3CZPBSIO.js → chunk-4MY4AG7R.js} +1 -1
  13. package/browser/{chunk-D52N3GTW.js → chunk-53T5DMNY.js} +1 -1
  14. package/browser/{chunk-L2URUGUC.js → chunk-5W7J67BI.js} +1 -1
  15. package/browser/{chunk-JAUYUM55.js → chunk-6BK25JQ2.js} +1 -1
  16. package/browser/{chunk-SW2O7GUR.js → chunk-6BQ5KQE5.js} +1 -1
  17. package/browser/{chunk-63QFRYZ6.js → chunk-6HI5Q42V.js} +1 -1
  18. package/browser/{chunk-RSEOPD7O.js → chunk-7LVND3SO.js} +1 -1
  19. package/browser/{chunk-UMO3DTSP.js → chunk-7OHS7GGR.js} +1 -1
  20. package/browser/{chunk-OZWALGSJ.js → chunk-7S2SHB7E.js} +1 -1
  21. package/browser/{chunk-QKSFZRSN.js → chunk-7SNT6DIY.js} +2 -2
  22. package/browser/{chunk-6TVZGUJT.js → chunk-7YRDPDDJ.js} +1 -1
  23. package/browser/{chunk-OUBPYXIU.js → chunk-A2UILJ3G.js} +1 -1
  24. package/browser/{chunk-QOZHIZ3D.js → chunk-AM4K7VSL.js} +1 -1
  25. package/browser/{chunk-HCPN4UYS.js → chunk-ANESQVY4.js} +1 -1
  26. package/browser/chunk-B4MIOMFY.js +218 -0
  27. package/browser/{chunk-DESKSVRN.js → chunk-BFYXXJX5.js} +1 -1
  28. package/browser/{chunk-K23ZJXPE.js → chunk-BIA32MUQ.js} +2 -2
  29. package/browser/{chunk-3SFLS7AA.js → chunk-DTIWIZAF.js} +1 -1
  30. package/browser/chunk-DYCGOJEI.js +1 -0
  31. package/browser/{chunk-OQ6O7X6A.js → chunk-DZR4HR3V.js} +2 -2
  32. package/browser/{chunk-76EL4EMC.js → chunk-E53GH46E.js} +1 -1
  33. package/browser/{chunk-6ZH2PX4X.js → chunk-E6WAWCVM.js} +1 -1
  34. package/browser/{chunk-HBG3WWD2.js → chunk-FXF3CZHR.js} +1 -1
  35. package/browser/{chunk-2AZ5GQLM.js → chunk-FZ6OXVRF.js} +1 -1
  36. package/browser/{chunk-DBZE6I2A.js → chunk-G6YDN74M.js} +1 -1
  37. package/browser/{chunk-A5K5JIX5.js → chunk-GNWZZTUM.js} +1 -1
  38. package/browser/{chunk-PR6TKJAP.js → chunk-GVVAZDAH.js} +1 -1
  39. package/browser/{chunk-FSZAZE2R.js → chunk-GX2FRFKJ.js} +1 -1
  40. package/browser/{chunk-BIZ6WNX4.js → chunk-HC43XRYO.js} +1 -1
  41. package/browser/{chunk-MXBQE7OC.js → chunk-HMYXRXMU.js} +1 -1
  42. package/browser/{chunk-MWXOUBR7.js → chunk-HX4MQJ5S.js} +1 -1
  43. package/browser/{chunk-SEMTZ44I.js → chunk-IJB4UV6O.js} +1 -1
  44. package/browser/chunk-IJQPLU7Y.js +1 -0
  45. package/browser/{chunk-CGWIZIB5.js → chunk-IPEY3FYO.js} +1 -1
  46. package/browser/{chunk-6ESGXS4E.js → chunk-IPT2M2BI.js} +1 -1
  47. package/browser/chunk-JADCHWZ7.js +1 -0
  48. package/browser/{chunk-XUQXBJW4.js → chunk-JPZQ6WUN.js} +1 -1
  49. package/browser/{chunk-KYJHS3TQ.js → chunk-KXXXUEET.js} +1 -1
  50. package/browser/{chunk-526RUIWM.js → chunk-M3GDT4VK.js} +1 -1
  51. package/browser/{chunk-XTY72JVR.js → chunk-M7DLH62Y.js} +1 -1
  52. package/browser/{chunk-LCWINJ3S.js → chunk-MTTYVYZR.js} +1 -1
  53. package/browser/{chunk-XZLPWBP4.js → chunk-NU2RYCZP.js} +1 -1
  54. package/browser/{chunk-LUHVAYU5.js → chunk-O7SLYO56.js} +2 -2
  55. package/browser/{chunk-MBR7OUSZ.js → chunk-OH7LXBVM.js} +1 -1
  56. package/browser/{chunk-EQDPTRJH.js → chunk-ORQNNEMX.js} +1 -1
  57. package/browser/chunk-P2KAE5YM.js +12 -0
  58. package/browser/{chunk-C2FSCGTV.js → chunk-PEJQ3PAR.js} +1 -1
  59. package/browser/{chunk-MQEWLL64.js → chunk-PJ3GC36H.js} +2 -2
  60. package/browser/{chunk-QSJLS5MY.js → chunk-PYE7OONS.js} +1 -1
  61. package/browser/{chunk-V2B2HCUQ.js → chunk-Q72OT36E.js} +1 -1
  62. package/browser/{chunk-KETVOLOA.js → chunk-QND5TRRL.js} +1 -1
  63. package/browser/{chunk-A5SP3OU6.js → chunk-QNRJHTV4.js} +1 -1
  64. package/browser/{chunk-XRJUYMUR.js → chunk-RWHZGR5I.js} +1 -1
  65. package/browser/{chunk-Y6RS2MIM.js → chunk-SUQPLO6J.js} +1 -1
  66. package/browser/{chunk-BQPDBCK4.js → chunk-T3UD2BIM.js} +1 -1
  67. package/browser/{chunk-SBLXPQX4.js → chunk-TLB32ZLG.js} +4 -4
  68. package/browser/{chunk-WAWMS353.js → chunk-UGSSRWE7.js} +1 -1
  69. package/browser/{chunk-EQT5AA72.js → chunk-X64V2BD6.js} +1 -1
  70. package/browser/{chunk-GSVFEJ5F.js → chunk-XOH52E2X.js} +1 -1
  71. package/browser/{chunk-HJD2CCUZ.js → chunk-Y4TUJFQT.js} +1 -1
  72. package/browser/{chunk-PSRZCYR5.js → chunk-Y7HFAPAX.js} +1 -1
  73. package/browser/{chunk-UDET2HLI.js → chunk-ZHO5KMQM.js} +1 -1
  74. package/browser/{chunk-54GRLNFA.js → chunk-ZV673CNQ.js} +1 -1
  75. package/browser/index.html +2 -2
  76. package/browser/{main-GPFLRGDB.js → main-7OQ7F5EZ.js} +2 -2
  77. package/package.json +1 -1
  78. package/browser/chunk-32UK4H6W.js +0 -218
  79. package/browser/chunk-3Q63PZEI.js +0 -1
  80. package/browser/chunk-3SZM464L.js +0 -1
  81. package/browser/chunk-4V77U4UK.js +0 -1
  82. package/browser/chunk-ILGKKLNX.js +0 -12
  83. package/browser/chunk-PWX7DNOH.js +0 -1
@@ -1 +1 @@
1
- import{a as k}from"./chunk-Y6RS2MIM.js";import{A as N,D as L,E as j,c as E,h as A,i as V,k as I,o as R,p as U}from"./chunk-P7HKWFZT.js";import{c as D}from"./chunk-BIZ6WNX4.js";import"./chunk-UDET2HLI.js";import{a as p}from"./chunk-AHCRE4GP.js";import"./chunk-LCWINJ3S.js";import{$a as b,$b as x,Ib as i,Jb as n,Kb as u,Ob as C,Qb as g,Qd as M,Vd as P,Zb as S,_b as _,d as f,da as v,db as d,ec as s,jc as w,kb as y,kc as O,lc as T,va as l,wa as m}from"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";var z=["totpCode"],F=class h{constructor(e,t,o,r){this.authenticatorService=e;this.router=t;this.authService=o;this.toastrService=r;this.redirectUrl=this.authService.returnUrl,this.destroy$=new f,this.checkOnRefreshPage()}validationCodeEl;validationCode;redirectUrl;destroy$;ngOnInit(){document.body.classList.add("login-body")}ngAfterViewInit(){this.validationCodeEl.nativeElement.focus()}ngOnDestroy(){document.body.classList.remove("login-body"),this.destroy$.next(!0),this.destroy$.complete()}checkOnRefreshPage(){p.IsEmpty(this.authService.loginResponse)&&this.router.navigate(["/"])}onSubmit(){this.validateOnVerfiyCode()&&this.authenticatorService.validateCode(this.validationCode,this.authService.loginResponse.UserID).pipe(v(this.destroy$)).subscribe({next:e=>{if(this.authService.saveLoginConfigToStorage(e),p.IsNotEmpty(this.redirectUrl))this.router.navigateByUrl(this.redirectUrl),this.authService.returnUrl=null;else{let t=this.authService.getRedirectUrl();this.router.navigate([t])}}})}validateOnVerfiyCode(){let e=!0;return p.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 p.numberOnly(e)}submitOnFullOTP(e){e.length==6&&this.onSubmit()}static \u0275fac=function(t){return new(t||h)(d(k),d(M),d(D),d(P))};static \u0275cmp=y({type:h,selectors:[["POS-auth-totp"]],viewQuery:function(t,o){if(t&1&&S(z,5),t&2){let r;_(r=x())&&(o.validationCodeEl=r.first)}},decls:28,vars:1,consts:[["totpCode",""],[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-first","form-pane"],[1,"text-start"],[1,"mt-6","text-start"],[3,"submit"],[1,"row","mt-3"],[1,"col-12","text-start","otp-container","position-relative"],["for","totpCode",1,"form-label"],["type","text","maxlength","6","data-cy","totp-code","aria-label","Username","name","totp-code","id","totpCode",1,"border-0",3,"ngModelChange","keypress","ngModel"],[1,"stripe"],["type","submit",1,"btn","btn-lg","btn-primary","rounded-1","fw-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(t,o){if(t&1){let r=C();i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),s(4,"Enter time-based OTP"),n(),i(5,"p",5),s(6,"Enter the OTP generated on your authenticator app"),n(),i(7,"form",6),g("submit",function(){return l(r),m(o.onSubmit())}),i(8,"div",7)(9,"div",8)(10,"label",9),s(11,"AUTHENTICATION CODE"),n(),i(12,"input",10,0),T("ngModelChange",function(a){return l(r),O(o.validationCode,a)||(o.validationCode=a),m(a)}),g("keypress",function(a){return l(r),m(o.numberOnly(a))})("ngModelChange",function(a){return l(r),m(o.submitOnFullOTP(a))}),n(),i(14,"span",11),s(15,"______"),n(),i(16,"button",12),s(17," Verify "),n()()()()(),i(18,"div",13)(19,"div",14),u(20,"img",15),n()()(),i(21,"div",16)(22,"div",17)(23,"div")(24,"span"),s(25,"powered by :"),n(),u(26,"a",18)(27,"img",19),n()()()()}t&2&&(b(12),w("ngModel",o.validationCode))},dependencies:[j,U,E,A,V,N,L,R,I],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}.totp-pane[_ngcontent-%COMP%]{max-width:57rem;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}}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;width:325px;font-family:monospace;background:transparent;z-index:1;position:relative}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none!important}.otp-container[_ngcontent-%COMP%] .stripe[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;font-family:monospace;position:absolute;padding-top:6px;z-index:0;bottom:0;left:14px}"]})};export{F as AuthTotpComponent};
1
+ import{a as k}from"./chunk-SUQPLO6J.js";import{A as N,D as L,E as j,c as E,h as A,i as V,k as I,o as R,p as U}from"./chunk-P7HKWFZT.js";import{c as D}from"./chunk-HC43XRYO.js";import"./chunk-ZHO5KMQM.js";import{a as p}from"./chunk-AHCRE4GP.js";import"./chunk-MTTYVYZR.js";import{$a as b,$b as x,Ib as i,Jb as n,Kb as u,Ob as C,Qb as g,Qd as M,Vd as P,Zb as S,_b as _,d as f,da as v,db as d,ec as s,jc as w,kb as y,kc as O,lc as T,va as l,wa as m}from"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";var z=["totpCode"],F=class h{constructor(e,t,o,r){this.authenticatorService=e;this.router=t;this.authService=o;this.toastrService=r;this.redirectUrl=this.authService.returnUrl,this.destroy$=new f,this.checkOnRefreshPage()}validationCodeEl;validationCode;redirectUrl;destroy$;ngOnInit(){document.body.classList.add("login-body")}ngAfterViewInit(){this.validationCodeEl.nativeElement.focus()}ngOnDestroy(){document.body.classList.remove("login-body"),this.destroy$.next(!0),this.destroy$.complete()}checkOnRefreshPage(){p.IsEmpty(this.authService.loginResponse)&&this.router.navigate(["/"])}onSubmit(){this.validateOnVerfiyCode()&&this.authenticatorService.validateCode(this.validationCode,this.authService.loginResponse.UserID).pipe(v(this.destroy$)).subscribe({next:e=>{if(this.authService.saveLoginConfigToStorage(e),p.IsNotEmpty(this.redirectUrl))this.router.navigateByUrl(this.redirectUrl),this.authService.returnUrl=null;else{let t=this.authService.getRedirectUrl();this.router.navigate([t])}}})}validateOnVerfiyCode(){let e=!0;return p.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 p.numberOnly(e)}submitOnFullOTP(e){e.length==6&&this.onSubmit()}static \u0275fac=function(t){return new(t||h)(d(k),d(M),d(D),d(P))};static \u0275cmp=y({type:h,selectors:[["POS-auth-totp"]],viewQuery:function(t,o){if(t&1&&S(z,5),t&2){let r;_(r=x())&&(o.validationCodeEl=r.first)}},decls:28,vars:1,consts:[["totpCode",""],[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-first","form-pane"],[1,"text-start"],[1,"mt-6","text-start"],[3,"submit"],[1,"row","mt-3"],[1,"col-12","text-start","otp-container","position-relative"],["for","totpCode",1,"form-label"],["type","text","maxlength","6","data-cy","totp-code","aria-label","Username","name","totp-code","id","totpCode",1,"border-0",3,"ngModelChange","keypress","ngModel"],[1,"stripe"],["type","submit",1,"btn","btn-lg","btn-primary","rounded-1","fw-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(t,o){if(t&1){let r=C();i(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),s(4,"Enter time-based OTP"),n(),i(5,"p",5),s(6,"Enter the OTP generated on your authenticator app"),n(),i(7,"form",6),g("submit",function(){return l(r),m(o.onSubmit())}),i(8,"div",7)(9,"div",8)(10,"label",9),s(11,"AUTHENTICATION CODE"),n(),i(12,"input",10,0),T("ngModelChange",function(a){return l(r),O(o.validationCode,a)||(o.validationCode=a),m(a)}),g("keypress",function(a){return l(r),m(o.numberOnly(a))})("ngModelChange",function(a){return l(r),m(o.submitOnFullOTP(a))}),n(),i(14,"span",11),s(15,"______"),n(),i(16,"button",12),s(17," Verify "),n()()()()(),i(18,"div",13)(19,"div",14),u(20,"img",15),n()()(),i(21,"div",16)(22,"div",17)(23,"div")(24,"span"),s(25,"powered by :"),n(),u(26,"a",18)(27,"img",19),n()()()()}t&2&&(b(12),w("ngModel",o.validationCode))},dependencies:[j,U,E,A,V,N,L,R,I],styles:["input[type=submit][_ngcontent-%COMP%]{font-size:1.125rem;width:11.25rem;font-family:Roboto Slab,serif}.totp-pane[_ngcontent-%COMP%]{max-width:57rem;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}}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;width:325px;font-family:monospace;background:transparent;z-index:1;position:relative}.otp-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none!important}.otp-container[_ngcontent-%COMP%] .stripe[_ngcontent-%COMP%]{font-size:32px;letter-spacing:32px;font-family:monospace;position:absolute;padding-top:6px;z-index:0;bottom:0;left:14px}"]})};export{F as AuthTotpComponent};
@@ -0,0 +1 @@
1
+ import{$a as t,Ib as a,Ja as m,Jb as i,Kb as r,Wa as s,ec as o,fc as d,gc as y,kb as l,vb as c}from"./chunk-DZT5XHBQ.js";var u=class p{title=m("No Data Available");message=m("Your data will be shown here once it's available");emptyStateIcon="https://res.cloudinary.com/pos/image/upload/v1705388070/POS/Images/Cashier/globalnodata.svg";static \u0275fac=function(e){return new(e||p)};static \u0275cmp=l({type:p,selectors:[["app-empty-state"]],inputs:{title:[1,"title"],message:[1,"message"]},decls:7,vars:3,consts:[[1,"text-center","my-8"],[2,"width","100px",3,"src"],[1,"fw-normal","mt-6","opacity-25"],[1,"mt-6","opacity-25"]],template:function(e,n){e&1&&(a(0,"div",0)(1,"div"),r(2,"img",1),i(),a(3,"h4",2),o(4),i(),a(5,"small",3),o(6),i()()),e&2&&(t(2),c("src",n.emptyStateIcon,s),t(2),d(n.title()),t(2),y(" ",n.message()," "))},encapsulation:2})};export{u as a};