dealpos 25.50.2 → 25.50.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/browser/{chunk-VD3VXMZE.js → chunk-24PYQCLS.js} +1 -1
- package/browser/{chunk-7KRURW6N.js → chunk-24QQSO3I.js} +1 -1
- package/browser/{chunk-FYZR4T4Z.js → chunk-2BFJWET6.js} +1 -1
- package/browser/{chunk-E7I3NPA7.js → chunk-2LVKRR2R.js} +1 -1
- package/browser/{chunk-ZVJGTPQY.js → chunk-2MVZ322B.js} +1 -1
- package/browser/{chunk-Z6DKCJUZ.js → chunk-2PV32D5Q.js} +1 -1
- package/browser/{chunk-TM4BVRKQ.js → chunk-3QDTSIB6.js} +1 -1
- package/browser/{chunk-ZNKZYBB6.js → chunk-42J4XDZQ.js} +2 -2
- package/browser/{chunk-ABAK5BOR.js → chunk-54E6DGPE.js} +1 -1
- package/browser/{chunk-NRXQVTHC.js → chunk-54UMDIKR.js} +2 -2
- package/browser/{chunk-FCDFHL3X.js → chunk-5D6LHDW2.js} +1 -1
- package/browser/{chunk-3CI72KQ3.js → chunk-5EDMTMQE.js} +1 -1
- package/browser/{chunk-72M34LBD.js → chunk-64YDRVDG.js} +1 -1
- package/browser/{chunk-6K2PABLT.js → chunk-65FDGBJO.js} +1 -1
- package/browser/{chunk-CAHMSC7J.js → chunk-6CVIKPGY.js} +1 -1
- package/browser/{chunk-5I57WLXV.js → chunk-6PBVX5TT.js} +1 -1
- package/browser/{chunk-F7YYCFKH.js → chunk-6QQ7TKNG.js} +2 -2
- package/browser/{chunk-4VHFIFH3.js → chunk-7AABZJ3Q.js} +1 -1
- package/browser/{chunk-RJFWUHOP.js → chunk-7CUDTVLZ.js} +1 -1
- package/browser/{chunk-S2XP3WT2.js → chunk-7GCZ5FDQ.js} +1 -1
- package/browser/{chunk-O7AYJCX3.js → chunk-7MGUJEON.js} +1 -1
- package/browser/{chunk-R7X75CAN.js → chunk-7PIO3JIN.js} +1 -1
- package/browser/{chunk-LJCEFLIZ.js → chunk-7VATOIW5.js} +1 -1
- package/browser/{chunk-QM5JUHAR.js → chunk-BESZUYFF.js} +2 -2
- package/browser/{chunk-IB5IYQYR.js → chunk-BYEJOHI5.js} +2 -2
- package/browser/{chunk-MW6VWMF2.js → chunk-C4DUGK4U.js} +1 -1
- package/browser/{chunk-A6LKXUGJ.js → chunk-C6KDEINU.js} +1 -1
- package/browser/{chunk-I5PFTS7W.js → chunk-CANKLN6H.js} +1 -1
- package/browser/{chunk-J4JATC4H.js → chunk-DC4YXLBE.js} +1 -1
- package/browser/{chunk-WMLA5VC3.js → chunk-DED7477D.js} +1 -1
- package/browser/{chunk-DVEFT7GI.js → chunk-DGANMYLB.js} +1 -1
- package/browser/{chunk-CN2J3E2G.js → chunk-DM3MYART.js} +1 -1
- package/browser/{chunk-E7RGLETU.js → chunk-DRCWIWR4.js} +1 -1
- package/browser/{chunk-OXGGKWTO.js → chunk-DYZFZ736.js} +1 -1
- package/browser/{chunk-N5HYVJLW.js → chunk-EEJ5ZZ5K.js} +1 -1
- package/browser/{chunk-IX6SAYD6.js → chunk-EGU7BITH.js} +1 -1
- package/browser/{chunk-PCAJ3T4Y.js → chunk-EO3NFUMI.js} +1 -1
- package/browser/{chunk-Q3HXBKNL.js → chunk-GMEXYYR5.js} +1 -1
- package/browser/{chunk-OPACCKVN.js → chunk-HHOJ4YQR.js} +1 -1
- package/browser/{chunk-EQ5MSD2S.js → chunk-HVYBU6TY.js} +1 -1
- package/browser/{chunk-IRGMPCNS.js → chunk-J53YFCCL.js} +1 -1
- package/browser/{chunk-5TRWYRN5.js → chunk-JE4O3B4S.js} +1 -1
- package/browser/{chunk-PE5RSFD4.js → chunk-JZ5MD4LC.js} +1 -1
- package/browser/{chunk-4WGA2OTP.js → chunk-K3S2VA3C.js} +1 -1
- package/browser/{chunk-D3NB2D5J.js → chunk-KQPUNL5V.js} +1 -1
- package/browser/{chunk-522M5UUJ.js → chunk-KZG4CPJW.js} +1 -1
- package/browser/{chunk-5JPSSGYG.js → chunk-LZ2R3WSV.js} +1 -1
- package/browser/{chunk-EKL4DD7N.js → chunk-MA257SYA.js} +1 -1
- package/browser/{chunk-2KS45FOG.js → chunk-N6UOMCS6.js} +1 -1
- package/browser/{chunk-VL552ANV.js → chunk-NNGM7TLL.js} +1 -1
- package/browser/{chunk-PG76XRHN.js → chunk-NTXNJZOI.js} +1 -1
- package/browser/{chunk-QO5SWGKB.js → chunk-NZBEEY37.js} +1 -1
- package/browser/{chunk-3FIHANXM.js → chunk-O3WVNFF3.js} +1 -1
- package/browser/{chunk-GJCPLFMU.js → chunk-O7LZALSI.js} +1 -1
- package/browser/{chunk-MNQNS2XG.js → chunk-OLM3XNOA.js} +1 -1
- package/browser/{chunk-FR2QCVXS.js → chunk-PDYPX3HL.js} +1 -1
- package/browser/{chunk-ZUH63VNR.js → chunk-PR34T5VJ.js} +2 -2
- package/browser/{chunk-GDASNIZL.js → chunk-PV6VJ5DU.js} +1 -1
- package/browser/{chunk-UXISTLRF.js → chunk-QBMO2OPJ.js} +1 -1
- package/browser/{chunk-TSYTV425.js → chunk-REVYYB46.js} +1 -1
- package/browser/{chunk-TXFCAVU2.js → chunk-S7EPVPRI.js} +1 -1
- package/browser/{chunk-76NP7MDH.js → chunk-SFXHBMXV.js} +1 -1
- package/browser/{chunk-SXFDWJS4.js → chunk-SUO6DJYC.js} +1 -1
- package/browser/{chunk-JIYQX2TI.js → chunk-SZB5MY63.js} +1 -1
- package/browser/{chunk-DXZJ5B2W.js → chunk-SZE5I2OK.js} +1 -1
- package/browser/{chunk-TFJ6RC7Q.js → chunk-T6FJJ74N.js} +1 -1
- package/browser/{chunk-4XR5RPFW.js → chunk-TBWTD5VK.js} +1 -1
- package/browser/{chunk-KJ6Y5C2X.js → chunk-TKLP46GO.js} +1 -1
- package/browser/{chunk-LNFN2XQO.js → chunk-TNPMDRZO.js} +1 -1
- package/browser/{chunk-L2E3ETBG.js → chunk-U5VPMH5B.js} +1 -1
- package/browser/{chunk-7T4IG74V.js → chunk-UKGYRZRL.js} +1 -1
- package/browser/{chunk-LKBQF2DU.js → chunk-VITAWR3T.js} +1 -1
- package/browser/{chunk-7YINKSK5.js → chunk-VOQLYG7T.js} +1 -1
- package/browser/{chunk-3IAS5WE6.js → chunk-WFFRWPW6.js} +1 -1
- package/browser/{chunk-EXV4D73Z.js → chunk-WJKZQDGG.js} +1 -1
- package/browser/{chunk-GUN3GLFK.js → chunk-WUCW3BSG.js} +1 -1
- package/browser/{chunk-YAZTTW7K.js → chunk-XOHCGYTO.js} +1 -1
- package/browser/{chunk-CMZCCWKE.js → chunk-YREC2Y5A.js} +1 -1
- package/browser/{chunk-NX6SWHK4.js → chunk-YZ4V72WH.js} +2 -2
- package/browser/{chunk-YDSGRKII.js → chunk-Z2JW3BVY.js} +1 -1
- package/browser/{chunk-R66UUSM7.js → chunk-ZE44HGGG.js} +1 -1
- package/browser/{chunk-VLALB254.js → chunk-ZHT26XL2.js} +1 -1
- package/browser/{chunk-2YCKWFSX.js → chunk-ZT6WLRQU.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-OHWGY2LM.js → main-E2WDTYZB.js} +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Z}from"./chunk-
|
|
1
|
+
import{c as Z}from"./chunk-WUCW3BSG.js";import"./chunk-TKLP46GO.js";import"./chunk-36GWLMZX.js";import"./chunk-WFQIMZGL.js";import{a as D}from"./chunk-WUV22SZ4.js";import"./chunk-DED7477D.js";import{s as j}from"./chunk-LGOSIAUC.js";import{$ as _,Ab as u,Fc as k,Gc as A,Jb as o,Kb as e,Lb as f,N as b,Pb as w,Pd as G,Qb as M,Tb as S,Ub as x,Xa as l,Y as p,Za as O,aa as m,c as s,eb as c,fa as C,fc as L,hc as a,ib as P,ic as h,n as v,od as I,ta as E,ua as y,vd as R,yb as g}from"./chunk-IEVGW2RT.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";function N(r,n){r&1&&(o(0,"div",13)(1,"span",20),a(2,"Latitude and Longitude is empty, please allow your browser location permission!"),e(),o(3,"a",21),a(4,"Click here to learn how to manually activate the location permission"),e()())}function T(r,n){if(r&1){let t=w();o(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3",3),a(4,"Geo Fencing"),e(),o(5,"p",4),a(6,"You are about to sign-in from this location"),e(),o(7,"div",5)(8,"div",6)(9,"div",7)(10,"span",8),a(11,"LAT"),e(),o(12,"span",9),a(13),e()(),o(14,"div",7)(15,"span",10),a(16,"LONG"),e(),o(17,"span",11),a(18),e()()(),o(19,"button",12),S("click",function(){E(t);let d=x();return y(d.proceed())}),a(20,"Proceed"),e()(),g(21,N,5,0,"div",13),e(),o(22,"div",14),f(23,"img",15),e()(),o(24,"div",16)(25,"div",17)(26,"div")(27,"span"),a(28,"powered by :"),e(),f(29,"a",18)(30,"img",19),e()()()()}if(r&2){let t=n,i=x();l(2),L(t.latitude&&t.longitude?i.centerGeoPanelStyle:""),l(11),h(t.latitude),l(5),h(t.longitude),l(),M("disabled",!(t.latitude&&t.longitude)),l(2),u(t.latitude&&t.longitude?-1:21)}}var z=class r{constructor(n,t,i,d){this.ngZone=n;this.auth=t;this.http=i;this.router=d}centerGeoPanelStyle="display: flex; flex-direction: column; justify-content: center;";latLong$;ngOnInit(){this.checkOnRefreshPage(),document.body.classList.add("login-body");let n=v(navigator.permissions.query({name:"geolocation"})).pipe(m(t=>new s(i=>{i.next(t.state),t.onchange=()=>this.ngZone.run(()=>i.next(t.state))})),p(1));this.latLong$=n.pipe(m(()=>new s(t=>{navigator.geolocation.getCurrentPosition(i=>this.ngZone.run(()=>{t.next({latitude:i.coords.latitude.toString(),longitude:i.coords.longitude.toString()}),t.complete()}),()=>this.ngZone.run(()=>{t.next({latitude:"",longitude:""}),t.complete()}),{enableHighAccuracy:!0,maximumAge:0,timeout:8e3})})),_({latitude:"",longitude:""}),p(1))}ngOnDestroy(){document.body.classList.remove("login-body")}checkOnRefreshPage(){D.IsEmpty(this.auth.loginResponse)&&this.router.navigate(["/"])}proceed(){this.latLong$.pipe(m(n=>this.http.post("/api/Authentication/LoginGeoRestriction",{UserID:this.auth.loginResponse.UserID,Latitude:n.latitude,Longitude:n.longitude})),C(n=>this.auth.saveLoginConfigToStorage(n)),m(()=>this.router.navigate([this.auth.getRedirectUrl()])),b(1)).subscribe()}static \u0275fac=function(t){return new(t||r)(c(O),c(Z),c(j),c(G))};static \u0275cmp=P({type:r,selectors:[["POS-auth-geolocation"]],decls:2,vars:3,consts:[[1,"container-fluid"],[1,"row","bg-white","mx-auto","totp-pane"],[1,"col-md-7","order-md-first","order-last","form-pane"],[1,"text-start"],[1,"text-start","mb-7"],[1,"d-flex","flex-column","flex-md-row",2,"column-gap","10px"],[1,"latlong-container","d-flex","flex-grow-1"],[1,"flex-grow-1","text-start","d-flex"],[1,"lat-label","fw-bold"],[1,"ps-5","lat-value","flex-grow-1","d-flex","align-items-center"],[1,"long-label","fw-bold"],[1,"ps-5","long-value","flex-grow-1","d-flex","align-items-center"],[1,"btn","btn-success","mt-5","mx-auto","mx-md-0","mt-md-0","w-25","w-md-100",3,"click","disabled"],[1,"text-start","mt-7"],[1,"col-md-5","order-md-last","order-first","border-start","border-secondary","d-flex","align-items-center","justify-content-center","img-pane","py-6"],["src","https://cdn.dealpos.xyz/web-image/geolocation-map.png",1,"border-0","w-100"],[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"],[1,"text-danger"],["href","https://support.dealpos.com/en/articles/7963864-enable-location-services-for-several-browser","target","_blank",1,"d-block"]],template:function(t,i){if(t&1&&(g(0,T,31,6,"div",0),k(1,"async")),t&2){let d;u((d=A(1,1,i.latLong$))?0:-1,d)}},dependencies:[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:2rem}@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}.latlong-container[_ngcontent-%COMP%]{background:#fff;border:1px solid #000000;border-radius:5px}.latlong-container[_ngcontent-%COMP%] .lat-label[_ngcontent-%COMP%], .latlong-container[_ngcontent-%COMP%] .long-label[_ngcontent-%COMP%]{display:inline-block;padding:12px;border-right:1px solid #000000}.latlong-container[_ngcontent-%COMP%] .long-label[_ngcontent-%COMP%]{border-left:1px solid #000000}.latlong-container[_ngcontent-%COMP%] .lat-value[_ngcontent-%COMP%], .latlong-container[_ngcontent-%COMP%] .long-value[_ngcontent-%COMP%]{background:#d9d9d94d}"]})};export{z as AuthGeolocationComponent};
|