dealpos 25.42.0 → 25.42.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 (87) hide show
  1. package/browser/{chunk-HTU7TNUP.js → chunk-2YMLZZTQ.js} +1 -1
  2. package/browser/{chunk-MUWBVOJI.js → chunk-4E2KYPJT.js} +1 -1
  3. package/browser/chunk-4MOSTNVA.js +3 -0
  4. package/browser/{chunk-SXFCBAG6.js → chunk-55U65HSD.js} +1 -1
  5. package/browser/{chunk-DBZKSONS.js → chunk-5AJG5HDI.js} +1 -1
  6. package/browser/{chunk-M34MZTRY.js → chunk-5BKBBN4I.js} +1 -1
  7. package/browser/{chunk-CS3PYDFF.js → chunk-5EJERM6E.js} +1 -1
  8. package/browser/chunk-5EKTXVHQ.js +1 -0
  9. package/browser/{chunk-IWZCWLYG.js → chunk-5HJ6VGWE.js} +1 -1
  10. package/browser/{chunk-KWD4ATP5.js → chunk-5SEFV3QG.js} +1 -1
  11. package/browser/{chunk-5SOJKVR7.js → chunk-5VIFPZ5D.js} +1 -1
  12. package/browser/{chunk-AF2E7NTE.js → chunk-5Y67S5BV.js} +1 -1
  13. package/browser/{chunk-RETQC5XM.js → chunk-5ZIFEEGI.js} +1 -1
  14. package/browser/{chunk-TLWPWXDM.js → chunk-6CAS42OB.js} +1 -1
  15. package/browser/{chunk-VX6ZWRY5.js → chunk-6OOS5QHG.js} +1 -1
  16. package/browser/{chunk-HDBFIDGA.js → chunk-7SC45GNA.js} +1 -1
  17. package/browser/{chunk-6IF4NVBV.js → chunk-7WNL4VON.js} +1 -1
  18. package/browser/{chunk-ZXXXSUM7.js → chunk-AAI6JWC5.js} +1 -1
  19. package/browser/{chunk-NDANDUNF.js → chunk-ADE4IPMV.js} +1 -1
  20. package/browser/{chunk-QDFPKARQ.js → chunk-AY5QZ3W6.js} +1 -1
  21. package/browser/{chunk-FTK6YP6X.js → chunk-B4HMFP42.js} +1 -1
  22. package/browser/{chunk-W5GCPYXR.js → chunk-BEPFMRGE.js} +1 -1
  23. package/browser/{chunk-55KT4HTM.js → chunk-BSIHS2EA.js} +2 -2
  24. package/browser/{chunk-TGGLJVDI.js → chunk-D5K5VZVN.js} +1 -1
  25. package/browser/{chunk-YXEHR27Y.js → chunk-EGQ2HW7A.js} +1 -1
  26. package/browser/{chunk-UHAOZI7V.js → chunk-EKKU5TMC.js} +1 -1
  27. package/browser/{chunk-KKWXZLT5.js → chunk-ENTVT5C2.js} +1 -1
  28. package/browser/{chunk-6AMPRFEN.js → chunk-F6Z777C5.js} +1 -1
  29. package/browser/{chunk-KFFIMVTO.js → chunk-FOWSNZZX.js} +1 -1
  30. package/browser/{chunk-QGDUBOY6.js → chunk-GNAF5D23.js} +2 -2
  31. package/browser/{chunk-MRF4FND7.js → chunk-HFCVE2EL.js} +1 -1
  32. package/browser/{chunk-OOXHLUNH.js → chunk-HIKFNCGX.js} +1 -1
  33. package/browser/{chunk-DHH4PIYF.js → chunk-IC7LV3SK.js} +1 -1
  34. package/browser/{chunk-G75TUOW6.js → chunk-ITQF6HII.js} +1 -1
  35. package/browser/{chunk-5C4DEWEB.js → chunk-IW63ASKB.js} +2 -2
  36. package/browser/{chunk-E2BNDPLE.js → chunk-IYF464XX.js} +1 -1
  37. package/browser/{chunk-5DSWFJVI.js → chunk-JKLJ4KAW.js} +1 -1
  38. package/browser/{chunk-XEQB57SN.js → chunk-KCZNKMQH.js} +1 -1
  39. package/browser/{chunk-2QVRE7LQ.js → chunk-KGLFSTLG.js} +1 -1
  40. package/browser/chunk-KPXHDKIY.js +1 -0
  41. package/browser/{chunk-PIPVFOET.js → chunk-KTBBWEI2.js} +1 -1
  42. package/browser/{chunk-PKRNU4IK.js → chunk-MCQ4J3UT.js} +1 -1
  43. package/browser/{chunk-VRQTOJAL.js → chunk-MGQ5I7BK.js} +1 -1
  44. package/browser/{chunk-DDZ3I4LH.js → chunk-MQKEWZMW.js} +1 -1
  45. package/browser/{chunk-LFGQMERN.js → chunk-NPUWXK3K.js} +1 -1
  46. package/browser/{chunk-5G267UZX.js → chunk-O47TK53N.js} +1 -1
  47. package/browser/{chunk-YTK6Z533.js → chunk-OEARSIZR.js} +1 -1
  48. package/browser/{chunk-ZHQEEPCW.js → chunk-OIQL44PV.js} +1 -1
  49. package/browser/{chunk-CUNZPCNX.js → chunk-OZ5JEMRA.js} +1 -1
  50. package/browser/{chunk-4I4MCBI3.js → chunk-PAXXDG73.js} +1 -1
  51. package/browser/{chunk-3GRGFP66.js → chunk-PDJ7PMBB.js} +1 -1
  52. package/browser/{chunk-YTN2MAGY.js → chunk-PVDNKSRC.js} +1 -1
  53. package/browser/chunk-QMRUEU6Q.js +1 -0
  54. package/browser/{chunk-DSXPDWMW.js → chunk-R3KCKK52.js} +1 -1
  55. package/browser/{chunk-ED6FLVEK.js → chunk-RFAAXFT5.js} +1 -1
  56. package/browser/{chunk-5AVAHDHN.js → chunk-RIRZVGFR.js} +1 -1
  57. package/browser/{chunk-JDOZFN63.js → chunk-RK5QSVFP.js} +1 -1
  58. package/browser/{chunk-7OYSGU2F.js → chunk-RTE36RZ4.js} +1 -1
  59. package/browser/{chunk-RFT3FEVW.js → chunk-SA6YKTKS.js} +2 -2
  60. package/browser/{chunk-C3DQRSEL.js → chunk-STUDNF4L.js} +1 -1
  61. package/browser/{chunk-UDRNMFT2.js → chunk-TFE7D7VV.js} +1 -1
  62. package/browser/{chunk-ZACGGWOQ.js → chunk-UECAH6V7.js} +1 -1
  63. package/browser/{chunk-CQZUC4YF.js → chunk-UOWOBHQL.js} +1 -1
  64. package/browser/{chunk-CICNZFRR.js → chunk-UY6FY532.js} +1 -1
  65. package/browser/{chunk-6RA3MVUV.js → chunk-VAMTYISE.js} +2 -2
  66. package/browser/{chunk-2H4V4O4E.js → chunk-VGPJKK3G.js} +1 -1
  67. package/browser/{chunk-4N6FRENU.js → chunk-VIJ7B625.js} +1 -1
  68. package/browser/{chunk-EAFPSXNJ.js → chunk-WNVQWJ2T.js} +1 -1
  69. package/browser/{chunk-BSVPJNZE.js → chunk-WRBZW62O.js} +1 -1
  70. package/browser/{chunk-EDCFG3LH.js → chunk-WTP4E6M5.js} +1 -1
  71. package/browser/{chunk-ZVEJWL4V.js → chunk-X2WGP6SP.js} +1 -1
  72. package/browser/{chunk-IGHZ4V7Y.js → chunk-XHG7GWS5.js} +2 -2
  73. package/browser/{chunk-F4L5OA5I.js → chunk-XJ25XOBC.js} +1 -1
  74. package/browser/{chunk-BM2UYASI.js → chunk-XO6RYTAS.js} +1 -1
  75. package/browser/{chunk-I3N5TRBQ.js → chunk-XZRKMN4V.js} +1 -1
  76. package/browser/{chunk-UIWSGP55.js → chunk-XZWMENTO.js} +1 -1
  77. package/browser/{chunk-LJXYWJZW.js → chunk-YAWVVMMS.js} +1 -1
  78. package/browser/{chunk-5UGZ6SP2.js → chunk-YQL4ALTP.js} +2 -2
  79. package/browser/{chunk-NIZYEBIJ.js → chunk-ZSOLQ2F4.js} +1 -1
  80. package/browser/{chunk-HTVJTXND.js → chunk-ZWBEJM56.js} +1 -1
  81. package/browser/index.html +2 -2
  82. package/browser/{main-EFBZ6Z35.js → main-SZ6HFSZZ.js} +2 -2
  83. package/package.json +1 -1
  84. package/browser/chunk-CKXIMJSM.js +0 -1
  85. package/browser/chunk-E4EPR65A.js +0 -1
  86. package/browser/chunk-J4ZUV7IH.js +0 -3
  87. package/browser/chunk-XSM7RMIF.js +0 -1
@@ -1 +1 @@
1
- import{a as k}from"./chunk-IWZCWLYG.js";import{C as N,F as L,G as j,c as E,h as A,i as V,k as I,o as R,p as U}from"./chunk-RVXZOIFQ.js";import{c as D}from"./chunk-CUNZPCNX.js";import"./chunk-MUWBVOJI.js";import{a as p}from"./chunk-ZZGSAFGO.js";import"./chunk-LJXYWJZW.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-UXRO4UFY.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-5HJ6VGWE.js";import{C as N,F as L,G as j,c as E,h as A,i as V,k as I,o as R,p as U}from"./chunk-RVXZOIFQ.js";import{c as D}from"./chunk-OZ5JEMRA.js";import"./chunk-4E2KYPJT.js";import{a as p}from"./chunk-ZZGSAFGO.js";import"./chunk-YAWVVMMS.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-UXRO4UFY.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,4 +1,4 @@
1
- var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:3,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"25420",outletMaximumSubscription:10,midtransClientKey:"Mid-client-rdi5ridKhHfeIvTj",ngHttpLoaderDebounceDelay:175,news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:web&sort=sortOrder:asc",changelog:[],uppy:{invoicePayment:25e5,receiptTemplate:25e5},intercom:{appId:"xv1oomgl"},whatsappTemplateMessage:`Thank you for shopping at {Brand}
1
+ var e={production:!0,firebaseConfig:{apiKey:"AIzaSyDnnitFXpM8TglWKNpzu4ChgF98n25Rgvw",authDomain:"auth.dealpos.com",projectId:"devops-signin",storageBucket:"devops-signin.appspot.com",messagingSenderId:"412465165194",appId:"1:412465165194:web:03d806f6b6ab6f8b460e73",measurementId:"G-MNDBRJ5XZD"},pos:{indexedDBVersion:3,submitOrderTimeout:2e4,fileSizeLimit:9e5},version:"25421",outletMaximumSubscription:10,midtransClientKey:"Mid-client-rdi5ridKhHfeIvTj",ngHttpLoaderDebounceDelay:175,news:"https://changelog.dealpos.app/umbraco/delivery/api/v2/content?fetch=children:web&sort=sortOrder:asc",changelog:[],uppy:{invoicePayment:25e5,receiptTemplate:25e5},intercom:{appId:"xv1oomgl"},whatsappTemplateMessage:`Thank you for shopping at {Brand}
2
2
  Here is the receipt for your purchase {Number} - {Currency} {Amount}
3
3
  {ReceiptLink}
4
4
  Please let us know about your shopping experience using the receipt link.`,FALLBACK_PRODUCT_IMAGE_URL:"https://cdn.dealpos.app/template/products_thumb.png"};export{e as a};