dealposbooks 1.9.2 → 1.9.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 (122) hide show
  1. package/3rdpartylicenses.txt +769 -68
  2. package/assets/scss/components/_scafholdings.scss +21 -17
  3. package/assets/scss/layouts/_sidebar.scss +1 -1
  4. package/assets/scss/style.scss +51 -11
  5. package/assets/scss/variables/_variables.scss +3 -3
  6. package/{chunk-4OXMK44M.js → chunk-2US5D2LY.js} +1 -1
  7. package/{chunk-HKFTHGN6.js → chunk-33XUIS57.js} +1 -1
  8. package/{chunk-DCES5UJV.js → chunk-353U23ZQ.js} +1 -1
  9. package/chunk-3B65XZ6E.js +1 -0
  10. package/{chunk-5M3BH2HK.js → chunk-3CEJ67I5.js} +1 -1
  11. package/chunk-3E2EKFPH.js +1 -0
  12. package/{chunk-XFW6LFAM.js → chunk-3ENMEUVK.js} +1 -1
  13. package/chunk-3H5KBX4R.js +1 -0
  14. package/chunk-3XLREP6U.js +297 -0
  15. package/{chunk-63XPN7AG.js → chunk-4CUA33JH.js} +1 -1
  16. package/chunk-4NSHHAXV.js +1 -0
  17. package/{chunk-OVUTH3B6.js → chunk-5AITWOQZ.js} +1 -1
  18. package/{chunk-VET2QT6C.js → chunk-5QVQY32E.js} +1 -1
  19. package/chunk-6DPW74DP.js +1 -0
  20. package/{chunk-FOSJHYSQ.js → chunk-6NCHCAKY.js} +3 -3
  21. package/{chunk-HBVENULS.js → chunk-7DRL5PZZ.js} +1 -1
  22. package/chunk-7G6KXHQB.js +1 -0
  23. package/{chunk-W5VZK5LZ.js → chunk-7KQDKLO4.js} +1 -1
  24. package/{chunk-VHNXAKFS.js → chunk-7U2775BI.js} +1 -1
  25. package/{chunk-OPNWLQQY.js → chunk-7U2I35GP.js} +1 -1
  26. package/{chunk-5MHVGNVO.js → chunk-A47VRZZB.js} +1 -1
  27. package/{chunk-JWPV2SP2.js → chunk-ACQX2T2H.js} +1 -1
  28. package/chunk-AG7353CN.js +1 -0
  29. package/chunk-AI6YS6T2.js +1 -0
  30. package/{chunk-S6JRFIGG.js → chunk-ANMXAMBL.js} +1 -1
  31. package/{chunk-K5GIEJY3.js → chunk-ARSLNNKY.js} +4 -4
  32. package/chunk-AT7II4DO.js +7 -0
  33. package/{chunk-OUJ6CGAI.js → chunk-BCXNVGDH.js} +1 -1
  34. package/chunk-BJNN42CI.js +1 -0
  35. package/chunk-CSQ4MHL2.js +246 -0
  36. package/chunk-DG6ETDOW.js +1 -0
  37. package/{chunk-ELUESCCC.js → chunk-DIX7J6JH.js} +1 -1
  38. package/chunk-DMVAXVYQ.js +1 -0
  39. package/{chunk-4FHVIHSY.js → chunk-DNSQSWOS.js} +1 -1
  40. package/chunk-F3PEWQT7.js +1 -0
  41. package/{chunk-PCZW753D.js → chunk-FTVGAWDW.js} +1 -1
  42. package/{chunk-M66SFDOI.js → chunk-FUCSF42O.js} +1 -1
  43. package/chunk-FXUC6M2U.js +1 -0
  44. package/{chunk-UHDEQNDX.js → chunk-GCGWIESO.js} +1 -1
  45. package/{chunk-DERWDCI5.js → chunk-GY53MWXH.js} +5 -5
  46. package/{chunk-FJ7IM55X.js → chunk-H4V6YZX2.js} +1 -1
  47. package/chunk-IHJLTHHQ.js +1 -0
  48. package/{chunk-KOC7QQ5A.js → chunk-J6H3BBKP.js} +1 -1
  49. package/{chunk-5CZUTVXD.js → chunk-JG5HGOEX.js} +1 -1
  50. package/{chunk-OBBJFGOA.js → chunk-LFDCJISD.js} +1 -1
  51. package/chunk-LFGL4ACG.css +1 -0
  52. package/{chunk-JDKSRPMM.js → chunk-LNRTAR2V.js} +1 -1
  53. package/chunk-LWKS2JEV.js +1 -0
  54. package/chunk-N2XLL6HJ.js +33 -0
  55. package/chunk-NM37SDQJ.js +1 -0
  56. package/chunk-NN6GSTBJ.js +1 -0
  57. package/chunk-NRULEUE7.js +1 -0
  58. package/{chunk-4EDEITTK.js → chunk-O2GA6PH7.js} +1 -1
  59. package/{chunk-PAQGWJ3J.js → chunk-OAD4GTH6.js} +1 -1
  60. package/chunk-OCIKQOWD.js +328 -0
  61. package/{chunk-JBLYOAVS.js → chunk-PJKHUCJX.js} +1 -1
  62. package/chunk-PRRU3DEZ.js +503 -0
  63. package/{chunk-TO47DVWB.js → chunk-PZBZVQUY.js} +1 -1
  64. package/chunk-Q2IWISMY.js +1 -0
  65. package/{chunk-V4MEQMDJ.js → chunk-Q5BXN24W.js} +3 -3
  66. package/{chunk-EDPSZYHH.js → chunk-QIXIZZPY.js} +1 -1
  67. package/{chunk-Q3HG4BLC.js → chunk-RANHETC3.js} +2 -2
  68. package/{chunk-HGUXJRBI.js → chunk-RQEEJGOE.js} +1 -1
  69. package/{chunk-GO3ETPB7.js → chunk-SGXU6X3O.js} +1 -1
  70. package/chunk-TDDTBHQE.js +1 -0
  71. package/{chunk-W56XJVPD.js → chunk-TNWHAKS6.js} +1 -1
  72. package/{chunk-ZZNYX7MX.js → chunk-TPGKCMVN.js} +1 -1
  73. package/{chunk-CP57YBBI.js → chunk-TYETQJ2X.js} +2 -2
  74. package/{chunk-FNWWNWQP.js → chunk-U5LD55IP.js} +1 -1
  75. package/chunk-U6SRN7P3.js +1 -0
  76. package/{chunk-CCE4VMYO.js → chunk-V3B32QFK.js} +1 -1
  77. package/chunk-VBCJCAMN.js +1 -0
  78. package/chunk-W76GKZZU.js +1 -0
  79. package/{chunk-Z5SFK23M.js → chunk-WAJWW3TC.js} +1 -1
  80. package/{chunk-WLFERE5C.js → chunk-WM3NKRKN.js} +1 -1
  81. package/{chunk-GYOO2JKC.js → chunk-X4EHZEMZ.js} +1 -1
  82. package/chunk-X5SV4H5B.js +1 -0
  83. package/chunk-YQFG5XE2.js +1 -0
  84. package/chunk-YWYF6P7O.js +1 -0
  85. package/chunk-YYUWLV5N.js +1 -0
  86. package/{chunk-OWUXXKGD.js → chunk-ZB6TB7JI.js} +3 -3
  87. package/{chunk-PZRWSIXN.js → chunk-ZPTNYW2S.js} +1 -1
  88. package/{chunk-7CAU344O.js → chunk-ZUALJ33O.js} +1 -1
  89. package/index.html +2 -2
  90. package/main-L6WVDQUB.js +1 -0
  91. package/main-YYIZ54AR.css +1 -0
  92. package/package.json +1 -1
  93. package/styles-7FHABE27.css +1 -0
  94. package/chunk-2GAPYNNZ.js +0 -1
  95. package/chunk-2HYLQR56.js +0 -1
  96. package/chunk-2VTAWSHV.js +0 -1
  97. package/chunk-3R4UQAEP.js +0 -1
  98. package/chunk-3SPHZLLV.js +0 -301
  99. package/chunk-4OHRBQE4.js +0 -1
  100. package/chunk-4TTJBC5I.js +0 -1
  101. package/chunk-74EMBNLM.js +0 -1
  102. package/chunk-75NY4EHJ.js +0 -7
  103. package/chunk-BS6MB7HD.js +0 -1
  104. package/chunk-C54Z7Z3J.js +0 -246
  105. package/chunk-EQDQRRRY.js +0 -1
  106. package/chunk-GH3BVHFE.js +0 -1
  107. package/chunk-GYI6FJNZ.js +0 -1
  108. package/chunk-HF7H6NPN.js +0 -1
  109. package/chunk-MOGY4H6O.js +0 -1
  110. package/chunk-PMQ7L7VQ.js +0 -1
  111. package/chunk-PRVKVHZC.js +0 -1
  112. package/chunk-QEQCMTMU.js +0 -1
  113. package/chunk-QMXENXYW.js +0 -1
  114. package/chunk-R4CV5F66.js +0 -1
  115. package/chunk-RJZW77TO.js +0 -1
  116. package/chunk-W37QK7Z5.js +0 -520
  117. package/chunk-WF2ZEF5P.js +0 -1
  118. package/chunk-WZ5MSCDB.js +0 -1
  119. package/chunk-YAEJRHVD.js +0 -1
  120. package/chunk-ZQKGNYP5.js +0 -297
  121. package/main-G22CDQKS.js +0 -1
  122. package/styles-ETBLCGC3.css +0 -1
@@ -1 +1 @@
1
- import{d as m}from"./chunk-FNWWNWQP.js";import{o as g}from"./chunk-CP57YBBI.js";import{Z as s,ba as l,ha as c}from"./chunk-K5GIEJY3.js";var a=class extends Error{};a.prototype.name="InvalidTokenError";function u(o){return decodeURIComponent(atob(o).replace(/(.)/g,(r,e)=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}function p(o){let r=o.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return u(r)}catch{return atob(r)}}function T(o,r){if(typeof o!="string")throw new a("Invalid token specified: must be a string");r||(r={});let e=r.header===!0?0:1,t=o.split(".")[e];if(typeof t!="string")throw new a(`Invalid token specified: missing part #${e+1}`);let n;try{n=p(t)}catch(i){throw new a(`Invalid token specified: invalid base64 for part #${e+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new a(`Invalid token specified: invalid json for part #${e+1} (${i.message})`)}}var E=(()=>{class o{constructor(){this.httpService=c(m),this.router=c(g),this.autoLogout()}login(e){return this.httpService.post("","api/Authentication/login",e).pipe(s(t=>{let n=e.SubDomain;localStorage.setItem("AUTH_TOKEN",t.access_token),localStorage.setItem("AUTH_POS_TOKEN",t.pos.access_token),localStorage.setItem("AUTH_TOKEN_TYPE",t.token_type),localStorage.setItem("AUTH_EXPIRES_AT",t.expiredAt),localStorage.setItem("AUTH_DOMAIN",n.substring(n.indexOf("."))),localStorage.setItem("AUTH_SUB_DOMAIN",e.SubDomain.split(".")[0]),localStorage.setItem("AUTH_USERNAME",e.Username),this.storeTenantId(t.access_token),this.autoLogout()}))}isAuthenticated(){return!!localStorage.getItem("AUTH_TOKEN")}getToken(){return localStorage.getItem("AUTH_TOKEN")}getTokenType(){return localStorage.getItem("AUTH_TOKEN_TYPE")}isTokenExpired(){let e=localStorage.getItem("AUTH_EXPIRES_AT");return e?new Date(e).getTime()<Date.now():!0}autoLogout(){clearTimeout(this.logoutTimer);let e=localStorage.getItem("AUTH_EXPIRES_AT");if(!e)return;let t=new Date(e).getTime()-Date.now();t>0?this.logoutTimer=setTimeout(()=>this.logout(),t):this.logout()}getTenantExternalURL(){let e=localStorage.getItem("AUTH_SUB_DOMAIN")||"",t=localStorage.getItem("AUTH_DOMAIN")||"";return e&&t?`https://${e}${t}`:""}getTanantToken(){return localStorage.getItem("AUTH_POS_TOKEN")}logout(){localStorage.removeItem("AUTH_TOKEN"),localStorage.removeItem("AUTH_TOKEN_TYPE"),localStorage.removeItem("AUTH_EXPIRES_AT"),clearTimeout(this.logoutTimer),this.router.navigate(["/authentication/login"])}getFullDomain(){let e=localStorage.getItem("AUTH_SUB_DOMAIN"),t=localStorage.getItem("AUTH_DOMAIN");return!e||!t?(console.error("Subdomain or domain is missing in local storage."),null):`${e}${t}`}storeTenantId(e){let t=T(e);t&&(localStorage.setItem("AC_TENANT",t.TID),localStorage.setItem("AC_TENANT_LID",t.LID))}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{E as a};
1
+ import{d as m}from"./chunk-U5LD55IP.js";import{p as g}from"./chunk-TYETQJ2X.js";import{Z as s,ba as l,ha as c}from"./chunk-ARSLNNKY.js";var a=class extends Error{};a.prototype.name="InvalidTokenError";function u(o){return decodeURIComponent(atob(o).replace(/(.)/g,(r,e)=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return t.length<2&&(t="0"+t),"%"+t}))}function p(o){let r=o.replace(/-/g,"+").replace(/_/g,"/");switch(r.length%4){case 0:break;case 2:r+="==";break;case 3:r+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return u(r)}catch{return atob(r)}}function T(o,r){if(typeof o!="string")throw new a("Invalid token specified: must be a string");r||(r={});let e=r.header===!0?0:1,t=o.split(".")[e];if(typeof t!="string")throw new a(`Invalid token specified: missing part #${e+1}`);let n;try{n=p(t)}catch(i){throw new a(`Invalid token specified: invalid base64 for part #${e+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new a(`Invalid token specified: invalid json for part #${e+1} (${i.message})`)}}var E=(()=>{class o{constructor(){this.httpService=c(m),this.router=c(g),this.autoLogout()}login(e){return this.httpService.post("","api/Authentication/login",e).pipe(s(t=>{let n=e.SubDomain;localStorage.setItem("AUTH_TOKEN",t.access_token),localStorage.setItem("AUTH_POS_TOKEN",t.pos.access_token),localStorage.setItem("AUTH_TOKEN_TYPE",t.token_type),localStorage.setItem("AUTH_EXPIRES_AT",t.expiredAt),localStorage.setItem("AUTH_DOMAIN",n.substring(n.indexOf("."))),localStorage.setItem("AUTH_SUB_DOMAIN",e.SubDomain.split(".")[0]),localStorage.setItem("AUTH_USERNAME",e.Username),this.storeTenantId(t.access_token),this.autoLogout()}))}isAuthenticated(){return!!localStorage.getItem("AUTH_TOKEN")}getToken(){return localStorage.getItem("AUTH_TOKEN")}getTokenType(){return localStorage.getItem("AUTH_TOKEN_TYPE")}isTokenExpired(){let e=localStorage.getItem("AUTH_EXPIRES_AT");return e?new Date(e).getTime()<Date.now():!0}autoLogout(){clearTimeout(this.logoutTimer);let e=localStorage.getItem("AUTH_EXPIRES_AT");if(!e)return;let t=new Date(e).getTime()-Date.now();t>0?this.logoutTimer=setTimeout(()=>this.logout(),t):this.logout()}getTenantExternalURL(){let e=localStorage.getItem("AUTH_SUB_DOMAIN")||"",t=localStorage.getItem("AUTH_DOMAIN")||"";return e&&t?`https://${e}${t}`:""}getTanantToken(){return localStorage.getItem("AUTH_POS_TOKEN")}logout(){localStorage.removeItem("AUTH_TOKEN"),localStorage.removeItem("AUTH_TOKEN_TYPE"),localStorage.removeItem("AUTH_EXPIRES_AT"),clearTimeout(this.logoutTimer),this.router.navigate(["/authentication/login"])}getFullDomain(){let e=localStorage.getItem("AUTH_SUB_DOMAIN"),t=localStorage.getItem("AUTH_DOMAIN");return!e||!t?(console.error("Subdomain or domain is missing in local storage."),null):`${e}${t}`}storeTenantId(e){let t=T(e);t&&(localStorage.setItem("AC_TENANT",t.TID),localStorage.setItem("AC_TENANT_LID",t.LID))}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275prov=l({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{E as a};