dealpos 25.43.1 → 25.43.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.
Files changed (91) hide show
  1. package/browser/{chunk-BYKM6B3Q.js → chunk-2T23RRH7.js} +1 -1
  2. package/browser/{chunk-4CNWLAOB.js → chunk-2U6TFCQR.js} +1 -1
  3. package/browser/{chunk-7N5UGQ7Y.js → chunk-3BEMJU35.js} +1 -1
  4. package/browser/{chunk-LNYS472E.js → chunk-3CI52E2L.js} +1 -1
  5. package/browser/{chunk-Z37RWBOK.js → chunk-3TC5WDAM.js} +1 -1
  6. package/browser/{chunk-T5WB2M55.js → chunk-4DFXK2JY.js} +1 -1
  7. package/browser/{chunk-3GMOIUSS.js → chunk-4PXYKNOZ.js} +1 -1
  8. package/browser/{chunk-UP6OSHOB.js → chunk-5M2ONNSI.js} +1 -1
  9. package/browser/{chunk-W32SMIPG.js → chunk-5QOOHCTV.js} +2 -2
  10. package/browser/{chunk-KAVRH6F5.js → chunk-5QSXC4W7.js} +1 -1
  11. package/browser/{chunk-ZT4JJ72K.js → chunk-6VVDV6OB.js} +1 -1
  12. package/browser/{chunk-CDKC2IEJ.js → chunk-6WOSPTAY.js} +1 -1
  13. package/browser/{chunk-JYLR5O5Q.js → chunk-7ISTXFAJ.js} +1 -1
  14. package/browser/{chunk-VENGWIVD.js → chunk-7TQ35BHS.js} +2 -2
  15. package/browser/{chunk-P4CJOEI6.js → chunk-BZCRY5I3.js} +1 -1
  16. package/browser/{chunk-XFE22V65.js → chunk-CFXUVQEK.js} +1 -1
  17. package/browser/chunk-E72S2LHD.js +1 -0
  18. package/browser/{chunk-2JIKUIDL.js → chunk-ECHIQUJ3.js} +1 -1
  19. package/browser/{chunk-IFZ2NAV2.js → chunk-EDNG7F5W.js} +2 -2
  20. package/browser/{chunk-ZRLTY3JK.js → chunk-EGX4E74T.js} +1 -1
  21. package/browser/{chunk-E6PWTYNB.js → chunk-EPLTC3XW.js} +1 -1
  22. package/browser/chunk-EUUECKIR.js +112 -0
  23. package/browser/{chunk-WRHHRT4D.js → chunk-F3BESYJ7.js} +1 -1
  24. package/browser/{chunk-52ZEPEED.js → chunk-F53IFT2D.js} +1 -1
  25. package/browser/{chunk-JS46U7DQ.js → chunk-FT6SO2N5.js} +1 -1
  26. package/browser/{chunk-CNAUUTLV.js → chunk-H7S2QFVB.js} +1 -1
  27. package/browser/{chunk-RN5G3YLF.js → chunk-HN3SNXCS.js} +2 -2
  28. package/browser/{chunk-TDQR33OS.js → chunk-HZ2RZ5MO.js} +1 -1
  29. package/browser/{chunk-4D4MCKGG.js → chunk-ICEJAH2W.js} +1 -1
  30. package/browser/{chunk-JMXQLXVT.js → chunk-IIQ6LDWB.js} +1 -1
  31. package/browser/{chunk-NHKBCTZ6.js → chunk-IPIYHMST.js} +14 -14
  32. package/browser/chunk-IRPBE2LR.js +14 -0
  33. package/browser/{chunk-OV75G3U6.js → chunk-IXGB2FJD.js} +1 -1
  34. package/browser/{chunk-Y2OQ4XO7.js → chunk-JFO7BKSD.js} +1 -1
  35. package/browser/{chunk-BCG3SRBR.js → chunk-JH7RSTLL.js} +1 -1
  36. package/browser/{chunk-U5PGKEGA.js → chunk-JQ2CTBYN.js} +1 -1
  37. package/browser/{chunk-GXORILER.js → chunk-KTN2QAG5.js} +1 -1
  38. package/browser/{chunk-UGXAYAI3.js → chunk-LHAAHTCW.js} +1 -1
  39. package/browser/{chunk-NO3WSZS5.js → chunk-LOCMI7X3.js} +1 -1
  40. package/browser/{chunk-GFLMSLNA.js → chunk-LRUNSERJ.js} +1 -1
  41. package/browser/{chunk-WQJI7XHD.js → chunk-LTBIATTB.js} +1 -1
  42. package/browser/{chunk-C6IQAVJS.js → chunk-LWDKTKIO.js} +1 -1
  43. package/browser/{chunk-JVMOM4H4.js → chunk-MXY6MJSV.js} +1 -1
  44. package/browser/chunk-NO54NIU2.js +1 -0
  45. package/browser/{chunk-57MXTPFO.js → chunk-O2OM4KZ4.js} +1 -1
  46. package/browser/{chunk-W7ENV5BI.js → chunk-OCZ26AJX.js} +2 -2
  47. package/browser/{chunk-2GLNGDED.js → chunk-P2VNALSH.js} +1 -1
  48. package/browser/{chunk-NGCYLGR7.js → chunk-P4YX3O6Z.js} +1 -1
  49. package/browser/{chunk-LIBVAZGG.js → chunk-PDITH6YS.js} +1 -1
  50. package/browser/{chunk-6RZ53266.js → chunk-PH5UUPBH.js} +1 -1
  51. package/browser/{chunk-NFOTQGFN.js → chunk-PIH6FRU7.js} +1 -1
  52. package/browser/{chunk-BO3347ID.js → chunk-QNV4IQZO.js} +1 -1
  53. package/browser/{chunk-YVHW6R5M.js → chunk-QXNKJEFJ.js} +1 -1
  54. package/browser/{chunk-UBUK5KM7.js → chunk-R4CKFZOX.js} +1 -1
  55. package/browser/{chunk-3IKQFILS.js → chunk-RCIKNBK5.js} +2 -2
  56. package/browser/{chunk-RCY7OLTB.js → chunk-RPMNLKME.js} +1 -1
  57. package/browser/{chunk-DOQHHRXL.js → chunk-RTTAC3D7.js} +2 -2
  58. package/browser/{chunk-DE6YZETL.js → chunk-RWTASQKI.js} +1 -1
  59. package/browser/{chunk-NI5NXM2W.js → chunk-RXPJH2TJ.js} +1 -1
  60. package/browser/{chunk-PVJW7F4C.js → chunk-SDYCFHGV.js} +1 -1
  61. package/browser/{chunk-NQOLXD3A.js → chunk-TDEZNO6A.js} +1 -1
  62. package/browser/{chunk-OLSCBS7E.js → chunk-TPXHRKLW.js} +1 -1
  63. package/browser/{chunk-3XLXCEOJ.js → chunk-U2WXP62J.js} +1 -1
  64. package/browser/{chunk-SRYUX7SP.js → chunk-U4J2CGHT.js} +1 -1
  65. package/browser/{chunk-VYI363VS.js → chunk-UA4GJ4QW.js} +1 -1
  66. package/browser/{chunk-RQMKNBVM.js → chunk-UIBALHRL.js} +1 -1
  67. package/browser/{chunk-UDLO26TH.js → chunk-UM56IRZ7.js} +1 -1
  68. package/browser/{chunk-Z2CJVOIM.js → chunk-UO2WS3FY.js} +1 -1
  69. package/browser/{chunk-PQETJOPQ.js → chunk-V4GG2QDB.js} +1 -1
  70. package/browser/{chunk-GNWOJUDL.js → chunk-V6GJ3FHO.js} +1 -1
  71. package/browser/{chunk-6HRNGZFH.js → chunk-VA763X6D.js} +1 -1
  72. package/browser/{chunk-XSFHNUQ6.js → chunk-VGJS2WAH.js} +2 -2
  73. package/browser/{chunk-H6GRYEQ4.js → chunk-VNS7H2EW.js} +2 -2
  74. package/browser/{chunk-U4L3DUPD.js → chunk-VO4FGSHM.js} +1 -1
  75. package/browser/{chunk-52JGOESX.js → chunk-WBQBYKK5.js} +1 -1
  76. package/browser/{chunk-SGMOAMW4.js → chunk-WMJJC6JF.js} +1 -1
  77. package/browser/{chunk-5EQYYGRS.js → chunk-X3KF7Z7X.js} +1 -1
  78. package/browser/{chunk-3Z3OMRKK.js → chunk-X6LAB5QB.js} +1 -1
  79. package/browser/{chunk-I6HHFYJH.js → chunk-YADEYTZ3.js} +1 -1
  80. package/browser/{chunk-CRD6NHJP.js → chunk-YKYFZMSN.js} +1 -1
  81. package/browser/{chunk-6YAUV6CS.js → chunk-YL5C4Q63.js} +1 -1
  82. package/browser/{chunk-YWN3ZCUG.js → chunk-YV7CUPB7.js} +1 -1
  83. package/browser/{chunk-A2TEU2OJ.js → chunk-ZGBJCXMB.js} +1 -1
  84. package/browser/{chunk-H3BDFRHN.js → chunk-ZHRB7E57.js} +1 -1
  85. package/browser/index.html +2 -2
  86. package/browser/{main-CSOK2PD4.js → main-ZBDFYIFR.js} +2 -2
  87. package/package.json +1 -1
  88. package/browser/chunk-B353J3HM.js +0 -1
  89. package/browser/chunk-EY5ARDBV.js +0 -112
  90. package/browser/chunk-JD2KU6EZ.js +0 -1
  91. package/browser/chunk-XFH6XZNJ.js +0 -14
@@ -1 +1 @@
1
- import{a as R}from"./chunk-NO3WSZS5.js";import{a as u,d as h,e as C}from"./chunk-ZZGSAFGO.js";import{Pa as T,Qd as N,Sc as S,Yd as v,fa as g,ja as p,kd as d,ma as c}from"./chunk-UXRO4UFY.js";var U=(i=>(i[i.PAID=0]="PAID",i[i.OVERDUE=1]="OVERDUE",i[i.SELL_ONLY=2]="SELL_ONLY",i[i.SUSPENDED=3]="SUSPENDED",i))(U||{});var O=(()=>{class n{constructor(e,o){this.document=e,this.platformId=o,this.documentIsAccessible=d(this.platformId)}static getCookieRegExp(e){let o=e.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+o+"|;\\s*"+o+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch{return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),n.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let i=n.getCookieRegExp(e).exec(this.document.cookie);return i&&i[1]?n.safeDecodeURIComponent(i[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},o=this.document;return o.cookie&&o.cookie!==""&&o.cookie.split(";").forEach(i=>{let[a,s]=i.split("=");e[n.safeDecodeURIComponent(a.replace(/^ /,""))]=n.safeDecodeURIComponent(s)}),e}set(e,o,i,a,s,l,f,E){if(!this.documentIsAccessible)return;if(typeof i=="number"||i instanceof Date||a||s||l||f){let I={expires:i,path:a,domain:s,secure:l,sameSite:f||"Lax",partitioned:E};this.set(e,o,I);return}let m=encodeURIComponent(e)+"="+encodeURIComponent(o)+";",r=i||{};if(r.expires)if(typeof r.expires=="number"){let I=new Date(new Date().getTime()+r.expires*1e3*60*60*24);m+="expires="+I.toUTCString()+";"}else m+="expires="+r.expires.toUTCString()+";";r.path&&(m+="path="+r.path+";"),r.domain&&(m+="domain="+r.domain+";"),r.secure===!1&&r.sameSite==="None"&&(r.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),r.secure&&(m+="secure;"),r.sameSite||(r.sameSite="Lax"),m+="sameSite="+r.sameSite+";",r.partitioned&&(m+="Partitioned;"),this.document.cookie=m}delete(e,o,i,a,s="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:l,path:o,domain:i,secure:a,sameSite:s})}deleteAll(e,o,i,a="Lax"){if(!this.documentIsAccessible)return;let s=this.getAll();for(let l in s)s.hasOwnProperty(l)&&this.delete(l,e,o,i,a)}static{this.\u0275fac=function(o){return new(o||n)(c(S),c(T))}}static{this.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var D=class n{constructor(t,e,o,i,a,s){this.httpService=t;this.cookieService=e;this.router=o;this.roleService=i;this.intercomService=a;this.fraction=s}role=[];_returnUrl;_loginResponse;_jwtToken;set returnUrl(t){this._returnUrl=t}get returnUrl(){return this._returnUrl}login(t){return this.httpService.post("/api/Login/Web",t).pipe(g(e=>{this._loginResponse=e,e.Type=="geo"||e.Type=="totp"||this.saveLoginConfigToStorage(e)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}getRedirectUrl(){let t=this.getSubscriptionStatus(),e=this.getRedirectUrlByRole();return(t==2||t==3)&&(e="/menu/Profile/Main/My_Subscription"),e}getRedirectUrlByRole(){let t,e=this.roleService;return e.dashboard.View?t="/menu/Dashboard":e.product.View?t="/menu/Products":t="/menu/Sell",t}logout(){localStorage.removeItem("ConfigData"),localStorage.removeItem("Token"),localStorage.removeItem("Roles"),localStorage.removeItem("AccountInfo"),localStorage.removeItem("CloudinaryConfig"),localStorage.removeItem("SubscriptionStatus"),this.cookieService.delete("ReportFilter","/"),this.intercomService.shutdown(),this._jwtToken=null,this.roleService.resetRoles(),this.router.navigate(["/"])}refreshToken(){this.httpService.post("/API/Authentication/RefreshToken",{}).subscribe(t=>{localStorage.removeItem("Token"),localStorage.setItem("Token",t.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){let t=localStorage.getItem("Token");if(t){let e=u.parseJwt(t),o=this.convertUnixTimesTamp(e.exp),i=new Date;if(o.getTime()-i.getTime()>0)return!1}return!0}isInRole(t){t.forEach(e=>e(this.role))}convertUnixTimesTamp(t){return new Date(t*1e3)}saveLoginConfigToStorage(t){localStorage.setItem("quantityFraction",JSON.stringify(t.UIConfig.Fraction.Quantity)),localStorage.setItem("amountFraction",JSON.stringify(t.UIConfig.Fraction.Amount)),this.fraction.setAmountFraction(t.UIConfig.Fraction.Amount.Minimum,t.UIConfig.Fraction.Amount.Maximum),this.fraction.setQuantityFraction(t.UIConfig.Fraction.Quantity.Minimum,t.UIConfig.Fraction.Quantity.Maximum),localStorage.setItem("AccountInfo",JSON.stringify(t?.AccountInfo)),localStorage.setItem("Token",t?.Token),localStorage.setItem("TinyMCEPlugins",t?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(t?.Intercom),localStorage.setItem("CloudinaryConfig",t?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",t?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(t?.SubscriptionStatus));let e=this.getParseToken();u.IsNotEmpty(e?.NotificationOutletID)&&localStorage.setItem("NotificationOutletID",e?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let t=localStorage.getItem("Token");return t&&!this._jwtToken&&(this._jwtToken=u.parseJwt(t)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let t=localStorage.getItem("SubscriptionStatus");return t?parseInt(t):null}static \u0275fac=function(e){return new(e||n)(c(v),c(O),c(N),c(h),c(R),c(C))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})};export{U as a,O as b,D as c};
1
+ import{a as R}from"./chunk-LOCMI7X3.js";import{a as u,d as h,e as C}from"./chunk-ZZGSAFGO.js";import{Pa as T,Qd as N,Sc as S,Yd as v,fa as g,ja as p,kd as d,ma as c}from"./chunk-UXRO4UFY.js";var U=(i=>(i[i.PAID=0]="PAID",i[i.OVERDUE=1]="OVERDUE",i[i.SELL_ONLY=2]="SELL_ONLY",i[i.SUSPENDED=3]="SUSPENDED",i))(U||{});var O=(()=>{class n{constructor(e,o){this.document=e,this.platformId=o,this.documentIsAccessible=d(this.platformId)}static getCookieRegExp(e){let o=e.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+o+"|;\\s*"+o+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch{return e}}check(e){return this.documentIsAccessible?(e=encodeURIComponent(e),n.getCookieRegExp(e).test(this.document.cookie)):!1}get(e){if(this.check(e)){e=encodeURIComponent(e);let i=n.getCookieRegExp(e).exec(this.document.cookie);return i&&i[1]?n.safeDecodeURIComponent(i[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let e={},o=this.document;return o.cookie&&o.cookie!==""&&o.cookie.split(";").forEach(i=>{let[a,s]=i.split("=");e[n.safeDecodeURIComponent(a.replace(/^ /,""))]=n.safeDecodeURIComponent(s)}),e}set(e,o,i,a,s,l,f,E){if(!this.documentIsAccessible)return;if(typeof i=="number"||i instanceof Date||a||s||l||f){let I={expires:i,path:a,domain:s,secure:l,sameSite:f||"Lax",partitioned:E};this.set(e,o,I);return}let m=encodeURIComponent(e)+"="+encodeURIComponent(o)+";",r=i||{};if(r.expires)if(typeof r.expires=="number"){let I=new Date(new Date().getTime()+r.expires*1e3*60*60*24);m+="expires="+I.toUTCString()+";"}else m+="expires="+r.expires.toUTCString()+";";r.path&&(m+="path="+r.path+";"),r.domain&&(m+="domain="+r.domain+";"),r.secure===!1&&r.sameSite==="None"&&(r.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),r.secure&&(m+="secure;"),r.sameSite||(r.sameSite="Lax"),m+="sameSite="+r.sameSite+";",r.partitioned&&(m+="Partitioned;"),this.document.cookie=m}delete(e,o,i,a,s="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:l,path:o,domain:i,secure:a,sameSite:s})}deleteAll(e,o,i,a="Lax"){if(!this.documentIsAccessible)return;let s=this.getAll();for(let l in s)s.hasOwnProperty(l)&&this.delete(l,e,o,i,a)}static{this.\u0275fac=function(o){return new(o||n)(c(S),c(T))}}static{this.\u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var D=class n{constructor(t,e,o,i,a,s){this.httpService=t;this.cookieService=e;this.router=o;this.roleService=i;this.intercomService=a;this.fraction=s}role=[];_returnUrl;_loginResponse;_jwtToken;set returnUrl(t){this._returnUrl=t}get returnUrl(){return this._returnUrl}login(t){return this.httpService.post("/api/Login/Web",t).pipe(g(e=>{this._loginResponse=e,e.Type=="geo"||e.Type=="totp"||this.saveLoginConfigToStorage(e)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}getRedirectUrl(){let t=this.getSubscriptionStatus(),e=this.getRedirectUrlByRole();return(t==2||t==3)&&(e="/menu/Profile/Main/My_Subscription"),e}getRedirectUrlByRole(){let t,e=this.roleService;return e.dashboard.View?t="/menu/Dashboard":e.product.View?t="/menu/Products":t="/menu/Sell",t}logout(){localStorage.removeItem("ConfigData"),localStorage.removeItem("Token"),localStorage.removeItem("Roles"),localStorage.removeItem("AccountInfo"),localStorage.removeItem("CloudinaryConfig"),localStorage.removeItem("SubscriptionStatus"),this.cookieService.delete("ReportFilter","/"),this.intercomService.shutdown(),this._jwtToken=null,this.roleService.resetRoles(),this.router.navigate(["/"])}refreshToken(){this.httpService.post("/API/Authentication/RefreshToken",{}).subscribe(t=>{localStorage.removeItem("Token"),localStorage.setItem("Token",t.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){let t=localStorage.getItem("Token");if(t){let e=u.parseJwt(t),o=this.convertUnixTimesTamp(e.exp),i=new Date;if(o.getTime()-i.getTime()>0)return!1}return!0}isInRole(t){t.forEach(e=>e(this.role))}convertUnixTimesTamp(t){return new Date(t*1e3)}saveLoginConfigToStorage(t){localStorage.setItem("quantityFraction",JSON.stringify(t.UIConfig.Fraction.Quantity)),localStorage.setItem("amountFraction",JSON.stringify(t.UIConfig.Fraction.Amount)),this.fraction.setAmountFraction(t.UIConfig.Fraction.Amount.Minimum,t.UIConfig.Fraction.Amount.Maximum),this.fraction.setQuantityFraction(t.UIConfig.Fraction.Quantity.Minimum,t.UIConfig.Fraction.Quantity.Maximum),localStorage.setItem("AccountInfo",JSON.stringify(t?.AccountInfo)),localStorage.setItem("Token",t?.Token),localStorage.setItem("TinyMCEPlugins",t?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(t?.Intercom),localStorage.setItem("CloudinaryConfig",t?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",t?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(t?.SubscriptionStatus));let e=this.getParseToken();u.IsNotEmpty(e?.NotificationOutletID)&&localStorage.setItem("NotificationOutletID",e?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let t=localStorage.getItem("Token");return t&&!this._jwtToken&&(this._jwtToken=u.parseJwt(t)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let t=localStorage.getItem("SubscriptionStatus");return t?parseInt(t):null}static \u0275fac=function(e){return new(e||n)(c(v),c(O),c(N),c(h),c(R),c(C))};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})};export{U as a,O as b,D as c};