dealposbooks 5.45.2 → 5.46.1
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/3rdpartylicenses.txt +5 -23
- package/assets/scss/components/_tables.scss +29 -3
- package/assets/scss/style.scss +4 -0
- package/{chunk-QY6YO5GR.js → chunk-325YO3CB.js} +1 -1
- package/{chunk-OZG2M6UV.js → chunk-53W5RLOG.js} +4 -4
- package/{chunk-W325ZFGZ.js → chunk-56N6E5N3.js} +1 -1
- package/{chunk-WO62II7E.js → chunk-6HNKPNHQ.js} +1 -1
- package/{chunk-26UQWFZL.js → chunk-7UGQCTEO.js} +1 -1
- package/{chunk-WZQ3ORPU.js → chunk-A3XYHEBB.js} +1 -1
- package/chunk-AS6FT6H3.js +1 -0
- package/{chunk-FXATM6DM.js → chunk-BPBHYTKN.js} +1 -1
- package/{chunk-MLC5Q3HL.js → chunk-BPZ7LLVJ.js} +1 -1
- package/{chunk-AJUXGEAH.js → chunk-C2KFSD3V.js} +1 -1
- package/chunk-CRRQQY3W.js +1 -0
- package/{chunk-DWCZUCH4.js → chunk-DAUF3TQ2.js} +1 -1
- package/{chunk-66OMKKIW.js → chunk-FXWKWGGZ.js} +1 -1
- package/{chunk-GZYN6L4H.js → chunk-FYFSBGP3.js} +1 -1
- package/chunk-G25NFEKL.js +1 -0
- package/chunk-GKXIOXWW.js +8 -0
- package/{chunk-NMNIOSPK.js → chunk-HXXN64RL.js} +1 -1
- package/chunk-ICH2UTRM.js +1 -0
- package/{chunk-QTPVRMTB.js → chunk-IZCYMXSH.js} +1 -1
- package/chunk-JGRTH5OW.js +1 -0
- package/{chunk-GNLE4WCA.js → chunk-JYEZYL2U.js} +1 -1
- package/{chunk-BSDEDT6G.js → chunk-KGTXHU4K.js} +1 -1
- package/{chunk-JTUKNSIL.js → chunk-KYQ3HOYB.js} +1 -1
- package/{chunk-CDM64DTS.js → chunk-LLPR22QN.js} +1 -1
- package/{chunk-BXJSXLQV.js → chunk-LWIIL6RI.js} +1 -1
- package/{chunk-PYQLVU3L.js → chunk-ME7O3OZS.js} +1 -1
- package/chunk-MOUK63TZ.js +4 -0
- package/{chunk-FPBO6QHG.js → chunk-MYE27TEJ.js} +1 -1
- package/{chunk-HWYLSS7R.js → chunk-NID2PW3N.js} +1 -1
- package/{chunk-Y4NMBCL7.js → chunk-NLRLM4WP.js} +1 -1
- package/{chunk-HSCJP74Q.js → chunk-O4TXGGHF.js} +1 -1
- package/chunk-OBX4APL6.js +1 -0
- package/chunk-OKX4P7HR.js +1 -0
- package/{chunk-SZPSOPM4.js → chunk-PQB7CIVB.js} +1 -1
- package/chunk-PRW2K6L4.js +129 -0
- package/{chunk-4LXFEAO3.js → chunk-QKRPHDSG.js} +1 -1
- package/{chunk-JOKE4TMJ.js → chunk-QXZZJ543.js} +1 -1
- package/{chunk-4TTCPL3N.js → chunk-R7TX5W65.js} +1 -1
- package/{chunk-XBIY3I5H.js → chunk-SBAIX6FL.js} +1 -1
- package/{chunk-3KUSIKRO.js → chunk-SLUPHKW6.js} +1 -1
- package/{chunk-KUECUVZ7.js → chunk-SPFVPLUI.js} +1 -1
- package/{chunk-OX6CAMTK.js → chunk-SZUKKFRX.js} +1 -1
- package/{chunk-MMQTWRG5.js → chunk-TOSO7HJJ.js} +1 -1
- package/chunk-TYVIEINK.js +1 -0
- package/{chunk-GJJEUBYR.js → chunk-VBCL4G4V.js} +1 -1
- package/{chunk-UP4DWDNE.js → chunk-W4HYYYPX.js} +1 -1
- package/{chunk-OQD4ZKBU.js → chunk-XILZA7G5.js} +1 -1
- package/{chunk-Y7P7BGVH.js → chunk-Y2PXP5OT.js} +2 -2
- package/{chunk-2CZSVC7E.js → chunk-Y3UB475V.js} +1 -1
- package/chunk-YM5BXLAN.js +1 -0
- package/{chunk-AOJUTF6L.js → chunk-YUNKEY4N.js} +1 -1
- package/{chunk-YDFJ65ST.js → chunk-Z2ADGCWR.js} +1 -1
- package/{chunk-A2PK5UDL.js → chunk-ZYDAEVQY.js} +1 -1
- package/index.html +2 -2
- package/{main-TUODCJBC.js → main-7RGHX2IL.js} +1 -1
- package/package.json +1 -1
- package/{styles-TEWF6HBI.css → styles-4HAX3IDP.css} +1 -1
- package/chunk-3HOFEEIL.js +0 -1
- package/chunk-5M4DFZYR.js +0 -8
- package/chunk-BTVPGIVW.js +0 -1
- package/chunk-DHA762N3.js +0 -1
- package/chunk-JRVYSBUZ.js +0 -5
- package/chunk-KQGEEF2E.js +0 -129
- package/chunk-N4CQ65FU.js +0 -1
- package/chunk-OVHHHUDY.js +0 -1
- package/chunk-P63CD72K.js +0 -1
- package/chunk-QUL4J2CF.js +0 -1
- package/chunk-VEALQLJ2.js +0 -1
- package/chunk-YVO6JHL7.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ft,b as It,c as kt}from"./chunk-VGNJD35F.js";import{h as wt}from"./chunk-YV2QJ63P.js";import{a as at,b as lt}from"./chunk-ARH3WEEF.js";import{a as fe,b as ut,f as Oe,h as he,j as ht,k as bt,l as Ct,m as xt,n as yt,o as vt,w as be,x as Tt}from"./chunk-H6HNANYB.js";import{$ as ge,A as Se,B as _e,C as Ve,D as Fe,Da as O,I as Pe,K as rt,La as mt,Ma as ue,N as st,Na as _t,R as Le,U as pt,Ua as gt,Z as ct,b as tt,e as it,j as nt,ma as dt,w as ot,y as $,z as me}from"./chunk-OIBDX2CA.js";import{d as et}from"./chunk-4TTCPL3N.js";import{a as Ke,h as se,k as pe,l as Ue,m as ce,s as de,t as Z}from"./chunk-VZ5CMS5O.js";import{c as Je,d as ke,f as ze,h as Me,i as Ee,k as De}from"./chunk-F2X3VGZZ.js";import{$b as h,$c as re,Aa as D,Ab as Ye,Ba as Qe,Bb as V,Cc as le,Da as U,Db as m,Dc as j,Ea as T,Ec as A,Fc as Ze,Gc as $e,Ha as Ae,Kb as w,La as We,Lb as o,Nb as je,Nc as we,Ob as H,Oc as Ie,Pb as F,Qb as X,Rc as W,Vb as p,Wb as c,Xb as y,Yb as B,Zb as R,_b as I,_c as b,bd as qe,ca as Be,cd as Ge,da as xe,ec as u,fb as Ne,fc as s,gc as J,hb as l,hc as Y,ia as k,kc as v,lc as ee,mc as C,nc as x,pa as Re,qa as _,qc as te,ra as g,rc as Q,sa as K,sb as ye,sc as ie,tc as Te,ua as z,wc as ne,xb as S,xc as oe,yb as ve,yc as ae,zb as Xe}from"./chunk-NMCKMUY4.js";import{a as Ce}from"./chunk-YQFG5XE2.js";var zt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMaximizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Mt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMinimizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Et=(()=>{class t extends fe{pFocusTrapDisabled=!1;platformId=k(We);document=k(Ke);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),Z(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&Z(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=i=>st("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?pt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Le(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?ct(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Le(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275dir=Xe({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",b]},features:[V,Re]})}return t})();var Ot=["header"],Dt=["content"],St=["footer"],Ht=["closeicon"],Bt=["maximizeicon"],Rt=["minimizeicon"],Qt=["headless"],At=["titlebar"],Wt=["*",[["p-footer"]]],Nt=["*","p-footer"],Xt=(t,r,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":r,"pointer-events":e}),Yt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),jt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),Zt=(t,r)=>({transform:t,transition:r}),$t=t=>({value:"visible",params:t});function qt(t,r){t&1&&I(0)}function Gt(t,r){if(t&1&&(B(0),m(1,qt,1,0,"ng-container",11),R()),t&2){let e=s(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function Kt(t,r){if(t&1){let e=h();p(0,"div",15),u("mousedown",function(i){_(e);let a=s(4);return g(a.initResize(i))}),c()}if(t&2){let e=s(4);o("ngClass",e.cx("resizeHandle"))}}function Ut(t,r){if(t&1&&(p(0,"span",21),Q(1),c()),t&2){let e=s(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),ie(e.header)}}function Jt(t,r){t&1&&I(0)}function ei(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function ti(t,r){t&1&&y(0,"WindowMaximizeIcon")}function ii(t,r){t&1&&y(0,"WindowMinimizeIcon")}function ni(t,r){if(t&1&&(B(0),m(1,ti,1,0,"WindowMaximizeIcon",23)(2,ii,1,0,"WindowMinimizeIcon",23),R()),t&2){let e=s(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function oi(t,r){}function ai(t,r){t&1&&m(0,oi,0,0,"ng-template")}function li(t,r){if(t&1&&(B(0),m(1,ai,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ri(t,r){}function si(t,r){t&1&&m(0,ri,0,0,"ng-template")}function pi(t,r){if(t&1&&(B(0),m(1,si,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ci(t,r){if(t&1){let e=h();p(0,"p-button",22),u("onClick",function(){_(e);let i=s(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=s(5);return g(i.maximize())}),m(1,ei,1,1,"span",14)(2,ni,3,2,"ng-container",23)(3,li,2,1,"ng-container",23)(4,pi,2,1,"ng-container",23),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),l(),o("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),l(),o("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),l(),o("ngIf",!e.maximized),l(),o("ngIf",e.maximized)}}function di(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(8);o("ngClass",e.closeIcon)}}function mi(t,r){t&1&&y(0,"TimesIcon")}function _i(t,r){if(t&1&&(B(0),m(1,di,1,1,"span",14)(2,mi,1,0,"TimesIcon",23),R()),t&2){let e=s(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function gi(t,r){}function ui(t,r){t&1&&m(0,gi,0,0,"ng-template")}function fi(t,r){if(t&1&&(p(0,"span"),m(1,ui,1,0,null,11),c()),t&2){let e=s(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function hi(t,r){if(t&1&&m(0,_i,3,2,"ng-container",23)(1,fi,2,1,"span",23),t&2){let e=s(6);o("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),l(),o("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function bi(t,r){if(t&1){let e=h();p(0,"p-button",24),u("onClick",function(i){_(e);let a=s(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=s(5);return g(a.close(i))}),m(1,hi,2,2,"ng-template",null,4,W),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function Ci(t,r){if(t&1){let e=h();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=s(4);return g(a.initDrag(i))}),m(2,Ut,2,3,"span",17)(3,Jt,1,0,"ng-container",11),p(4,"div",18),m(5,ci,5,8,"p-button",19)(6,bi,3,4,"p-button",20),c()()}if(t&2){let e=s(4);o("ngClass",e.cx("header")),l(2),o("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),l(),o("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),l(),o("ngClass",e.cx("headerActions")),l(),o("ngIf",e.maximizable),l(),o("ngIf",e.closable)}}function xi(t,r){t&1&&I(0)}function yi(t,r){t&1&&I(0)}function vi(t,r){if(t&1&&(p(0,"div",18,5),Y(2,1),m(3,yi,1,0,"ng-container",11),c()),t&2){let e=s(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ti(t,r){if(t&1&&(m(0,Kt,1,1,"div",12)(1,Ci,7,6,"div",13),p(2,"div",7,2),Y(4),m(5,xi,1,0,"ng-container",11),c(),m(6,vi,4,2,"div",14)),t&2){let e=s(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),F(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),w("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function wi(t,r){if(t&1){let e=h();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=s(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=s(2);return g(a.onAnimationEnd(i))}),m(2,Gt,2,1,"ng-container",10)(3,Ti,7,9,"ng-template",null,1,W),c()}if(t&2){let e=te(4),n=s(2);H(n.style),F(n.styleClass),o("ngClass",A(13,Yt,n.maximizable&&n.maximized))("ngStyle",j(15,jt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",A(19,$t,Ze(16,Zt,n.transformOptions,n.transitionOptions))),w("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function Ii(t,r){if(t&1&&(p(0,"div",7),m(1,wi,5,21,"div",8),c()),t&2){let e=s();H(e.maskStyle),F(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",$e(7,Xt,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),l(),o("ngIf",e.visible)}}var ki=({dt:t})=>`
|
|
1
|
+
import{a as ft,b as It,c as kt}from"./chunk-VGNJD35F.js";import{h as wt}from"./chunk-YV2QJ63P.js";import{a as at,b as lt}from"./chunk-ARH3WEEF.js";import{a as fe,b as ut,f as Oe,h as he,j as ht,k as bt,l as Ct,m as xt,n as yt,o as vt,w as be,x as Tt}from"./chunk-H6HNANYB.js";import{$ as ge,A as Se,B as _e,C as Ve,D as Fe,Da as O,I as Pe,K as rt,La as mt,Ma as ue,N as st,Na as _t,R as Le,U as pt,Ua as gt,Z as ct,b as tt,e as it,j as nt,ma as dt,w as ot,y as $,z as me}from"./chunk-OIBDX2CA.js";import{d as et}from"./chunk-R7TX5W65.js";import{a as Ke,h as se,k as pe,l as Ue,m as ce,s as de,t as Z}from"./chunk-VZ5CMS5O.js";import{c as Je,d as ke,f as ze,h as Me,i as Ee,k as De}from"./chunk-F2X3VGZZ.js";import{$b as h,$c as re,Aa as D,Ab as Ye,Ba as Qe,Bb as V,Cc as le,Da as U,Db as m,Dc as j,Ea as T,Ec as A,Fc as Ze,Gc as $e,Ha as Ae,Kb as w,La as We,Lb as o,Nb as je,Nc as we,Ob as H,Oc as Ie,Pb as F,Qb as X,Rc as W,Vb as p,Wb as c,Xb as y,Yb as B,Zb as R,_b as I,_c as b,bd as qe,ca as Be,cd as Ge,da as xe,ec as u,fb as Ne,fc as s,gc as J,hb as l,hc as Y,ia as k,kc as v,lc as ee,mc as C,nc as x,pa as Re,qa as _,qc as te,ra as g,rc as Q,sa as K,sb as ye,sc as ie,tc as Te,ua as z,wc as ne,xb as S,xc as oe,yb as ve,yc as ae,zb as Xe}from"./chunk-NMCKMUY4.js";import{a as Ce}from"./chunk-YQFG5XE2.js";var zt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMaximizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Mt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMinimizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Et=(()=>{class t extends fe{pFocusTrapDisabled=!1;platformId=k(We);document=k(Ke);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),Z(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&Z(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=i=>st("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?pt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Le(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?ct(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Le(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275dir=Xe({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",b]},features:[V,Re]})}return t})();var Ot=["header"],Dt=["content"],St=["footer"],Ht=["closeicon"],Bt=["maximizeicon"],Rt=["minimizeicon"],Qt=["headless"],At=["titlebar"],Wt=["*",[["p-footer"]]],Nt=["*","p-footer"],Xt=(t,r,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":r,"pointer-events":e}),Yt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),jt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),Zt=(t,r)=>({transform:t,transition:r}),$t=t=>({value:"visible",params:t});function qt(t,r){t&1&&I(0)}function Gt(t,r){if(t&1&&(B(0),m(1,qt,1,0,"ng-container",11),R()),t&2){let e=s(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function Kt(t,r){if(t&1){let e=h();p(0,"div",15),u("mousedown",function(i){_(e);let a=s(4);return g(a.initResize(i))}),c()}if(t&2){let e=s(4);o("ngClass",e.cx("resizeHandle"))}}function Ut(t,r){if(t&1&&(p(0,"span",21),Q(1),c()),t&2){let e=s(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),ie(e.header)}}function Jt(t,r){t&1&&I(0)}function ei(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function ti(t,r){t&1&&y(0,"WindowMaximizeIcon")}function ii(t,r){t&1&&y(0,"WindowMinimizeIcon")}function ni(t,r){if(t&1&&(B(0),m(1,ti,1,0,"WindowMaximizeIcon",23)(2,ii,1,0,"WindowMinimizeIcon",23),R()),t&2){let e=s(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function oi(t,r){}function ai(t,r){t&1&&m(0,oi,0,0,"ng-template")}function li(t,r){if(t&1&&(B(0),m(1,ai,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ri(t,r){}function si(t,r){t&1&&m(0,ri,0,0,"ng-template")}function pi(t,r){if(t&1&&(B(0),m(1,si,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ci(t,r){if(t&1){let e=h();p(0,"p-button",22),u("onClick",function(){_(e);let i=s(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=s(5);return g(i.maximize())}),m(1,ei,1,1,"span",14)(2,ni,3,2,"ng-container",23)(3,li,2,1,"ng-container",23)(4,pi,2,1,"ng-container",23),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),l(),o("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),l(),o("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),l(),o("ngIf",!e.maximized),l(),o("ngIf",e.maximized)}}function di(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(8);o("ngClass",e.closeIcon)}}function mi(t,r){t&1&&y(0,"TimesIcon")}function _i(t,r){if(t&1&&(B(0),m(1,di,1,1,"span",14)(2,mi,1,0,"TimesIcon",23),R()),t&2){let e=s(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function gi(t,r){}function ui(t,r){t&1&&m(0,gi,0,0,"ng-template")}function fi(t,r){if(t&1&&(p(0,"span"),m(1,ui,1,0,null,11),c()),t&2){let e=s(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function hi(t,r){if(t&1&&m(0,_i,3,2,"ng-container",23)(1,fi,2,1,"span",23),t&2){let e=s(6);o("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),l(),o("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function bi(t,r){if(t&1){let e=h();p(0,"p-button",24),u("onClick",function(i){_(e);let a=s(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=s(5);return g(a.close(i))}),m(1,hi,2,2,"ng-template",null,4,W),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function Ci(t,r){if(t&1){let e=h();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=s(4);return g(a.initDrag(i))}),m(2,Ut,2,3,"span",17)(3,Jt,1,0,"ng-container",11),p(4,"div",18),m(5,ci,5,8,"p-button",19)(6,bi,3,4,"p-button",20),c()()}if(t&2){let e=s(4);o("ngClass",e.cx("header")),l(2),o("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),l(),o("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),l(),o("ngClass",e.cx("headerActions")),l(),o("ngIf",e.maximizable),l(),o("ngIf",e.closable)}}function xi(t,r){t&1&&I(0)}function yi(t,r){t&1&&I(0)}function vi(t,r){if(t&1&&(p(0,"div",18,5),Y(2,1),m(3,yi,1,0,"ng-container",11),c()),t&2){let e=s(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ti(t,r){if(t&1&&(m(0,Kt,1,1,"div",12)(1,Ci,7,6,"div",13),p(2,"div",7,2),Y(4),m(5,xi,1,0,"ng-container",11),c(),m(6,vi,4,2,"div",14)),t&2){let e=s(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),F(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),w("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function wi(t,r){if(t&1){let e=h();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=s(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=s(2);return g(a.onAnimationEnd(i))}),m(2,Gt,2,1,"ng-container",10)(3,Ti,7,9,"ng-template",null,1,W),c()}if(t&2){let e=te(4),n=s(2);H(n.style),F(n.styleClass),o("ngClass",A(13,Yt,n.maximizable&&n.maximized))("ngStyle",j(15,jt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",A(19,$t,Ze(16,Zt,n.transformOptions,n.transitionOptions))),w("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function Ii(t,r){if(t&1&&(p(0,"div",7),m(1,wi,5,21,"div",8),c()),t&2){let e=s();H(e.maskStyle),F(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",$e(7,Xt,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),l(),o("ngIf",e.visible)}}var ki=({dt:t})=>`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -177,4 +177,4 @@ import{a as ft,b as It,c as kt}from"./chunk-VGNJD35F.js";import{h as wt}from"./c
|
|
|
177
177
|
width: ${this.breakpoints[n]} !important;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
`;this.renderer.setProperty(this.styleElement,"innerHTML",e),dt(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){$(e.target,"p-dialog-maximize-icon")||$(e.target,"p-dialog-header-close-icon")||$(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",me(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Pe(this.container),i=ge(this.container),a=e.pageX-this.lastPageX,d=e.pageY-this.lastPageY,f=this.container.getBoundingClientRect(),P=getComputedStyle(this.container),L=parseFloat(P.marginLeft),G=parseFloat(P.marginTop),M=f.left+a-L,E=f.top+d-G,N=Fe();this.container.style.position="fixed",this.keepInViewport?(M>=this.minX&&M+n<N.width&&(this._style.left=`${M}px`,this.lastPageX=e.pageX,this.container.style.left=`${M}px`),E>=this.minY&&E+i<N.height&&(this._style.top=`${E}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${M}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,_e(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,me(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=Pe(this.container),d=ge(this.container),f=ge(this.contentViewChild?.nativeElement),P=a+n,L=d+i,G=this.container.style.minWidth,M=this.container.style.minHeight,E=this.container.getBoundingClientRect(),N=Fe();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(P+=n,L+=i),(!G||P>parseInt(G))&&E.left+P<N.width&&(this._style.width=P+"px",this.container.style.width=this._style.width),(!M||L>parseInt(M))&&E.top+L<N.height&&(this.contentViewChild.nativeElement.style.height=f+L-d+"px",this._style.height&&(this._style.height=L+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,_e(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):rt(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&me(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),$(this.document.body,"p-overflow-hidden")&&_e(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Oe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?Ce({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ot,4),v(a,Dt,4),v(a,St,4),v(a,Ht,4),v(a,Bt,4),v(a,Rt,4),v(a,Qt,4),v(a,mt,4)),n&2){let d;C(d=x())&&(i._headerTemplate=d.first),C(d=x())&&(i._contentTemplate=d.first),C(d=x())&&(i._footerTemplate=d.first),C(d=x())&&(i._closeiconTemplate=d.first),C(d=x())&&(i._maximizeiconTemplate=d.first),C(d=x())&&(i._minimizeiconTemplate=d.first),C(d=x())&&(i._headlessTemplate=d.first),C(d=x())&&(i.templates=d)}},viewQuery:function(n,i){if(n&1&&(ee(At,5),ee(Dt,5),ee(St,5)),n&2){let a;C(a=x())&&(i.headerViewChild=a.first),C(a=x())&&(i.contentViewChild=a.first),C(a=x())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",b],resizable:[2,"resizable","resizable",b],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",b],closeOnEscape:[2,"closeOnEscape","closeOnEscape",b],dismissableMask:[2,"dismissableMask","dismissableMask",b],rtl:[2,"rtl","rtl",b],closable:[2,"closable","closable",b],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",b],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",b],autoZIndex:[2,"autoZIndex","autoZIndex",b],baseZIndex:[2,"baseZIndex","baseZIndex",re],minX:[2,"minX","minX",re],minY:[2,"minY","minY",re],focusOnShow:[2,"focusOnShow","focusOnShow",b],maximizable:[2,"maximizable","maximizable",b],keepInViewport:[2,"keepInViewport","keepInViewport",b],focusTrap:[2,"focusTrap","focusTrap",b],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[le([Vt]),V],ngContentSelectors:Nt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(J(Wt),m(0,Ii,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[de,se,pe,ce,Ue,be,Et,ft,zt,Mt,ue],encapsulation:2,data:{animation:[Je("animation",[Me("void => visible",[De(Ei)]),Me("visible => void",[De(Di)])])]},changeDetection:0})}return t})(),Ft=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ve({type:t});static \u0275inj=xe({imports:[He,ue,ue]})}return t})();var Pt=(()=>{class t{transform(e,n=50,i=!1,a="..."){return e&&(i&&(n=e.substring(0,n).lastIndexOf(" "),n===-1&&(n=50)),e.length>n?e.substring(0,n)+a:e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Ye({name:"truncate",type:t,pure:!0})}}return t})();var Vi=["actionButton"],Fi=["filters"],Pi=["content"],Li=[[["tabs"]]],Oi=["tabs"],Hi=t=>({"border-bottom":t}),Bi=t=>({"overflow-y":t,"padding-bottom":"80px"}),Ri=()=>({width:"30vw"}),Qi=()=>({"1199px":"75vw","575px":"100vw"});function Ai(t,r){if(t&1){let e=h();p(0,"p-button",33),u("onClick",function(){_(e);let i=s();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),c()}t&2&&o("text",!0)}function Wi(t,r){if(t&1){let e=h();p(0,"p-button",34),u("click",function(){_(e);let i=s();return g(i.isCollapsed=!i.isCollapsed)}),c()}if(t&2){let e=s();o("text",!0),w("aria-expanded",!e.isCollapsed)}}function Ni(t,r){if(t&1){let e=h();p(0,"p-iconfield",23)(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Xi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function Yi(t,r){t&1&&I(0)}function ji(t,r){if(t&1){let e=h();p(0,"p-iconfield")(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Zi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function $i(t,r){t&1&&I(0)}function qi(t,r){t&1&&I(0)}function Gi(t,r){t&1&&I(0)}function Ki(t,r){if(t&1){let e=h();p(0,"p-button",40),u("onClick",function(){_(e);let i=s();return g(i.closeFilter())}),c()}t&2&&o("rounded",!0)("text",!0)}function Ui(t,r){if(t&1){let e=h();p(0,"p-button",43),u("click",function(){_(e);let i=s(2);return g(i.cancelFilter())}),c()}}function Ji(t,r){if(t&1){let e=h();p(0,"p-button",44),u("click",function(){_(e);let i=s(2);return g(i.confirmFilter())}),c()}}function en(t,r){if(t&1&&m(0,Ui,1,0,"p-button",41)(1,Ji,1,0,"p-button",42),t&2){let e=s();o("ngIf",e.showCancelButton()),l(),o("ngIf",e.showConfirmButton())}}var tn=9999,_o=(()=>{class t{ngAfterViewInit(){this.intercomService.initializeIntercom()}confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}constructor(){this.intercomService=k(et),this.scrollable=T(!1),this.limitStrLength=T(tn),this.overflowScroll=T(!1),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.store=k(wt),this.pageTitle=T(""),this.pageSubTitle=T(""),this.isSearchableInput=T(!1),this.isFilterable=T(!1),this.hasMainWrapperPadding=T(!1),this.search=U(),this.searchQuery=Ae(""),this.filterConfirmed=U(),this.filterCanceled=U(),this.isDialogFilterVisible=ye(!1),this.isInitDialogFilterVisible=ye(!1),this.pageTitleComputed=qe(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.showCancelButton=T(!0),this.showConfirmButton=T(!0),this.dialogTitle=T("Filter"),Ge(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.isDialogFilterVisible.update(e=>!e)}emitSearch(){this.search.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&this.filterConfirmed.emit()}get mainPanelClasses(){return{"p-3":this.hasMainWrapperPadding()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=S({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Vi,7),v(a,Fi,7),v(a,Pi,7)),n&2){let d;C(d=x())&&(i.actionButtonTemplate=d.first),C(d=x())&&(i.filterTemplate=d.first),C(d=x())&&(i.contentTemplate=d.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(d){return i.handleKeyboardEvent(d)},!1,Ne)},inputs:{scrollable:[1,"scrollable"],limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],pageTitle:[1,"pageTitle"],pageSubTitle:[1,"pageSubTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],showCancelButton:[1,"showCancelButton"],showConfirmButton:[1,"showConfirmButton"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",filterCanceled:"filterCanceled",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange"},features:[le([])],ngContentSelectors:Oi,decls:52,vars:42,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[2,"position","sticky","top","0","z-index","1","background","white"],[1,"navbar","navbar-expand-lg","bg-white","border-bottom",3,"ngClass"],[1,"container-fluid","px-lg-3","px-1"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap","px-0"],[1,"d-flex","align-items-center"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"text","onClick",4,"ngIf"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"text","click",4,"ngIf"],[1,"w-100","d-none","d-lg-flex"],[1,"col-8","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],["tooltipPosition","top",1,"flex-shrink-1",3,"pTooltip"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],[2,"font-size","14px"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[2,"max-width","300px"],["type","button",1,"btn","btn-link","p-0"],[1,"col-4","align-self-center","d-flex","gap-2","justify-content-end"],[4,"ngTemplateOutlet"],[3,"ngbCollapseChange","ngbCollapse"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center","gap-2"],[1,"flex-grow-1",3,"ngClass"],["position","center","appendTo","body",3,"visibleChange","header","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"onClick","text"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"click","text"],["pTooltip","Search...","tooltipPosition","top","placeholder","Search...","type","text","pInputText","",3,"ngModelChange","keyup.enter","ngModel"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link","p-0",3,"click"],[1,"fa-solid","fa-filter"],[1,"fa-solid","fa-caret-down"],["severity","secondary","variant","outlined","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click",4,"ngIf"],["label","OK (F2)",3,"click",4,"ngIf"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=h();J(Li),p(0,"div",3)(1,"div",4)(2,"nav",5)(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9)(7,"p-button",10),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),c(),p(8,"h1",11),Q(9),c(),m(10,Ai,1,1,"p-button",12),c(),m(11,Wi,1,2,"p-button",13),c()(),p(12,"div",14)(13,"div",15)(14,"div",16)(15,"div",17)(16,"div",18)(17,"div",19),we(18,"truncate"),p(19,"h1",20)(20,"span"),Q(21),c(),p(22,"span")(23,"small",21),Q(24),we(25,"truncate"),c()()()(),p(26,"div",22),m(27,Ni,3,1,"p-iconfield",23)(28,Xi,3,0,"button",24),c()()()()(),p(29,"div",25),m(30,Yi,1,0,"ng-container",26),c()()()(),p(31,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isSearchbarCollapse,f)||(i.isSearchbarCollapse=f),g(f)}),p(33,"div",28)(34,"div",29)(35,"div",30),m(36,ji,3,1,"p-iconfield")(37,Zi,3,0,"button",24),c()()()(),p(38,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isCollapsed,f)||(i.isCollapsed=f),g(f)}),p(40,"div",28)(41,"div",29),m(42,$i,1,0,"ng-container",26),c()()(),Y(43),c(),p(44,"div",31),m(45,qi,1,0,"ng-container",26),c()(),p(46,"p-dialog",32),ae("visibleChange",function(f){return _(a),oe(i.isDialogFilterVisible,f)||(i.isDialogFilterVisible=f),g(f)}),m(47,Gi,1,0,"ng-container",26)(48,Ki,1,2,"ng-template",null,1,W)(50,en,2,2,"ng-template",null,2,W),c()}if(n&2){let a=te(49);je("overflow-y-auto",i.scrollable()),l(2),o("ngClass",A(36,Hi,i.hasMainWrapperPadding())),l(5),o("text",!0),l(2),Te(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(6),o("pTooltip",Ie(18,32,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),l(4),ie(i.pageTitle()),l(3),Te(" ",Ie(25,34,i.pageSubTitle()),""),l(3),X(i.isSearchableInput()?27:-1),l(),X(i.isFilterable()?28:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),ne("ngbCollapse",i.isSearchbarCollapse),l(5),X(i.isSearchableInput()?36:-1),l(),X(i.isFilterable()?37:-1),l(),ne("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(2),H(A(38,Bi,i.overflowScroll()?"auto":"visible")),o("ngClass",i.mainPanelClasses),l(),o("ngTemplateOutlet",i.contentTemplate),l(),H(j(40,Ri)),o("header",i.dialogTitle())("modal",!0),ne("visible",i.isDialogFilterVisible),o("breakpoints",j(41,Qi))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[lt,at,ot,tt,it,nt,bt,ht,xt,Ct,vt,yt,Ft,He,Tt,be,de,se,pe,ce,kt,It,Pt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px;color:#000}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh;scrollbar-width:thin;scrollbar-color:var(--primary-color) #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:10px;border:2px solid #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--primary-700)}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (max-width: 575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}} p-inputicon.fa-solid.fa-magnifying-glass{top:53%}"],changeDetection:0})}}return t})();export{zt as a,Mt as b,Et as c,Vt as d,He as e,Ft as f,Pt as g,_o as h};
|
|
180
|
+
`;this.renderer.setProperty(this.styleElement,"innerHTML",e),dt(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){$(e.target,"p-dialog-maximize-icon")||$(e.target,"p-dialog-header-close-icon")||$(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",me(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Pe(this.container),i=ge(this.container),a=e.pageX-this.lastPageX,d=e.pageY-this.lastPageY,f=this.container.getBoundingClientRect(),P=getComputedStyle(this.container),L=parseFloat(P.marginLeft),G=parseFloat(P.marginTop),M=f.left+a-L,E=f.top+d-G,N=Fe();this.container.style.position="fixed",this.keepInViewport?(M>=this.minX&&M+n<N.width&&(this._style.left=`${M}px`,this.lastPageX=e.pageX,this.container.style.left=`${M}px`),E>=this.minY&&E+i<N.height&&(this._style.top=`${E}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${M}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,_e(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,me(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=Pe(this.container),d=ge(this.container),f=ge(this.contentViewChild?.nativeElement),P=a+n,L=d+i,G=this.container.style.minWidth,M=this.container.style.minHeight,E=this.container.getBoundingClientRect(),N=Fe();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(P+=n,L+=i),(!G||P>parseInt(G))&&E.left+P<N.width&&(this._style.width=P+"px",this.container.style.width=this._style.width),(!M||L>parseInt(M))&&E.top+L<N.height&&(this.contentViewChild.nativeElement.style.height=f+L-d+"px",this._style.height&&(this._style.height=L+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,_e(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):rt(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&me(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),$(this.document.body,"p-overflow-hidden")&&_e(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Oe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?Ce({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ot,4),v(a,Dt,4),v(a,St,4),v(a,Ht,4),v(a,Bt,4),v(a,Rt,4),v(a,Qt,4),v(a,mt,4)),n&2){let d;C(d=x())&&(i._headerTemplate=d.first),C(d=x())&&(i._contentTemplate=d.first),C(d=x())&&(i._footerTemplate=d.first),C(d=x())&&(i._closeiconTemplate=d.first),C(d=x())&&(i._maximizeiconTemplate=d.first),C(d=x())&&(i._minimizeiconTemplate=d.first),C(d=x())&&(i._headlessTemplate=d.first),C(d=x())&&(i.templates=d)}},viewQuery:function(n,i){if(n&1&&(ee(At,5),ee(Dt,5),ee(St,5)),n&2){let a;C(a=x())&&(i.headerViewChild=a.first),C(a=x())&&(i.contentViewChild=a.first),C(a=x())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",b],resizable:[2,"resizable","resizable",b],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",b],closeOnEscape:[2,"closeOnEscape","closeOnEscape",b],dismissableMask:[2,"dismissableMask","dismissableMask",b],rtl:[2,"rtl","rtl",b],closable:[2,"closable","closable",b],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",b],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",b],autoZIndex:[2,"autoZIndex","autoZIndex",b],baseZIndex:[2,"baseZIndex","baseZIndex",re],minX:[2,"minX","minX",re],minY:[2,"minY","minY",re],focusOnShow:[2,"focusOnShow","focusOnShow",b],maximizable:[2,"maximizable","maximizable",b],keepInViewport:[2,"keepInViewport","keepInViewport",b],focusTrap:[2,"focusTrap","focusTrap",b],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[le([Vt]),V],ngContentSelectors:Nt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(J(Wt),m(0,Ii,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[de,se,pe,ce,Ue,be,Et,ft,zt,Mt,ue],encapsulation:2,data:{animation:[Je("animation",[Me("void => visible",[De(Ei)]),Me("visible => void",[De(Di)])])]},changeDetection:0})}return t})(),Ft=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ve({type:t});static \u0275inj=xe({imports:[He,ue,ue]})}return t})();var Pt=(()=>{class t{transform(e,n=50,i=!1,a="..."){return e&&(i&&(n=e.substring(0,n).lastIndexOf(" "),n===-1&&(n=50)),e.length>n?e.substring(0,n)+a:e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Ye({name:"truncate",type:t,pure:!0})}}return t})();var Vi=["actionButton"],Fi=["filters"],Pi=["content"],Li=[[["tabs"]]],Oi=["tabs"],Hi=t=>({"border-bottom":t}),Bi=t=>({"overflow-y":t,"padding-bottom":"80px"}),Ri=()=>({width:"30vw"}),Qi=()=>({"1199px":"75vw","575px":"100vw"});function Ai(t,r){if(t&1){let e=h();p(0,"p-button",33),u("onClick",function(){_(e);let i=s();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),c()}t&2&&o("text",!0)}function Wi(t,r){if(t&1){let e=h();p(0,"p-button",34),u("click",function(){_(e);let i=s();return g(i.isCollapsed=!i.isCollapsed)}),c()}if(t&2){let e=s();o("text",!0),w("aria-expanded",!e.isCollapsed)}}function Ni(t,r){if(t&1){let e=h();p(0,"p-iconfield",23)(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Xi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function Yi(t,r){t&1&&I(0)}function ji(t,r){if(t&1){let e=h();p(0,"p-iconfield")(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Zi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function $i(t,r){t&1&&I(0)}function qi(t,r){t&1&&I(0)}function Gi(t,r){t&1&&I(0)}function Ki(t,r){if(t&1){let e=h();p(0,"p-button",40),u("onClick",function(){_(e);let i=s();return g(i.closeFilter())}),c()}t&2&&o("rounded",!0)("text",!0)}function Ui(t,r){if(t&1){let e=h();p(0,"p-button",43),u("click",function(){_(e);let i=s(2);return g(i.cancelFilter())}),c()}}function Ji(t,r){if(t&1){let e=h();p(0,"p-button",44),u("click",function(){_(e);let i=s(2);return g(i.confirmFilter())}),c()}}function en(t,r){if(t&1&&m(0,Ui,1,0,"p-button",41)(1,Ji,1,0,"p-button",42),t&2){let e=s();o("ngIf",e.showCancelButton()),l(),o("ngIf",e.showConfirmButton())}}var tn=9999,_o=(()=>{class t{ngAfterViewInit(){this.intercomService.initializeIntercom()}confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}constructor(){this.intercomService=k(et),this.scrollable=T(!1),this.limitStrLength=T(tn),this.overflowScroll=T(!1),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.store=k(wt),this.pageTitle=T(""),this.pageSubTitle=T(""),this.isSearchableInput=T(!1),this.isFilterable=T(!1),this.hasMainWrapperPadding=T(!1),this.search=U(),this.searchQuery=Ae(""),this.filterConfirmed=U(),this.filterCanceled=U(),this.isDialogFilterVisible=ye(!1),this.isInitDialogFilterVisible=ye(!1),this.pageTitleComputed=qe(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.showCancelButton=T(!0),this.showConfirmButton=T(!0),this.dialogTitle=T("Filter"),Ge(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.isDialogFilterVisible.update(e=>!e)}emitSearch(){this.search.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&this.filterConfirmed.emit()}get mainPanelClasses(){return{"p-3":this.hasMainWrapperPadding()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=S({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Vi,7),v(a,Fi,7),v(a,Pi,7)),n&2){let d;C(d=x())&&(i.actionButtonTemplate=d.first),C(d=x())&&(i.filterTemplate=d.first),C(d=x())&&(i.contentTemplate=d.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(d){return i.handleKeyboardEvent(d)},!1,Ne)},inputs:{scrollable:[1,"scrollable"],limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],pageTitle:[1,"pageTitle"],pageSubTitle:[1,"pageSubTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],showCancelButton:[1,"showCancelButton"],showConfirmButton:[1,"showConfirmButton"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",filterCanceled:"filterCanceled",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange"},features:[le([])],ngContentSelectors:Oi,decls:52,vars:42,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[2,"position","sticky","top","0","z-index","1000","background","white"],[1,"navbar","navbar-expand-lg","bg-white","border-bottom",3,"ngClass"],[1,"container-fluid","px-lg-3","px-1"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap","px-0"],[1,"d-flex","align-items-center"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"text","onClick",4,"ngIf"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"text","click",4,"ngIf"],[1,"w-100","d-none","d-lg-flex"],[1,"col-8","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],["tooltipPosition","top",1,"flex-shrink-1",3,"pTooltip"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],[2,"font-size","14px"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[2,"max-width","300px"],["type","button",1,"btn","btn-link","p-0"],[1,"col-4","align-self-center","d-flex","gap-2","justify-content-end"],[4,"ngTemplateOutlet"],[3,"ngbCollapseChange","ngbCollapse"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center","gap-2"],[1,"flex-grow-1",3,"ngClass"],["position","center","appendTo","body",3,"visibleChange","header","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"onClick","text"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"click","text"],["pTooltip","Search...","tooltipPosition","top","placeholder","Search...","type","text","pInputText","",3,"ngModelChange","keyup.enter","ngModel"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link","p-0",3,"click"],[1,"fa-solid","fa-filter"],[1,"fa-solid","fa-caret-down"],["severity","secondary","variant","outlined","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click",4,"ngIf"],["label","OK (F2)",3,"click",4,"ngIf"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=h();J(Li),p(0,"div",3)(1,"div",4)(2,"nav",5)(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9)(7,"p-button",10),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),c(),p(8,"h1",11),Q(9),c(),m(10,Ai,1,1,"p-button",12),c(),m(11,Wi,1,2,"p-button",13),c()(),p(12,"div",14)(13,"div",15)(14,"div",16)(15,"div",17)(16,"div",18)(17,"div",19),we(18,"truncate"),p(19,"h1",20)(20,"span"),Q(21),c(),p(22,"span")(23,"small",21),Q(24),we(25,"truncate"),c()()()(),p(26,"div",22),m(27,Ni,3,1,"p-iconfield",23)(28,Xi,3,0,"button",24),c()()()()(),p(29,"div",25),m(30,Yi,1,0,"ng-container",26),c()()()(),p(31,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isSearchbarCollapse,f)||(i.isSearchbarCollapse=f),g(f)}),p(33,"div",28)(34,"div",29)(35,"div",30),m(36,ji,3,1,"p-iconfield")(37,Zi,3,0,"button",24),c()()()(),p(38,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isCollapsed,f)||(i.isCollapsed=f),g(f)}),p(40,"div",28)(41,"div",29),m(42,$i,1,0,"ng-container",26),c()()(),Y(43),c(),p(44,"div",31),m(45,qi,1,0,"ng-container",26),c()(),p(46,"p-dialog",32),ae("visibleChange",function(f){return _(a),oe(i.isDialogFilterVisible,f)||(i.isDialogFilterVisible=f),g(f)}),m(47,Gi,1,0,"ng-container",26)(48,Ki,1,2,"ng-template",null,1,W)(50,en,2,2,"ng-template",null,2,W),c()}if(n&2){let a=te(49);je("overflow-y-auto",i.scrollable()),l(2),o("ngClass",A(36,Hi,i.hasMainWrapperPadding())),l(5),o("text",!0),l(2),Te(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(6),o("pTooltip",Ie(18,32,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),l(4),ie(i.pageTitle()),l(3),Te(" ",Ie(25,34,i.pageSubTitle()),""),l(3),X(i.isSearchableInput()?27:-1),l(),X(i.isFilterable()?28:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),ne("ngbCollapse",i.isSearchbarCollapse),l(5),X(i.isSearchableInput()?36:-1),l(),X(i.isFilterable()?37:-1),l(),ne("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(2),H(A(38,Bi,i.overflowScroll()?"auto":"visible")),o("ngClass",i.mainPanelClasses),l(),o("ngTemplateOutlet",i.contentTemplate),l(),H(j(40,Ri)),o("header",i.dialogTitle())("modal",!0),ne("visible",i.isDialogFilterVisible),o("breakpoints",j(41,Qi))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[lt,at,ot,tt,it,nt,bt,ht,xt,Ct,vt,yt,Ft,He,Tt,be,de,se,pe,ce,kt,It,Pt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px;color:#000}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh;scrollbar-width:thin;scrollbar-color:var(--primary-color) #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:10px;border:2px solid #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--primary-700)}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (max-width: 575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}} p-inputicon.fa-solid.fa-magnifying-glass{top:53%}"],changeDetection:0})}}return t})();export{zt as a,Mt as b,Et as c,Vt as d,He as e,Ft as f,Pt as g,_o as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-PQB7CIVB.js";import{a as D,b as H}from"./chunk-3A4BFUGD.js";import{d as Y,i as Z,j as ee,k as te}from"./chunk-EL5BUFMO.js";import"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import"./chunk-2AAVNIG7.js";import"./chunk-LFZCMZAP.js";import"./chunk-6A2KUPOG.js";import"./chunk-36OX4S7M.js";import"./chunk-Q5CVMJZC.js";import"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{h as X}from"./chunk-Y2PXP5OT.js";import"./chunk-VGNJD35F.js";import{a as f,b as $,c as q,d as G,e as J,f as Q,g as W}from"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{w as K,x as O}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import"./chunk-OIBDX2CA.js";import{e as L}from"./chunk-AOOG6YOT.js";import"./chunk-R7TX5W65.js";import"./chunk-2MKKFLNJ.js";import{k as j,p as F,s as A}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as R,Cc as B,Db as E,Lb as h,Nc as v,Pc as M,Rc as _,Vb as r,Wb as l,Xb as S,Y as k,_ as N,bd as b,c as P,ec as T,fc as g,hb as d,ia as x,qa as u,ra as C,rc as p,s as V,sc as w,vc as z,xb as U}from"./chunk-NMCKMUY4.js";import{a,b as c}from"./chunk-YQFG5XE2.js";var ne={data:[],count:0,filter:{PageSize:20,PageNumber:1}},I=$(Q(ne),W("Closing Entries Store"),q(t=>({first:b(()=>(t.filter().PageNumber-1)*t.filter().PageSize+1),end:b(()=>Math.min(t.filter().PageNumber*t.filter().PageSize,t.count())),hasCheckedRows:b(()=>t.data().some(s=>s.checked)),selectedItems:b(()=>t.data().filter(s=>s.checked))})),J(t=>{let s=x(y),e={updateFilter:o=>{f(t,n=>c(a({},n),{filter:a(a({},n.filter),o)}))},onRowSelect(o){f(t,n=>{let i=n.data.map(m=>m.id===o.id?c(a({},m),{checked:!0}):m);return c(a({},n),{data:i})})},onRowUnselect(o){f(t,n=>{let i=n.data.map(m=>m.id===o.id?c(a({},m),{checked:!1}):m);return c(a({},n),{data:i})})},onHeaderCheckboxToggle(o){f(t,n=>{let i=n.data.map(m=>c(a({},m),{checked:o}));return c(a({},n),{data:i})})},getClosingEntries:D(P(k(o=>s.getClosingEntries(o).pipe(V(n=>n.map(i=>c(a({},i),{checked:!1}))),H({next:n=>{f(t,i=>c(a({},i),{data:n})),e.getClosingEntryCount()},error:n=>{console.error("Error fetching closing entries:",n)}}))))),getClosingEntryCount:D(P(k(()=>s.getClosingEntryCount().pipe(H({next:({count:o})=>{f(t,n=>c(a({},n),{count:o}))},error:o=>{console.error("Error fetching closing entry count:",o)}})))))};return e}),G(t=>({onInit:()=>{t.getClosingEntries(t.filter)}})));function oe(t,s){if(t&1){let e=R();r(0,"p-button",11),T("onClick",function(){u(e);let n=g(2);return C(n.onDeleteClosingEntries())}),l()}}function ie(t,s){if(t&1&&(r(0,"div",7),E(1,oe,1,0,"p-button",8),r(2,"a",9),S(3,"i",10),p(4," Add"),l()()),t&2){let e=g();d(),h("ngIf",e.store.hasCheckedRows())}}function re(t,s){t&1&&(r(0,"tr")(1,"th",13),S(2,"p-tableHeaderCheckbox"),l(),r(3,"th"),p(4,"Period"),l(),r(5,"th"),p(6,"Note"),l(),r(7,"th"),p(8,"Created"),l(),r(9,"th"),p(10,"CreatedBy"),l()())}function ae(t,s){if(t&1&&(r(0,"tr")(1,"td"),S(2,"p-tableCheckbox",14),l(),r(3,"td"),p(4),v(5,"date"),l(),r(6,"td"),p(7),l(),r(8,"td"),p(9),v(10,"date"),l(),r(11,"td"),p(12),l()()),t&2){let e=s.$implicit;d(2),h("value",e),d(2),w(M(5,5,e.period,"d MMM y")),d(3),w(e.note),d(2),w(M(10,8,e.created,"d MMM y")),d(3),w(e.creatorName)}}function le(t,s){if(t&1&&p(0),t&2){let e=g(2);z(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.count()," entries ")}}function se(t,s){t&1&&(r(0,"tr")(1,"td",15)(2,"span"),p(3," No journal entries found. "),l()()())}function ce(t,s){if(t&1){let e=R();r(0,"p-table",12),T("onPage",function(n){u(e);let i=g();return C(i.onPageChange(n))})("onRowSelect",function(n){u(e);let i=g();return C(i.onRowSelect(n))})("onRowUnselect",function(n){u(e);let i=g();return C(i.onRowUnselect(n))})("onHeaderCheckboxToggle",function(n){u(e);let i=g();return C(i.onHeaderCheckboxToggle(n))}),E(1,re,11,0,"ng-template",null,2,_)(3,ae,13,11,"ng-template",null,3,_)(5,le,1,3,"ng-template",null,4,_)(7,se,4,0,"ng-template",null,5,_),l()}if(t&2){let e=g();h("value",e.store.data())("paginator",!0)("totalRecords",e.store.count())("lazy",!0)("rows",e.store.filter().PageSize)("scrollHeight","calc(100vh - 142px)")}}var Ve=(()=>{class t{constructor(){this.store=x(I),this.closingEntryService=x(y)}onPageChange(e){let o=e.first/e.rows+1;this.store.updateFilter(c(a({},this.store.filter()),{PageSize:o}))}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(o=>{this.store.onRowUnselect(o)});return}else this.store.onRowUnselect(e.data)}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}onDeleteClosingEntries(){let e=this.store.selectedItems().map(o=>o.id).join(",");console.log("Deleting closing entries with IDs:",e),this.closingEntryService.deleteClosingEntry(e).pipe(N(()=>{this.store.updateFilter(a({},this.store.filter()))})).subscribe()}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=U({type:t,selectors:[["app-closing-page"]],features:[B([I])],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Closing Entries List",3,"scrollable"],[1,"d-flex","gap-2"],["label","Delete","severity","danger","icon","fa-solid fa-trash",3,"onClick",4,"ngIf"],["routerLink","create",1,"p-button"],[1,"fa-solid","fa-plus"],["label","Delete","severity","danger","icon","fa-solid fa-trash",3,"onClick"],["dataKey","id","styleClass","d-flex flex-column justify-content-between h-100",3,"onPage","onRowSelect","onRowUnselect","onHeaderCheckboxToggle","value","paginator","totalRecords","lazy","rows","scrollHeight"],[2,"width","1rem"],[3,"value"],["colspan","5"]],template:function(o,n){o&1&&(r(0,"app-main-panel",6),E(1,ie,5,1,"ng-template",null,0,_)(3,ce,9,6,"ng-template",null,1,_),l()),o&2&&h("scrollable",!0)},dependencies:[X,A,j,F,te,Y,Z,ee,L,O,K],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{Ve as ClosingPageComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-YQFG5XE2.js";var t=[{path:"",redirectTo:"tax-account",pathMatch:"full"},{path:"tax-account",loadComponent:()=>import("./chunk-325YO3CB.js").then(o=>o.TaxAccountComponent)},{path:"chart-of-account",loadComponent:()=>import("./chunk-LLPR22QN.js").then(o=>o.ChartOfAccountComponent)},{path:"manual-journal",loadComponent:()=>import("./chunk-XILZA7G5.js").then(o=>o.ManualJournalComponent)},{path:"payment-account",loadComponent:()=>import("./chunk-SBAIX6FL.js").then(o=>o.PaymentAccountComponent)},{path:"writeoff-outlet",loadComponent:()=>import("./chunk-W4HYYYPX.js").then(o=>o.WriteOffOutletComponent)},{path:"expense-account",loadComponent:()=>import("./chunk-SPFVPLUI.js").then(o=>o.ExpenseAccountComponent)},{path:"coa-configuration",loadComponent:()=>import("./chunk-KGTXHU4K.js").then(o=>o.CoaConfigurationComponent)},{path:"coa-category",loadComponent:()=>import("./chunk-VBCL4G4V.js").then(o=>o.CoaCategoryComponent)},{path:"outlet-account",loadComponent:()=>import("./chunk-NID2PW3N.js").then(o=>o.OutletAccountComponent)}];export{t as MIGRATE_ROUTES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I,b as k,c as F,d as j,e as R,f as O}from"./chunk-XD7VHCRC.js";import"./chunk-R7N6BWL5.js";import{a as E}from"./chunk-QF4D5YPK.js";import{b as T}from"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-Q24GCSGD.js";import{h as w}from"./chunk-
|
|
1
|
+
import{a as I,b as k,c as F,d as j,e as R,f as O}from"./chunk-XD7VHCRC.js";import"./chunk-R7N6BWL5.js";import{a as E}from"./chunk-QF4D5YPK.js";import{b as T}from"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-Q24GCSGD.js";import{h as w}from"./chunk-Y2PXP5OT.js";import"./chunk-VGNJD35F.js";import{a as S}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import"./chunk-OIBDX2CA.js";import{a as P}from"./chunk-R7TX5W65.js";import"./chunk-2MKKFLNJ.js";import{s as M}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{Db as h,Dc as _,Ha as u,Ob as v,Rb as m,Rc as C,Tb as c,Ub as s,Vb as o,Wb as r,_ as f,ca as d,fc as g,hb as n,ia as l,rc as p,sc as x,tc as y,xb as b}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var D=(()=>{class e{constructor(){this.httpService=l(P)}getUserProfile(){return this.httpService.get(void 0,"api/MyProfile")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var A=()=>({height:"calc(100vh - 70px)"});function B(e,a){if(e&1&&(o(0,"div",10)(1,"div",11)(2,"p",12),p(3),r()()()),e&2){let t=a.$implicit;n(3),y(" ",t.roleName," ")}}function L(e,a){if(e&1&&(o(0,"div",4)(1,"div",5)(2,"div",6)(3,"span",7),p(4),r()()(),o(5,"div",8)(6,"div",9),c(7,B,4,1,"div",10,m),r()()()),e&2){let t=a.$implicit;n(4),x(t.roleGroupName),n(3),s(t.listRole)}}function $(e,a){if(e&1&&(o(0,"p-panel")(1,"p-tabs",2)(2,"p-tablist")(3,"p-tab",2),p(4,"Roles"),r()(),o(5,"p-tabpanels")(6,"p-tabpanel",2)(7,"div",3),c(8,L,9,1,"div",4,m),r()()()()()),e&2){let t,i=g();v(_(2,A)),n(8),s((t=i.roles())==null?null:t.Roles)}}var N=(()=>{class e{constructor(){this.profileService=l(D),this.roles=u(null)}ngOnInit(){this.profileService.getUserProfile().pipe(E("response"),f(t=>this.roles.set(t))).subscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=b({type:e,selectors:[["app-my-profile"]],decls:3,vars:0,consts:[["content",""],["pageTitle","My Profile"],["value","0"],["formArrayName","roles",1,"container-fluid","d-flex","flex-column","row-gap-3"],[1,"row"],[1,"col-2","border","d-flex","align-items-center","justify-content-between",2,"height","50px","background","#f6f6f6"],[1,"d-flex","justify-content-center","w-100"],[1,"text-dark","fw-semibold","fs-2"],[1,"col"],["formArrayName","roles",1,"row","h-100"],[1,"col-3","border-top","border-bottom","border-end","p-0","bg-white"],[1,"d-flex","h-100","align-items-center","gap-2","px-2"],[1,"fs-2","text-dark","m-0"]],template:function(i,G){i&1&&(o(0,"app-main-panel",1),h(1,$,10,3,"ng-template",null,0,C),r())},dependencies:[w,S,O,R,j,F,I,k,M,T],styles:["[_nghost-%COMP%]{display:block} .p-tabs .p-tab{padding-top:0!important}"],changeDetection:0})}}return e})();var le=[{path:"",redirectTo:"my-profile",pathMatch:"full"},{path:"",children:[{path:"my-profile",component:N}]}];export{le as PROFILE_ROUTES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-YQFG5XE2.js";var t=[{path:"",redirectTo:"users",pathMatch:"full"},{path:"",children:[{path:"users",loadComponent:()=>import("./chunk-
|
|
1
|
+
import"./chunk-YQFG5XE2.js";var t=[{path:"",redirectTo:"users",pathMatch:"full"},{path:"",children:[{path:"users",loadComponent:()=>import("./chunk-SLUPHKW6.js").then(o=>o.UserPageComponent)},{path:"groups",loadComponent:()=>import("./chunk-QXZZJ543.js").then(o=>o.GroupPageComponent)},{path:"groups/forms",loadComponent:()=>import("./chunk-KYQ3HOYB.js").then(o=>o.GroupFormComponent)}]}];export{t as USERS_ROUTES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as y,b as C,e as F,f as M}from"./chunk-XD7VHCRC.js";import{b as T}from"./chunk-NCDT6JPP.js";import{d as L,e as S}from"./chunk-AOOG6YOT.js";import{a as G}from"./chunk-
|
|
1
|
+
import{a as y,b as C,e as F,f as M}from"./chunk-XD7VHCRC.js";import{b as T}from"./chunk-NCDT6JPP.js";import{d as L,e as S}from"./chunk-AOOG6YOT.js";import{a as G}from"./chunk-R7TX5W65.js";import{s as U}from"./chunk-VZ5CMS5O.js";import{Ec as g,Lb as n,Pb as l,Tb as m,Ub as f,Vb as a,Wb as p,ca as c,fc as h,hb as s,ia as i,rc as v,sc as b,xb as d}from"./chunk-NMCKMUY4.js";var $=(()=>{class t{constructor(){this.httpService=i(G)}getUserLoaderList(){return this.httpService.get(void 0,"api/UserLoader/List")}getUsers(e){return this.httpService.post(void 0,"api/User/List",e)}getUserFormMeta(e){return this.httpService.post(void 0,"api/UserLoader/Form",{ID:e})}inviteUser(e){return this.httpService.post(void 0,"api/User/Submit",e)}deleteUser(e){return this.httpService.post(void 0,"api/User/Delete",{ListID:e})}getGroupLoader(){return this.httpService.get(void 0,"api/UserGroupLoader/List")}getGroupList(e){return this.httpService.post(void 0,"api/UserGroup/List",e)}getGroupFormMeta(e){return this.httpService.get(void 0,e?`api/UserGroup/Form/${e}`:"api/UserGroup/Form")}assignGroupRole(e){return this.httpService.post(void 0,"api/UserGroup/AssignRole",e)}deleteGroup(e){return this.httpService.post(void 0,"api/UserGroup/Delete",{ListID:e})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var k=t=>({"ps-0":t}),x=(t,o)=>o.route;function _(t,o){if(t&1&&(a(0,"p-tab",2)(1,"span"),v(2),p()()),t&2){let e=o.$implicit,r=h();l(g(5,k,r.router.url.includes("forms"))),n("value",e.route)("routerLink",e.route),s(2),b(e.label)}}var B=(()=>{class t{constructor(){this.router=i(L),this.tabs=[{route:"/pages/users/users",label:"Users"},{route:"/pages/users/groups",label:"Groups"}]}get activeTab(){return this.tabs.find(r=>this.router.url.startsWith(r.route)).route||this.tabs[0].route}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-user-tabs"]],decls:4,vars:1,consts:[[3,"value"],[3,"value","routerLink","class"],[3,"value","routerLink"]],template:function(r,u){r&1&&(a(0,"p-tabs",0)(1,"p-tablist"),m(2,_,3,7,"p-tab",1,x),p()()),r&2&&(n("value",u.activeTab),s(2),f(u.tabs))},dependencies:[M,F,y,C,S,T,U],styles:["[_nghost-%COMP%]{display:block} .p-tabs .p-tab{padding:0 1.125rem .6rem 0!important}"],changeDetection:0})}}return t})();export{$ as a,B as b};
|