dealposbooks 1.9.3 → 1.9.4
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 +29 -29
- package/assets/scss/components/_navbar.scss +2 -2
- package/assets/scss/layouts/_sidebar.scss +1 -2
- package/assets/scss/style.scss +6 -0
- package/{chunk-4CUA33JH.js → chunk-25XKSUYX.js} +1 -1
- package/chunk-2TUOAI22.js +1 -0
- package/chunk-3IHOEH5O.js +1 -0
- package/chunk-3VC2KAML.js +1 -0
- package/{chunk-5QVQY32E.js → chunk-4FK4QI2U.js} +1 -1
- package/{chunk-A47VRZZB.js → chunk-4J3EFT67.js} +1 -1
- package/{chunk-ZPTNYW2S.js → chunk-56MVOUHH.js} +1 -1
- package/{chunk-LFDCJISD.js → chunk-5OU7ECCN.js} +1 -1
- package/{chunk-7KQDKLO4.js → chunk-5OXHRN43.js} +2 -2
- package/{chunk-3XLREP6U.js → chunk-5QMHSLSU.js} +1 -1
- package/{chunk-FUCSF42O.js → chunk-6J5S4UPN.js} +1 -1
- package/chunk-7GT5MR57.js +1 -0
- package/{chunk-J6H3BBKP.js → chunk-7LCGNNCW.js} +1 -1
- package/chunk-7NXTCJMX.js +1 -0
- package/{chunk-OCIKQOWD.js → chunk-7PDAUPWN.js} +2 -2
- package/{chunk-5AITWOQZ.js → chunk-7TKATLB4.js} +1 -1
- package/{chunk-3ENMEUVK.js → chunk-7XAJOA36.js} +1 -1
- package/chunk-A3NY5EYN.js +1 -0
- package/chunk-AH5PA2TO.js +1 -0
- package/{chunk-H4V6YZX2.js → chunk-AM66YD6C.js} +1 -1
- package/{chunk-DNSQSWOS.js → chunk-B4COOFJS.js} +1 -1
- package/{chunk-OAD4GTH6.js → chunk-BGDKOH3U.js} +1 -1
- package/chunk-BJGK47CG.js +1 -0
- package/chunk-BWS6U7BM.js +193 -0
- package/chunk-D5AXB5DE.js +7 -0
- package/chunk-D5RQBZNF.js +1 -0
- package/{chunk-CSQ4MHL2.js → chunk-DELPZQZH.js} +3 -3
- package/{chunk-PRRU3DEZ.js → chunk-DJUGUNXR.js} +1 -1
- package/chunk-DSFIM36S.js +1 -0
- package/chunk-EHCALTHK.js +1 -0
- package/{chunk-7U2I35GP.js → chunk-F7TF7ASR.js} +1 -1
- package/{chunk-X4EHZEMZ.js → chunk-FCGAJLPQ.js} +1 -1
- package/{chunk-WAJWW3TC.js → chunk-FUGCJNGU.js} +11 -11
- package/{chunk-QIXIZZPY.js → chunk-GMLRRSMP.js} +1 -1
- package/chunk-HDO45X7Q.js +1 -0
- package/{chunk-RANHETC3.js → chunk-HPKZYS2A.js} +1 -1
- package/chunk-IACJNRVA.js +25 -0
- package/chunk-IQZ2MKLS.js +1 -0
- package/{chunk-Q5BXN24W.js → chunk-ITIRJVUS.js} +1 -1
- package/chunk-IXPPR5MV.js +1 -0
- package/chunk-J3B5HVW4.js +1 -0
- package/chunk-JQ4DHNFQ.js +67 -0
- package/{chunk-PJKHUCJX.js → chunk-JRYP3YPK.js} +1 -1
- package/chunk-KQAMA66M.js +2 -0
- package/{chunk-ZB6TB7JI.js → chunk-L6VKOTIV.js} +2 -2
- package/chunk-LATJGOV3.js +185 -0
- package/chunk-LLV6TGMT.js +1 -0
- package/chunk-MNCUT4L4.js +1 -0
- package/chunk-NBRL2K4H.js +1 -0
- package/chunk-NDOZ5YES.js +1 -0
- package/{chunk-WM3NKRKN.js → chunk-NL5IYBHF.js} +1 -1
- package/{chunk-ZUALJ33O.js → chunk-R6HGHSPM.js} +1 -1
- package/chunk-SCEMI63T.js +1 -0
- package/chunk-SDTMCYSJ.js +1 -0
- package/{chunk-SGXU6X3O.js → chunk-T2A6NORZ.js} +1 -1
- package/chunk-TDX2HSWE.js +1 -0
- package/chunk-UHVZAFKN.js +1 -0
- package/{chunk-GY53MWXH.js → chunk-UMYCPFK5.js} +19 -19
- package/{chunk-YWYF6P7O.js → chunk-UOAJWMSO.js} +1 -1
- package/{chunk-TNWHAKS6.js → chunk-UZCNPNT7.js} +1 -1
- package/{chunk-JG5HGOEX.js → chunk-VF7TG32T.js} +1 -1
- package/chunk-VI3AV775.js +1 -0
- package/chunk-VK5TK23W.js +7 -0
- package/{chunk-O2GA6PH7.js → chunk-VKO43FOT.js} +1 -1
- package/chunk-VNHXLUHA.js +1 -0
- package/{chunk-DIX7J6JH.js → chunk-W6UD5NO5.js} +1 -1
- package/chunk-WUGCCSIP.js +1 -0
- package/chunk-X234EQET.js +129 -0
- package/{chunk-6NCHCAKY.js → chunk-X3FQFXUZ.js} +1 -1
- package/{chunk-33XUIS57.js → chunk-XEATX3IC.js} +1 -1
- package/chunk-XJ5BSLZV.js +1 -0
- package/{chunk-V3B32QFK.js → chunk-XMZ7ADZB.js} +1 -1
- package/chunk-YAKYBQQ6.js +1 -0
- package/{chunk-TDDTBHQE.js → chunk-YQRWSN5V.js} +1 -1
- package/{chunk-ACQX2T2H.js → chunk-ZKXT6RSI.js} +1 -1
- package/index.html +2 -2
- package/main-VQYYYR67.js +1 -0
- package/package.json +1 -1
- package/{styles-7FHABE27.css → styles-IDKYTRGA.css} +1 -1
- package/chunk-2US5D2LY.js +0 -1
- package/chunk-353U23ZQ.js +0 -1
- package/chunk-3B65XZ6E.js +0 -1
- package/chunk-3CEJ67I5.js +0 -1
- package/chunk-3E2EKFPH.js +0 -1
- package/chunk-3H5KBX4R.js +0 -1
- package/chunk-4NSHHAXV.js +0 -1
- package/chunk-6DPW74DP.js +0 -1
- package/chunk-7G6KXHQB.js +0 -1
- package/chunk-7U2775BI.js +0 -1
- package/chunk-AG7353CN.js +0 -1
- package/chunk-AI6YS6T2.js +0 -1
- package/chunk-ANMXAMBL.js +0 -1
- package/chunk-ARSLNNKY.js +0 -7
- package/chunk-AT7II4DO.js +0 -7
- package/chunk-BCXNVGDH.js +0 -193
- package/chunk-BJNN42CI.js +0 -1
- package/chunk-DG6ETDOW.js +0 -1
- package/chunk-DMVAXVYQ.js +0 -1
- package/chunk-F3PEWQT7.js +0 -1
- package/chunk-FTVGAWDW.js +0 -1
- package/chunk-FXUC6M2U.js +0 -1
- package/chunk-GCGWIESO.js +0 -1
- package/chunk-IHJLTHHQ.js +0 -1
- package/chunk-LNRTAR2V.js +0 -1
- package/chunk-LWKS2JEV.js +0 -1
- package/chunk-N2XLL6HJ.js +0 -33
- package/chunk-NM37SDQJ.js +0 -1
- package/chunk-NN6GSTBJ.js +0 -1
- package/chunk-PZBZVQUY.js +0 -67
- package/chunk-Q2IWISMY.js +0 -1
- package/chunk-RQEEJGOE.js +0 -1
- package/chunk-TPGKCMVN.js +0 -1
- package/chunk-TYETQJ2X.js +0 -2
- package/chunk-U5LD55IP.js +0 -1
- package/chunk-U6SRN7P3.js +0 -1
- package/chunk-VBCJCAMN.js +0 -1
- package/chunk-W76GKZZU.js +0 -1
- package/chunk-X5SV4H5B.js +0 -1
- package/chunk-YYUWLV5N.js +0 -1
- package/main-L6WVDQUB.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ut,b as wt,c as It}from"./chunk-7KQDKLO4.js";import{h as Tt}from"./chunk-H4V6YZX2.js";import{C as he,D as vt,a as ot,b as at,i as gt,m as Fe,n as ue,p as ht,q as ft,r as bt,s as Ct,t as xt,u as yt}from"./chunk-WAJWW3TC.js";import{b as et,e as tt,j as it,y as nt}from"./chunk-U6SRN7P3.js";import{a as ge}from"./chunk-TPGKCMVN.js";import{A as pt,C as me,P as dt,a as $,b as de,c as Me,ca as H,d as ce,e as Ee,f as De,k as Se,ka as ct,la as _e,m as lt,ma as mt,o as st,s as Ve,ta as _t,v as rt}from"./chunk-BCXNVGDH.js";import{c as Je,d as Te,f as we,h as Ie,i as ke,k as ze}from"./chunk-F2X3VGZZ.js";import{p as Ue}from"./chunk-TYETQJ2X.js";import{a as Ge,j as le,m as se,n as Ke,o as re,t as pe,w as Z}from"./chunk-353U23ZQ.js";import{$b as b,Aa as Oe,Ac as Q,Bb as m,Bc as Xe,Ca as Ce,Cc as Ye,Da as D,Ga as Be,Jc as je,Ka as Re,Kb as T,Lb as o,Lc as Ze,Mc as A,Ob as O,Pb as F,Qb as N,Vb as p,Vc as f,Wb as d,Wc as ae,Xb as y,Yb as B,Yc as $e,Zb as R,Zc as qe,_b as w,ba as Le,ca as be,eb as Qe,ec as u,fc as r,gb as l,gc as U,ha as I,hc as X,jc as v,kc as J,lc as C,mc as x,oa as He,pa as _,pc as ee,qa as g,qb as xe,qc as Y,ra as K,rc as Ne,sc as ve,ta as k,vb as S,vc as te,wb as ye,wc as ie,xb as Ae,xc as ne,yb as We,yc as oe,za as E,zb as V,zc as j}from"./chunk-ARSLNNKY.js";import{a as fe}from"./chunk-YQFG5XE2.js";var kt=(()=>{class t extends ue{pathId;ngOnInit(){this.pathId="url(#"+H()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(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),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(F(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var zt=(()=>{class t extends ue{pathId;ngOnInit(){this.pathId="url(#"+H()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(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),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(F(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Mt=(()=>{class t extends ge{pFocusTrapDisabled=!1;platformId=I(Re);document=I(Ge);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)?rt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Ve(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?pt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Ve(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275dir=Ae({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",f]},features:[V,He]})}return t})();var Lt=["header"],Et=["content"],Dt=["footer"],Ht=["closeicon"],Ot=["maximizeicon"],Bt=["minimizeicon"],Rt=["headless"],Qt=["titlebar"],At=["*",[["p-footer"]]],Wt=["*","p-footer"],Nt=(t,s,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":s,"pointer-events":e}),Xt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),Yt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),jt=(t,s)=>({transform:t,transition:s}),Zt=t=>({value:"visible",params:t});function $t(t,s){t&1&&w(0)}function qt(t,s){if(t&1&&(B(0),m(1,$t,1,0,"ng-container",11),R()),t&2){let e=r(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function Gt(t,s){if(t&1){let e=b();p(0,"div",15),u("mousedown",function(i){_(e);let a=r(4);return g(a.initResize(i))}),d()}if(t&2){let e=r(4);o("ngClass",e.cx("resizeHandle"))}}function Kt(t,s){if(t&1&&(p(0,"span",21),Y(1),d()),t&2){let e=r(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),Ne(e.header)}}function Ut(t,s){t&1&&w(0)}function Jt(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function ei(t,s){t&1&&y(0,"WindowMaximizeIcon")}function ti(t,s){t&1&&y(0,"WindowMinimizeIcon")}function ii(t,s){if(t&1&&(B(0),m(1,ei,1,0,"WindowMaximizeIcon",23)(2,ti,1,0,"WindowMinimizeIcon",23),R()),t&2){let e=r(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function ni(t,s){}function oi(t,s){t&1&&m(0,ni,0,0,"ng-template")}function ai(t,s){if(t&1&&(B(0),m(1,oi,1,0,null,11),R()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function li(t,s){}function si(t,s){t&1&&m(0,li,0,0,"ng-template")}function ri(t,s){if(t&1&&(B(0),m(1,si,1,0,null,11),R()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function pi(t,s){if(t&1){let e=b();p(0,"p-button",22),u("onClick",function(){_(e);let i=r(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=r(5);return g(i.maximize())}),m(1,Jt,1,1,"span",14)(2,ii,3,2,"ng-container",23)(3,ai,2,1,"ng-container",23)(4,ri,2,1,"ng-container",23),d()}if(t&2){let e=r(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,s){if(t&1&&y(0,"span",18),t&2){let e=r(8);o("ngClass",e.closeIcon)}}function ci(t,s){t&1&&y(0,"TimesIcon")}function mi(t,s){if(t&1&&(B(0),m(1,di,1,1,"span",14)(2,ci,1,0,"TimesIcon",23),R()),t&2){let e=r(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function _i(t,s){}function gi(t,s){t&1&&m(0,_i,0,0,"ng-template")}function ui(t,s){if(t&1&&(p(0,"span"),m(1,gi,1,0,null,11),d()),t&2){let e=r(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function hi(t,s){if(t&1&&m(0,mi,3,2,"ng-container",23)(1,ui,2,1,"span",23),t&2){let e=r(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 fi(t,s){if(t&1){let e=b();p(0,"p-button",24),u("onClick",function(i){_(e);let a=r(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=r(5);return g(a.close(i))}),m(1,hi,2,2,"ng-template",null,4,A),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function bi(t,s){if(t&1){let e=b();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=r(4);return g(a.initDrag(i))}),m(2,Kt,2,3,"span",17)(3,Ut,1,0,"ng-container",11),p(4,"div",18),m(5,pi,5,8,"p-button",19)(6,fi,3,4,"p-button",20),d()()}if(t&2){let e=r(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 Ci(t,s){t&1&&w(0)}function xi(t,s){t&1&&w(0)}function yi(t,s){if(t&1&&(p(0,"div",18,5),X(2,1),m(3,xi,1,0,"ng-container",11),d()),t&2){let e=r(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function vi(t,s){if(t&1&&(m(0,Gt,1,1,"div",12)(1,bi,7,6,"div",13),p(2,"div",7,2),X(4),m(5,Ci,1,0,"ng-container",11),d(),m(6,yi,4,2,"div",14)),t&2){let e=r(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),F(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),T("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ti(t,s){if(t&1){let e=b();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=r(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=r(2);return g(a.onAnimationEnd(i))}),m(2,qt,2,1,"ng-container",10)(3,vi,7,9,"ng-template",null,1,A),d()}if(t&2){let e=ee(4),n=r(2);O(n.style),F(n.styleClass),o("ngClass",Q(13,Xt,n.maximizable&&n.maximized))("ngStyle",j(15,Yt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",Q(19,Zt,Xe(16,jt,n.transformOptions,n.transitionOptions))),T("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function wi(t,s){if(t&1&&(p(0,"div",7),m(1,Ti,5,21,"div",8),d()),t&2){let e=r();O(e.maskStyle),F(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",Ye(7,Nt,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 Ii=({dt:t})=>`
|
|
1
|
+
import{a as ut,b as wt,c as It}from"./chunk-5OXHRN43.js";import{h as Tt}from"./chunk-AM66YD6C.js";import{E as he,F as vt,a as ot,b as at,i as ge,j as gt,n as Fe,p as ue,r as ht,s as ft,t as bt,u as Ct,v as xt,w as yt}from"./chunk-FUGCJNGU.js";import{$ as pt,B as $,C as de,D as Me,E as ce,Ea as H,F as Ee,G as De,L as Se,Ma as ct,N as lt,Na as _e,Oa as mt,P as st,T as Ve,Va as _t,W as rt,b as et,ba as me,e as tt,j as it,oa as dt,y as nt}from"./chunk-BWS6U7BM.js";import{c as Je,d as Te,f as we,h as Ie,i as ke,k as ze}from"./chunk-F2X3VGZZ.js";import{E as Ue,a as Ge,c as le,f as se,g as Ke,h as re,m as pe,n as Z}from"./chunk-KQAMA66M.js";import{Aa as Oe,Ab as V,Ac as Xe,Bc as Ye,Ca as Ce,Cb as m,Da as D,Ga as Be,Ic as je,Jb as T,Ka as Re,Kb as o,Kc as Ze,Lc as A,Nb as O,Ob as F,Pb as N,Ub as p,Uc as f,Vb as d,Vc as ae,Wb as y,Xb as B,Xc as $e,Yb as R,Yc as qe,Zb as w,_b as b,ba as Le,ca as be,dc as u,eb as Qe,ec as r,fc as U,gb as l,gc as X,ha as I,ic as v,jc as J,kc as C,lc as x,oa as He,oc as ee,pa as _,pc as Y,qa as g,qc as Ne,ra as K,rb as xe,rc as ve,ta as k,uc as te,vc as ie,wb as S,wc as ne,xb as ye,xc as oe,yb as Ae,yc as j,za as E,zb as We,zc as Q}from"./chunk-D5AXB5DE.js";import{a as fe}from"./chunk-YQFG5XE2.js";var kt=(()=>{class t extends ue{pathId;ngOnInit(){this.pathId="url(#"+H()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(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),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(F(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var zt=(()=>{class t extends ue{pathId;ngOnInit(){this.pathId="url(#"+H()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(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),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(F(i.getClassNames()),T("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),T("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Mt=(()=>{class t extends ge{pFocusTrapDisabled=!1;platformId=I(Re);document=I(Ge);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)?rt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Ve(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?pt(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Ve(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=k(t)))(i||t)}})();static \u0275dir=Ae({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",f]},features:[V,He]})}return t})();var Lt=["header"],Et=["content"],Dt=["footer"],Ht=["closeicon"],Ot=["maximizeicon"],Bt=["minimizeicon"],Rt=["headless"],Qt=["titlebar"],At=["*",[["p-footer"]]],Wt=["*","p-footer"],Nt=(t,s,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":s,"pointer-events":e}),Xt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),Yt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),jt=(t,s)=>({transform:t,transition:s}),Zt=t=>({value:"visible",params:t});function $t(t,s){t&1&&w(0)}function qt(t,s){if(t&1&&(B(0),m(1,$t,1,0,"ng-container",11),R()),t&2){let e=r(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function Gt(t,s){if(t&1){let e=b();p(0,"div",15),u("mousedown",function(i){_(e);let a=r(4);return g(a.initResize(i))}),d()}if(t&2){let e=r(4);o("ngClass",e.cx("resizeHandle"))}}function Kt(t,s){if(t&1&&(p(0,"span",21),Y(1),d()),t&2){let e=r(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),Ne(e.header)}}function Ut(t,s){t&1&&w(0)}function Jt(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function ei(t,s){t&1&&y(0,"WindowMaximizeIcon")}function ti(t,s){t&1&&y(0,"WindowMinimizeIcon")}function ii(t,s){if(t&1&&(B(0),m(1,ei,1,0,"WindowMaximizeIcon",23)(2,ti,1,0,"WindowMinimizeIcon",23),R()),t&2){let e=r(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function ni(t,s){}function oi(t,s){t&1&&m(0,ni,0,0,"ng-template")}function ai(t,s){if(t&1&&(B(0),m(1,oi,1,0,null,11),R()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function li(t,s){}function si(t,s){t&1&&m(0,li,0,0,"ng-template")}function ri(t,s){if(t&1&&(B(0),m(1,si,1,0,null,11),R()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function pi(t,s){if(t&1){let e=b();p(0,"p-button",22),u("onClick",function(){_(e);let i=r(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=r(5);return g(i.maximize())}),m(1,Jt,1,1,"span",14)(2,ii,3,2,"ng-container",23)(3,ai,2,1,"ng-container",23)(4,ri,2,1,"ng-container",23),d()}if(t&2){let e=r(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,s){if(t&1&&y(0,"span",18),t&2){let e=r(8);o("ngClass",e.closeIcon)}}function ci(t,s){t&1&&y(0,"TimesIcon")}function mi(t,s){if(t&1&&(B(0),m(1,di,1,1,"span",14)(2,ci,1,0,"TimesIcon",23),R()),t&2){let e=r(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function _i(t,s){}function gi(t,s){t&1&&m(0,_i,0,0,"ng-template")}function ui(t,s){if(t&1&&(p(0,"span"),m(1,gi,1,0,null,11),d()),t&2){let e=r(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function hi(t,s){if(t&1&&m(0,mi,3,2,"ng-container",23)(1,ui,2,1,"span",23),t&2){let e=r(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 fi(t,s){if(t&1){let e=b();p(0,"p-button",24),u("onClick",function(i){_(e);let a=r(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=r(5);return g(a.close(i))}),m(1,hi,2,2,"ng-template",null,4,A),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function bi(t,s){if(t&1){let e=b();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=r(4);return g(a.initDrag(i))}),m(2,Kt,2,3,"span",17)(3,Ut,1,0,"ng-container",11),p(4,"div",18),m(5,pi,5,8,"p-button",19)(6,fi,3,4,"p-button",20),d()()}if(t&2){let e=r(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 Ci(t,s){t&1&&w(0)}function xi(t,s){t&1&&w(0)}function yi(t,s){if(t&1&&(p(0,"div",18,5),X(2,1),m(3,xi,1,0,"ng-container",11),d()),t&2){let e=r(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function vi(t,s){if(t&1&&(m(0,Gt,1,1,"div",12)(1,bi,7,6,"div",13),p(2,"div",7,2),X(4),m(5,Ci,1,0,"ng-container",11),d(),m(6,yi,4,2,"div",14)),t&2){let e=r(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),F(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),T("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ti(t,s){if(t&1){let e=b();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=r(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=r(2);return g(a.onAnimationEnd(i))}),m(2,qt,2,1,"ng-container",10)(3,vi,7,9,"ng-template",null,1,A),d()}if(t&2){let e=ee(4),n=r(2);O(n.style),F(n.styleClass),o("ngClass",Q(13,Xt,n.maximizable&&n.maximized))("ngStyle",j(15,Yt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",Q(19,Zt,Xe(16,jt,n.transformOptions,n.transitionOptions))),T("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function wi(t,s){if(t&1&&(p(0,"div",7),m(1,Ti,5,21,"div",8),d()),t&2){let e=r();O(e.maskStyle),F(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",Ye(7,Nt,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 Ii=({dt:t})=>`
|
|
2
2
|
.p-dialog {
|
|
3
3
|
max-height: 90%;
|
|
4
4
|
transform: scale(1);
|
|
@@ -177,4 +177,4 @@ import{a as ut,b as wt,c as It}from"./chunk-7KQDKLO4.js";import{h as Tt}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",de(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Se(this.container),i=me(this.container),a=e.pageX-this.lastPageX,c=e.pageY-this.lastPageY,h=this.container.getBoundingClientRect(),P=getComputedStyle(this.container),L=parseFloat(P.marginLeft),G=parseFloat(P.marginTop),z=h.left+a-L,M=h.top+c-G,W=De();this.container.style.position="fixed",this.keepInViewport?(z>=this.minX&&z+n<W.width&&(this._style.left=`${z}px`,this.lastPageX=e.pageX,this.container.style.left=`${z}px`),M>=this.minY&&M+i<W.height&&(this._style.top=`${M}px`,this.lastPageY=e.pageY,this.container.style.top=`${M}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${z}px`,this.lastPageY=e.pageY,this.container.style.top=`${M}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,ce(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,de(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=Se(this.container),c=me(this.container),h=me(this.contentViewChild?.nativeElement),P=a+n,L=c+i,G=this.container.style.minWidth,z=this.container.style.minHeight,M=this.container.getBoundingClientRect(),W=De();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(P+=n,L+=i),(!G||P>parseInt(G))&&M.left+P<W.width&&(this._style.width=P+"px",this.container.style.width=this._style.width),(!z||L>parseInt(z))&&M.top+L<W.height&&(this.contentViewChild.nativeElement.style.height=h+L-c+"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,ce(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):lt(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&&de(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")&&ce(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Fe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?fe({},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=k(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Lt,4),v(a,Et,4),v(a,Dt,4),v(a,Ht,4),v(a,Ot,4),v(a,Bt,4),v(a,Rt,4),v(a,ct,4)),n&2){let c;C(c=x())&&(i._headerTemplate=c.first),C(c=x())&&(i._contentTemplate=c.first),C(c=x())&&(i._footerTemplate=c.first),C(c=x())&&(i._closeiconTemplate=c.first),C(c=x())&&(i._maximizeiconTemplate=c.first),C(c=x())&&(i._minimizeiconTemplate=c.first),C(c=x())&&(i._headlessTemplate=c.first),C(c=x())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(J(Qt,5),J(Et,5),J(Dt,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",f],resizable:[2,"resizable","resizable",f],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",f],closeOnEscape:[2,"closeOnEscape","closeOnEscape",f],dismissableMask:[2,"dismissableMask","dismissableMask",f],rtl:[2,"rtl","rtl",f],closable:[2,"closable","closable",f],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",f],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",f],autoZIndex:[2,"autoZIndex","autoZIndex",f],baseZIndex:[2,"baseZIndex","baseZIndex",ae],minX:[2,"minX","minX",ae],minY:[2,"minY","minY",ae],focusOnShow:[2,"focusOnShow","focusOnShow",f],maximizable:[2,"maximizable","maximizable",f],keepInViewport:[2,"keepInViewport","keepInViewport",f],focusTrap:[2,"focusTrap","focusTrap",f],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:[oe([St]),V],ngContentSelectors:Wt,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&&(U(At),m(0,wi,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[pe,le,se,re,Ke,he,Mt,ut,kt,zt,_e],encapsulation:2,data:{animation:[Je("animation",[Ie("void => visible",[ze(Mi)]),Ie("visible => void",[ze(Ei)])])]},changeDetection:0})}return t})(),Vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ye({type:t});static \u0275inj=be({imports:[Pe,_e,_e]})}return t})();var Ft=(()=>{class t{transform(e,n,i=0){if(!e)return e;let a=n||12;return e.length>a?e.substring(i,a)+"...":e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=We({name:"limitStr",type:t,pure:!0})}}return t})();var Si=["actionButton"],Vi=["filters"],Fi=["content"],Pi=[[["tabs"]]],Li=["tabs"],Hi=t=>({"border-bottom":t}),Oi=t=>({"overflow-y":t}),Bi=()=>({width:"30vw"}),Ri=()=>({"1199px":"75vw","575px":"100vw"});function Qi(t,s){if(t&1){let e=b();p(0,"p-button",31),u("onClick",function(){_(e);let i=r();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),d()}t&2&&o("text",!0)}function Ai(t,s){if(t&1){let e=b();p(0,"p-button",32),u("click",function(){_(e);let i=r();return g(i.isCollapsed=!i.isCollapsed)}),d()}if(t&2){let e=r();o("text",!0),T("aria-expanded",!e.isCollapsed)}}function Wi(t,s){if(t&1){let e=b();p(0,"p-iconfield",21)(1,"input",33),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.emitSearch())}),d(),p(2,"p-inputicon",34),u("click",function(){_(e);let i=r();return g(i.emitSearch())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Ni(t,s){if(t&1){let e=b();p(0,"button",35),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",36)(2,"i",37),d()}}function Xi(t,s){t&1&&w(0)}function Yi(t,s){if(t&1){let e=b();p(0,"p-iconfield")(1,"input",33),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.emitSearch())}),d(),p(2,"p-inputicon",34),u("click",function(){_(e);let i=r();return g(i.emitSearch())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function ji(t,s){if(t&1){let e=b();p(0,"button",35),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",36)(2,"i",37),d()}}function Zi(t,s){t&1&&w(0)}function $i(t,s){t&1&&w(0)}function qi(t,s){t&1&&w(0)}function Gi(t,s){if(t&1){let e=b();p(0,"p-button",38),u("onClick",function(){_(e);let i=r();return g(i.closeFilter())}),d()}t&2&&o("rounded",!0)("text",!0)}function Ki(t,s){if(t&1){let e=b();p(0,"p-button",39),u("click",function(){_(e);let i=r();return g(i.cancelFilter())}),d(),p(1,"p-button",40),u("click",function(){_(e);let i=r();return g(i.confirmFilter())}),d()}}var Ui=9999,po=(()=>{class t{confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.isDialogFilterVisible.update(e=>!e)}constructor(){this.limitStrLength=D(Ui),this.overflowScroll=D(!1),this.router=I(Ue),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.store=I(Tt),this.pageTitle=D(""),this.isSearchableInput=D(!1),this.isFilterable=D(!1),this.hasMainWrapperPadding=D(!1),this.search=Ce(),this.searchQuery=Be(""),this.filterConfirmed=Ce(),this.isDialogFilterVisible=xe(!1),this.isInitDialogFilterVisible=xe(!1),this.pageTitleComputed=$e(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.dialogTitle=D("Filter"),qe(()=>{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,Si,7),v(a,Vi,7),v(a,Fi,7)),n&2){let c;C(c=x())&&(i.actionButtonTemplate=c.first),C(c=x())&&(i.filterTemplate=c.first),C(c=x())&&(i.contentTemplate=c.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(c){return i.handleKeyboardEvent(c)},!1,Qe)},inputs:{limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],pageTitle:[1,"pageTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange"},features:[oe([])],ngContentSelectors:Li,decls:47,vars:38,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[1,"navbar","navbar-expand-lg","bg-white",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"],[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","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=b();U(Pi),p(0,"div",3)(1,"div")(2,"nav",4)(3,"div",5)(4,"div",6)(5,"div",7)(6,"div",8)(7,"p-button",9),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),d(),p(8,"h1",10),Y(9),d(),m(10,Qi,1,1,"p-button",11),d(),m(11,Ai,1,2,"p-button",12),d()(),p(12,"div",13)(13,"div",14)(14,"div",15)(15,"div",16)(16,"div",17)(17,"div",18)(18,"h1",19),Y(19),je(20,"limitStr"),d()(),p(21,"div",20),m(22,Wi,3,1,"p-iconfield",21)(23,Ni,3,0,"button",22),d()()()()(),p(24,"div",23),m(25,Xi,1,0,"ng-container",24),d()()()(),p(26,"div",25,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isSearchbarCollapse,h)||(i.isSearchbarCollapse=h),g(h)}),p(28,"div",26)(29,"div",27)(30,"div",28),m(31,Yi,3,1,"p-iconfield")(32,ji,3,0,"button",22),d()()()(),p(33,"div",25,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isCollapsed,h)||(i.isCollapsed=h),g(h)}),p(35,"div",26)(36,"div",27),m(37,Zi,1,0,"ng-container",24),d()()(),X(38),d(),p(39,"div",29),m(40,$i,1,0,"ng-container",24),d()(),p(41,"p-dialog",30),ne("visibleChange",function(h){return _(a),ie(i.isDialogFilterVisible,h)||(i.isDialogFilterVisible=h),g(h)}),m(42,qi,1,0,"ng-container",24)(43,Gi,1,2,"ng-template",null,1,A)(45,Ki,2,0,"ng-template",null,2,A),d()}if(n&2){let a=ee(44);l(2),o("ngClass",Q(32,Hi,i.hasMainWrapperPadding())),l(5),o("text",!0),l(2),ve(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(6),o("pTooltip",i.pageTitle()),l(2),ve(" ",Ze(20,29,i.pageTitle(),i.limitStrLength())," "),l(3),N(i.isSearchableInput()?22:-1),l(),N(i.isFilterable()?23:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),te("ngbCollapse",i.isSearchbarCollapse),l(5),N(i.isSearchableInput()?31:-1),l(),N(i.isFilterable()?32:-1),l(),te("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(2),O(Q(34,Oi,i.overflowScroll()?"auto":"visible")),o("ngClass",i.mainPanelClasses),l(),o("ngTemplateOutlet",i.contentTemplate),l(),O(j(36,Bi)),o("header",i.dialogTitle())("modal",!0),te("visible",i.isDialogFilterVisible),o("breakpoints",j(37,Ri))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[at,ot,nt,et,tt,it,ft,ht,Ct,bt,yt,xt,Vt,Pe,vt,he,pe,le,se,re,It,wt,Ft],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}.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)}}"],changeDetection:0})}}return t})();export{kt as a,zt as b,Mt as c,St as d,Pe as e,Vt as f,po as g};
|
|
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",de(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Se(this.container),i=me(this.container),a=e.pageX-this.lastPageX,c=e.pageY-this.lastPageY,h=this.container.getBoundingClientRect(),P=getComputedStyle(this.container),L=parseFloat(P.marginLeft),G=parseFloat(P.marginTop),z=h.left+a-L,M=h.top+c-G,W=De();this.container.style.position="fixed",this.keepInViewport?(z>=this.minX&&z+n<W.width&&(this._style.left=`${z}px`,this.lastPageX=e.pageX,this.container.style.left=`${z}px`),M>=this.minY&&M+i<W.height&&(this._style.top=`${M}px`,this.lastPageY=e.pageY,this.container.style.top=`${M}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${z}px`,this.lastPageY=e.pageY,this.container.style.top=`${M}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,ce(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,de(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=Se(this.container),c=me(this.container),h=me(this.contentViewChild?.nativeElement),P=a+n,L=c+i,G=this.container.style.minWidth,z=this.container.style.minHeight,M=this.container.getBoundingClientRect(),W=De();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(P+=n,L+=i),(!G||P>parseInt(G))&&M.left+P<W.width&&(this._style.width=P+"px",this.container.style.width=this._style.width),(!z||L>parseInt(z))&&M.top+L<W.height&&(this.contentViewChild.nativeElement.style.height=h+L-c+"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,ce(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):lt(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&&de(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")&&ce(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Fe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?fe({},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=k(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Lt,4),v(a,Et,4),v(a,Dt,4),v(a,Ht,4),v(a,Ot,4),v(a,Bt,4),v(a,Rt,4),v(a,ct,4)),n&2){let c;C(c=x())&&(i._headerTemplate=c.first),C(c=x())&&(i._contentTemplate=c.first),C(c=x())&&(i._footerTemplate=c.first),C(c=x())&&(i._closeiconTemplate=c.first),C(c=x())&&(i._maximizeiconTemplate=c.first),C(c=x())&&(i._minimizeiconTemplate=c.first),C(c=x())&&(i._headlessTemplate=c.first),C(c=x())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(J(Qt,5),J(Et,5),J(Dt,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",f],resizable:[2,"resizable","resizable",f],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",f],closeOnEscape:[2,"closeOnEscape","closeOnEscape",f],dismissableMask:[2,"dismissableMask","dismissableMask",f],rtl:[2,"rtl","rtl",f],closable:[2,"closable","closable",f],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",f],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",f],autoZIndex:[2,"autoZIndex","autoZIndex",f],baseZIndex:[2,"baseZIndex","baseZIndex",ae],minX:[2,"minX","minX",ae],minY:[2,"minY","minY",ae],focusOnShow:[2,"focusOnShow","focusOnShow",f],maximizable:[2,"maximizable","maximizable",f],keepInViewport:[2,"keepInViewport","keepInViewport",f],focusTrap:[2,"focusTrap","focusTrap",f],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:[oe([St]),V],ngContentSelectors:Wt,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&&(U(At),m(0,wi,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[pe,le,se,re,Ke,he,Mt,ut,kt,zt,_e],encapsulation:2,data:{animation:[Je("animation",[Ie("void => visible",[ze(Mi)]),Ie("visible => void",[ze(Ei)])])]},changeDetection:0})}return t})(),Vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ye({type:t});static \u0275inj=be({imports:[Pe,_e,_e]})}return t})();var Ft=(()=>{class t{transform(e,n,i=0){if(!e)return e;let a=n||12;return e.length>a?e.substring(i,a)+"...":e}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=We({name:"limitStr",type:t,pure:!0})}}return t})();var Si=["actionButton"],Vi=["filters"],Fi=["content"],Pi=[[["tabs"]]],Li=["tabs"],Hi=t=>({"border-bottom":t}),Oi=t=>({"overflow-y":t}),Bi=()=>({width:"30vw"}),Ri=()=>({"1199px":"75vw","575px":"100vw"});function Qi(t,s){if(t&1){let e=b();p(0,"p-button",31),u("onClick",function(){_(e);let i=r();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),d()}t&2&&o("text",!0)}function Ai(t,s){if(t&1){let e=b();p(0,"p-button",32),u("click",function(){_(e);let i=r();return g(i.isCollapsed=!i.isCollapsed)}),d()}if(t&2){let e=r();o("text",!0),T("aria-expanded",!e.isCollapsed)}}function Wi(t,s){if(t&1){let e=b();p(0,"p-iconfield",21)(1,"input",33),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.emitSearch())}),d(),p(2,"p-inputicon",34),u("click",function(){_(e);let i=r();return g(i.emitSearch())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Ni(t,s){if(t&1){let e=b();p(0,"button",35),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",36)(2,"i",37),d()}}function Xi(t,s){t&1&&w(0)}function Yi(t,s){if(t&1){let e=b();p(0,"p-iconfield")(1,"input",33),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.emitSearch())}),d(),p(2,"p-inputicon",34),u("click",function(){_(e);let i=r();return g(i.emitSearch())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function ji(t,s){if(t&1){let e=b();p(0,"button",35),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",36)(2,"i",37),d()}}function Zi(t,s){t&1&&w(0)}function $i(t,s){t&1&&w(0)}function qi(t,s){t&1&&w(0)}function Gi(t,s){if(t&1){let e=b();p(0,"p-button",38),u("onClick",function(){_(e);let i=r();return g(i.closeFilter())}),d()}t&2&&o("rounded",!0)("text",!0)}function Ki(t,s){if(t&1){let e=b();p(0,"p-button",39),u("click",function(){_(e);let i=r();return g(i.cancelFilter())}),d(),p(1,"p-button",40),u("click",function(){_(e);let i=r();return g(i.confirmFilter())}),d()}}var Ui=9999,po=(()=>{class t{confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.isDialogFilterVisible.update(e=>!e)}constructor(){this.limitStrLength=D(Ui),this.overflowScroll=D(!1),this.router=I(Ue),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.store=I(Tt),this.pageTitle=D(""),this.isSearchableInput=D(!1),this.isFilterable=D(!1),this.hasMainWrapperPadding=D(!1),this.search=Ce(),this.searchQuery=Be(""),this.filterConfirmed=Ce(),this.isDialogFilterVisible=xe(!1),this.isInitDialogFilterVisible=xe(!1),this.pageTitleComputed=$e(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.dialogTitle=D("Filter"),qe(()=>{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,Si,7),v(a,Vi,7),v(a,Fi,7)),n&2){let c;C(c=x())&&(i.actionButtonTemplate=c.first),C(c=x())&&(i.filterTemplate=c.first),C(c=x())&&(i.contentTemplate=c.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(c){return i.handleKeyboardEvent(c)},!1,Qe)},inputs:{limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],pageTitle:[1,"pageTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange"},features:[oe([])],ngContentSelectors:Li,decls:47,vars:38,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[1,"navbar","navbar-expand-lg","bg-white",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"],[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"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=b();U(Pi),p(0,"div",3)(1,"div")(2,"nav",4)(3,"div",5)(4,"div",6)(5,"div",7)(6,"div",8)(7,"p-button",9),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),d(),p(8,"h1",10),Y(9),d(),m(10,Qi,1,1,"p-button",11),d(),m(11,Ai,1,2,"p-button",12),d()(),p(12,"div",13)(13,"div",14)(14,"div",15)(15,"div",16)(16,"div",17)(17,"div",18)(18,"h1",19),Y(19),je(20,"limitStr"),d()(),p(21,"div",20),m(22,Wi,3,1,"p-iconfield",21)(23,Ni,3,0,"button",22),d()()()()(),p(24,"div",23),m(25,Xi,1,0,"ng-container",24),d()()()(),p(26,"div",25,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isSearchbarCollapse,h)||(i.isSearchbarCollapse=h),g(h)}),p(28,"div",26)(29,"div",27)(30,"div",28),m(31,Yi,3,1,"p-iconfield")(32,ji,3,0,"button",22),d()()()(),p(33,"div",25,0),ne("ngbCollapseChange",function(h){return _(a),ie(i.isCollapsed,h)||(i.isCollapsed=h),g(h)}),p(35,"div",26)(36,"div",27),m(37,Zi,1,0,"ng-container",24),d()()(),X(38),d(),p(39,"div",29),m(40,$i,1,0,"ng-container",24),d()(),p(41,"p-dialog",30),ne("visibleChange",function(h){return _(a),ie(i.isDialogFilterVisible,h)||(i.isDialogFilterVisible=h),g(h)}),m(42,qi,1,0,"ng-container",24)(43,Gi,1,2,"ng-template",null,1,A)(45,Ki,2,0,"ng-template",null,2,A),d()}if(n&2){let a=ee(44);l(2),o("ngClass",Q(32,Hi,i.hasMainWrapperPadding())),l(5),o("text",!0),l(2),ve(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(6),o("pTooltip",i.pageTitle()),l(2),ve(" ",Ze(20,29,i.pageTitle(),i.limitStrLength())," "),l(3),N(i.isSearchableInput()?22:-1),l(),N(i.isFilterable()?23:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),te("ngbCollapse",i.isSearchbarCollapse),l(5),N(i.isSearchableInput()?31:-1),l(),N(i.isFilterable()?32:-1),l(),te("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(2),O(Q(34,Oi,i.overflowScroll()?"auto":"visible")),o("ngClass",i.mainPanelClasses),l(),o("ngTemplateOutlet",i.contentTemplate),l(),O(j(36,Bi)),o("header",i.dialogTitle())("modal",!0),te("visible",i.isDialogFilterVisible),o("breakpoints",j(37,Ri))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[at,ot,nt,et,tt,it,ft,ht,Ct,bt,yt,xt,Vt,Pe,vt,he,pe,le,se,re,It,wt,Ft],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}.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)}}"],changeDetection:0})}}return t})();export{kt as a,zt as b,Mt as c,St as d,Pe as e,Vt as f,po as g};
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import{a as pt,c as lt}from"./chunk-IACJNRVA.js";import"./chunk-GMLRRSMP.js";import{b as at}from"./chunk-DJUGUNXR.js";import{h as tt,j as nt,k as it,l as rt,o as ot}from"./chunk-UMYCPFK5.js";import"./chunk-X3FQFXUZ.js";import"./chunk-7TKATLB4.js";import"./chunk-ZKXT6RSI.js";import{a as te}from"./chunk-7GT5MR57.js";import{c as qe,d as We}from"./chunk-VF7TG32T.js";import{a as Ze,b as et}from"./chunk-F7TF7ASR.js";import{e as Ge,f as Xe,g as Ye}from"./chunk-L6VKOTIV.js";import"./chunk-5OXHRN43.js";import"./chunk-AM66YD6C.js";import{E as He,F as Ke,i as F,o as ve}from"./chunk-FUGCJNGU.js";import{Ea as ze,Ma as ge,Na as B,R as Ne,Va as Ue,wa as Le}from"./chunk-BWS6U7BM.js";import"./chunk-VI3AV775.js";import{c as Oe,d as de,f as ue,g as _e,h as fe}from"./chunk-F2X3VGZZ.js";import{E as Qe,c as Ae,f as Re,h as me,k as Be,l as je,m as E}from"./chunk-KQAMA66M.js";import{Ab as k,Bc as le,Cb as d,Da as G,Ga as j,I as Se,Ic as ee,Jb as Q,Jc as se,Kb as s,Kc as Me,Lc as _,Mb as D,Nb as ie,Pb as x,Qb as re,Sb as oe,Tb as ae,Ub as r,Vb as o,Wb as u,X as Ie,Xc as v,Yc as ce,Z as W,Zb as pe,_b as S,aa as J,ba as Ee,ca as we,dc as b,eb as Te,ec as c,fc as V,gb as l,gc as P,ha as T,ic as z,jc as ke,kc as M,lc as A,m as be,mc as R,nc as Z,oc as De,pa as h,pb as X,pc as a,qa as y,qb as Y,qc as f,rb as L,rc as U,s as Ce,ta as $,uc as Fe,vc as Je,wb as C,wc as Ve,xb as $e,xc as Pe,yc as H,zc as I}from"./chunk-D5AXB5DE.js";import"./chunk-YQFG5XE2.js";var O=["*"],mt=["content"],dt=(e,p,t)=>({activateCallback:e,value:p,active:t});function vt(e,p){e&1&&u(0,"p-stepper-separator")}function xt(e,p){if(e&1){let t=S();r(0,"button",0),b("click",function(){h(t);let n=c();return y(n.onStepClick())}),r(1,"span",1),a(2),o(),r(3,"span",2),P(4),o()(),d(5,vt,1,0,"p-stepper-separator")}if(e&2){let t=c();s("tabindex",t.isStepDisabled()?-1:void 0)("disabled",t.isStepDisabled()),Q("id",t.id())("role","tab")("aria-controls",t.ariaControls()),l(2),f(t.value()),l(3),x(t.isSeparatorVisible()?5:-1)}}function ht(e,p){e&1&&pe(0)}function yt(e,p){e&1&&u(0,"p-stepper-separator")}function bt(e,p){if(e&1&&d(0,ht,1,0,"ng-container",3)(1,yt,1,0,"p-stepper-separator"),e&2){let t=c();s("ngTemplateOutlet",t.content||t._contentTemplate)("ngTemplateOutletContext",le(3,dt,t.onStepClick.bind(t),t.value(),t.active())),l(),x(t.isSeparatorVisible()?1:-1)}}var st=e=>({transitionParams:e}),Ct=e=>({value:"visible",params:e}),St=e=>({value:"hidden",params:e});function It(e,p){e&1&&u(0,"p-stepper-separator")}function Et(e,p){e&1&&pe(0)}function wt(e,p){if(e&1&&d(0,Et,1,0,"ng-container",1),e&2){let t=c();s("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",le(2,dt,t.updateValue.bind(t),t.value(),t.active()))}}var Tt=({dt:e})=>`
|
|
2
|
+
.p-steplist {
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
list-style-type: none;
|
|
10
|
+
overflow-x: auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.p-step {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: 1 1 auto;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: ${e("stepper.step.gap")};
|
|
19
|
+
padding: ${e("stepper.step.padding")};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-step:last-of-type {
|
|
23
|
+
flex: initial;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.p-step-header {
|
|
27
|
+
border: 0 none;
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transition: background ${e("stepper.transition.duration")}, color ${e("stepper.transition.duration")}, border-color ${e("stepper.transition.duration")}, outline-color ${e("stepper.transition.duration")}, box-shadow ${e("stepper.transition.duration")};
|
|
33
|
+
border-radius: ${e("stepper.step.header.border.radius")};
|
|
34
|
+
outline-color: transparent;
|
|
35
|
+
background: transparent;
|
|
36
|
+
padding: ${e("stepper.step.header.padding")};
|
|
37
|
+
gap: ${e("stepper.step.header.gap")};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.p-step-header:focus-visible {
|
|
41
|
+
box-shadow: ${e("stepper.step.header.focus.ring.shadow")};
|
|
42
|
+
outline: ${e("stepper.step.header.focus.ring.width")} ${e("stepper.step.header.focus.ring.style")} ${e("stepper.step.header.focus.ring.color")};
|
|
43
|
+
outline-offset: ${e("stepper.step.header.focus.ring.offset")};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.p-stepper.p-stepper-readonly .p-step {
|
|
47
|
+
cursor: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.p-step-title {
|
|
51
|
+
display: block;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
color: ${e("stepper.step.title.color")};
|
|
57
|
+
font-weight: ${e("stepper.step.title.font.weight")};
|
|
58
|
+
transition: background ${e("stepper.transition.duration")}, color ${e("stepper.transition.duration")}, border-color ${e("stepper.transition.duration")}, box-shadow ${e("stepper.transition.duration")}, outline-color ${e("stepper.transition.duration")};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.p-step-number {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
color: ${e("stepper.step.number.color")};
|
|
66
|
+
border: 2px solid ${e("stepper.step.number.border.color")};
|
|
67
|
+
background: ${e("stepper.step.number.background")};
|
|
68
|
+
min-width: ${e("stepper.step.number.size")};
|
|
69
|
+
height: ${e("stepper.step.number.size")};
|
|
70
|
+
line-height: ${e("stepper.step.number.size")};
|
|
71
|
+
font-size: ${e("stepper.step.number.font.size")};
|
|
72
|
+
z-index: 1;
|
|
73
|
+
border-radius: ${e("stepper.step.number.border.radius")};
|
|
74
|
+
position: relative;
|
|
75
|
+
font-weight: ${e("stepper.step.number.font.weight")};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.p-step-number::after {
|
|
79
|
+
content: " ";
|
|
80
|
+
position: absolute;
|
|
81
|
+
width: 100%;
|
|
82
|
+
height: 100%;
|
|
83
|
+
border-radius: ${e("stepper.step.number.border.radius")};
|
|
84
|
+
box-shadow: ${e("stepper.step.number.shadow")};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.p-step-active .p-step-header {
|
|
88
|
+
cursor: default;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.p-step-active .p-step-number {
|
|
92
|
+
background: ${e("stepper.step.number.active.background")};
|
|
93
|
+
border-color: ${e("stepper.step.number.active.border.color")};
|
|
94
|
+
color: ${e("stepper.step.number.active.color")};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.p-step-active .p-step-title {
|
|
98
|
+
color: ${e("stepper.step.title.active.color")};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.p-step:not(.p-disabled):focus-visible {
|
|
102
|
+
outline: ${e("focus.ring.width")} ${e("focus.ring.style")} ${e("focus.ring.color")};
|
|
103
|
+
outline-offset: ${e("focus.ring.offset")};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-step:has(~ .p-step-active) .p-stepper-separator {
|
|
107
|
+
background: ${e("stepper.separator.active.background")};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.p-stepper-separator {
|
|
111
|
+
flex: 1 1 0;
|
|
112
|
+
background: ${e("stepper.separator.background")};
|
|
113
|
+
width: 100%;
|
|
114
|
+
height: ${e("stepper.separator.size")};
|
|
115
|
+
transition: background ${e("stepper.transition.duration")}, color ${e("stepper.transition.duration")}, border-color ${e("stepper.transition.duration")}, box-shadow ${e("stepper.transition.duration")}, outline-color ${e("stepper.transition.duration")};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.p-steppanels {
|
|
119
|
+
padding: ${e("stepper.steppanels.padding")};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.p-steppanel {
|
|
123
|
+
background: ${e("stepper.steppanel.background")};
|
|
124
|
+
color: ${e("stepper.steppanel.color")};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.p-stepper:has(.p-stepitem) {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.p-stepitem {
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
flex: initial;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.p-stepitem.p-stepitem-active {
|
|
139
|
+
flex: 1 1 auto;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.p-stepitem .p-step {
|
|
143
|
+
flex: initial;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-stepitem .p-steppanel-content {
|
|
147
|
+
width: 100%;
|
|
148
|
+
padding: ${e("stepper.steppanel.padding")};
|
|
149
|
+
margin-inline-start: 1rem;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.p-stepitem .p-steppanel {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex: 1 1 auto;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.p-stepitem .p-stepper-separator {
|
|
158
|
+
flex: 0 0 auto;
|
|
159
|
+
width: ${e("stepper.separator.size")};
|
|
160
|
+
height: auto;
|
|
161
|
+
margin: ${e("stepper.separator.margin")};
|
|
162
|
+
position: relative;
|
|
163
|
+
left: calc(-1 * ${e("stepper.separator.size")});
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.p-stepitem .p-stepper-separator:dir(rtl) {
|
|
167
|
+
left: calc(-9 * ${e("stepper.separator.size")});
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {
|
|
171
|
+
background: ${e("stepper.separator.active.background")};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.p-stepitem:last-of-type .p-steppanel {
|
|
175
|
+
padding-inline-start: ${e("stepper.step.number.size")};
|
|
176
|
+
}
|
|
177
|
+
/* For PrimeNG */
|
|
178
|
+
.p-steppanel {
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.p-stepppanel:not(.ng-animating) {
|
|
183
|
+
overflow: inherit;
|
|
184
|
+
}
|
|
185
|
+
`,$t={root:({props:e})=>["p-stepper p-component",{"p-readonly":e.linear}],separator:"p-stepper-separator"},ct=(()=>{class e extends Ue{name="stepper";theme=Tt;classes=$t;static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275prov=Ee({token:e,factory:e.\u0275fac})}return e})();var K=(()=>{class e extends F{steps=Y(J(()=>w));static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-step-list"]],contentQueries:function(i,n,m){i&1&&R(m,n.steps,w,4),i&2&&Z()},hostVars:4,hostBindings:function(i,n){i&2&&D("p-steplist",!0)("p-component",!0)},features:[k],ngContentSelectors:O,decls:1,vars:0,template:function(i,n){i&1&&(V(),P(0))},dependencies:[E],encapsulation:2,changeDetection:0})}return e})(),he=(()=>{class e extends F{static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-stepper-separator"]],hostVars:4,hostBindings:function(i,n){i&2&&D("p-stepper-separator",!0)("p-component",!0)},features:[k],ngContentSelectors:O,decls:1,vars:0,template:function(i,n){i&1&&(V(),P(0))},dependencies:[E],encapsulation:2,changeDetection:0})}return e})(),xe=(()=>{class e extends F{pcStepper=T(J(()=>N));value=L();isActive=v(()=>this.pcStepper.value()===this.value());step=X(J(()=>w));stepPanel=X(J(()=>q));constructor(){super(),ce(()=>{this.step().value.set(this.value())}),ce(()=>{this.stepPanel().value.set(this.value())})}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=C({type:e,selectors:[["p-step-item"]],contentQueries:function(i,n,m){i&1&&(R(m,n.step,w,5),R(m,n.stepPanel,q,5)),i&2&&Z(2)},hostVars:5,hostBindings:function(i,n){i&2&&(Q("data-p-active",n.isActive()),D("p-stepitem",!0)("p-component",!0))},inputs:{value:[1,"value"]},outputs:{value:"valueChange"},features:[k],ngContentSelectors:O,decls:1,vars:0,template:function(i,n){i&1&&(V(),P(0))},dependencies:[E],encapsulation:2,changeDetection:0})}return e})(),w=(()=>{class e extends F{pcStepper=T(J(()=>N));value=L();disabled=G(!1,{transform:t=>ve(t)});active=v(()=>this.pcStepper.isStepActive(this.value()));isStepDisabled=v(()=>!this.active()&&(this.pcStepper.linear()||this.disabled()));id=v(()=>`${this.pcStepper.id()}_step_${this.value()}`);ariaControls=v(()=>`${this.pcStepper.id()}_steppanel_${this.value()}`);isSeparatorVisible=v(()=>{if(this.pcStepper.stepList()){let t=this.pcStepper.stepList().steps(),i=t.indexOf(this),n=t.length;return i!==n-1}else return!1});content;templates;_contentTemplate;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break}})}onStepClick(){this.pcStepper.updateValue(this.value())}static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-step"]],contentQueries:function(i,n,m){if(i&1&&(z(m,mt,4),z(m,ge,4)),i&2){let g;M(g=A())&&(n.content=g.first),M(g=A())&&(n.templates=g)}},hostVars:13,hostBindings:function(i,n){i&2&&(Q("aria-current",n.active()?"step":void 0)("role","presentation")("data-p-active",n.active())("data-p-disabled",n.isStepDisabled())("data-pc-name","step"),D("p-step",!0)("p-step-active",n.active())("p-disabled",n.isStepDisabled())("p-component",!0))},inputs:{value:[1,"value"],disabled:[1,"disabled"]},outputs:{value:"valueChange"},features:[k],ngContentSelectors:O,decls:2,vars:1,consts:[["type","button",1,"p-step-header",3,"click","tabindex","disabled"],[1,"p-step-number"],[1,"p-step-title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(V(),d(0,xt,6,7)(1,bt,2,7)),i&2&&x(!n.content&&!n._contentTemplate?0:1)},dependencies:[E,me,he,B],encapsulation:2,changeDetection:0})}return e})(),q=(()=>{class e extends F{pcStepper=T(J(()=>N));transitionOptions=v(()=>this.pcStepper.transitionOptions());value=L(void 0);active=v(()=>this.pcStepper.value()===this.value());ariaControls=v(()=>`${this.pcStepper.id()}_step_${this.value()}`);id=v(()=>`${this.pcStepper.id()}_steppanel_${this.value()}`);isVertical=v(()=>this.pcStepper.stepItems().length>0);isSeparatorVisible=v(()=>{if(this.pcStepper.stepItems()){let t=this.pcStepper.stepItems().length,i=Ne(this.pcStepper.el.nativeElement,'[data-pc-name="steppanel"]');return Le(this.el.nativeElement,i)!==t-1}});contentTemplate;templates;_contentTemplate;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break}})}updateValue(t){this.pcStepper.updateValue(t)}static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-step-panel"]],contentQueries:function(i,n,m){if(i&1&&(z(m,mt,5),z(m,ge,4)),i&2){let g;M(g=A())&&(n.contentTemplate=g.first),M(g=A())&&(n.templates=g)}},hostVars:11,hostBindings:function(i,n){i&2&&(Q("role","tabpanel")("aria-controls",n.ariaControls())("id",n.id())("data-p-active",n.active())("data-pc-name","steppanel"),D("p-steppanel",!0)("p-component",!0)("p-steppanel-active",n.active()))},inputs:{value:[1,"value"]},outputs:{value:"valueChange"},features:[k],decls:3,vars:11,consts:[[1,"p-steppanel-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(d(0,It,1,0,"p-stepper-separator"),r(1,"div",0),d(2,wt,1,6,"ng-container"),o()),i&2&&(x(n.isSeparatorVisible()?0:-1),l(),s("@content",n.isVertical()?n.active()?I(5,Ct,I(3,st,n.transitionOptions())):I(9,St,I(7,st,n.transitionOptions())):void 0),l(),x(n.active()?2:-1))},dependencies:[E,me,he,B],encapsulation:2,data:{animation:[Oe("content",[_e("hidden",ue({height:"0",visibility:"hidden"})),_e("visible",ue({height:"*",visibility:"visible"})),fe("visible <=> hidden",[de("250ms cubic-bezier(0.86, 0, 0.07, 1)")]),fe("void => *",de(0))])]},changeDetection:0})}return e})(),ye=(()=>{class e extends F{static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-step-panels"]],hostVars:4,hostBindings:function(i,n){i&2&&D("p-steppanels",!0)("p-component",!0)},features:[k],ngContentSelectors:O,decls:1,vars:0,template:function(i,n){i&1&&(V(),P(0))},dependencies:[E,B],encapsulation:2,changeDetection:0})}return e})(),N=(()=>{class e extends F{value=L(void 0);linear=G(!1,{transform:t=>ve(t)});transitionOptions=G("400ms cubic-bezier(0.86, 0, 0.07, 1)");_componentStyle=T(ct);id=j(ze("pn_id_"));stepItems=Y(xe);steps=Y(w);stepList=X(K);updateValue(t){this.value.set(t)}isStepActive(t){return this.value()===t}static \u0275fac=(()=>{let t;return function(n){return(t||(t=$(e)))(n||e)}})();static \u0275cmp=C({type:e,selectors:[["p-stepper"]],contentQueries:function(i,n,m){i&1&&(R(m,n.stepItems,xe,4),R(m,n.steps,w,4),R(m,n.stepList,K,5)),i&2&&Z(3)},hostVars:6,hostBindings:function(i,n){i&2&&(Q("role","tablist")("id",n.id()),D("p-stepper",!0)("p-component",!0))},inputs:{value:[1,"value"],linear:[1,"linear"],transitionOptions:[1,"transitionOptions"]},outputs:{value:"valueChange"},features:[Pe([ct]),k],ngContentSelectors:O,decls:1,vars:0,template:function(i,n){i&1&&(V(),P(0))},dependencies:[E,B],encapsulation:2,changeDetection:0})}return e})(),ut=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=$e({type:e});static \u0275inj=we({imports:[N,K,ye,q,xe,w,he,B,B]})}return e})();var Dt=["stepper"],Ft=()=>({width:"30vw"}),Jt=()=>({"1199px":"75vw","575px":"100vw"}),Vt=()=>({height:"calc(100vh - 70px)"}),Pt=e=>({"justify-content-center":e}),Mt=e=>({"col-12":e}),At=()=>({"min-width":"60rem"}),_t=e=>({"state-danger":e});function Rt(e,p){if(e&1){let t=S();r(0,"p-button",14),b("click",function(){h(t);let n=c(2);return y(n.onPrevStep())}),o()}if(e&2){let t=c(2);s("disabled",t.stepActiveIndex()===1)}}function Bt(e,p){if(e&1){let t=S();r(0,"p-button",15),b("click",function(){h(t);let n=c(2);return y(n.onNextStep())}),o()}if(e&2){let t=c(2);s("disabled",t.stepActiveIndex()===3)}}function jt(e,p){if(e&1){let t=S();r(0,"p-button",16),b("click",function(){h(t);let n=c(2);return y(n.onReset())}),o()}}function Qt(e,p){if(e&1&&d(0,Rt,1,1,"p-button",11)(1,Bt,1,1,"p-button",12)(2,jt,1,0,"p-button",13),e&2){let t=c();s("ngIf",t.stepActiveIndex()>1),l(),s("ngIf",t.stepActiveIndex()<3),l(),s("ngIf",t.stepActiveIndex()===3)}}function Ot(e,p){if(e&1){let t=S();r(0,"POS-uppy",25),b("fileUploaded",function(n){h(t);let m=c(2);return y(m.onFileUploaded(n))}),o(),r(1,"p",26),a(2," Please refer this "),r(3,"a",27),a(4,"article"),o(),a(5," for more information "),o()}if(e&2){let t=c(2);s("uppyCoreConfiguration",t.uppyCore)("sampleUrl",t.SAMPLE_URL)}}function Nt(e,p){e&1&&(r(0,"tr"),u(1,"th",29),r(2,"th",30),a(3," Number "),u(4,"p-sortIcon",31),o(),r(5,"th",32),a(6," Outlet "),u(7,"p-sortIcon",33),o(),r(8,"th",34),a(9," Date "),u(10,"p-sortIcon",35),o(),r(11,"th",36),a(12," Status "),u(13,"p-sortIcon",37),o(),r(14,"th"),a(15,"Message"),o()())}function Lt(e,p){if(e&1&&(r(0,"div",41)(1,"span"),a(2),o(),r(3,"span"),a(4),o()()),e&2){let t=p.$implicit;l(2),f(t.issue),l(2),f(t.solution)}}function zt(e,p){if(e&1&&(r(0,"div",40),oe(1,Lt,5,2,"div",41,re),o()),e&2){let t=c(2).$implicit;l(),ae(t.issues)}}function Ut(e,p){e&1&&(r(0,"div"),a(1," We found error in account item, please check your item! "),o())}function Ht(e,p){if(e&1&&d(0,zt,3,0,"div",40)(1,Ut,2,0,"div"),e&2){let t=c().$implicit;x(t.issues&&t.issues.length>0?0:1)}}function Kt(e,p){if(e&1&&(r(0,"tr")(1,"td"),u(2,"p-button",38),o(),r(3,"td"),a(4),o(),r(5,"td"),a(6),o(),r(7,"td"),a(8),ee(9,"date"),o(),r(10,"td"),a(11),o(),r(12,"td",39),d(13,Ht,2,1),o()()),e&2){let t=p.$implicit,i=p.expanded,n=c(4);l(2),s("pRowToggler",t)("text",!0)("rounded",!0)("plain",!0)("icon",i?"fa-solid fa-chevron-down":"fa-solid fa-chevron-right"),l(2),f(t.number),l(2),U(" ",t.outlet," "),l(2),f(Me(9,11,t.date,"d MMM y")),l(3),f(t.actionName),l(),s("ngClass",I(14,_t,n.hasIssue)),l(),x(n.hasIssue?13:-1)}}function qt(e,p){e&1&&(r(0,"tr")(1,"th",45),a(2," Code "),u(3,"p-sortIcon",46),o(),r(4,"th",47),a(5," Name "),u(6,"p-sortIcon",48),o(),r(7,"th",49),a(8," Note "),u(9,"p-sortIcon",50),o(),r(10,"th",51),a(11," Debit "),u(12,"p-sortIcon",52),o(),r(13,"th",53),a(14," Credit "),u(15,"p-sortIcon",54),o(),r(16,"th"),a(17,"Message"),o()())}function Wt(e,p){if(e&1&&(r(0,"div",41)(1,"span"),a(2),o(),r(3,"span"),a(4),o()()),e&2){let t=p.$implicit;l(2),f(t.issue),l(2),f(t.solution)}}function Gt(e,p){if(e&1&&(r(0,"div",40),oe(1,Wt,5,2,"div",41,re),o()),e&2){let t=c().$implicit;l(),ae(t.issues)}}function Xt(e,p){if(e&1&&(r(0,"tr")(1,"td"),a(2),o(),r(3,"td"),a(4),o(),r(5,"td"),a(6),o(),r(7,"td"),a(8),ee(9,"number"),o(),r(10,"td"),a(11),ee(12,"number"),o(),r(13,"td",39),d(14,Gt,3,0,"div",40),o()()),e&2){let t=p.$implicit,i=c(5);l(2),f(t.accountCode),l(2),f(t.accountName),l(2),f(t.note),l(2),U(" ",se(9,7,t.debitAmount)," "),l(3),U(" ",se(12,9,t.creditAmount)," "),l(2),s("ngClass",I(11,_t,t.issues&&t.issues.length>0)),l(),x(i.hasIssue?14:-1)}}function Yt(e,p){e&1&&(r(0,"tr")(1,"td",55),a(2," There are no order for this product yet. "),o()())}function Zt(e,p){if(e&1&&(r(0,"tr")(1,"td",42)(2,"div",43)(3,"p-table",44),d(4,qt,18,0,"ng-template",null,3,_)(6,Xt,15,13,"ng-template",null,6,_)(8,Yt,3,0,"ng-template",null,8,_),o()()()()),e&2){let t=p.$implicit;l(3),s("value",t.items)}}function en(e,p){if(e&1&&(r(0,"p-table",28),d(1,Nt,16,0,"ng-template",null,3,_)(3,Kt,14,16,"ng-template",null,6,_)(5,Zt,10,1,"ng-template",null,7,_),o()),e&2){let t=c(3);s("value",t.JournalEntryImport().dataRow)("tableStyle",H(2,At))}}function tn(e,p){if(e&1&&d(0,en,7,3,"p-table",28),e&2){let t=c(2);x(t.JournalEntryImport()?0:-1)}}function nn(e,p){e&1&&(r(0,"h5"),a(1,"Successfully Imported"),o())}function rn(e,p){if(e&1&&(r(0,"p-panel")(1,"div",17)(2,"div",18)(3,"p-stepper",19,5)(5,"p-step-list")(6,"p-step",20)(7,"div",21),u(8,"i",22),r(9,"span"),a(10,"Upload"),o()()(),r(11,"p-step",20)(12,"div",21),u(13,"i",23),r(14,"span"),a(15,"Preview"),o()()(),r(16,"p-step",20)(17,"div",21),u(18,"i",24),r(19,"span"),a(20,"Finish"),o()()()(),r(21,"p-step-panels")(22,"p-step-panel",20),d(23,Ot,6,2,"ng-template",null,1,_),o(),r(25,"p-step-panel",20),d(26,tn,1,1,"ng-template",null,1,_),o(),r(28,"p-step-panel",20),d(29,nn,2,0,"ng-template",null,1,_),o()()()()()()),e&2){let t=c();ie(H(12,Vt)),l(),s("ngClass",I(13,Pt,t.stepActiveIndex()===1||t.stepActiveIndex()===3)),l(),s("ngClass",I(15,Mt,t.stepActiveIndex()===2)),l(),s("linear",!0)("value",t.stepActiveIndex()),l(3),s("value",1),l(5),s("value",2),l(5),s("value",3),l(6),s("value",1),l(3),s("value",2),l(3),s("value",3)}}function on(e,p){if(e&1){let t=S();r(0,"p-button",56),b("onClick",function(){h(t);let n=c();return y(n.summaryDialogVisible.set(!1))}),o()}e&2&&s("rounded",!0)("text",!0)}function an(e,p){if(e&1&&(r(0,"div",57)(1,"h4",58),a(2,"Import Summary"),o(),r(3,"p",59),a(4),o()()),e&2){let t,i=c();l(4),U(" (",(t=i.JournalEntryImport().summary)==null?null:t.total," rows ready for import) ")}}function pn(e,p){e&1&&(r(0,"div",62)(1,"h4",63),a(2,"New"),o()())}function ln(e,p){e&1&&(r(0,"div",64)(1,"h4",63),a(2,"Updated"),o()())}function sn(e,p){e&1&&(r(0,"div",65)(1,"h4",63),a(2,"Unchanged"),o()())}function cn(e,p){e&1&&(r(0,"div",66)(1,"h4",63),a(2,"Error"),o()())}function mn(e,p){if(e&1&&(r(0,"div",60)(1,"div",61)(2,"p-card"),d(3,pn,3,0,"ng-template",null,3,_),r(5,"div",60)(6,"div",61)(7,"h5"),a(8),o()()()()()(),u(9,"br"),r(10,"div",60)(11,"div",61)(12,"p-card"),d(13,ln,3,0,"ng-template",null,3,_),r(15,"div",60)(16,"div",61)(17,"h5"),a(18),o()()()()(),r(19,"div",61)(20,"p-card"),d(21,sn,3,0,"ng-template",null,3,_),r(23,"div",60)(24,"div",61)(25,"h5"),a(26),o()()()()(),r(27,"div",61)(28,"p-card"),d(29,cn,3,0,"ng-template",null,3,_),r(31,"div",60)(32,"div",61)(33,"h5"),a(34),o()()()()()()),e&2){let t=c(2);l(8),f(t.JournalEntryImport().summary.new),l(10),f(t.JournalEntryImport().summary.updated),l(8),f(t.JournalEntryImport().summary.noChanges),l(8),f(t.JournalEntryImport().summary.error)}}function dn(e,p){if(e&1&&d(0,mn,35,4),e&2){let t=c();x(t.JournalEntryImport()?0:-1)}}function un(e,p){if(e&1){let t=S();r(0,"p-button",67),b("click",function(){h(t);let n=c();return y(n.summaryDialogVisible.set(!1))}),o(),r(1,"p-button",68),b("click",function(){h(t);let n=c();return y(n.onConfirmImport())}),o()}}var Zn=(()=>{class e{constructor(){this.service=T(pt),this.router=T(Qe),this.stepActiveIndex=j(1),this.JournalEntryImport=j(null),this.summaryDialogVisible=j(!1),this.uppyCore={restrictions:{allowedFileTypes:["text/csv","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]}},this.SAMPLE_URL="https://res.cloudinary.com/pos/raw/upload/POS/CSV/Journal_DealPOS.csv"}ngAfterViewInit(){console.log("Stepper instance:",this.stepperRef)}onFileUpload(t){console.log("File upload event:",t);let i=new FormData;Array.isArray(t.currentFiles)&&t.currentFiles.forEach(n=>{n instanceof File&&i.append("File",n,n.name)}),console.log("Form data prepared for upload:",i.get("File")),this.service.importPreviewJournal(i).pipe(te("Import Preview"),Ce(n=>({cacheKey:n.cacheKey})),Ie(n=>this.service.importConfirmJournal(n)),W(()=>{this.router.navigate(["/journal/journal-entry"])})).subscribe()}onNextStep(){if(this.stepActiveIndex()<3&&(this.stepActiveIndex.update(t=>t+1),this.stepActiveIndex()===3)){this.stepActiveIndex.update(()=>this.stepActiveIndex()-1),this.summaryDialogVisible.set(!0);return}}onPrevStep(){this.stepActiveIndex()>1&&this.stepActiveIndex.update(t=>t-1)}onFileUploaded(t){let i=new FormData;if("name"in t&&typeof t.name=="string")i.append("File",t,t.name),this.service.importPreviewJournal(i).pipe(te("Import Preview"),W(n=>{this.JournalEntryImport.set(n)})).subscribe();else return}getJournalEntryImportCount(){let t=this.JournalEntryImport();return t&&t.summary?.total!==void 0?t.summary.total:0}onConfirmImport(){if(this.JournalEntryImport()&&this.JournalEntryImport().canProceed){let t={cacheKey:this.JournalEntryImport().cacheKey};this.service.importConfirmJournal(t).pipe(te("Import Confirm"),W(()=>{this.router.navigate(["/journal/journal-entry"]),this.stepActiveIndex.update(i=>i+1),this.summaryDialogVisible.update(i=>!i)}),Se(i=>(console.error("Error occurred during import confirmation:",i),this.stepActiveIndex.update(n=>n+1),this.summaryDialogVisible.update(n=>!n),be(null)))).subscribe()}else{console.error("Cannot proceed with import, JournalEntryImport is not set or canProceed is false.");return}}onReset(){this.stepActiveIndex.set(1),this.JournalEntryImport.set(null)}handleKeyboardEvent(t){t.key==="F2"&&this.onConfirmImport()}get hasIssue(){let t=this.JournalEntryImport();return t&&Array.isArray(t.dataRow)?t.dataRow.some(i=>{let n=i.issues&&i.issues.length>0,m=i.items&&i.items.some(g=>g.issues&&g.issues.length>0);return n||m}):!1}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-journal-entry-import"]],viewQuery:function(i,n){if(i&1&&ke(Dt,5),i&2){let m;M(m=A())&&(n.stepperRef=m.first)}},hostBindings:function(i,n){i&1&&b("keydown",function(g){return n.handleKeyboardEvent(g)},!1,Te)},decls:14,vars:10,consts:[["actionButton",""],["content",""],["closeIconTemplate",""],["header",""],["footer",""],["stepper",""],["body",""],["expandedrow",""],["emptymessage",""],["pageTitle","Manual Journal Import"],["position","center","appendTo","body",3,"visibleChange","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["label","Back","severity","secondary","variant","outlined",3,"disabled","click",4,"ngIf"],["label","Next","severity","primary",3,"disabled","click",4,"ngIf"],["label","Finish","severity","primary",3,"click",4,"ngIf"],["label","Back","severity","secondary","variant","outlined",3,"click","disabled"],["label","Next","severity","primary",3,"click","disabled"],["label","Finish","severity","primary",3,"click"],[1,"row",3,"ngClass"],[1,"col-6",3,"ngClass"],[1,"basis-[50rem]",3,"linear","value"],[3,"value"],[1,"d-flex","gap-2","align-items-center"],[1,"fa-solid","fa-upload"],[1,"fa-solid","fa-file"],[1,"fa-solid","fa-check"],[3,"fileUploaded","uppyCoreConfiguration","sampleUrl"],[1,"fst-italic"],["href","#","target","_blank",1,"link","link-primary"],["dataKey","number",3,"value","tableStyle"],[2,"width","5rem"],["pSortableColumn","number"],["field","number"],["pSortableColumn","outlet"],["field","outlet"],["pSortableColumn","date"],["field","date"],["pSortableColumn","inventoryStatus"],["field","inventoryStatus"],["type","button","pRipple","",3,"pRowToggler","text","rounded","plain","icon"],[3,"ngClass"],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","flex-column"],["colspan","8"],[1,"p-4"],["dataKey","accountID",3,"value"],["pSortableColumn","accountCode"],["field","accountCode"],["pSortableColumn","accountName"],["field","accountName"],["pSortableColumn","note"],["field","note"],["pSortableColumn","debitAmount"],["field","debitAmount"],["pSortableColumn","creditAmount"],["field","creditAmount"],["colspan","6"],["severity","secondary","variant","outlined","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],[1,"d-flex","gap-2","align-items-baseline"],[1,"fs-4","text-white","m-0"],[1,"m-0","fs-3"],[1,"row"],[1,"col"],[1,"state-new"],[1,"fs-4","m-0"],[1,"state-updated"],[1,"state-unchanged"],[1,"state-error"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(i,n){if(i&1){let m=S();r(0,"app-main-panel",9),d(1,Qt,3,3,"ng-template",null,0,_)(3,rn,31,17,"ng-template",null,1,_),o(),r(5,"p-dialog",10),Ve("visibleChange",function(ne){return h(m),Je(n.summaryDialogVisible,ne)||(n.summaryDialogVisible=ne),y(ne)}),d(6,on,1,2,"ng-template",null,2,_)(8,an,5,1,"ng-template",null,3,_)(10,dn,1,1,"ng-template",null,1,_)(12,un,2,0,"ng-template",null,4,_),o()}if(i&2){let m=De(7);l(5),ie(H(8,Ft)),s("modal",!0),Fe("visible",n.summaryDialogVisible),s("breakpoints",H(9,Jt))("draggable",!1)("closeIconTemplate",m)("dismissableMask",!0)}},dependencies:[Ye,E,Ae,Re,je,Be,We,qe,at,et,Ze,ut,N,K,ye,q,w,lt,Ke,He,ot,tt,nt,rt,it,Xe,Ge],styles:[".p-datatable-thead>tr>th{background-color:transparent!important;color:#000!important} .p-stepper .p-steplist{max-width:50vw;margin:0 auto} .p-card{border-radius:4px} .p-card .p-card-header{display:flex;align-items:center;width:100%} .p-card .p-card-header .state-new{width:inherit;padding:.75rem;vertical-align:middle;background:repeating-linear-gradient(-60deg,#beeebb,#beeebb 15px,#afeba8 15px 30px)!important} .p-card .p-card-header .state-updated{width:inherit;padding:.75rem;background:repeating-linear-gradient(-60deg,#fcf3cf,#fcf3cf 15px,#f9e79f 15px 30px)!important} .p-card .p-card-header .state-unchanged{width:inherit;padding:.75rem;border-bottom:1px solid #dee2e6} .p-card .p-card-header .state-error{width:inherit;padding:.75rem;background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px 30px)!important} pos-uppy div div h4{font-size:16px} pos-uppy div div p{font-size:14px!important} pos-uppy div div hr{margin:0}.status-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#beeebb,#beeebb 15px,#afeba8 15px 30px)!important}.state-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px 30px)!important}"],changeDetection:0})}}return e})();export{Zn as JournalEntryImportComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as k}from"./chunk-VNHXLUHA.js";import{a as K}from"./chunk-GMLRRSMP.js";import{a as oe,b as ie}from"./chunk-56MVOUHH.js";import{h as re,m as le,n as me,o as ce}from"./chunk-UMYCPFK5.js";import"./chunk-X3FQFXUZ.js";import"./chunk-7TKATLB4.js";import"./chunk-ZKXT6RSI.js";import{c as W,d as X}from"./chunk-VF7TG32T.js";import{g as ae}from"./chunk-L6VKOTIV.js";import"./chunk-5OXHRN43.js";import{a as b,b as Y,c as Z,d as ee,e as te,f as ne}from"./chunk-AM66YD6C.js";import{E as Q,F as $}from"./chunk-FUGCJNGU.js";import"./chunk-BWS6U7BM.js";import"./chunk-VI3AV775.js";import"./chunk-F2X3VGZZ.js";import{f as G,k as L,l as O,m as q}from"./chunk-KQAMA66M.js";import{Cb as j,Ic as E,Jc as B,Kb as _,Kc as F,Lc as f,Nb as V,Ub as i,Vb as o,Wb as C,X as R,Xc as w,Z as P,_b as v,bb as M,c as T,cb as H,dc as A,ec as s,gb as p,ha as g,pa as x,pc as c,qa as h,qc as S,rc as U,s as y,tc as N,wb as I,xc as z,yc as D}from"./chunk-D5AXB5DE.js";import{a as r,b as m}from"./chunk-YQFG5XE2.js";var de={data:{data:[],totalCount:0},filter:{PageNumber:1,PageSize:20,Number:""}},J=Y(ne(de),Z(t=>({first:w(()=>(t.filter().PageNumber-1)*t.filter().PageSize+1),end:w(()=>Math.min(t.filter().PageNumber*t.filter().PageSize,t.data().totalCount)),hasCheckedRows:w(()=>t.data().data.some(d=>d.checked)),checkedAdjustment:w(()=>t.data().data.filter(d=>d.checked).map(d=>d.id))})),te(t=>{let d=g(k);return{updateFilter(a){b(t,n=>m(r({},n),{filter:r(r({},n.filter),a)}))},onRowSelect(a){b(t,n=>{let l=n.data.data.map(u=>u.id===a.id?m(r({},u),{checked:!0}):u);return m(r({},n),{data:m(r({},n.data),{data:l})})})},onRowUnselect(a){b(t,n=>{let l=n.data.data.map(u=>u.id===a.id?m(r({},u),{checked:!1}):u);return m(r({},n),{data:m(r({},n.data),{data:l})})})},onHeaderCheckboxToggle(a){b(t,n=>{let l=n.data.data.map(u=>m(r({},u),{checked:a}));return m(r({},n),{data:m(r({},n.data),{data:l})})})},getAdjustmentJournal:oe(T(R(a=>d.getAdjustmentJournal(a).pipe(y(n=>m(r({},n),{data:n.data.map(l=>m(r({},l),{checked:!1}))})),ie({next:n=>{b(t,l=>m(r({},l),{data:n}))},error:n=>{console.error("Error fetching customer invoice:",n)}})))))}}),ee(t=>({onInit:()=>{t.getAdjustmentJournal(t.filter)}})));var pe=()=>({height:"calc(100vh - 70px)"});function se(t,d){if(t&1){let e=v();i(0,"p-button",8),A("onClick",function(){x(e);let n=s(2);return h(n.generateAdjusmentJournal())}),o()}}function ue(t,d){if(t&1&&j(0,se,1,0,"p-button",7),t&2){let e=s();_("ngIf",e.store.hasCheckedRows())}}function _e(t,d){t&1&&(i(0,"tr")(1,"th",10),C(2,"p-tableHeaderCheckbox"),o(),i(3,"th"),c(4,"Outlet"),o(),i(5,"th"),c(6,"Number"),o(),i(7,"th"),c(8,"Date"),o(),i(9,"th"),c(10,"Adjustment Qty"),o(),i(11,"th"),c(12,"Type"),o(),i(13,"th"),c(14,"State"),o(),i(15,"th"),c(16,"Note"),o(),C(17,"th"),o())}function fe(t,d){if(t&1&&(i(0,"tr")(1,"td"),C(2,"p-tableCheckbox",11),o(),i(3,"td"),c(4),o(),i(5,"td")(6,"a",12),c(7),o()(),i(8,"td"),c(9),E(10,"date"),o(),i(11,"td"),c(12),E(13,"number"),o(),i(14,"td"),c(15),o(),i(16,"td"),c(17),o(),i(18,"td"),C(19,"div",13),o(),i(20,"td"),C(21,"p-button",14),o()()),t&2){let e=d.$implicit,a=s(2);p(2),_("value",e),p(2),S(e.outlet),p(2),_("href",a.authService.getTenantExternalURL()+"/menu/Adjustment/Adjustment/Archive/Info?ID="+e.id,H),p(),U(" ",e.number," "),p(2),S(F(10,12,e.date,"d MMM y")),p(3),S(B(13,15,e.quantitySUM)),p(3),S(e.type),p(2),S(e.state),p(2),_("innerHTML",e.note,M),p(2),_("icon",e.integrated?"fa-solid fa-circle-check":"fa-solid fa-circle-xmark")("severity",e.integrated?"success":"danger")("text",!0)}}function ge(t,d){if(t&1&&c(0),t&2){let e=s(2);N(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.data().totalCount," entries ")}}function xe(t,d){t&1&&(i(0,"tr")(1,"td",15)(2,"span"),c(3,"No records found."),o()()())}function he(t,d){if(t&1){let e=v();i(0,"p-panel")(1,"p-table",9),A("onRowSelect",function(n){x(e);let l=s();return h(l.onRowSelect(n))})("onRowUnselect",function(n){x(e);let l=s();return h(l.onRowUnselect(n))})("onHeaderCheckboxToggle",function(n){x(e);let l=s();return h(l.onHeaderCheckboxToggle(n))})("onPage",function(n){x(e);let l=s();return h(l.onPageChange(n))}),j(2,_e,18,0,"ng-template",null,2,f)(4,fe,22,17,"ng-template",null,3,f)(6,ge,1,3,"ng-template",null,4,f)(8,xe,4,0,"ng-template",null,5,f),o()()}if(t&2){let e=s();V(D(9,pe)),p(),_("value",e.store.data().data)("scrollable",!0)("scrollHeight","calc(100vh - 142px)")("paginator",!0)("rows",e.store.filter().PageSize)("totalRecords",e.store.data().totalCount)("lazy",!0)}}var Le=(()=>{class t{constructor(){this.store=g(J),this.generateJournalService=g(k),this.authService=g(K)}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(a=>{this.store.onRowUnselect(a)});return}else this.store.onRowUnselect(e.data)}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}onPageChange(e){let a=e.first/e.rows;this.store.updateFilter(m(r({},this.store.filter()),{PageNumber:a+1}))}generateAdjusmentJournal(){this.generateJournalService.createAdjustmentJournal(this.store.checkedAdjustment()).pipe(P(()=>this.store.getAdjustmentJournal(this.store.filter))).subscribe()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=I({type:t,selectors:[["app-adjustment-journal"]],features:[z([J])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Adjustment"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onRowSelect","onRowUnselect","onHeaderCheckboxToggle","onPage","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"],["target","_blank",1,"link","link-primary",3,"href"],[3,"innerHTML"],[3,"icon","severity","text"],["colspan","8"]],template:function(a,n){a&1&&(i(0,"app-main-panel",6),j(1,ue,1,1,"ng-template",null,0,f)(3,he,10,10,"ng-template",null,1,f),o())},dependencies:[ae,ce,re,le,me,q,G,O,L,X,W,$,Q],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{Le as AdjustmentJournalComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as E}from"./chunk-VNHXLUHA.js";import{b as ce}from"./chunk-YQRWSN5V.js";import{a as K}from"./chunk-GMLRRSMP.js";import{a as oe,b as ae}from"./chunk-56MVOUHH.js";import{h as ie,m as re,n as le,o as pe}from"./chunk-UMYCPFK5.js";import"./chunk-X3FQFXUZ.js";import"./chunk-7TKATLB4.js";import"./chunk-ZKXT6RSI.js";import{c as Q,d as W}from"./chunk-VF7TG32T.js";import{g as ne}from"./chunk-L6VKOTIV.js";import"./chunk-5OXHRN43.js";import{a as w,b as X,c as Y,d as Z,e as ee,f as te}from"./chunk-AM66YD6C.js";import{E as $,F as q}from"./chunk-FUGCJNGU.js";import"./chunk-BWS6U7BM.js";import"./chunk-VI3AV775.js";import"./chunk-F2X3VGZZ.js";import{f as G,k as L,m as O}from"./chunk-KQAMA66M.js";import{Cb as k,Ic as J,Kb as g,Kc as T,Lc as x,Nb as U,Ub as a,Vb as o,Wb as S,X as H,Xc as v,Z as I,_b as R,bb as V,c as P,cb as D,dc as y,ec as u,gb as d,ha as f,pa as h,pc as p,qa as C,qc as b,rc as z,s as M,tc as B,wb as N,xc as j,yc as F}from"./chunk-D5AXB5DE.js";import{a as r,b as l}from"./chunk-YQFG5XE2.js";var me={data:{data:[],totalCount:0},filter:{PageNumber:1,PageSize:20,Number:""}},A=X(te(me),Y(t=>({first:v(()=>(t.filter().PageNumber-1)*t.filter().PageSize+1),end:v(()=>Math.min(t.filter().PageNumber*t.filter().PageSize,t.data().totalCount)),hasCheckedRows:v(()=>t.data().data.some(c=>c.checked)),checkedAPCollection:v(()=>t.data().data.filter(c=>c.checked).map(c=>c.id))})),ee(t=>{let c=f(E),e=f(ce);return{updateFilter(i){w(t,n=>l(r({},n),{filter:r(r({},n.filter),i)}))},onRowSelect(i){w(t,n=>{let s=n.data.data.map(_=>_.id===i.id?l(r({},_),{checked:!0}):_);return l(r({},n),{data:l(r({},n.data),{data:s})})})},onRowUnselect(i){w(t,n=>{let s=n.data.data.map(_=>_.id===i.id?l(r({},_),{checked:!1}):_);return l(r({},n),{data:l(r({},n.data),{data:s})})})},onHeaderCheckboxToggle(i){w(t,n=>{let s=n.data.data.map(_=>l(r({},_),{checked:i}));return l(r({},n),{data:l(r({},n.data),{data:s})})})},getARCollection:oe(P(H(i=>c.getAPJournal(i).pipe(M(n=>l(r({},n),{data:n.data.map(s=>l(r({},s),{due:e.from(s.due)?e.from(s.due).format():null,checked:!1}))})),ae({next:n=>{w(t,s=>l(r({},s),{data:n}))},error:n=>{console.error("Error fetching customer invoice:",n)}})))))}}),Z(t=>({onInit:()=>{t.getARCollection(t.filter)}})));var de=()=>({height:"calc(100vh - 70px)"});function se(t,c){if(t&1){let e=R();a(0,"p-button",8),y("onClick",function(){h(e);let i=u(2);return C(i.onCreateJournal())}),o()}}function ue(t,c){if(t&1&&k(0,se,1,0,"p-button",7),t&2){let e=u();g("ngIf",e.store.hasCheckedRows())}}function _e(t,c){t&1&&(a(0,"tr")(1,"th",10),S(2,"p-tableHeaderCheckbox"),o(),a(3,"th"),p(4,"Outlet"),o(),a(5,"th"),p(6,"Number"),o(),a(7,"th"),p(8,"Supplier"),o(),a(9,"th"),p(10,"Date"),o(),a(11,"th"),p(12,"Due"),o(),a(13,"th"),p(14,"Note"),o(),a(15,"th"),p(16,"Payment"),o(),S(17,"th"),o())}function fe(t,c){if(t&1&&(a(0,"tr")(1,"td"),S(2,"p-tableCheckbox",11),o(),a(3,"td"),p(4),o(),a(5,"td")(6,"a",12),p(7),o()(),a(8,"td"),p(9),o(),a(10,"td"),p(11),J(12,"date"),o(),a(13,"td"),p(14),J(15,"date"),o(),a(16,"td"),S(17,"div",13),o(),a(18,"td"),p(19),o(),a(20,"td"),S(21,"p-button",14),o()()),t&2){let e=c.$implicit,m=u(2);d(2),g("value",e),d(2),b(e.outlet),d(2),g("href",m.authService.getTenantExternalURL()+"/menu/Debt/Debt/Join_Bill/New_Join_Bill/Info?ID="+e.id,D),d(),z(" ",e.number," "),d(2),b(e.customer),d(2),b(T(12,12,e.date,"d MMM y")),d(3),b(e.due?T(15,15,e.due,"d MMM y hh:mm"):"-"),d(3),g("innerHTML",e.note,V),d(2),b(e.payment),d(2),g("icon",e.integrated?"fa-solid fa-circle-check":"fa-solid fa-circle-xmark")("severity",e.integrated?"success":"danger")("text",!0)}}function ge(t,c){if(t&1&&p(0),t&2){let e=u(2);B(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.data().totalCount," entries ")}}function xe(t,c){t&1&&(a(0,"tr")(1,"td",15)(2,"span"),p(3,"No records found."),o()()())}function he(t,c){if(t&1){let e=R();a(0,"p-panel")(1,"p-table",9),y("onPage",function(i){h(e);let n=u();return C(n.onPageChange(i))})("onHeaderCheckboxToggle",function(i){h(e);let n=u();return C(n.onHeaderCheckboxToggle(i))})("onRowSelect",function(i){h(e);let n=u();return C(n.onRowSelect(i))})("onRowUnselect",function(i){h(e);let n=u();return C(n.onRowUnselect(i))}),k(2,_e,18,0,"ng-template",null,2,x)(4,fe,22,18,"ng-template",null,3,x)(6,ge,1,3,"ng-template",null,4,x)(8,xe,4,0,"ng-template",null,5,x),o()()}if(t&2){let e=u();U(F(9,de)),d(),g("value",e.store.data().data)("scrollable",!0)("scrollHeight","calc(100vh - 142px)")("paginator",!0)("rows",e.store.filter().PageSize)("totalRecords",e.store.data().totalCount)("lazy",!0)}}var Oe=(()=>{class t{constructor(){this.store=f(A),this.generateJournalService=f(E),this.authService=f(K)}onPageChange(e){let m=e.first/e.rows;this.store.updateFilter(l(r({},this.store.filter()),{PageNumber:m+1}))}onHeaderCheckboxToggle(e){this.store.onHeaderCheckboxToggle(e.checked)}onRowSelect(e){this.store.onRowSelect(e.data)}onRowUnselect(e){if(Array.isArray(e.data)){e.data.forEach(m=>{this.store.onRowUnselect(m)});return}else this.store.onRowUnselect(e.data)}onCreateJournal(){this.generateJournalService.createAPJournal(this.store.checkedAPCollection()).pipe(I(()=>{this.store.getARCollection(this.store.filter)})).subscribe()}static{this.\u0275fac=function(m){return new(m||t)}}static{this.\u0275cmp=N({type:t,selectors:[["app-ap-journal"]],features:[j([A])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","AP Collection"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onPage","onHeaderCheckboxToggle","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"],["target","_blank",1,"link","link-primary",3,"href"],[3,"innerHTML"],[3,"icon","severity","text"],["colspan","8"]],template:function(m,i){m&1&&(a(0,"app-main-panel",6),k(1,ue,1,1,"ng-template",null,0,x)(3,he,10,10,"ng-template",null,1,x),o())},dependencies:[ne,pe,ie,re,le,O,G,L,q,$,W,Q],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{Oe as ApJournalComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as O,b as N}from"./chunk-AH5PA2TO.js";import{a as j,b as A}from"./chunk-JQ4DHNFQ.js";import{c as F,d as V}from"./chunk-VF7TG32T.js";import"./chunk-F7TF7ASR.js";import{g as D}from"./chunk-L6VKOTIV.js";import{c as R}from"./chunk-5OXHRN43.js";import"./chunk-AM66YD6C.js";import"./chunk-FUGCJNGU.js";import"./chunk-BWS6U7BM.js";import{a as I}from"./chunk-VI3AV775.js";import"./chunk-F2X3VGZZ.js";import{i as $,m as E}from"./chunk-KQAMA66M.js";import{Cb as b,Ic as g,Jc as d,Kb as a,Lc as h,Nb as c,Ub as n,V as _,Vb as o,Wb as p,X as v,Z as C,_b as k,dc as w,ec as f,gb as r,h as x,ha as s,pa as T,pc as W,qa as M,ra as S,s as m,sa as y,wb as P,xc as B,yc as u}from"./chunk-D5AXB5DE.js";import"./chunk-YQFG5XE2.js";var G=()=>({height:"calc(100vh - 100px)"});function L(i,H){if(i&1){let e=k();n(0,"div",3)(1,"button",4),w("click",function(){T(e);let l=f();return M(l.migrateWriteoffOutlet())}),W(2," Migrate Write Off Outlet "),o()()}}function q(i,H){if(i&1&&(n(0,"p-scroll-panel")(1,"p-panel")(2,"div",5),p(3,"app-migration-cards",6),g(4,"async"),S(),n(5,"svg",7),p(6,"path",8),o(),y(),p(7,"app-migration-cards",9),g(8,"async"),o()()()),i&2){let e=f();c(u(12,G)),r(),c(u(13,G)),r(2),a("migrationCount",d(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),r(4),a("migrationCount",d(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var pe=(()=>{class i{constructor(){this.migrateService=s(O),this.toastr=s(I),this.refresh$=new x(void 0),this.pageTitle="Write-Off Outlet"}ngOnInit(){let e=this.refresh$.pipe(v(()=>this.migrateService.getWriteOffOutletAccountCount()),C(t=>console.log("API response:",t)),_(1));this.countInPOS$=e.pipe(m(t=>Number(t.pos))),this.countInBooks$=e.pipe(m(t=>Number(t.books)))}migrateWriteoffOutlet(){this.migrateService.migrateWriteOffOutlet().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["app-writeoff-outlet"]],features:[B([O])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],[1,"btn","btn-success",3,"click"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(t,l){t&1&&(n(0,"app-main-panel",2),b(1,L,3,0,"ng-template",null,0,h)(3,q,9,14,"ng-template",null,1,h),o()),t&2&&a("pageTitle",l.pageTitle)},dependencies:[D,E,$,A,j,V,F,R,N],encapsulation:2})}}return i})();export{pe as WriteOffOutletComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v,b as L}from"./chunk-AH5PA2TO.js";import{a as I,b as E}from"./chunk-JQ4DHNFQ.js";import{c as R,d as D}from"./chunk-VF7TG32T.js";import"./chunk-F7TF7ASR.js";import{g as H}from"./chunk-L6VKOTIV.js";import{b as N,c as G}from"./chunk-5OXHRN43.js";import"./chunk-AM66YD6C.js";import{E as V,F as j}from"./chunk-FUGCJNGU.js";import"./chunk-BWS6U7BM.js";import{a as F}from"./chunk-VI3AV775.js";import"./chunk-F2X3VGZZ.js";import{i as w,m as $}from"./chunk-KQAMA66M.js";import{Cb as B,Ic as s,Jc as l,Kb as p,Lc as x,Nb as C,Ub as o,V as M,Vb as n,Wb as m,X as y,Z as S,_b as P,dc as h,ec as c,gb as a,h as T,ha as f,pa as g,qa as d,ra as b,s as u,sa as k,wb as A,xc as O,yc as _}from"./chunk-D5AXB5DE.js";import"./chunk-YQFG5XE2.js";var q=()=>({height:"calc(100vh - 100px)"});function J(i,z){if(i&1){let t=P();o(0,"div",3)(1,"p-button",4),h("onClick",function(){g(t);let r=c();return d(r.onFormatCOA())}),n(),o(2,"p-button",5),s(3,"async"),s(4,"async"),h("onClick",function(){g(t);let r=c();return d(r.onMigrateCoaAccount())}),n()()}if(i&2){let t=c();a(2),p("disabled",l(3,2,t.countInBooks$)!==0)("pTooltip",l(4,4,t.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function K(i,z){if(i&1&&(o(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),m(3,"app-migration-cards",7),s(4,"async"),b(),o(5,"svg",8),m(6,"path",9),n(),k(),m(7,"app-migration-cards",10),s(8,"async"),n()()()),i&2){let t=c();C(_(12,q)),a(),C(_(13,q)),a(2),p("migrationCount",l(4,8,t.countInPOS$))("migrationTitle",t.pageTitle),a(4),p("migrationCount",l(8,10,t.countInBooks$))("migrationTitle",t.pageTitle)}}var gt=(()=>{class i{constructor(){this.migrateService=f(v),this.toastr=f(F),this.refresh$=new T(void 0),this.pageTitle="Chart of Account"}ngOnInit(){let t=this.refresh$.pipe(y(()=>this.migrateService.getCOACount()),S(e=>console.log("API response:",e)),M(1));this.countInPOS$=t.pipe(u(e=>Number(e.pos))),this.countInBooks$=t.pipe(u(e=>Number(e.books)))}onMigrateCoaAccount(){this.migrateService.migrateCoaAccount().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Migration Successful")})}onFormatCOA(){this.migrateService.formatManualCOA().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Format Successful")})}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=A({type:i,selectors:[["app-chart-of-account"]],features:[O([v])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],["label","Format","severity","danger",3,"onClick"],["label","Migrate","tooltipPosition","left",3,"onClick","disabled","pTooltip"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(e,r){e&1&&(o(0,"app-main-panel",2),B(1,J,5,6,"ng-template",null,0,x)(3,K,9,14,"ng-template",null,1,x),n()),e&2&&p("pageTitle",r.pageTitle)},dependencies:[H,$,w,L,j,V,E,I,D,R,G,N],encapsulation:2})}}return i})();export{gt as ChartOfAccountComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{i as y}from"./chunk-FUGCJNGU.js";import{Va as $,d as b,j as m}from"./chunk-BWS6U7BM.js";import{Ab as g,Mb as h,Uc as o,ba as l,ca as s,dc as x,ha as d,mb as r,ta as u,xb as p,xc as v,yb as f,za as c}from"./chunk-D5AXB5DE.js";var M=({dt:e})=>`
|
|
2
2
|
.p-textarea {
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
font-feature-settings: inherit;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ee}from"./chunk-
|
|
1
|
+
import{a as ee}from"./chunk-4FK4QI2U.js";import{i as Z}from"./chunk-FUGCJNGU.js";import{Ma as W,Na as y,Oa as X,Va as Y}from"./chunk-BWS6U7BM.js";import{c as H,f as U,h as G,m as J}from"./chunk-KQAMA66M.js";import{Ab as F,Cb as m,Jb as _,Kb as c,Lb as j,Lc as L,Nb as z,Ob as f,Ub as h,Uc as q,Vb as g,Wb as A,Xb as x,Yb as I,_b as u,ba as $,ca as E,cb as P,dc as d,ec as r,fc as O,gb as p,gc as R,ha as V,ic as w,kc as T,lc as k,oa as M,oc as B,pa as s,pc as N,qa as l,qc as Q,ta as C,wb as S,xb as D,xc as K,za as b}from"./chunk-D5AXB5DE.js";var ne=["removeicon"],te=["*"];function oe(e,a){if(e&1){let i=u();h(0,"img",4),d("error",function(t){s(i);let o=r();return l(o.imageError(t))}),g()}if(e&2){let i=r();c("src",i.image,P)("alt",i.alt)}}function re(e,a){if(e&1&&A(0,"span",6),e&2){let i=r(2);f(i.icon),c("ngClass","p-chip-icon"),_("data-pc-section","icon")}}function ce(e,a){if(e&1&&m(0,re,1,4,"span",5),e&2){let i=r();c("ngIf",i.icon)}}function ae(e,a){if(e&1&&(h(0,"div",7),N(1),g()),e&2){let i=r();_("data-pc-section","label"),p(),Q(i.label)}}function pe(e,a){if(e&1){let i=u();h(0,"span",11),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f(i.removeIcon),c("ngClass","p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function se(e,a){if(e&1){let i=u();h(0,"TimesCircleIcon",12),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f("p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function le(e,a){if(e&1&&(x(0),m(1,pe,1,5,"span",9)(2,se,1,4,"TimesCircleIcon",10),I()),e&2){let i=r(2);p(),c("ngIf",i.removeIcon),p(),c("ngIf",!i.removeIcon)}}function me(e,a){}function _e(e,a){e&1&&m(0,me,0,0,"ng-template")}function he(e,a){if(e&1){let i=u();h(0,"span",13),d("click",function(t){s(i);let o=r(2);return l(o.close(t))})("keydown",function(t){s(i);let o=r(2);return l(o.onKeydown(t))}),m(1,_e,1,0,null,14),g()}if(e&2){let i=r(2);_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel),p(),c("ngTemplateOutlet",i.removeIconTemplate||i._removeIconTemplate)}}function ge(e,a){if(e&1&&(x(0),m(1,le,3,2,"ng-container",3)(2,he,2,3,"span",8),I()),e&2){let i=r();p(),c("ngIf",!i.removeIconTemplate&&!i._removeIconTemplate),p(),c("ngIf",i.removeIconTemplate||i._removeIconTemplate)}}var fe=({dt:e})=>`
|
|
2
2
|
.p-chip {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-YQFG5XE2.js";var n=[{path:"",children:[{path:"404",loadComponent:()=>import("./chunk-HDO45X7Q.js").then(o=>o.NotfoundComponent)},{path:"lock",loadComponent:()=>import("./chunk-UZCNPNT7.js").then(o=>o.LockComponent)},{path:"login",loadComponent:()=>import("./chunk-7PDAUPWN.js").then(o=>o.LoginComponent)},{path:"login2",loadComponent:()=>import("./chunk-6J5S4UPN.js").then(o=>o.Login2Component)},{path:"signup",loadComponent:()=>import("./chunk-B4COOFJS.js").then(o=>o.SignupComponent)},{path:"signup2",loadComponent:()=>import("./chunk-W6UD5NO5.js").then(o=>o.Signup2Component)},{path:"504",loadComponent:()=>import("./chunk-T2A6NORZ.js").then(o=>o.TimeoutComponent)}]}];export{n as AuthenticationRoutes};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as M,b as H}from"./chunk-AH5PA2TO.js";import{a as I,b as V}from"./chunk-JQ4DHNFQ.js";import{c as R,d as D}from"./chunk-VF7TG32T.js";import"./chunk-F7TF7ASR.js";import{g as G}from"./chunk-L6VKOTIV.js";import{c as N}from"./chunk-5OXHRN43.js";import"./chunk-AM66YD6C.js";import{F as j}from"./chunk-FUGCJNGU.js";import"./chunk-BWS6U7BM.js";import{a as O}from"./chunk-VI3AV775.js";import"./chunk-F2X3VGZZ.js";import{i as F,m as E}from"./chunk-KQAMA66M.js";import{Cb as B,Ic as _,Jc as x,Kb as p,Lc as v,Nb as f,Ub as n,V as T,Vb as o,Wb as m,X as b,Z as k,_b as $,dc as C,ec as s,gb as a,h as S,ha as l,pa as u,pc as d,qa as g,ra as y,s as c,sa as w,wb as P,xc as A,yc as h}from"./chunk-D5AXB5DE.js";import"./chunk-YQFG5XE2.js";var L=()=>({height:"calc(100vh - 100px)"});function z(i,q){if(i&1){let e=$();n(0,"div",3)(1,"button",4),C("click",function(){u(e);let r=s();return g(r.onFormatCOAConfig())}),d(2," Format "),o(),n(3,"button",5),C("click",function(){u(e);let r=s();return g(r.onMigrateCoaConfig())}),d(4," Migrate "),o()()}}function J(i,q){if(i&1&&(n(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),m(3,"app-migration-cards",7),_(4,"async"),y(),n(5,"svg",8),m(6,"path",9),o(),w(),m(7,"app-migration-cards",10),_(8,"async"),o()()()),i&2){let e=s();f(h(12,L)),a(),f(h(13,L)),a(2),p("migrationCount",x(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),a(4),p("migrationCount",x(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var le=(()=>{class i{constructor(){this.migrateService=l(M),this.toastr=l(O),this.refresh$=new S(void 0),this.pageTitle="Chart of Account Configuration"}ngOnInit(){let e=this.refresh$.pipe(b(()=>this.migrateService.getCOAConfigurationCount()),k(t=>console.log("API response:",t)),T(1));this.countInPOS$=e.pipe(c(t=>Number(t.pos))),this.countInBooks$=e.pipe(c(t=>Number(t.books)))}onMigrateCoaConfig(){this.migrateService.migrateCoaConfig().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}onFormatCOAConfig(){this.migrateService.formatManualCOAConfig().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["app-coa-configuration"]],features:[A([M])],decls:5,vars:1,consts:[["actionButton",""],["content",""],[3,"pageTitle"],[1,"d-flex","gap-2"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-success",3,"click"],[1,"flex","gap-30","flex-wrap",2,"display","flex","justify-content","center","align-items","center","gap","1rem","margin-top","40px"],["migrationPlace","Accounting",3,"migrationCount","migrationTitle"],["width","40","height","40","viewBox","0 0 24 24","fill","none"],["d","M8 5l8 7-8 7","stroke","#007bff","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["migrationPlace","Books",3,"migrationCount","migrationTitle"]],template:function(t,r){t&1&&(n(0,"app-main-panel",2),B(1,z,5,0,"ng-template",null,0,v)(3,J,9,14,"ng-template",null,1,v),o()),t&2&&p("pageTitle",r.pageTitle)},dependencies:[G,E,F,j,V,I,D,R,N,H],encapsulation:2})}}return i})();export{le as CoaConfigurationComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Wb as n,wb as o}from"./chunk-D5AXB5DE.js";import"./chunk-YQFG5XE2.js";var c=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-timeout"]],decls:1,vars:0,consts:[["src","assets/images/background/timeout.svg","alt","timeout"]],template:function(e,s){e&1&&n(0,"img",0)},styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{height:100vh;width:100%}"],changeDetection:0})}}return t})();export{c as TimeoutComponent};
|