dealpos 25.49.4 → 25.49.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.
Files changed (88) hide show
  1. package/browser/{chunk-WZWXE6GT.js → chunk-234VD4PN.js} +1 -1
  2. package/browser/{chunk-CLO7U3RB.js → chunk-2M6MJMM7.js} +1 -1
  3. package/browser/{chunk-UJ63ZNAO.js → chunk-3SIDOYEU.js} +1 -1
  4. package/browser/{chunk-XTU3LHA6.js → chunk-3ZZJHIUG.js} +1 -1
  5. package/browser/{chunk-KWFL5YOV.js → chunk-55DB5BOP.js} +1 -1
  6. package/browser/{chunk-7V2CY4DW.js → chunk-5QMBTXFS.js} +1 -1
  7. package/browser/{chunk-LX26RD3F.js → chunk-5YHDDJI4.js} +1 -1
  8. package/browser/{chunk-ASHEF37H.js → chunk-63B7VXCP.js} +1 -1
  9. package/browser/{chunk-IFKUMLMD.js → chunk-6ESMI6WH.js} +1 -1
  10. package/browser/{chunk-WP2FVSCM.js → chunk-6G74X2UP.js} +1 -1
  11. package/browser/chunk-6UC76HYF.js +4 -0
  12. package/browser/{chunk-34X4ZZD5.js → chunk-72YVHXTD.js} +1 -1
  13. package/browser/{chunk-TLLI6Z5X.js → chunk-7MMDSCS7.js} +1 -1
  14. package/browser/{chunk-5DNDULL7.js → chunk-7PVAZYM4.js} +1 -1
  15. package/browser/{chunk-GNIF2YD2.js → chunk-7SAEXKAX.js} +1 -1
  16. package/browser/{chunk-3RQ35Y7Q.js → chunk-A4Y2ZLGW.js} +1 -1
  17. package/browser/{chunk-RULBTV6L.js → chunk-AGJ3GOR7.js} +1 -1
  18. package/browser/{chunk-3Y2TKGP4.js → chunk-BCGIIVLI.js} +1 -1
  19. package/browser/{chunk-C777CYT4.js → chunk-BEIHC6NO.js} +1 -1
  20. package/browser/{chunk-52ONOTHS.js → chunk-BGT22RIZ.js} +1 -1
  21. package/browser/{chunk-FQVYXDHS.js → chunk-CEVAKZDN.js} +2 -2
  22. package/browser/{chunk-IQ5KAZ7I.js → chunk-CIJROL7R.js} +1 -1
  23. package/browser/{chunk-3PJCCDIY.js → chunk-CLWGVNBY.js} +2 -2
  24. package/browser/{chunk-3YFVIHNY.js → chunk-CNHLZU3Z.js} +2 -2
  25. package/browser/chunk-D3KDSFJU.js +1 -0
  26. package/browser/{chunk-WYRHUSXS.js → chunk-D3QY3EBZ.js} +1 -1
  27. package/browser/{chunk-ZEI66KM2.js → chunk-DG6Y623Z.js} +1 -1
  28. package/browser/{chunk-6LSNTX2C.js → chunk-DHKZDGY6.js} +1 -1
  29. package/browser/{chunk-TBBZ7RAN.js → chunk-DYI547BZ.js} +1 -1
  30. package/browser/{chunk-RGO36X34.js → chunk-EV422BEJ.js} +1 -1
  31. package/browser/{chunk-APHRANVH.js → chunk-FBHH3WPM.js} +1 -1
  32. package/browser/{chunk-YTXYAEFO.js → chunk-FBN34CVL.js} +1 -1
  33. package/browser/{chunk-FTZZHFXM.js → chunk-FHL5KFJX.js} +1 -1
  34. package/browser/{chunk-INWLOCX3.js → chunk-FQNL3TLZ.js} +1 -1
  35. package/browser/{chunk-JZFX4FNK.js → chunk-FXPNLU4X.js} +1 -1
  36. package/browser/{chunk-Y4XWHUVX.js → chunk-G5NXVDID.js} +1 -1
  37. package/browser/{chunk-XBRNDXDZ.js → chunk-G6PEAZWA.js} +1 -1
  38. package/browser/{chunk-QOCGWG6L.js → chunk-GIPUEMTC.js} +1 -1
  39. package/browser/{chunk-OWK34F6X.js → chunk-GLOUVXOJ.js} +1 -1
  40. package/browser/{chunk-NTCQH6TH.js → chunk-H6UWRJHQ.js} +1 -1
  41. package/browser/{chunk-WFSJDUCV.js → chunk-IDZHSRCH.js} +2 -2
  42. package/browser/{chunk-D2OMTDKS.js → chunk-IK4DEQSO.js} +1 -1
  43. package/browser/{chunk-H4U5GDQZ.js → chunk-IRQYLVRP.js} +1 -1
  44. package/browser/{chunk-V3KYBOFM.js → chunk-LC7GFFEX.js} +1 -1
  45. package/browser/{chunk-XFJYJSZU.js → chunk-LJJMNCST.js} +1 -1
  46. package/browser/{chunk-GT5IX3D6.js → chunk-LSC2CYCL.js} +1 -1
  47. package/browser/{chunk-P2R2O6GD.js → chunk-MFNPIWGR.js} +2 -2
  48. package/browser/{chunk-BSV3Y4MG.js → chunk-MOXEW4DH.js} +1 -1
  49. package/browser/{chunk-KJ5BS7KR.js → chunk-MVJSAD2O.js} +1 -1
  50. package/browser/{chunk-HCMW3RC5.js → chunk-N5IOOG55.js} +1 -1
  51. package/browser/{chunk-TAVEJBKL.js → chunk-NENPGICH.js} +1 -1
  52. package/browser/{chunk-FD7ICK7T.js → chunk-NKQHQCUV.js} +1 -1
  53. package/browser/{chunk-SY463GX6.js → chunk-NPQFE4EO.js} +1 -1
  54. package/browser/{chunk-R2Y4JAXW.js → chunk-OOKDKXRB.js} +1 -1
  55. package/browser/{chunk-N7M4OSQZ.js → chunk-OUOI5WK2.js} +1 -1
  56. package/browser/{chunk-OYEU5L3I.js → chunk-OZLXHOG4.js} +1 -1
  57. package/browser/{chunk-46D5QBZT.js → chunk-P6DRDJVZ.js} +1 -1
  58. package/browser/{chunk-OETRAGYY.js → chunk-P75DFAMB.js} +1 -1
  59. package/browser/{chunk-QE5OFO56.js → chunk-PFF34SZG.js} +1 -1
  60. package/browser/{chunk-F3YWM4BJ.js → chunk-PXFCSUBN.js} +1 -1
  61. package/browser/{chunk-BVMFVFGN.js → chunk-Q3FMCFAP.js} +1 -1
  62. package/browser/{chunk-V45WTUQ2.js → chunk-QHP7VC2R.js} +1 -1
  63. package/browser/{chunk-K3V25WUQ.js → chunk-QLMHWHUW.js} +1 -1
  64. package/browser/{chunk-ROVDZJVT.js → chunk-R546P6WC.js} +1 -1
  65. package/browser/{chunk-QVI22QDX.js → chunk-RJNG3PZF.js} +1 -1
  66. package/browser/{chunk-N6JQHXKN.js → chunk-RXPEUS2G.js} +1 -1
  67. package/browser/{chunk-QS32TZGB.js → chunk-SMDHPNT7.js} +1 -1
  68. package/browser/{chunk-SFXDXOSB.js → chunk-SRAJGU6Y.js} +1 -1
  69. package/browser/{chunk-LI6G74I7.js → chunk-T6SZ4L7O.js} +1 -1
  70. package/browser/{chunk-7V6NCJRQ.js → chunk-TXPKRCHR.js} +1 -1
  71. package/browser/{chunk-YZY45SFB.js → chunk-U57PBUPN.js} +1 -1
  72. package/browser/{chunk-HOZ6XJ4Z.js → chunk-UNZLSKV5.js} +1 -1
  73. package/browser/{chunk-KJF3M7DY.js → chunk-V3FPQMVB.js} +1 -1
  74. package/browser/{chunk-6H5XBM35.js → chunk-VFQES62Q.js} +1 -1
  75. package/browser/{chunk-ADQOH7YA.js → chunk-WVMPGK5K.js} +1 -1
  76. package/browser/{chunk-XOQUXJ6S.js → chunk-WW4UBOYF.js} +1 -1
  77. package/browser/{chunk-NZBKYR7R.js → chunk-WXEEGAH5.js} +1 -1
  78. package/browser/{chunk-NFODKKJI.js → chunk-Y67EVUWI.js} +2 -2
  79. package/browser/{chunk-743523SK.js → chunk-Y7D34HYN.js} +1 -1
  80. package/browser/{chunk-XWXXETJY.js → chunk-Y7KMZ7BT.js} +1 -1
  81. package/browser/{chunk-LNZY3GKF.js → chunk-YVO66RJF.js} +1 -1
  82. package/browser/{chunk-T4E5A3KH.js → chunk-YZCJFJZL.js} +2 -2
  83. package/browser/{chunk-OXMLRZZ4.js → chunk-Z3UTJURO.js} +1 -1
  84. package/browser/index.html +2 -2
  85. package/browser/{main-DAVMX2B6.js → main-FS6A5G45.js} +2 -2
  86. package/package.json +1 -1
  87. package/browser/chunk-CD6ZWSFG.js +0 -1
  88. package/browser/chunk-SO3RL6QR.js +0 -4
@@ -1 +1 @@
1
- import{a as U}from"./chunk-46D5QBZT.js";import{a as O}from"./chunk-36GWLMZX.js";import{b as R}from"./chunk-WFQIMZGL.js";import{a as f}from"./chunk-WUV22SZ4.js";import{s as h}from"./chunk-LGOSIAUC.js";import{Ma as v,Pd as C,fa as S,la as u,oa as p,pa as g,wd as N,ya as d}from"./chunk-IEVGW2RT.js";var k=(t=>(t[t.PAID=0]="PAID",t[t.OVERDUE=1]="OVERDUE",t[t.SELL_ONLY=2]="SELL_ONLY",t[t.SUSPENDED=3]="SUSPENDED",t))(k||{});var D=(()=>{let e=class e{constructor(){this.document=g(d),this.platformId=g(v),this.documentIsAccessible=N(this.platformId)}static getCookieRegExp(i){let t=i.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(i){try{return decodeURIComponent(i)}catch{return i}}check(i){return this.documentIsAccessible?(i=encodeURIComponent(i),e.getCookieRegExp(i).test(this.document.cookie)):!1}get(i){if(this.check(i)){i=encodeURIComponent(i);let n=e.getCookieRegExp(i).exec(this.document.cookie);return n?.[1]?e.safeDecodeURIComponent(n[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let i={},t=this.document;return t.cookie&&t.cookie!==""&&t.cookie.split(";").forEach(n=>{let[s,c]=n.split("=");i[e.safeDecodeURIComponent(s.replace(/^ /,""))]=e.safeDecodeURIComponent(c)}),i}set(i,t,n,s,c,l,T,b){if(!this.documentIsAccessible)return;if(typeof n=="number"||n instanceof Date||s||c||l||T){let I={expires:n,path:s,domain:c,secure:l,sameSite:T||"Lax",partitioned:b};this.set(i,t,I);return}let a=encodeURIComponent(i)+"="+encodeURIComponent(t)+";",r=n||{};if(r.expires)if(typeof r.expires=="number"){let I=new Date(new Date().getTime()+r.expires*1e3*60*60*24);a+="expires="+I.toUTCString()+";"}else a+="expires="+r.expires.toUTCString()+";";r.path&&(a+="path="+r.path+";"),r.domain&&(a+="domain="+r.domain+";"),r.secure===!1&&r.sameSite==="None"&&(r.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${i} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),r.secure&&(a+="secure;"),r.sameSite||(r.sameSite="Lax"),a+="sameSite="+r.sameSite+";",r.partitioned&&(a+="Partitioned;"),this.document.cookie=a}delete(i,t,n,s,c="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(i,"",{expires:l,path:t,domain:n,secure:s,sameSite:c})}deleteAll(i,t,n,s="Lax"){if(!this.documentIsAccessible)return;let c=this.getAll();for(let l in c)c.hasOwnProperty(l)&&this.delete(l,i,t,n,s)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let m=e;return m})();var E=class m{constructor(e,o,i,t,n,s){this.httpService=e;this.cookieService=o;this.router=i;this.roleService=t;this.intercomService=n;this.fraction=s}role=[];_returnUrl;_loginResponse;_jwtToken;set returnUrl(e){this._returnUrl=e}get returnUrl(){return this._returnUrl}login(e){return this.httpService.post("/api/Login/Web",e).pipe(S(o=>{this._loginResponse=o,o.Type=="geo"||o.Type=="totp"||this.saveLoginConfigToStorage(o)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}getRedirectUrl(){let e=this.getSubscriptionStatus(),o=this.getRedirectUrlByRole();return(e==2||e==3)&&(o="/menu/Profile/Main/My_Subscription"),o}getRedirectUrlByRole(){let e,o=this.roleService;return o.dashboard.View?e="/menu/Dashboard":o.product.View?e="/menu/Products":e="/menu/Sell",e}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(e=>{localStorage.removeItem("Token"),localStorage.setItem("Token",e.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){let e=localStorage.getItem("Token");if(e){let o=f.parseJwt(e),i=this.convertUnixTimesTamp(o.exp),t=new Date;if(i.getTime()-t.getTime()>0)return!1}return!0}isInRole(e){e.forEach(o=>o(this.role))}convertUnixTimesTamp(e){return new Date(e*1e3)}saveLoginConfigToStorage(e){localStorage.setItem("quantityFraction",JSON.stringify(e.UIConfig.Fraction.Quantity)),localStorage.setItem("amountFraction",JSON.stringify(e.UIConfig.Fraction.Amount)),this.fraction.setAmountFraction(e.UIConfig.Fraction.Amount.Minimum,e.UIConfig.Fraction.Amount.Maximum),this.fraction.setQuantityFraction(e.UIConfig.Fraction.Quantity.Minimum,e.UIConfig.Fraction.Quantity.Maximum),localStorage.setItem("AccountInfo",JSON.stringify(e?.AccountInfo)),localStorage.setItem("Token",e?.Token),localStorage.setItem("TinyMCEPlugins",e?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(e?.Intercom),localStorage.setItem("CloudinaryConfig",e?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",e?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(e?.SubscriptionStatus));let o=this.getParseToken();f.IsNotEmpty(o?.NotificationOutletID)&&localStorage.setItem("NotificationOutletID",o?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let e=localStorage.getItem("Token");return e&&!this._jwtToken&&(this._jwtToken=f.parseJwt(e)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let e=localStorage.getItem("SubscriptionStatus");return e?parseInt(e):null}static \u0275fac=function(o){return new(o||m)(p(h),p(D),p(C),p(R),p(U),p(O))};static \u0275prov=u({token:m,factory:m.\u0275fac,providedIn:"root"})};export{k as a,D as b,E as c};
1
+ import{a as U}from"./chunk-P6DRDJVZ.js";import{a as O}from"./chunk-36GWLMZX.js";import{b as R}from"./chunk-WFQIMZGL.js";import{a as f}from"./chunk-WUV22SZ4.js";import{s as h}from"./chunk-LGOSIAUC.js";import{Ma as v,Pd as C,fa as S,la as u,oa as p,pa as g,wd as N,ya as d}from"./chunk-IEVGW2RT.js";var k=(t=>(t[t.PAID=0]="PAID",t[t.OVERDUE=1]="OVERDUE",t[t.SELL_ONLY=2]="SELL_ONLY",t[t.SUSPENDED=3]="SUSPENDED",t))(k||{});var D=(()=>{let e=class e{constructor(){this.document=g(d),this.platformId=g(v),this.documentIsAccessible=N(this.platformId)}static getCookieRegExp(i){let t=i.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(i){try{return decodeURIComponent(i)}catch{return i}}check(i){return this.documentIsAccessible?(i=encodeURIComponent(i),e.getCookieRegExp(i).test(this.document.cookie)):!1}get(i){if(this.check(i)){i=encodeURIComponent(i);let n=e.getCookieRegExp(i).exec(this.document.cookie);return n?.[1]?e.safeDecodeURIComponent(n[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let i={},t=this.document;return t.cookie&&t.cookie!==""&&t.cookie.split(";").forEach(n=>{let[s,c]=n.split("=");i[e.safeDecodeURIComponent(s.replace(/^ /,""))]=e.safeDecodeURIComponent(c)}),i}set(i,t,n,s,c,l,T,b){if(!this.documentIsAccessible)return;if(typeof n=="number"||n instanceof Date||s||c||l||T){let I={expires:n,path:s,domain:c,secure:l,sameSite:T||"Lax",partitioned:b};this.set(i,t,I);return}let a=encodeURIComponent(i)+"="+encodeURIComponent(t)+";",r=n||{};if(r.expires)if(typeof r.expires=="number"){let I=new Date(new Date().getTime()+r.expires*1e3*60*60*24);a+="expires="+I.toUTCString()+";"}else a+="expires="+r.expires.toUTCString()+";";r.path&&(a+="path="+r.path+";"),r.domain&&(a+="domain="+r.domain+";"),r.secure===!1&&r.sameSite==="None"&&(r.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${i} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),r.secure&&(a+="secure;"),r.sameSite||(r.sameSite="Lax"),a+="sameSite="+r.sameSite+";",r.partitioned&&(a+="Partitioned;"),this.document.cookie=a}delete(i,t,n,s,c="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(i,"",{expires:l,path:t,domain:n,secure:s,sameSite:c})}deleteAll(i,t,n,s="Lax"){if(!this.documentIsAccessible)return;let c=this.getAll();for(let l in c)c.hasOwnProperty(l)&&this.delete(l,i,t,n,s)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let m=e;return m})();var E=class m{constructor(e,o,i,t,n,s){this.httpService=e;this.cookieService=o;this.router=i;this.roleService=t;this.intercomService=n;this.fraction=s}role=[];_returnUrl;_loginResponse;_jwtToken;set returnUrl(e){this._returnUrl=e}get returnUrl(){return this._returnUrl}login(e){return this.httpService.post("/api/Login/Web",e).pipe(S(o=>{this._loginResponse=o,o.Type=="geo"||o.Type=="totp"||this.saveLoginConfigToStorage(o)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}getRedirectUrl(){let e=this.getSubscriptionStatus(),o=this.getRedirectUrlByRole();return(e==2||e==3)&&(o="/menu/Profile/Main/My_Subscription"),o}getRedirectUrlByRole(){let e,o=this.roleService;return o.dashboard.View?e="/menu/Dashboard":o.product.View?e="/menu/Products":e="/menu/Sell",e}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(e=>{localStorage.removeItem("Token"),localStorage.setItem("Token",e.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){let e=localStorage.getItem("Token");if(e){let o=f.parseJwt(e),i=this.convertUnixTimesTamp(o.exp),t=new Date;if(i.getTime()-t.getTime()>0)return!1}return!0}isInRole(e){e.forEach(o=>o(this.role))}convertUnixTimesTamp(e){return new Date(e*1e3)}saveLoginConfigToStorage(e){localStorage.setItem("quantityFraction",JSON.stringify(e.UIConfig.Fraction.Quantity)),localStorage.setItem("amountFraction",JSON.stringify(e.UIConfig.Fraction.Amount)),this.fraction.setAmountFraction(e.UIConfig.Fraction.Amount.Minimum,e.UIConfig.Fraction.Amount.Maximum),this.fraction.setQuantityFraction(e.UIConfig.Fraction.Quantity.Minimum,e.UIConfig.Fraction.Quantity.Maximum),localStorage.setItem("AccountInfo",JSON.stringify(e?.AccountInfo)),localStorage.setItem("Token",e?.Token),localStorage.setItem("TinyMCEPlugins",e?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(e?.Intercom),localStorage.setItem("CloudinaryConfig",e?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",e?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(e?.SubscriptionStatus));let o=this.getParseToken();f.IsNotEmpty(o?.NotificationOutletID)&&localStorage.setItem("NotificationOutletID",o?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let e=localStorage.getItem("Token");return e&&!this._jwtToken&&(this._jwtToken=f.parseJwt(e)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let e=localStorage.getItem("SubscriptionStatus");return e?parseInt(e):null}static \u0275fac=function(o){return new(o||m)(p(h),p(D),p(C),p(R),p(U),p(O))};static \u0275prov=u({token:m,factory:m.\u0275fac,providedIn:"root"})};export{k as a,D as b,E as c};
@@ -1 +1 @@
1
- import{a}from"./chunk-KJF3M7DY.js";import{K as o}from"./chunk-IEVGW2RT.js";var s=class extends a{constructor(t,e,r,n){super(t);this.httpService=e;this.formDataAPI=r;this.route=n;let p=this.route.snapshot.queryParams;this.menuData$.pipe(o(()=>this.httpService.post(`/api/${this.formDataAPI}`,p))).subscribe(i=>{this.data=i,this.postBindForm(i)})}data={};get formData(){return this.data.Form}set formData(t){this.data.Form=t}get options(){return this.data.Options?this.data.Options:{}}get Roles(){return this.data.Roles?this.data.Roles:{}}postBindForm(t){}onSubmit(t,e=!1){this.preSubmitForm(),this.httpService.post(`/api/${t}`,this.formData).subscribe({next:r=>{this.onSubmitSuccess(r)},error:r=>{this.onSubmitError(r)}})}compare(t,e,r){return(t<e?-1:1)*(r?1:-1)}preSubmitForm(){}onSubmitSuccess(t){}onSubmitError(t){}};export{s as a};
1
+ import{a}from"./chunk-V3FPQMVB.js";import{K as o}from"./chunk-IEVGW2RT.js";var s=class extends a{constructor(t,e,r,n){super(t);this.httpService=e;this.formDataAPI=r;this.route=n;let p=this.route.snapshot.queryParams;this.menuData$.pipe(o(()=>this.httpService.post(`/api/${this.formDataAPI}`,p))).subscribe(i=>{this.data=i,this.postBindForm(i)})}data={};get formData(){return this.data.Form}set formData(t){this.data.Form=t}get options(){return this.data.Options?this.data.Options:{}}get Roles(){return this.data.Roles?this.data.Roles:{}}postBindForm(t){}onSubmit(t,e=!1){this.preSubmitForm(),this.httpService.post(`/api/${t}`,this.formData).subscribe({next:r=>{this.onSubmitSuccess(r)},error:r=>{this.onSubmitError(r)}})}compare(t,e,r){return(t<e?-1:1)*(r?1:-1)}preSubmitForm(){}onSubmitSuccess(t){}onSubmitError(t){}};export{s as a};
@@ -1,4 +1,4 @@
1
- import{a as ne,c as Ft,d as It}from"./chunk-QE5OFO56.js";import{d as ie}from"./chunk-R2GUMKAU.js";import{a as bt}from"./chunk-BT7NN7PT.js";import{F as Pt,G as Et,u as Vt,v as Tt,w as kt}from"./chunk-26YFRPR2.js";import{b as vt,c as yt}from"./chunk-JBS5UYZC.js";import{N as Dt,n as Mt}from"./chunk-TEGIL5RZ.js";import{a as ot,e as xt,f as wt,g as St}from"./chunk-ZTD4APMR.js";import{s as Ct}from"./chunk-7P3L3ODB.js";import{c as gt,d as _t,h as ht,k as j}from"./chunk-FU2ZGMX4.js";import{G as Ce,M as ct,N as dt,b as at,k as rt,la as pt,oa as ut,p as lt,pa as te,ua as mt,w as st,xa as ft}from"./chunk-SLX34TWD.js";import{F as tt,c as $e,h as Ye,i as Ge,k as Xe,o as Je,p as et}from"./chunk-DWZ5JTI2.js";import{a as qe,c as it}from"./chunk-743523SK.js";import{a as nt}from"./chunk-46D5QBZT.js";import{a as N}from"./chunk-WUV22SZ4.js";import{c as We,d as he,f as J,g as ee,i as be,p as Ze}from"./chunk-LGOSIAUC.js";import{$c as Y,Ab as f,Cb as S,Db as V,Eb as T,Fb as u,Fc as Z,Gb as a,Gc as fe,Hb as l,Hc as Oe,Ia as de,Ib as _,N as Ve,Ob as Be,Pb as b,Pc as ge,Qd as Qe,Rd as ze,Sb as g,Sd as Ue,Tc as _e,Ub as c,Uc as $,Vb as z,Wa as Me,Wb as k,Xa as s,Xb as E,Ya as y,Za as De,Zb as F,_b as I,_c as Le,aa as Te,ac as U,ad as Re,bc as Ke,d as we,eb as v,ec as pe,gc as ue,gd as Ne,hc as h,ib as B,ic as A,jb as Q,jc as O,jd as je,la as H,lb as Pe,ma as W,mb as Ee,mc as M,md as He,na as ke,nb as Fe,nc as D,nd as G,ob as K,oc as P,pa as w,sc as L,t as Se,ta as d,ua as p,vd as R,wb as Ie,wc as Ae,wd as X,xc as q,yb as m,yc as x,zc as me}from"./chunk-IEVGW2RT.js";import{a as ce,b as xe}from"./chunk-SNAKHGZS.js";var oe=class t{_openDialog=new we;openDialog$=this._openDialog.asObservable();openDialog(){this._openDialog.next()}static \u0275fac=function(e){return new(e||t)};static \u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ht=["content"],Wt=["*"],Qt=(t,o)=>({showTransitionParams:t,hideTransitionParams:o}),zt=(t,o)=>({value:t,params:o}),Ut=t=>({closeCallback:t});function qt(t,o){}function Zt(t,o){t&1&&K(0,qt,0,0,"ng-template")}function $t(t,o){if(t&1){let e=b();a(0,"div",1),g("click",function(i){d(e);let r=c();return p(r.onOverlayClick(i))})("@animation.start",function(i){d(e);let r=c();return p(r.onAnimationStart(i))})("@animation.done",function(i){d(e);let r=c();return p(r.onAnimationEnd(i))}),a(1,"div",2),g("click",function(i){d(e);let r=c();return p(r.onContentClick(i))})("mousedown",function(i){d(e);let r=c();return p(r.onContentClick(i))}),k(2),K(3,Zt,1,0,null,3),l()()}if(t&2){let e=c();ue(e.cn(e.cx("root"),e.styleClass)),u("pBind",e.ptm("root"))("ngStyle",e.style)("@animation",me(16,zt,e.overlayVisible?"open":"close",me(13,Qt,e.showTransitionOptions,e.hideTransitionOptions))),Ie("aria-modal",e.overlayVisible)("aria-label",e.ariaLabel)("aria-labelledBy",e.ariaLabelledBy),s(),ue(e.cx("content")),u("pBind",e.ptm("content")),s(2),u("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",x(19,Ut,e.onCloseClick.bind(e)))}}var Yt=`
1
+ import{a as ne,c as Ft,d as It}from"./chunk-PFF34SZG.js";import{d as ie}from"./chunk-R2GUMKAU.js";import{a as bt}from"./chunk-BT7NN7PT.js";import{F as Pt,G as Et,u as Vt,v as Tt,w as kt}from"./chunk-26YFRPR2.js";import{b as vt,c as yt}from"./chunk-JBS5UYZC.js";import{N as Dt,n as Mt}from"./chunk-TEGIL5RZ.js";import{a as ot,e as xt,f as wt,g as St}from"./chunk-ZTD4APMR.js";import{s as Ct}from"./chunk-7P3L3ODB.js";import{c as gt,d as _t,h as ht,k as j}from"./chunk-FU2ZGMX4.js";import{G as Ce,M as ct,N as dt,b as at,k as rt,la as pt,oa as ut,p as lt,pa as te,ua as mt,w as st,xa as ft}from"./chunk-SLX34TWD.js";import{F as tt,c as $e,h as Ye,i as Ge,k as Xe,o as Je,p as et}from"./chunk-DWZ5JTI2.js";import{a as qe,c as it}from"./chunk-Y7D34HYN.js";import{a as nt}from"./chunk-P6DRDJVZ.js";import{a as N}from"./chunk-WUV22SZ4.js";import{c as We,d as he,f as J,g as ee,i as be,p as Ze}from"./chunk-LGOSIAUC.js";import{$c as Y,Ab as f,Cb as S,Db as V,Eb as T,Fb as u,Fc as Z,Gb as a,Gc as fe,Hb as l,Hc as Oe,Ia as de,Ib as _,N as Ve,Ob as Be,Pb as b,Pc as ge,Qd as Qe,Rd as ze,Sb as g,Sd as Ue,Tc as _e,Ub as c,Uc as $,Vb as z,Wa as Me,Wb as k,Xa as s,Xb as E,Ya as y,Za as De,Zb as F,_b as I,_c as Le,aa as Te,ac as U,ad as Re,bc as Ke,d as we,eb as v,ec as pe,gc as ue,gd as Ne,hc as h,ib as B,ic as A,jb as Q,jc as O,jd as je,la as H,lb as Pe,ma as W,mb as Ee,mc as M,md as He,na as ke,nb as Fe,nc as D,nd as G,ob as K,oc as P,pa as w,sc as L,t as Se,ta as d,ua as p,vd as R,wb as Ie,wc as Ae,wd as X,xc as q,yb as m,yc as x,zc as me}from"./chunk-IEVGW2RT.js";import{a as ce,b as xe}from"./chunk-SNAKHGZS.js";var oe=class t{_openDialog=new we;openDialog$=this._openDialog.asObservable();openDialog(){this._openDialog.next()}static \u0275fac=function(e){return new(e||t)};static \u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})};var Ht=["content"],Wt=["*"],Qt=(t,o)=>({showTransitionParams:t,hideTransitionParams:o}),zt=(t,o)=>({value:t,params:o}),Ut=t=>({closeCallback:t});function qt(t,o){}function Zt(t,o){t&1&&K(0,qt,0,0,"ng-template")}function $t(t,o){if(t&1){let e=b();a(0,"div",1),g("click",function(i){d(e);let r=c();return p(r.onOverlayClick(i))})("@animation.start",function(i){d(e);let r=c();return p(r.onAnimationStart(i))})("@animation.done",function(i){d(e);let r=c();return p(r.onAnimationEnd(i))}),a(1,"div",2),g("click",function(i){d(e);let r=c();return p(r.onContentClick(i))})("mousedown",function(i){d(e);let r=c();return p(r.onContentClick(i))}),k(2),K(3,Zt,1,0,null,3),l()()}if(t&2){let e=c();ue(e.cn(e.cx("root"),e.styleClass)),u("pBind",e.ptm("root"))("ngStyle",e.style)("@animation",me(16,zt,e.overlayVisible?"open":"close",me(13,Qt,e.showTransitionOptions,e.hideTransitionOptions))),Ie("aria-modal",e.overlayVisible)("aria-label",e.ariaLabel)("aria-labelledBy",e.ariaLabelledBy),s(),ue(e.cx("content")),u("pBind",e.ptm("content")),s(2),u("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",x(19,Ut,e.onCloseClick.bind(e)))}}var Yt=`
2
2
  .p-popover {
3
3
  margin-top: dt('popover.gutter');
4
4
  background: dt('popover.background');