dealpos 25.35.4 → 25.35.5
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-IVJDR4KT.js → chunk-234GGJEC.js} +1 -1
- package/browser/{chunk-CLANG4EJ.js → chunk-25XD6TQV.js} +1 -1
- package/browser/{chunk-RMW7CTND.js → chunk-2QQ2QIU6.js} +1 -1
- package/browser/{chunk-V4XBT2DG.js → chunk-2XVRPLHC.js} +1 -1
- package/browser/{chunk-4VFWQO4F.js → chunk-33TEAJZW.js} +1 -1
- package/browser/{chunk-OTJ5RPOM.js → chunk-4GH6O5VI.js} +1 -1
- package/browser/{chunk-BMSGPTDT.js → chunk-4LU2EVMZ.js} +1 -1
- package/browser/{chunk-WUXJOKKF.js → chunk-4MMCXQJG.js} +1 -1
- package/browser/{chunk-S2UMTJT4.js → chunk-5D2XBWP7.js} +1 -1
- package/browser/{chunk-MAPKCEZS.js → chunk-66PVZL2W.js} +1 -1
- package/browser/{chunk-QMC7IUQ4.js → chunk-6IAQ3556.js} +1 -1
- package/browser/{chunk-SW7527Y6.js → chunk-6QQG4AID.js} +1 -1
- package/browser/{chunk-U6PF57EL.js → chunk-7PRWUWA7.js} +1 -1
- package/browser/{chunk-MB3LC2X7.js → chunk-7WHPZVXH.js} +1 -1
- package/browser/{chunk-CMJU4DQE.js → chunk-AJV57AAA.js} +1 -1
- package/browser/{chunk-2DTTV3WZ.js → chunk-AZKRFWT3.js} +1 -1
- package/browser/{chunk-KXWV7BWA.js → chunk-B7YTBVMZ.js} +1 -1
- package/browser/{chunk-Y7V3HTAD.js → chunk-BWUWOEEY.js} +1 -1
- package/browser/{chunk-UZ4DOUGB.js → chunk-C63LOKWG.js} +1 -1
- package/browser/{chunk-3F5XHWCR.js → chunk-CYYWBRVV.js} +1 -1
- package/browser/{chunk-QG3ZXK25.js → chunk-DRUTOOCC.js} +1 -1
- package/browser/{chunk-AXIZQIWB.js → chunk-DWJO3ZW6.js} +1 -1
- package/browser/{chunk-RPXKX6SA.js → chunk-FOKGGQII.js} +1 -1
- package/browser/{chunk-FJ5ZH62P.js → chunk-FZAUKTF5.js} +1 -1
- package/browser/{chunk-C2OBU263.js → chunk-GF6OBMXT.js} +1 -1
- package/browser/{chunk-KFUZ5H2E.js → chunk-GFLMTM7L.js} +1 -1
- package/browser/{chunk-5QSJVXLI.js → chunk-GXK3O5P4.js} +2 -2
- package/browser/{chunk-CBANXZYR.js → chunk-HLMOEDQA.js} +1 -1
- package/browser/{chunk-4JHNDDWK.js → chunk-I5BDJ2GR.js} +1 -1
- package/browser/{chunk-WRP2Q4PH.js → chunk-IRIFU3JM.js} +1 -1
- package/browser/{chunk-HZYCS27T.js → chunk-IUGSEEK4.js} +1 -1
- package/browser/{chunk-W2D3QHHC.js → chunk-JAWAIMD6.js} +1 -1
- package/browser/{chunk-PB3U4CET.js → chunk-JBRKX5HR.js} +1 -1
- package/browser/{chunk-5KMED3ED.js → chunk-JPLTDVGU.js} +1 -1
- package/browser/{chunk-DYBM7A4I.js → chunk-KJ23Z3SW.js} +1 -1
- package/browser/{chunk-6RT4JFSL.js → chunk-KPUONQYH.js} +2 -2
- package/browser/{chunk-T36LQESB.js → chunk-KSCTGZRF.js} +1 -1
- package/browser/{chunk-PX3AGMFG.js → chunk-L54DLPDR.js} +1 -1
- package/browser/{chunk-BZVJPFC7.js → chunk-LB6HDQMB.js} +1 -1
- package/browser/chunk-LH4HSRHA.js +125 -0
- package/browser/{chunk-UST6Q3MS.js → chunk-MJ7PURXC.js} +1 -1
- package/browser/{chunk-GDGOECTK.js → chunk-MJBRVIIM.js} +2 -2
- package/browser/{chunk-OJXWHEVJ.js → chunk-MNM6TRMW.js} +1 -1
- package/browser/{chunk-LCWRAZ53.js → chunk-NGYKVZBW.js} +1 -1
- package/browser/{chunk-355IJ673.js → chunk-NMRRPZIX.js} +1 -1
- package/browser/{chunk-E3FB6FNJ.js → chunk-NWQVNDV5.js} +1 -1
- package/browser/{chunk-ZPTXDCKQ.js → chunk-NXHIP6EW.js} +1 -1
- package/browser/{chunk-VQFGGKMC.js → chunk-O52HSRPT.js} +1 -1
- package/browser/{chunk-GATE2JGN.js → chunk-OHKSNUEL.js} +1 -1
- package/browser/{chunk-CACQ5CUG.js → chunk-OOWXGQWE.js} +1 -1
- package/browser/chunk-ORMUAA57.js +1 -0
- package/browser/{chunk-IH5LFEXQ.js → chunk-OUFPXWMX.js} +1 -1
- package/browser/{chunk-2SKOS425.js → chunk-PE5TK367.js} +1 -1
- package/browser/{chunk-KSHAUAR4.js → chunk-POWZDJ32.js} +1 -1
- package/browser/{chunk-MDKBJ76E.js → chunk-Q2KA3AVY.js} +1 -1
- package/browser/{chunk-QKLEIIBF.js → chunk-QX3RZSJL.js} +1 -1
- package/browser/{chunk-GPQTHDC7.js → chunk-R3XQBEKH.js} +1 -1
- package/browser/{chunk-WQCHGJR2.js → chunk-SAYQJREO.js} +1 -1
- package/browser/{chunk-5XUCKBED.js → chunk-UEPRW7RU.js} +1 -1
- package/browser/{chunk-TXT5K5RP.js → chunk-VFQ3RHTQ.js} +1 -1
- package/browser/{chunk-AFE2LULB.js → chunk-VJ7NP7ET.js} +2 -2
- package/browser/{chunk-55FBOF2K.js → chunk-VWM4OSYY.js} +1 -1
- package/browser/{chunk-OSEOSRN3.js → chunk-WGOPTWDI.js} +1 -1
- package/browser/{chunk-OQWULNHJ.js → chunk-WO7Z2LLD.js} +1 -1
- package/browser/{chunk-JG3KZOXF.js → chunk-WZE3XKJ4.js} +2 -2
- package/browser/{chunk-JDH4IG5J.js → chunk-X7VTCOKA.js} +1 -1
- package/browser/{chunk-RRMVK7YL.js → chunk-XLX7WN2E.js} +1 -1
- package/browser/{chunk-5FX6PF7H.js → chunk-Y67GJTMD.js} +1 -1
- package/browser/{chunk-POYTNEZA.js → chunk-YILAIOQN.js} +1 -1
- package/browser/{chunk-RRAQ3HCY.js → chunk-Z5EXX2B2.js} +1 -1
- package/browser/{chunk-G6FSBVZ3.js → chunk-ZWKVP5VN.js} +2 -2
- package/browser/index.html +2 -2
- package/browser/{main-SRAUXRZ3.js → main-6PVOUSBE.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-CWCCIUHW.js +0 -125
- package/browser/chunk-SKDFYIAR.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as N}from"./chunk-
|
|
1
|
+
import{c as N}from"./chunk-IUGSEEK4.js";import"./chunk-C63LOKWG.js";import{a as D}from"./chunk-AHCRE4GP.js";import"./chunk-WO7Z2LLD.js";import{$ as _,$a as l,Ac as k,Ga as P,Ib as o,Jb as e,Kb as u,N as b,Ob as S,Qb as I,Qd as G,Rb as f,Y as m,Yd as j,Zc as A,aa as s,c as p,cd as E,db as d,ec as a,fa as y,fc as x,jd as R,kb as w,n as v,qb as g,va as C,vb as c,wa as O,yb as M,zc as L}from"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";function T(r,n){r&1&&(o(0,"div",21)(1,"span",22),a(2,"Latitude and Longitude is empty, please allow your browser location permission!"),e(),o(3,"a",23),a(4,"Click here to learn how to manually activate the location permission"),e()())}function z(r,n){if(r&1){let t=S();o(0,"div",1)(1,"div",2)(2,"div",3)(3,"h3",4),a(4,"Geo Fencing"),e(),o(5,"p",5),a(6,"You are about to sign-in from this location"),e(),o(7,"div",6)(8,"div",7)(9,"div",8)(10,"span",9),a(11,"LAT"),e(),o(12,"span",10),a(13),e()(),o(14,"div",8)(15,"span",11),a(16,"LONG"),e(),o(17,"span",12),a(18),e()()(),o(19,"button",13),I("click",function(){C(t);let h=f();return O(h.proceed())}),a(20,"Proceed"),e()(),g(21,T,5,0,"div",14),e(),o(22,"div",15),u(23,"img",16),e()(),o(24,"div",17)(25,"div",18)(26,"div")(27,"span"),a(28,"powered by :"),e(),u(29,"a",19)(30,"img",20),e()()()()}if(r&2){let t=n.ngIf,i=f();l(2),M(t.latitude&&t.longitude?i.centerGeoPanelStyle:""),l(11),x(t.latitude),l(5),x(t.longitude),l(),c("disabled",!(t.latitude&&t.longitude)),l(2),c("ngIf",!(t.latitude&&t.longitude))}}var Z=class r{constructor(n,t,i,h){this.ngZone=n;this.auth=t;this.http=i;this.router=h}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(s(t=>new p(i=>{i.next(t.state),t.onchange=()=>this.ngZone.run(()=>i.next(t.state))})),m(1));this.latLong$=n.pipe(s(()=>new p(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:""}),m(1))}ngOnDestroy(){document.body.classList.remove("login-body")}checkOnRefreshPage(){D.IsEmpty(this.auth.loginResponse)&&this.router.navigate(["/"])}proceed(){this.latLong$.pipe(s(n=>this.http.post("/api/Authentication/LoginGeoRestriction",{UserID:this.auth.loginResponse.UserID,Latitude:n.latitude,Longitude:n.longitude})),y(n=>this.auth.saveLoginConfigToStorage(n)),s(()=>this.router.navigate([this.auth.getRedirectUrl()])),b(1)).subscribe()}static \u0275fac=function(t){return new(t||r)(d(P),d(N),d(j),d(G))};static \u0275cmp=w({type:r,selectors:[["POS-auth-geolocation"]],decls:2,vars:3,consts:[["class","container-fluid",4,"ngIf"],[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"],["class","text-start mt-7",4,"ngIf"],[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://res.cloudinary.com/pos/image/upload/v1685343992/POS/Images/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","//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"ms-3","border-0"],[1,"text-start","mt-7"],[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){t&1&&(g(0,z,31,6,"div",0),L(1,"async")),t&2&&c("ngIf",k(1,1,i.latLong$))},dependencies:[R,A,E],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};
|