dealpos 25.48.0 → 25.48.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.
- package/browser/{chunk-55K6ABR7.js → chunk-22Q4GFCS.js} +1 -1
- package/browser/{chunk-BTJPSMLV.js → chunk-2YJP5PQJ.js} +1 -1
- package/browser/{chunk-Q6KWA7ML.js → chunk-327LILIU.js} +1 -1
- package/browser/{chunk-H44MWYXB.js → chunk-33ZBZA3U.js} +4 -4
- package/browser/{chunk-2LYXOQ5N.js → chunk-37E4SNZ3.js} +1 -1
- package/browser/{chunk-QPMF6WP7.js → chunk-3ALHEPKV.js} +1 -1
- package/browser/{chunk-5WZX5UDC.js → chunk-3DZLNGPO.js} +1 -1
- package/browser/{chunk-FUS5ABYT.js → chunk-3N7EBSCG.js} +1 -1
- package/browser/{chunk-OBXCVFDY.js → chunk-3VKLSTEH.js} +1 -1
- package/browser/{chunk-LPWVUN75.js → chunk-4F6J35GL.js} +1 -1
- package/browser/{chunk-YOIV5LCG.js → chunk-4KLLS7S5.js} +1 -1
- package/browser/{chunk-MNZTXNPB.js → chunk-4OD3JW2M.js} +1 -1
- package/browser/chunk-4RYYICV5.js +3 -0
- package/browser/{chunk-KY577SRX.js → chunk-5U73W2IZ.js} +1 -1
- package/browser/{chunk-NCLOGMP4.js → chunk-62V34GYI.js} +1 -1
- package/browser/{chunk-3THWKHRL.js → chunk-6F4WKG7M.js} +1 -1
- package/browser/{chunk-4AKG7BSF.js → chunk-6QBYWFJ4.js} +1 -1
- package/browser/{chunk-5S5ZFAPJ.js → chunk-7DCWSNUN.js} +1 -1
- package/browser/{chunk-4RKRHCPA.js → chunk-7T6YO3VY.js} +1 -1
- package/browser/{chunk-MNVLPMSI.js → chunk-A4TTSCQT.js} +1 -1
- package/browser/{chunk-RKBLZASG.js → chunk-A5WQMHVO.js} +1 -1
- package/browser/{chunk-HEPRCWZT.js → chunk-BWEEC6HM.js} +1 -1
- package/browser/{chunk-VC7J7CSQ.js → chunk-BXOQMC5N.js} +1 -1
- package/browser/{chunk-LB7NU42O.js → chunk-CDFNRJAQ.js} +1 -1
- package/browser/{chunk-VXHN6MWB.js → chunk-CSURZQS6.js} +1 -1
- package/browser/{chunk-ZEIM63JO.js → chunk-CUU2G2CM.js} +1 -1
- package/browser/{chunk-KWKY5NGW.js → chunk-CZYGX5TM.js} +1 -1
- package/browser/{chunk-UJTEC3AC.js → chunk-D2JKYGM3.js} +1 -1
- package/browser/{chunk-NFAOMT2P.js → chunk-DEOVGQZC.js} +2 -2
- package/browser/{chunk-HYURPMUC.js → chunk-DZ6FWYAF.js} +1 -1
- package/browser/{chunk-MYKOQWDM.js → chunk-E7ISSVA3.js} +1 -1
- package/browser/{chunk-QHNGMJWX.js → chunk-EHJXCRPX.js} +1 -1
- package/browser/{chunk-IMVZUGYH.js → chunk-ETLWM6MW.js} +1 -1
- package/browser/{chunk-V4KJNBS7.js → chunk-EX6JLLRB.js} +1 -1
- package/browser/{chunk-WWQSFAIE.js → chunk-FY3CQQFL.js} +1 -1
- package/browser/{chunk-ND6K5DYL.js → chunk-FYMATMVS.js} +1 -1
- package/browser/{chunk-YWDEOTPR.js → chunk-GEMHTJVB.js} +1 -1
- package/browser/{chunk-P43N5BDV.js → chunk-GHBBRGW2.js} +1 -1
- package/browser/{chunk-CWFUNJQI.js → chunk-GTJDUG56.js} +1 -1
- package/browser/{chunk-CJII6RPH.js → chunk-GZ7UUU3F.js} +1 -1
- package/browser/{chunk-WCCWWFYE.js → chunk-HIQKF5X3.js} +1 -1
- package/browser/{chunk-K5L5HMWR.js → chunk-HNK3XQEI.js} +1 -1
- package/browser/{chunk-A4H6IBC3.js → chunk-HS44M5L3.js} +1 -1
- package/browser/{chunk-S5HK3JOC.js → chunk-HUYWGTVQ.js} +1 -1
- package/browser/{chunk-ECEHKAWW.js → chunk-HVFAKTAO.js} +1 -1
- package/browser/{chunk-32RSQ3UU.js → chunk-IMM4P55U.js} +1 -1
- package/browser/{chunk-Z2CO5BFP.js → chunk-IMSDBLRH.js} +1 -1
- package/browser/{chunk-56J3O2YI.js → chunk-KQYNW4DG.js} +3 -3
- package/browser/chunk-KR2YGW5S.js +5 -0
- package/browser/chunk-L5KVMIM3.js +24 -0
- package/browser/{chunk-YFRQWQ66.js → chunk-LVC4ZU2C.js} +1 -1
- package/browser/{chunk-ZNIIYEEO.js → chunk-M3CGB5RK.js} +2 -2
- package/browser/{chunk-3KNGE65M.js → chunk-M4HEF65P.js} +1 -1
- package/browser/{chunk-OK5EBIMF.js → chunk-MP4RQSWT.js} +2 -2
- package/browser/{chunk-4XGRIAZ2.js → chunk-N5SEZOII.js} +1 -1
- package/browser/{chunk-RFCZ4NNF.js → chunk-N7SUEV3C.js} +1 -1
- package/browser/{chunk-2IIAMAC2.js → chunk-NDSWUR7R.js} +1 -1
- package/browser/{chunk-YYGLCUQ6.js → chunk-NETNL55X.js} +1 -1
- package/browser/{chunk-AE6CDP2N.js → chunk-NHWTJY64.js} +1 -1
- package/browser/{chunk-63AFDUIT.js → chunk-O5CTER4C.js} +12 -12
- package/browser/{chunk-QQXPISMR.js → chunk-OU7YY2CV.js} +1 -1
- package/browser/{chunk-7XC4XIHR.js → chunk-P32JEM3L.js} +1 -1
- package/browser/{chunk-7TWRUF3H.js → chunk-P6LF5RPW.js} +1 -1
- package/browser/chunk-PD5SVXID.js +1 -0
- package/browser/{chunk-YJFCUHVH.js → chunk-QA67WF7E.js} +1 -1
- package/browser/{chunk-MZIYTJ6Z.js → chunk-QFWPOP7L.js} +1 -1
- package/browser/{chunk-DFUQ53YY.js → chunk-RDAIK2LU.js} +1 -1
- package/browser/{chunk-R3BLOGD6.js → chunk-REBD6XHD.js} +1 -1
- package/browser/{chunk-3L267ZNV.js → chunk-S3K63CGI.js} +1 -1
- package/browser/{chunk-722XQJ5H.js → chunk-SVECNUUA.js} +1 -1
- package/browser/{chunk-BNYVOYYX.js → chunk-T2ECIFZW.js} +1 -1
- package/browser/{chunk-HQMGZB3H.js → chunk-T2IWW7SS.js} +1 -1
- package/browser/{chunk-QQDH2U6C.js → chunk-THUJIHI7.js} +1 -1
- package/browser/{chunk-54W52P5V.js → chunk-UAIR26OK.js} +1 -1
- package/browser/{chunk-SDRB6Y54.js → chunk-UHVNH2XA.js} +1 -1
- package/browser/{chunk-KVE6HTDK.js → chunk-UILJOKEL.js} +1 -1
- package/browser/{chunk-BMSRWGKX.js → chunk-VAVKHKIO.js} +1 -1
- package/browser/{chunk-6BKNXERF.js → chunk-W4ZCLNTU.js} +1 -1
- package/browser/{chunk-L7CBHHVQ.js → chunk-W7CJ25G5.js} +1 -1
- package/browser/{chunk-4IQRI3GN.js → chunk-X2JCAGKP.js} +1 -1
- package/browser/{chunk-4KMRZ2TB.js → chunk-YLLLGS4S.js} +1 -1
- package/browser/{chunk-NS7V266J.js → chunk-YU4JSVLL.js} +1 -1
- package/browser/{chunk-DSF34FWR.js → chunk-ZQGXWDT6.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-7GOIEWD6.js → main-NN7FZ4DK.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-47T7IWRR.js +0 -5
- package/browser/chunk-AKFNDMFE.js +0 -3
- package/browser/chunk-NVYVELCF.js +0 -24
- package/browser/chunk-YUTT2QKH.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as L}from"./chunk-
|
|
1
|
+
import{a as L}from"./chunk-2YJP5PQJ.js";import{C as N,F as j,G as D,c as P,h as A,i as V,k as I,o as R,p as U}from"./chunk-RNLSEEMX.js";import{c as k}from"./chunk-E7ISSVA3.js";import"./chunk-HVFAKTAO.js";import{a as m}from"./chunk-USJ6ILEE.js";import"./chunk-NETNL55X.js";import{Db as i,Eb as n,Fb as u,Mb as y,Ob as h,Ub as _,Vb as S,Wb as x,Xa as b,Yd as M,be as E,d as f,da as v,db as d,dc as s,hb as C,ic as w,jc as O,kc as T,ta as l,ua as p}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var F=["totpCode"],z=class g{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(){m.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),m.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 m.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 m.numberOnly(e)}submitOnFullOTP(e){e.length==6&&this.onSubmit()}static \u0275fac=function(t){return new(t||g)(d(L),d(M),d(k),d(E))};static \u0275cmp=C({type:g,selectors:[["POS-auth-totp"]],viewQuery:function(t,o){if(t&1&&_(F,5),t&2){let r;S(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","https://cdn.dealpos.xyz/web-image/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","https://cdn.dealpos.app/public/logo/dealpos_130.png",1,"ms-3","border-0"]],template:function(t,o){if(t&1){let r=y();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),h("submit",function(){return l(r),p(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),p(a)}),h("keypress",function(a){return l(r),p(o.numberOnly(a))})("ngModelChange",function(a){return l(r),p(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:[D,U,P,A,V,N,j,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{z as AuthTotpComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f}from"./chunk-
|
|
1
|
+
import{c as f}from"./chunk-E7ISSVA3.js";import{a as m}from"./chunk-NETNL55X.js";import{Bd as l,I as c,be as v,ee as u,k as n,la as s,oa as e,yd as h}from"./chunk-JYZTRN6N.js";var d=class o{constructor(t,r,p,i){this.httpService=t;this.authService=r;this.httpClientService=p;this.toastr=i}port=window.location.href.split("localhost:")[1]?.split("/")[0];hostURL=t=>m.production?t:`https://localhost:${this.port}${t}`;configure2FA(t){return this.httpService.post("/api/Authentication/Setup_2FA",t)}validateCode(t,r){let p=this.authService.loginResponse?.Token,i=new h({"Content-Type":"application/json","Cache-Control":"no-cache"});i=i.append("Authorization","Bearer "+p);let S={ValidationCode:t,UserID:r};return this.httpClientService.post(this.hostURL("/api/Login/Validate_2FA "),S,{headers:i}).pipe(c(a=>(this.toastr.error(a?.error?.Message,"Error - "+a.status),n)))}disableTwoFactorAuthentication(){let t={enabled:!1};return this.httpService.post("/api/Authentication/Setup_2FA",t)}static \u0275fac=function(r){return new(r||o)(e(u),e(f),e(l),e(v))};static \u0275prov=s({token:o,factory:o.\u0275fac,providedIn:"root"})};export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as J,b as K}from"./chunk-HD2QU6GJ.js";import{e as Y,f as z}from"./chunk-
|
|
1
|
+
import{a as J,b as K}from"./chunk-HD2QU6GJ.js";import{e as Y,f as z}from"./chunk-YLLLGS4S.js";import"./chunk-3VKLSTEH.js";import{a as A,b as G}from"./chunk-HIQKF5X3.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import"./chunk-C4WJKF7R.js";import{O as U}from"./chunk-T25N3EEG.js";import"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import"./chunk-RNLSEEMX.js";import"./chunk-E7ISSVA3.js";import"./chunk-HVFAKTAO.js";import{d as k}from"./chunk-USJ6ILEE.js";import"./chunk-NETNL55X.js";import{$d as j,Bc as v,Cb as d,Cc as V,Db as r,Dc as S,Eb as n,Fb as c,Qb as f,Wd as B,Xa as o,Y as M,Zd as $,aa as E,db as I,dc as a,ee as q,fa as P,fc as C,hb as b,kd as N,lb as D,lc as L,mc as R,md as H,nc as s,pa as F,rd as w,t as g,tc as T,u as h,uc as O,vb as u,xb as p}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import{a as y,b as _}from"./chunk-SNAKHGZS.js";var W=()=>["/menu/Logistics/Setup/Courier/Form"],X=i=>({ID:i});function Z(i,m){if(i&1&&(r(0,"a",1),c(1,"i",16),a(2,"Edit"),n()),i&2){f();let e=s(0);d("routerLink",T(2,W))("queryParams",O(3,X,e==null||e.Form==null?null:e.Form.ID))}}function ee(i,m){if(i&1&&a(0),i&2){f(2);let e=s(0);C(" / ",e.Form.Creator," ")}}function ie(i,m){if(i&1&&(a(0),v(1,"date"),u(2,ee,1,1)),i&2){f();let e=s(0);C(" ",S(1,2,e.Form.Created,"dd MMM yyyy HH:mm")," "),o(2),p(!(e==null||e.Form==null)&&e.Form.Creator?2:-1)}}function te(i,m){i&1&&a(0," - ")}function ne(i,m){if(i&1&&a(0),i&2){f(2);let e=s(0);C(" / ",e.Form.Modifier," ")}}function oe(i,m){if(i&1&&(r(0,"span",15)(1,"b"),a(2,"Modified:"),n(),a(3),v(4,"date"),u(5,ne,1,1),n()),i&2){f();let e=s(0);o(3),C(" ",S(4,2,e==null||e.Form==null?null:e.Form.Modified,"dd MMM yyyy HH:mm")," "),o(2),p(!(e==null||e.Form==null)&&e.Form.Modified&&(!(e==null||e.Form==null)&&e.Form.Modifier)?5:-1)}}var Q=class i extends A{constructor(e,l){super(e);this.pageSetupService=e;this.role=l;this.initCourierInfo()}httpService=F(q);activeRoute=F(B);courierInfo$;ngOnInit(){}initCourierInfo(){this.courierInfo$=h([this.menuData$,this.activeRoute.queryParams]).pipe(E(([e,l])=>this.httpService.get(`${U.GetCourierInfo}/${l.ID}`)),g(e=>{let l=e?.Form?.EntityName?e?.Form?.EntityName?.join(", "):"";return e.Form=_(y({},e.Form),{Entity:l}),e}),P(e=>{this.menuData.H=e?.PageTitle||"Courier Info"}),M(1))}static \u0275fac=function(l){return new(l||i)(I(G),I(k))};static \u0275cmp=b({type:i,selectors:[["app-courier-info"]],features:[D],decls:32,vars:12,consts:[[3,"pageData","hideSearchBox","hideSearchDropdown"],["role","button","matTooltipPosition","above","matTooltip","Edit",1,"btn","btn-outline-secondary","me-3",3,"routerLink","queryParams"],[1,"container-fluid","mt-5"],[1,"row"],[1,"col-sm-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"col-6"],[1,"form-floating-outline"],["labelValue","Name",3,"inputValue"],["labelValue","Suspend",3,"inputValue"],["labelValue","Destination Outlet Filter",3,"inputValue"],[1,"alert","alert-warning"],["aria-hidden","true",1,"fa","fa-file-text-o"],[1,"ms-3"],["aria-hidden","true",1,"fa-solid","fa-pen-to-square","me-3"]],template:function(l,x){if(l&1&&(L(0),v(1,"async"),r(2,"mainpanel-cmp",0)(3,"actions"),u(4,Z,3,5,"a",1),n(),r(5,"content")(6,"div",2)(7,"div",3)(8,"div",4)(9,"div",5)(10,"div",6)(11,"h3"),a(12,"General"),n()(),r(13,"div",7)(14,"div",3)(15,"div",8)(16,"div",9),c(17,"POS-info-page-input",10),n()(),r(18,"div",8)(19,"div",9),c(20,"POS-info-page-input",11),n()(),r(21,"div",8)(22,"div",9),c(23,"POS-info-page-input",12),n()()()()()()(),r(24,"div",13),c(25,"i",14),r(26,"span")(27,"b"),a(28,"Created: "),n(),u(29,ie,3,5)(30,te,1,0),n(),u(31,oe,6,5,"span",15),n()()()()),l&2){let t=R(V(1,9,x.courierInfo$));o(2),d("pageData",x.menuData)("hideSearchBox",!0)("hideSearchDropdown",!0),o(2),p(x.role.logistic.Edit?4:-1),o(13),d("inputValue",t==null||t.Form==null?null:t.Form.Name),o(3),d("inputValue",!(t==null||t.Form==null)&&t.Form.Bin?"Yes":"No"),o(3),d("inputValue",t==null||t.Form==null?null:t.Form.Entity),o(6),p(!(t==null||t.Form==null)&&t.Form.Created?29:30),o(2),p(!(t==null||t.Form==null)&&t.Form.Modified?31:-1)}},dependencies:[w,z,Y,j,$,K,J,N,H],encapsulation:2})};export{Q as CourierInfoComponent};
|