dealposbooks 1.0.9 → 1.1.0
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 +30 -30
- package/assets/scss/layouts/_customizer.scss +11 -6
- package/assets/scss/layouts/_sidebar.scss +15 -12
- package/assets/scss/style.scss +4 -0
- package/assets/scss/variables/_variables.scss +5 -12
- package/{chunk-LCATVZKP.js → chunk-223MMYH7.js} +1 -1
- package/chunk-33KLXB2L.js +180 -0
- package/{chunk-C66O26ZI.js → chunk-4Y3NYY52.js} +1 -1
- package/{chunk-MNPBLC23.js → chunk-5GQEUX4M.js} +1 -1
- package/{chunk-GCTIPWTU.js → chunk-5RRUIJ5U.js} +1 -1
- package/{chunk-25PFXJAK.js → chunk-6BFODHTZ.js} +1 -1
- package/chunk-AXJA6OO7.js +246 -0
- package/{chunk-G52TDPSD.js → chunk-AYVR3RIS.js} +1 -1
- package/{chunk-WTRMIJHX.js → chunk-B6N6C3RA.js} +1 -1
- package/{chunk-ZNN2E36Y.js → chunk-CINZRZMB.js} +1 -1
- package/{chunk-3GWDCNXX.js → chunk-DBRLQ7BX.js} +1 -1
- package/{chunk-JFAO2CIB.js → chunk-DJ5UHXOJ.js} +1 -1
- package/{chunk-EP22HTZC.js → chunk-DUOJKP2G.js} +1 -1
- package/{chunk-UC2RR4WT.js → chunk-E4ZVZRLO.js} +3 -3
- package/chunk-EBOJJWD5.js +1 -0
- package/{chunk-PG4QL7N2.js → chunk-EMVZ65TI.js} +1 -1
- package/{chunk-T7R7C3RX.js → chunk-ENPYMVZG.js} +1 -1
- package/chunk-EOLHIQHQ.js +1 -0
- package/chunk-EQDQRRRY.js +1 -0
- package/chunk-ERX7ND7E.js +1 -0
- package/chunk-FKTEL4CU.js +524 -0
- package/chunk-FOUHOMEE.js +301 -0
- package/{chunk-HG23WDL5.js → chunk-H4HFCRFZ.js} +2 -2
- package/chunk-HBVENULS.js +1 -0
- package/chunk-J53TOHZH.js +1 -0
- package/chunk-JC7YOUAM.js +1 -0
- package/{chunk-TJSPXPO6.js → chunk-JR4EQTPJ.js} +1 -1
- package/{chunk-I4HDCL3W.js → chunk-JSAAKZBO.js} +1 -1
- package/{chunk-RJYIKNTI.js → chunk-KZ2KGWUY.js} +1 -1
- package/chunk-LON3T466.js +1 -0
- package/chunk-LYEN4UBW.js +1 -0
- package/chunk-MG3SLH6O.js +1 -0
- package/chunk-NQ3CKBYP.js +1 -0
- package/{chunk-ATVC2UCR.js → chunk-NS7JH3QF.js} +1 -1
- package/{chunk-O7OAT4UO.js → chunk-O65HPMSJ.js} +1 -1
- package/{chunk-NQ24E7JY.js → chunk-OCLABZZW.js} +1 -1
- package/chunk-OH2CJBFF.js +1 -0
- package/{chunk-GMTXOQ6X.js → chunk-OSV7AMB2.js} +1 -1
- package/{chunk-PNAWRNGD.js → chunk-OWI3BWEZ.js} +1 -1
- package/chunk-OYYYX3IP.js +1 -0
- package/{chunk-I7MT7OUB.js → chunk-PNQSQQIT.js} +1 -1
- package/{chunk-JXNLXEJT.js → chunk-Q5PJ63MA.js} +1 -1
- package/{chunk-4ANSU2AT.js → chunk-R2KG54OT.js} +1 -1
- package/{chunk-NTDTN5DF.js → chunk-REHXXPZY.js} +1 -1
- package/{chunk-JT2WCR5Q.js → chunk-RIALPB2D.js} +1 -1
- package/{chunk-AWY6AD76.js → chunk-RJYO2KKV.js} +1 -1
- package/{chunk-FVXLQNAC.js → chunk-ROKYJX6Q.js} +1 -1
- package/{chunk-GRTIJ77T.js → chunk-RUGQ4OJG.js} +1 -1
- package/{chunk-SQKLMC5H.js → chunk-RUP2SWYB.js} +1 -1
- package/chunk-RUVT4SCE.js +1 -0
- package/{chunk-52HZNWBM.js → chunk-SS3CMCAX.js} +1 -1
- package/{chunk-AOB6BRGQ.js → chunk-TMY4NWZ6.js} +1 -1
- package/chunk-TOJAZ32N.js +1 -0
- package/{chunk-2RWUYFYR.js → chunk-TUL6Y2HH.js} +1 -1
- package/{chunk-AH4LZWJY.js → chunk-UGKSIDKE.js} +1 -1
- package/{chunk-Z4SGDPGH.js → chunk-UTL7D6E7.js} +1 -1
- package/{chunk-2ODJIB2A.js → chunk-V7Y6Z4AQ.js} +2 -2
- package/chunk-VY4Z33EE.js +7 -0
- package/{chunk-RSHFIZV3.js → chunk-VYKJK5YU.js} +4 -4
- package/{chunk-UVBFYB2X.js → chunk-WG7APCJU.js} +1 -1
- package/{chunk-E6QGADC5.js → chunk-X2NM4CIV.js} +1 -1
- package/chunk-XWVLTTMV.js +1 -0
- package/{chunk-FJ7O4K2Y.js → chunk-Y6MJGNH2.js} +1 -1
- package/{chunk-QJ2XA575.js → chunk-YKYI4A3V.js} +1 -1
- package/chunk-ZL4DDXH7.js +348 -0
- package/{chunk-E6EWXQXJ.js → chunk-ZU7I7MCL.js} +1 -1
- package/{chunk-KFHCGO62.js → chunk-ZZPBK2XT.js} +1 -1
- package/index.html +6 -3
- package/{main-F2OQVLJM.js → main-MCP7AVEU.js} +1 -1
- package/package.json +1 -1
- package/styles-IAH7RNKW.css +1 -0
- package/chunk-63UNI6LK.js +0 -256
- package/chunk-7LG2CFYI.js +0 -1
- package/chunk-AKBPKNCH.js +0 -1
- package/chunk-B4JAAGJX.js +0 -1
- package/chunk-BGKS3L73.js +0 -246
- package/chunk-C6Q5SG76.js +0 -1
- package/chunk-DOKYUX3G.js +0 -1
- package/chunk-EN5MVYJQ.js +0 -180
- package/chunk-ISXV3FIH.js +0 -1
- package/chunk-JQNCWTZN.js +0 -1
- package/chunk-K36WQVFR.js +0 -1
- package/chunk-LJMMN36O.js +0 -1
- package/chunk-OHVHLILJ.js +0 -1
- package/chunk-OJWZH7AB.js +0 -301
- package/chunk-RR5AUWZO.js +0 -1
- package/chunk-T3ZCO6EC.js +0 -1
- package/chunk-TNXHYK2R.js +0 -7
- package/chunk-TTG6XQNP.js +0 -1
- package/chunk-UOFRXQI7.js +0 -1
- package/chunk-WCQQSWYQ.js +0 -616
- package/styles-GUJHQHWA.css +0 -1
package/chunk-EN5MVYJQ.js
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import{a as dt,f as ge,g as bt,h as Ct,i as yt}from"./chunk-Z4SGDPGH.js";import{h as ht}from"./chunk-FJ7O4K2Y.js";import{a as Je,b as Ge,i as me,j as pt,n as Me,o as _e,q as ct,r as mt,s as _t,t as gt,u as ft,v as ut}from"./chunk-PNAWRNGD.js";import{A as ke,B as ze,G as De,Ga as lt,Ha as ce,I as tt,Ia as st,K as it,O as Fe,Pa as rt,R as nt,W as ot,Y as de,b as Ye,e as Ze,i as $e,ja as at,t as qe,w as Y,x as re,y as Ee,ya as P,z as pe}from"./chunk-FVXLQNAC.js";import{c as et,d as xe,f as ve,h as we,i as Te,k as Ie}from"./chunk-S35HUXPS.js";import{m as Ke}from"./chunk-25PFXJAK.js";import{d as je,k as Ne,n as ae,o as Xe,p as le,t as se,v as X}from"./chunk-GRTIJ77T.js";import{Aa as Pe,Ab as K,Bb as m,Ca as q,Da as L,Ha as Le,Ic as N,Jb as w,Kb as o,La as He,Nb as A,Ob as S,Pb as R,Rc as h,Sc as oe,Ub as p,Vb as d,Vc as We,Wb as y,Xb as H,Yb as O,Zb as T,_b as x,ca as Ue,da as he,dc as u,ec as r,fc as J,gb as l,gc as Q,hc as v,ia as I,ic as G,jc as b,kc as C,lc as Be,mc as W,nc as Ae,oc as Ce,pa as Ve,qa as _,ra as g,rc as ee,sa as $,sc as te,ta as E,tc as ie,ub as F,uc as ne,vb as be,vc as j,wb as Oe,wc as ye,xc as Re,yb as M,yc as Qe,za as D}from"./chunk-RSHFIZV3.js";import{a as ue}from"./chunk-C6Q5SG76.js";var xt=(()=>{class t extends _e{pathId;ngOnInit(){this.pathId="url(#"+P()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(t)))(i||t)}})();static \u0275cmp=F({type:t,selectors:[["WindowMaximizeIcon"]],features:[M],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&&($(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(S(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var vt=(()=>{class t extends _e{pathId;ngOnInit(){this.pathId="url(#"+P()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(t)))(i||t)}})();static \u0275cmp=F({type:t,selectors:[["WindowMinimizeIcon"]],features:[M],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&&($(),p(0,"svg",0)(1,"g"),y(2,"path",1),d(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),d()()()),n&2&&(S(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var wt=(()=>{class t extends me{pFocusTrapDisabled=!1;platformId=I(He);document=I(je);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),X(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&X(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=>it("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)?nt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Fe(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?ot(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Fe(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(t)))(i||t)}})();static \u0275dir=Oe({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",h]},features:[K,M,Ve]})}return t})();var Dt=["header"],Tt=["content"],It=["footer"],Ft=["closeicon"],Mt=["maximizeicon"],St=["minimizeicon"],Ut=["headless"],Vt=["titlebar"],Pt=["*",[["p-footer"]]],Lt=["*","p-footer"],Ht=(t,s,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":s,"pointer-events":e}),Ot=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),Bt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),At=(t,s)=>({transform:t,transition:s}),Rt=t=>({value:"visible",params:t});function Qt(t,s){t&1&&T(0)}function Wt(t,s){if(t&1&&(H(0),m(1,Qt,1,0,"ng-container",11),O()),t&2){let e=r(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function jt(t,s){if(t&1){let e=x();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 Nt(t,s){if(t&1&&(p(0,"span",21),W(1),d()),t&2){let e=r(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),Ae(e.header)}}function Xt(t,s){t&1&&T(0)}function Yt(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function Zt(t,s){t&1&&y(0,"WindowMaximizeIcon")}function $t(t,s){t&1&&y(0,"WindowMinimizeIcon")}function qt(t,s){if(t&1&&(H(0),m(1,Zt,1,0,"WindowMaximizeIcon",23)(2,$t,1,0,"WindowMinimizeIcon",23),O()),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 Kt(t,s){}function Jt(t,s){t&1&&m(0,Kt,0,0,"ng-template")}function Gt(t,s){if(t&1&&(H(0),m(1,Jt,1,0,null,11),O()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ei(t,s){}function ti(t,s){t&1&&m(0,ei,0,0,"ng-template")}function ii(t,s){if(t&1&&(H(0),m(1,ti,1,0,null,11),O()),t&2){let e=r(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ni(t,s){if(t&1){let e=x();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,Yt,1,1,"span",14)(2,qt,3,2,"ng-container",23)(3,Gt,2,1,"ng-container",23)(4,ii,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 oi(t,s){if(t&1&&y(0,"span",18),t&2){let e=r(8);o("ngClass",e.closeIcon)}}function ai(t,s){t&1&&y(0,"TimesIcon")}function li(t,s){if(t&1&&(H(0),m(1,oi,1,1,"span",14)(2,ai,1,0,"TimesIcon",23),O()),t&2){let e=r(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function si(t,s){}function ri(t,s){t&1&&m(0,si,0,0,"ng-template")}function pi(t,s){if(t&1&&(p(0,"span"),m(1,ri,1,0,null,11),d()),t&2){let e=r(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function di(t,s){if(t&1&&m(0,li,3,2,"ng-container",23)(1,pi,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 ci(t,s){if(t&1){let e=x();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,di,2,2,"ng-template",null,4,N),d()}if(t&2){let e=r(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function mi(t,s){if(t&1){let e=x();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=r(4);return g(a.initDrag(i))}),m(2,Nt,2,3,"span",17)(3,Xt,1,0,"ng-container",11),p(4,"div",18),m(5,ni,5,8,"p-button",19)(6,ci,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 _i(t,s){t&1&&T(0)}function gi(t,s){t&1&&T(0)}function fi(t,s){if(t&1&&(p(0,"div",18,5),Q(2,1),m(3,gi,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 ui(t,s){if(t&1&&(m(0,jt,1,1,"div",12)(1,mi,7,6,"div",13),p(2,"div",7,2),Q(4),m(5,_i,1,0,"ng-container",11),d(),m(6,fi,4,2,"div",14)),t&2){let e=r(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),S(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),w("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function hi(t,s){if(t&1){let e=x();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,Wt,2,1,"ng-container",10)(3,ui,7,9,"ng-template",null,1,N),d()}if(t&2){let e=Be(4),n=r(2);A(n.style),S(n.styleClass),o("ngClass",ye(13,Ot,n.maximizable&&n.maximized))("ngStyle",j(15,Bt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",ye(19,Rt,Re(16,At,n.transformOptions,n.transitionOptions))),w("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function bi(t,s){if(t&1&&(p(0,"div",7),m(1,hi,5,21,"div",8),d()),t&2){let e=r();A(e.maskStyle),S(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",Qe(7,Ht,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 Ci=({dt:t})=>`
|
|
2
|
-
.p-dialog {
|
|
3
|
-
max-height: 90%;
|
|
4
|
-
transform: scale(1);
|
|
5
|
-
border-radius: ${t("dialog.border.radius")};
|
|
6
|
-
box-shadow: ${t("dialog.shadow")};
|
|
7
|
-
background: ${t("dialog.background")};
|
|
8
|
-
border: 1px solid ${t("dialog.border.color")};
|
|
9
|
-
color: ${t("dialog.color")};
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
pointer-events: auto
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.p-dialog-content {
|
|
16
|
-
overflow-y: auto;
|
|
17
|
-
padding: ${t("dialog.content.padding")};
|
|
18
|
-
flex-grow: 1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.p-dialog-header {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
flex-shrink: 0;
|
|
26
|
-
padding: ${t("dialog.header.padding")};
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.p-dialog-title {
|
|
30
|
-
font-weight: ${t("dialog.title.font.weight")};
|
|
31
|
-
font-size: ${t("dialog.title.font.size")};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.p-dialog-footer {
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
padding: ${t("dialog.footer.padding")};
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: flex-end;
|
|
39
|
-
gap: ${t("dialog.footer.gap")};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.p-dialog-header-actions {
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
gap: ${t("dialog.header.gap")};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.p-dialog-enter-active {
|
|
49
|
-
transition: all 150ms cubic-bezier(0, 0, 0.2, 1);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.p-dialog-leave-active {
|
|
53
|
-
transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.p-dialog-enter-from,
|
|
57
|
-
.p-dialog-leave-to {
|
|
58
|
-
opacity: 0;
|
|
59
|
-
transform: scale(0.7);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.p-dialog-top .p-dialog,
|
|
63
|
-
.p-dialog-bottom .p-dialog,
|
|
64
|
-
.p-dialog-left .p-dialog,
|
|
65
|
-
.p-dialog-right .p-dialog,
|
|
66
|
-
.p-dialog-topleft .p-dialog,
|
|
67
|
-
.p-dialog-topright .p-dialog,
|
|
68
|
-
.p-dialog-bottomleft .p-dialog,
|
|
69
|
-
.p-dialog-bottomright .p-dialog {
|
|
70
|
-
margin: 0.75rem;
|
|
71
|
-
transform: translate3d(0px, 0px, 0px);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.p-dialog-top .p-dialog-enter-active,
|
|
75
|
-
.p-dialog-top .p-dialog-leave-active,
|
|
76
|
-
.p-dialog-bottom .p-dialog-enter-active,
|
|
77
|
-
.p-dialog-bottom .p-dialog-leave-active,
|
|
78
|
-
.p-dialog-left .p-dialog-enter-active,
|
|
79
|
-
.p-dialog-left .p-dialog-leave-active,
|
|
80
|
-
.p-dialog-right .p-dialog-enter-active,
|
|
81
|
-
.p-dialog-right .p-dialog-leave-active,
|
|
82
|
-
.p-dialog-topleft .p-dialog-enter-active,
|
|
83
|
-
.p-dialog-topleft .p-dialog-leave-active,
|
|
84
|
-
.p-dialog-topright .p-dialog-enter-active,
|
|
85
|
-
.p-dialog-topright .p-dialog-leave-active,
|
|
86
|
-
.p-dialog-bottomleft .p-dialog-enter-active,
|
|
87
|
-
.p-dialog-bottomleft .p-dialog-leave-active,
|
|
88
|
-
.p-dialog-bottomright .p-dialog-enter-active,
|
|
89
|
-
.p-dialog-bottomright .p-dialog-leave-active {
|
|
90
|
-
transition: all 0.3s ease-out;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.p-dialog-top .p-dialog-enter-from,
|
|
94
|
-
.p-dialog-top .p-dialog-leave-to {
|
|
95
|
-
transform: translate3d(0px, -100%, 0px);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.p-dialog-bottom .p-dialog-enter-from,
|
|
99
|
-
.p-dialog-bottom .p-dialog-leave-to {
|
|
100
|
-
transform: translate3d(0px, 100%, 0px);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.p-dialog-left .p-dialog-enter-from,
|
|
104
|
-
.p-dialog-left .p-dialog-leave-to,
|
|
105
|
-
.p-dialog-topleft .p-dialog-enter-from,
|
|
106
|
-
.p-dialog-topleft .p-dialog-leave-to,
|
|
107
|
-
.p-dialog-bottomleft .p-dialog-enter-from,
|
|
108
|
-
.p-dialog-bottomleft .p-dialog-leave-to {
|
|
109
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.p-dialog-right .p-dialog-enter-from,
|
|
113
|
-
.p-dialog-right .p-dialog-leave-to,
|
|
114
|
-
.p-dialog-topright .p-dialog-enter-from,
|
|
115
|
-
.p-dialog-topright .p-dialog-leave-to,
|
|
116
|
-
.p-dialog-bottomright .p-dialog-enter-from,
|
|
117
|
-
.p-dialog-bottomright .p-dialog-leave-to {
|
|
118
|
-
transform: translate3d(100%, 0px, 0px);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.p-dialog-left:dir(rtl) .p-dialog-enter-from,
|
|
122
|
-
.p-dialog-left:dir(rtl) .p-dialog-leave-to,
|
|
123
|
-
.p-dialog-topleft:dir(rtl) .p-dialog-enter-from,
|
|
124
|
-
.p-dialog-topleft:dir(rtl) .p-dialog-leave-to,
|
|
125
|
-
.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from,
|
|
126
|
-
.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to {
|
|
127
|
-
transform: translate3d(100%, 0px, 0px);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.p-dialog-right:dir(rtl) .p-dialog-enter-from,
|
|
131
|
-
.p-dialog-right:dir(rtl) .p-dialog-leave-to,
|
|
132
|
-
.p-dialog-topright:dir(rtl) .p-dialog-enter-from,
|
|
133
|
-
.p-dialog-topright:dir(rtl) .p-dialog-leave-to,
|
|
134
|
-
.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from,
|
|
135
|
-
.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to {
|
|
136
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.p-dialog-maximized {
|
|
140
|
-
width: 100vw !important;
|
|
141
|
-
height: 100vh !important;
|
|
142
|
-
top: 0px !important;
|
|
143
|
-
left: 0px !important;
|
|
144
|
-
max-height: 100%;
|
|
145
|
-
height: 100%;
|
|
146
|
-
border-radius: 0;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.p-dialog-maximized .p-dialog-content {
|
|
150
|
-
flex-grow: 1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.p-overlay-mask:dir(rtl) {
|
|
154
|
-
flex-direction: row-reverse;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/* For PrimeNG */
|
|
158
|
-
|
|
159
|
-
.p-dialog .p-resizable-handle {
|
|
160
|
-
position: absolute;
|
|
161
|
-
font-size: 0.1px;
|
|
162
|
-
display: block;
|
|
163
|
-
cursor: se-resize;
|
|
164
|
-
width: 12px;
|
|
165
|
-
height: 12px;
|
|
166
|
-
right: 1px;
|
|
167
|
-
bottom: 1px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.p-confirm-dialog .p-dialog-content {
|
|
171
|
-
display: flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
}
|
|
174
|
-
`,yi={mask:({instance:t})=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:t.position==="left"||t.position==="topleft"||t.position==="bottomleft"?"flex-start":t.position==="right"||t.position==="topright"||t.position==="bottomright"?"flex-end":"center",alignItems:t.position==="top"||t.position==="topleft"||t.position==="topright"?"flex-start":t.position==="bottom"||t.position==="bottomleft"||t.position==="bottomright"?"flex-end":"center",pointerEvents:t.modal?"auto":"none"}),root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},xi={mask:({instance:t})=>{let e=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(n=>n===t.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":t.modal,[`p-dialog-${e}`]:e}},root:({instance:t})=>({"p-dialog p-component":!0,"p-dialog-maximized":t.maximizable&&t.maximized}),header:"p-dialog-header",title:"p-dialog-title",resizeHandle:"p-resizable-handle",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},Et=(()=>{class t extends rt{name="dialog";theme=Ci;classes=xi;inlineStyles=yi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(t)))(i||t)}})();static \u0275prov=Ue({token:t,factory:t.\u0275fac})}return t})();var vi=Te([ve({transform:"{{transform}}",opacity:0}),xe("{{transition}}")]),wi=Te([xe("{{transition}}",ve({transform:"{{transform}}",opacity:0}))]),Se=(()=>{class t extends me{header;draggable=!0;resizable=!0;get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}contentStyle;contentStyleClass;modal=!1;closeOnEscape=!0;dismissableMask=!1;rtl=!1;closable=!0;get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}appendTo;breakpoints;styleClass;maskStyleClass;maskStyle;showHeader=!0;get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}blockScroll=!1;autoZIndex=!0;baseZIndex=0;minX=0;minY=0;focusOnShow=!0;maximizable=!1;keepInViewport=!0;focusTrap=!0;transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)";closeIcon;closeAriaLabel;closeTabindex="0";minimizeIcon;maximizeIcon;closeButtonProps={severity:"secondary",text:!0,rounded:!0};maximizeButtonProps={severity:"secondary",text:!0,rounded:!0};get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style=ue({},e),this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)";break}}role="dialog";onShow=new D;onHide=new D;visibleChange=new D;onResizeInit=new D;onResizeEnd=new D;onDragEnd=new D;onMaximize=new D;headerViewChild;contentViewChild;footerViewChild;headerTemplate;contentTemplate;footerTemplate;closeIconTemplate;maximizeIconTemplate;minimizeIconTemplate;headlessTemplate;_headerTemplate;_contentTemplate;_footerTemplate;_closeiconTemplate;_maximizeiconTemplate;_minimizeiconTemplate;_headlessTemplate;_visible=!1;maskVisible;container;wrapper;dragging;ariaLabelledBy=this.getAriaLabelledBy();documentDragListener;documentDragEndListener;resizing;documentResizeListener;documentResizeEndListener;documentEscapeListener;maskClickListener;lastPageX;lastPageY;preventVisibleChangePropagation;maximized;preMaximizeContentHeight;preMaximizeContainerWidth;preMaximizeContainerHeight;preMaximizePageX;preMaximizePageY;id=P("pn_id_");_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=I(Et);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;get maximizeLabel(){return this.config.getTranslation(st.ARIA).maximizeLabel}zone=I(Pe);get maskClass(){let n=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"].find(i=>i===this.position);return{"p-dialog-mask":!0,"p-overlay-mask p-overlay-mask-enter":this.modal||this.dismissableMask,[`p-dialog-${n}`]:n}}ngOnInit(){super.ngOnInit(),this.breakpoints&&this.createStyle()}templates;ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"header":this.headerT=e.template;break;case"content":this.contentT=e.template;break;case"footer":this.footerT=e.template;break;case"closeicon":this.closeIconT=e.template;break;case"maximizeicon":this.maximizeIconT=e.template;break;case"minimizeicon":this.minimizeIconT=e.template;break;case"headless":this.headlessT=e.template;break;default:this.contentT=e.template;break}})}getAriaLabelledBy(){return this.header!==null?P("pn_id_")+"_header":null}parseDurationToMilliseconds(e){let n=/([\d\.]+)(ms|s)\b/g,i=0,a;for(;(a=n.exec(e))!==null;){let c=parseFloat(a[1]),f=a[2];f==="ms"?i+=c:f==="s"&&(i+=c*1e3)}if(i!==0)return i}_focus(e){if(e){let n=this.parseDurationToMilliseconds(this.transitionOptions),i=pt.getFocusableElements(e);if(i&&i.length>0)return this.zone.runOutsideAngular(()=>{setTimeout(()=>i[0].focus(),n||5)}),!0}return!1}focus(e){let n=this._focus(e);n||(n=this._focus(this.footerViewChild?.nativeElement),n||(n=this._focus(this.headerViewChild?.nativeElement),n||this._focus(this.contentViewChild?.nativeElement)))}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&Ee()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();let e=document.querySelectorAll(".p-dialog-mask-scrollblocker");this.modal&&e&&e.length==1&&ke(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?Ee():ke()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(Me.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(X(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let n in this.breakpoints)e+=`
|
|
175
|
-
@media screen and (max-width: ${n}) {
|
|
176
|
-
.p-dialog[${this.id}]:not(.p-dialog-maximized) {
|
|
177
|
-
width: ${this.breakpoints[n]} !important;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
`;this.renderer.setProperty(this.styleElement,"innerHTML",e),at(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){Y(e.target,"p-dialog-maximize-icon")||Y(e.target,"p-dialog-header-close-icon")||Y(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",re(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=De(this.container),i=de(this.container),a=e.pageX-this.lastPageX,c=e.pageY-this.lastPageY,f=this.container.getBoundingClientRect(),U=getComputedStyle(this.container),V=parseFloat(U.marginLeft),Z=parseFloat(U.marginTop),k=f.left+a-V,z=f.top+c-Z,B=ze();this.container.style.position="fixed",this.keepInViewport?(k>=this.minX&&k+n<B.width&&(this._style.left=`${k}px`,this.lastPageX=e.pageX,this.container.style.left=`${k}px`),z>=this.minY&&z+i<B.height&&(this._style.top=`${z}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${k}px`,this.lastPageY=e.pageY,this.container.style.top=`${z}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,pe(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,re(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=De(this.container),c=de(this.container),f=de(this.contentViewChild?.nativeElement),U=a+n,V=c+i,Z=this.container.style.minWidth,k=this.container.style.minHeight,z=this.container.getBoundingClientRect(),B=ze();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(U+=n,V+=i),(!Z||U>parseInt(Z))&&z.left+U<B.width&&(this._style.width=U+"px",this.container.style.width=this._style.width),(!k||V>parseInt(k))&&z.top+V<B.height&&(this.contentViewChild.nativeElement.style.height=f+V-c+"px",this._style.height&&(this._style.height=V+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,pe(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):tt(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&&re(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(),Y(this.document.body,"p-overflow-hidden")&&pe(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Me.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?ue({},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=E(t)))(i||t)}})();static \u0275cmp=F({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Dt,4),v(a,Tt,4),v(a,It,4),v(a,Ft,4),v(a,Mt,4),v(a,St,4),v(a,Ut,4),v(a,lt,4)),n&2){let c;b(c=C())&&(i._headerTemplate=c.first),b(c=C())&&(i._contentTemplate=c.first),b(c=C())&&(i._footerTemplate=c.first),b(c=C())&&(i._closeiconTemplate=c.first),b(c=C())&&(i._maximizeiconTemplate=c.first),b(c=C())&&(i._minimizeiconTemplate=c.first),b(c=C())&&(i._headlessTemplate=c.first),b(c=C())&&(i.templates=c)}},viewQuery:function(n,i){if(n&1&&(G(Vt,5),G(Tt,5),G(It,5)),n&2){let a;b(a=C())&&(i.headerViewChild=a.first),b(a=C())&&(i.contentViewChild=a.first),b(a=C())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",h],resizable:[2,"resizable","resizable",h],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",h],closeOnEscape:[2,"closeOnEscape","closeOnEscape",h],dismissableMask:[2,"dismissableMask","dismissableMask",h],rtl:[2,"rtl","rtl",h],closable:[2,"closable","closable",h],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",h],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",h],autoZIndex:[2,"autoZIndex","autoZIndex",h],baseZIndex:[2,"baseZIndex","baseZIndex",oe],minX:[2,"minX","minX",oe],minY:[2,"minY","minY",oe],focusOnShow:[2,"focusOnShow","focusOnShow",h],maximizable:[2,"maximizable","maximizable",h],keepInViewport:[2,"keepInViewport","keepInViewport",h],focusTrap:[2,"focusTrap","focusTrap",h],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:[ne([Et]),K,M],ngContentSelectors:Lt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(J(Pt),m(0,bi,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[se,Ne,ae,le,Xe,ge,wt,dt,xt,vt,ce],encapsulation:2,data:{animation:[et("animation",[we("void => visible",[Ie(vi)]),we("visible => void",[Ie(wi)])])]},changeDetection:0})}return t})(),kt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=be({type:t});static \u0275inj=he({imports:[Se,ce,ce]})}return t})();var Ii=["actionButton"],Ei=["filters"],ki=["content"],zi=[[["tabs"]]],Di=["tabs"],Fi=()=>({width:"30vw"}),Mi=()=>({"1199px":"75vw","575px":"100vw"});function Si(t,s){if(t&1){let e=x();p(0,"p-button",28),u("onClick",function(){_(e);let i=r();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),d()}t&2&&o("text",!0)}function Ui(t,s){if(t&1){let e=x();p(0,"p-button",29),u("click",function(){_(e);let i=r();return g(i.isCollapsed=!i.isCollapsed)}),d()}if(t&2){let e=r();o("text",!0),w("aria-expanded",!e.isCollapsed)}}function Vi(t,s){if(t&1){let e=x();p(0,"p-iconfield",18)(1,"input",30),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",31),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Pi(t,s){if(t&1){let e=x();p(0,"button",32),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",33),d()}}function Li(t,s){t&1&&T(0)}function Hi(t,s){if(t&1){let e=x();p(0,"p-iconfield")(1,"input",30),u("ngModelChange",function(i){_(e);let a=r();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=r();return g(i.onSearchInput())}),d(),p(2,"p-inputicon",31),u("click",function(){_(e);let i=r();return g(i.onSearchInput())}),d()()}if(t&2){let e=r();l(),o("ngModel",e.searchQuery())}}function Oi(t,s){if(t&1){let e=x();p(0,"button",32),u("click",function(){_(e);let i=r();return g(i.onOpenFilterDialog())}),y(1,"i",33),d()}}function Bi(t,s){t&1&&T(0)}function Ai(t,s){t&1&&T(0)}function Ri(t,s){t&1&&T(0)}function Qi(t,s){if(t&1){let e=x();p(0,"p-button",34),u("click",function(){_(e);let i=r();return g(i.isDialogFilterVisible=!1)}),d(),p(1,"p-button",35),u("click",function(){_(e);let i=r();return i.filterOKEmitted.emit(),g(i.isDialogFilterVisible=!1)}),d()}t&2&&o("text",!0)}var qn=(()=>{class t{constructor(){this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.routeInfo=L(),this.activatedRoute=I(Ke),this.filterEmitted=q(),this.store=I(ht),this.pageTitle=L(""),this.isSearchableInput=L(!1),this.searchEmitted=q(),this.searchQuery=Le(""),this.isFilterable=L(!1),this.filterOKEmitted=q(),this.isDialogFilterVisible=!1,this.isInitDialogFilterVisible=L(!1),We(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.filterEmitted.emit(),this.isDialogFilterVisible=!this.isDialogFilterVisible}onSidebarToggle(){this.store.updateSidebarType()}onSearchInput(){this.searchEmitted.emit(this.searchQuery())}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=F({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ii,7),v(a,Ei,7),v(a,ki,7)),n&2){let c;b(c=C())&&(i.actionButtonTemplate=c.first),b(c=C())&&(i.filterTemplate=c.first),b(c=C())&&(i.contentTemplate=c.first)}},inputs:{routeInfo:[1,"routeInfo"],pageTitle:[1,"pageTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"]},outputs:{filterEmitted:"filterEmitted",searchEmitted:"searchEmitted",filterOKEmitted:"filterOKEmitted"},features:[ne([])],ngContentSelectors:Di,decls:43,vars:24,consts:[["collapse","ngbCollapse"],["footer",""],[1,"container-wrapper"],[1,"navbar","navbar-expand-lg","bg-white"],[1,"container-fluid"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder","d-inline-block","text-truncate","align-middle",2,"max-width","150px"],["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-6","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"flex-grow-1"],[1,"fs-4","m-0","fw-bolder","text-truncate","d-inline-block","align-middle",2,"max-width","200px"],[1,"d-flex","justify-content-center","align-items-center","w-100"],[2,"max-width","300px"],["type","button",1,"btn","btn-link"],[1,"col-6","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"],[1,"flex-grow-1","px-2","py-3"],["header","Filter","position","center","appendTo","body",3,"visibleChange","modal","visible","breakpoints","draggable","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",3,"click"],[1,"fa-solid","fa-filter"],["label","Cancel","severity","secondary",3,"click","text"],["label","OK(F2)","severity","primary",3,"click"]],template:function(n,i){if(n&1){let a=x();J(zi),p(0,"div",2)(1,"div")(2,"nav",3)(3,"div",4)(4,"div",5)(5,"div",6)(6,"div")(7,"p-button",7),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),d(),p(8,"h1",8),W(9),d(),m(10,Si,1,1,"p-button",9),d(),m(11,Ui,1,2,"p-button",10),d()(),p(12,"div",11)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",15)(17,"h1",16),W(18),d()(),p(19,"div",17),m(20,Vi,3,1,"p-iconfield",18)(21,Pi,2,0,"button",19),d()()()(),p(22,"div",20),m(23,Li,1,0,"ng-container",21),d()()()(),p(24,"div",22,0),ie("ngbCollapseChange",function(f){return _(a),te(i.isSearchbarCollapse,f)||(i.isSearchbarCollapse=f),g(f)}),p(26,"div",23)(27,"div",24)(28,"div",25),m(29,Hi,3,1,"p-iconfield")(30,Oi,2,0,"button",19),d()()()(),p(31,"div",22,0),ie("ngbCollapseChange",function(f){return _(a),te(i.isCollapsed,f)||(i.isCollapsed=f),g(f)}),p(33,"div",23)(34,"div",24),m(35,Bi,1,0,"ng-container",21),d()()(),Q(36),d(),p(37,"div",26),m(38,Ai,1,0,"ng-container",21),d()(),p(39,"p-dialog",27),ie("visibleChange",function(f){return _(a),te(i.isDialogFilterVisible,f)||(i.isDialogFilterVisible=f),g(f)}),m(40,Ri,1,0,"ng-container",21)(41,Qi,2,1,"ng-template",null,1,N),d()}n&2&&(l(7),o("text",!0),l(2),Ce(" ",i.pageTitle()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(7),Ce(" ",i.pageTitle()," "),l(2),R(i.isSearchableInput()?20:-1),l(),R(i.isFilterable()?21:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),ee("ngbCollapse",i.isSearchbarCollapse),l(5),R(i.isSearchableInput()?29:-1),l(),R(i.isFilterable()?30:-1),l(),ee("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(3),o("ngTemplateOutlet",i.contentTemplate),l(),A(j(22,Fi)),o("modal",!0),ee("visible",i.isDialogFilterVisible),o("breakpoints",j(23,Mi))("draggable",!1)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate))},dependencies:[Ge,Je,qe,Ye,Ze,$e,mt,ct,gt,_t,ut,ft,kt,Se,bt,ge,se,ae,le,yt,Ct],styles:['@font-face{font-family:Montserrat;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRxC7mw9c.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRzS7mw9c.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Montserrat;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRxi7mw9c.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRxy7mw9c.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat;font-style:italic;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRyS7m.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat;font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}[_nghost-%COMP%]{display:block}.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{xt as a,vt as b,wt as c,Et as d,Se as e,kt as f,qn as g};
|
package/chunk-ISXV3FIH.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as U}from"./chunk-AH4LZWJY.js";import{a as D}from"./chunk-AKBPKNCH.js";import{f as L,h as M,i as V,j as N}from"./chunk-HG23WDL5.js";import"./chunk-EP22HTZC.js";import"./chunk-4ANSU2AT.js";import"./chunk-TJSPXPO6.js";import{g as k}from"./chunk-EN5MVYJQ.js";import"./chunk-Z4SGDPGH.js";import"./chunk-FJ7O4K2Y.js";import"./chunk-PNAWRNGD.js";import"./chunk-FVXLQNAC.js";import"./chunk-T3ZCO6EC.js";import"./chunk-S35HUXPS.js";import"./chunk-25PFXJAK.js";import{n as T,r as I,t as z}from"./chunk-GRTIJ77T.js";import{Bb as x,Fc as y,Ha as b,Hc as A,Ic as C,Kb as f,Tc as J,Ub as a,Vb as o,Vc as v,Wb as h,Z as P,_b as S,dc as w,ec as p,gb as c,ia as R,mc as l,nc as m,qa as u,ra as g,ub as E}from"./chunk-RSHFIZV3.js";import{a as s,b as d}from"./chunk-C6Q5SG76.js";function B(t,_){if(t&1){let e=S();a(0,"button",6),w("click",function(){u(e);let n=p(2);return g(n.onCreateJournal())}),l(1," Generate Journal "),o()}}function O(t,_){if(t&1&&x(0,B,2,0,"button",5),t&2){let e=p();f("ngIf",e.selectedItems().length)}}function j(t,_){t&1&&(a(0,"tr")(1,"th",9),h(2,"p-tableHeaderCheckbox"),o(),a(3,"th"),l(4,"Outlet"),o(),a(5,"th"),l(6,"Number"),o(),a(7,"th"),l(8,"Customer"),o(),a(9,"th"),l(10,"Date"),o(),a(11,"th"),l(12,"Due"),o(),a(13,"th"),l(14,"Note"),o(),a(15,"th"),l(16,"Payment"),o()())}function G(t,_){if(t&1&&(a(0,"tr")(1,"td"),h(2,"p-tableCheckbox",10),o(),a(3,"td"),l(4),o(),a(5,"td"),l(6),o(),a(7,"td"),l(8),o(),a(9,"td"),l(10),y(11,"date"),o(),a(12,"td"),l(13),y(14,"date"),o(),a(15,"td"),l(16),o(),a(17,"td"),l(18),o()()),t&2){let e=_.$implicit;c(2),f("value",e),c(2),m(e.outlet),c(2),m(e.number),c(2),m(e.customer),c(2),m(A(11,8,e.date,"d MMM y")),c(3),m(A(14,11,e.due,"d MMM y")),c(3),m(e.note),c(2),m(e.payment)}}function K(t,_){if(t&1){let e=S();a(0,"p-table",8),w("onLazyLoad",function(n){u(e);let r=p(2);return g(r.onLazyLoad(n))})("onRowSelect",function(n){u(e);let r=p(2);return g(r.onRowSelect(n))})("onRowUnselect",function(n){u(e);let r=p(2);return g(r.onRowUnselect(n))}),x(1,j,17,0,"ng-template",null,2,C)(3,G,19,14,"ng-template",null,3,C),o()}if(t&2){let e=p(2);f("value",e.APCollection().data)("scrollable",!0)("scrollHeight","calc(100vh - 200px)")("paginator",!0)("rows",e.pageData().PageSize)("totalRecords",e.APCollection().totalCount)("lazy",!0)}}function F(t,_){if(t&1&&x(0,K,5,7,"p-table",7),t&2){let e=p();f("ngIf",e.APCollection())}}var ie=(()=>{class t{constructor(){this.generateJournalService=R(U),this.APCollection=b(null),this.pageData=b({PageNumber:1,PageSize:10}),this.selectedItems=J(()=>{let e=this.APCollection();return e?e.data.filter(i=>i.checked):[]}),v(()=>{this.pageData()&&this.fetchAPCollection()})}fetchAPCollection(){let e={PageSize:this.pageData().PageSize,PageNumber:this.pageData().PageNumber};this.generateJournalService.getAPJournal(e).pipe(P(i=>{this.APCollection.update(n=>d(s({},n),{data:i.data.map(r=>d(s({},r),{checked:!1})),totalCount:+i.totalCount}))}),D("AR Collection")).subscribe()}onLazyLoad(e){this.pageData.set({PageNumber:e.first/e.rows+1,PageSize:e.rows})}onRowSelect(e){let i=e.data;this.APCollection.update(n=>d(s({},n),{data:n.data.map(r=>r.id===i.id?d(s({},r),{checked:!0}):r)}))}onRowUnselect(e){let i=e.data;this.APCollection.update(n=>d(s({},n),{data:n.data.map((r,H)=>r.id===i[H].id?d(s({},r),{checked:!1}):r)}))}onCreateJournal(){let i=this.selectedItems().map(n=>n.id);this.generateJournalService.createAPJournal(i).subscribe(n=>{console.log("Journal created successfully:",n)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-ap-journal"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["pageTitle","AP Collection"],["class","btn btn-primary rounded",3,"click",4,"ngIf"],[1,"btn","btn-primary","rounded",3,"click"],["dataKey","id",3,"value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy","onLazyLoad","onRowSelect","onRowUnselect",4,"ngIf"],["dataKey","id",3,"onLazyLoad","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"]],template:function(i,n){i&1&&(a(0,"app-main-panel",4),x(1,O,1,1,"ng-template",null,0,C)(3,F,1,1,"ng-template",null,1,C),o())},dependencies:[k,N,L,M,V,z,T,I],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{ie as ApJournalComponent};
|
package/chunk-JQNCWTZN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-2RWUYFYR.js";import"./chunk-T3ZCO6EC.js";import"./chunk-S35HUXPS.js";import{o as r}from"./chunk-25PFXJAK.js";import"./chunk-GRTIJ77T.js";import{ia as e}from"./chunk-RSHFIZV3.js";import"./chunk-C6Q5SG76.js";var a=()=>{let t=e(o),i=e(r);return!t.isAuthenticated()||t.isTokenExpired()?(i.navigate(["authentication/login"]),!1):!0};var d=[{path:"",canActivate:[a],children:[{path:"",loadComponent:()=>import("./chunk-2ODJIB2A.js").then(t=>t.Dashboard1Component),data:{title:"Dashboard",headerTemplate:"header"}}]}];export{d as DashboardRoutes};
|
package/chunk-K36WQVFR.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ee,b as te}from"./chunk-52HZNWBM.js";import{a as X}from"./chunk-AKBPKNCH.js";import{a as Y,b as Z}from"./chunk-NQ24E7JY.js";import{f as I,j as O}from"./chunk-HG23WDL5.js";import"./chunk-EP22HTZC.js";import"./chunk-4ANSU2AT.js";import"./chunk-TJSPXPO6.js";import{a as Q,b as W}from"./chunk-MNPBLC23.js";import{g as D}from"./chunk-EN5MVYJQ.js";import"./chunk-Z4SGDPGH.js";import"./chunk-FJ7O4K2Y.js";import{v as K}from"./chunk-PNAWRNGD.js";import{r as G,u as L}from"./chunk-FVXLQNAC.js";import{a as $,d as q}from"./chunk-T3ZCO6EC.js";import"./chunk-S35HUXPS.js";import{a as k,c as z}from"./chunk-25PFXJAK.js";import{n as P,s as U,t as R}from"./chunk-GRTIJ77T.js";import{Bb as u,Fc as f,Gc as h,Ha as _,Ic as s,J as V,Kb as g,Tc as M,Ub as n,Vb as a,Vc as H,Wb as A,Z as T,_b as v,c as N,ca as j,dc as w,ec as m,gb as r,ia as d,mc as o,nc as l,qa as b,qc as F,ra as S,ub as E,vc as y}from"./chunk-RSHFIZV3.js";import{a as C,b as x}from"./chunk-C6Q5SG76.js";var B=(()=>{class t{constructor(){this.httpService=d(q)}getGenerateCoa(e){let c={params:new k().set("PageNumber",e.PageNumber).set("RowCount",e.RowCount)};return this.httpService.get(void 0,"api/Tools/GetListCOA",c)}updateCOABalance(e={}){return this.httpService.put(void 0,"api/Tools/UpdateCOABalance",void 0,e)}getUnbalanceJournal(e){let i={params:e};return this.httpService.get(void 0,"api/Tools/GetListCOA",i)}updateUnbalanceJournal(){return this.httpService.put(void 0,"api/Tools/UpdateCOABalance",{})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var le=()=>({"min-width":"50rem"});function pe(t,p){if(t&1){let e=v();n(0,"button",6),w("click",function(){b(e);let c=m();return S(c.updateCoaBalance())}),o(1," Update "),a()}}function ce(t,p){t&1&&(n(0,"tr")(1,"th"),o(2,"Code"),a(),n(3,"th"),o(4,"Name"),a(),n(5,"th"),o(6,"Outlet"),a(),n(7,"th"),o(8,"COA Balance"),a(),n(9,"th"),o(10,"Correct Balance"),a()())}function me(t,p){if(t&1&&(n(0,"tr")(1,"td"),o(2),a(),n(3,"td"),o(4),a(),n(5,"td"),o(6),a(),n(7,"td"),o(8),f(9,"number"),a(),n(10,"td"),o(11),f(12,"number"),a()()),t&2){let e=p.$implicit;r(2),l(e.Code),r(2),l(e.Name),r(2),l(e.OutletName),r(2),l(h(9,5,e.Balance)),r(3),l(h(12,7,e.CorrectBalance))}}function se(t,p){if(t&1&&(n(0,"div",9)(1,"p"),o(2),a()()),t&2){let e=m(3);r(2),F(" Showing ",e.startIndex()," to ",e.endIndex()," of ",e.coaData().count," entries ")}}function de(t,p){if(t&1){let e=v();n(0,"p-card")(1,"p-table",8),w("onPage",function(c){b(e);let J=m(2);return S(J.onPageChange(c))}),u(2,ce,11,0,"ng-template",null,2,s)(4,me,13,9,"ng-template",null,3,s)(6,se,3,3,"ng-template",null,4,s),a()()}if(t&2){let e=m(2);r(),g("paginator",!0)("lazy",!0)("totalRecords",e.coaData().count)("scrollable",!0)("scrollHeight","calc(100vh - 200px)")("rows",e.pagination().RowCount)("value",e.coaData().data)("tableStyle",y(8,le))}}function ue(t,p){if(t&1&&u(0,de,8,9,"p-card",7),t&2){let e=m();g("ngIf",e.coaData())}}var ae=(()=>{class t{constructor(){this.pagination=_({PageNumber:1,RowCount:20}),this.coaService=d(B),this.toastrService=d($),this.coaData=_(null),this.fetchCoaData=Y(N(V(e=>this.coaService.getGenerateCoa(e).pipe(Z({next:i=>this.coaData.set(i),error:i=>console.error(i)}))))),this.startIndex=M(()=>this.pagination()?(this.pagination().PageNumber-1)*this.pagination().RowCount+1:0),this.endIndex=M(()=>this.pagination()?Math.min(this.pagination().PageNumber*this.pagination().RowCount,this.coaData()?.count||0):0)}ngOnInit(){this.fetchCoaData(this.pagination)}onPageChange(e){this.pagination.update(i=>x(C({},i),{pageNumber:Math.floor(e.first/e.rows)+1}))}updateCoaBalance(){this.coaService.updateCOABalance({observe:"response"}).pipe(T(e=>{e instanceof z&&this.toastrService.success(e.body?.message,"Success")})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-tools-update-coa"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["pageTitle","Generate COA"],["type","button",1,"btn","btn-primary","rounded",3,"click"],[4,"ngIf"],[3,"onPage","paginator","lazy","totalRecords","scrollable","scrollHeight","rows","value","tableStyle"],[1,"d-flex"]],template:function(i,c){i&1&&(n(0,"app-main-panel",5),u(1,pe,2,0,"ng-template",null,0,s)(3,ue,1,1,"ng-template",null,1,s),a())},dependencies:[D,O,I,W,Q,R,P,U],styles:["[_nghost-%COMP%]{display:block} .p-card{height:100%} .p-card .p-card-body{height:inherit} .p-card .p-card-body .p-card-content{height:inherit}"],changeDetection:0})}}return t})();var ge=()=>[20,50,100];function _e(t,p){t&1&&(n(0,"tr")(1,"th"),o(2,"Code"),a(),n(3,"th"),o(4,"Name"),a(),n(5,"th"),o(6,"Outlet"),a(),n(7,"th"),o(8,"Same Balance"),a(),n(9,"th"),o(10,"Balance"),a(),n(11,"th"),o(12,"Correct Balance"),a()())}function fe(t,p){if(t&1&&(n(0,"tr")(1,"td"),o(2),a(),n(3,"td"),o(4),a(),n(5,"td"),o(6),a(),n(7,"td"),A(8,"p-toggleswitch",6),a(),n(9,"td"),o(10),f(11,"number"),a(),n(12,"td"),o(13),f(14,"number"),a()()),t&2){let e=p.$implicit;r(2),l(e.Code),r(2),l(e.Name),r(2),l(e.OutletName),r(2),g("trueValue",e.IsSameBalance),r(2),l(h(11,6,e.Balance)),r(3),l(h(14,8,e.CorrectBalance))}}function he(t,p){if(t&1){let e=v();n(0,"p-table",5),w("onPage",function(c){b(e);let J=m(2);return S(J.onPageChange(c))}),u(1,_e,13,0,"ng-template",null,1,s)(3,fe,15,10,"ng-template",null,2,s),a()}if(t&2){let e=m(2);g("value",e.unbalanceJournal().data)("scrollable",!0)("scrollHeight","calc(100vh - 150px)")("paginator",!0)("rows",+e.pageData().RowCount)("totalRecords",e.unbalanceJournal().count)("rowsPerPageOptions",y(7,ge))}}function Ce(t,p){if(t&1&&u(0,he,5,8,"p-table",4),t&2){let e=m();g("ngIf",e.unbalanceJournal())}}var oe=(()=>{class t{constructor(){this.toolsService=d(B),this.unbalanceJournal=_(null),this.fb=d(G),this.pageData=_({PageNumber:1,RowCount:20}),H(()=>{let e=this.pageData();e.PageNumber&&e.RowCount&&this.fetchUnbalanceJournal()}),this.formFilter=this.fb.group({PageNumber:[1],RowCount:[20]})}loadUnbalanceJournal(e){console.log("loadUnbalanceJournal",e);let i=(e.first??0)/(e.rows??20)+1,c=e.rows??20;this.pageData.set(x(C({},this.pageData()),{PageNumber:i,RowCount:c}))}fetchUnbalanceJournal(){this.toolsService.getUnbalanceJournal(this.pageData()).pipe(X("response"),T(e=>this.unbalanceJournal.set(e))).subscribe()}onPageChange(e){console.log("Page changed to: ",e),this.pageData.set(x(C({},this.pageData()),{PageNumber:e.first/e.rows+1,RowCount:e.rows}))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=E({type:t,selectors:[["app-unbalance-journal"]],decls:3,vars:0,consts:[["content",""],["header",""],["body",""],["pageTitle","Unbalance Journal"],["paginatorStyleClass","d-flex justify-content-end","lazy","",3,"value","scrollable","scrollHeight","paginator","rows","totalRecords","rowsPerPageOptions","onPage",4,"ngIf"],["paginatorStyleClass","d-flex justify-content-end","lazy","",3,"onPage","value","scrollable","scrollHeight","paginator","rows","totalRecords","rowsPerPageOptions"],["readonly","",3,"trueValue"]],template:function(i,c){i&1&&(n(0,"app-main-panel",3),u(1,Ce,1,1,"ng-template",null,0,s),a())},dependencies:[D,O,I,te,ee,K,R,P,U,L],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var at=[{path:"",redirectTo:"generate-coa",pathMatch:"full"},{path:"generate-coa",component:ae},{path:"unbalance-journal",component:oe}];export{at as TOOLS_ROUTES};
|
package/chunk-LJMMN36O.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as N}from"./chunk-AH4LZWJY.js";import{f as P,h as L,i as M,j as V}from"./chunk-HG23WDL5.js";import"./chunk-EP22HTZC.js";import"./chunk-4ANSU2AT.js";import"./chunk-TJSPXPO6.js";import{g as D}from"./chunk-EN5MVYJQ.js";import"./chunk-Z4SGDPGH.js";import"./chunk-FJ7O4K2Y.js";import"./chunk-PNAWRNGD.js";import"./chunk-FVXLQNAC.js";import"./chunk-T3ZCO6EC.js";import"./chunk-S35HUXPS.js";import"./chunk-25PFXJAK.js";import{n as T,r as z,t as k}from"./chunk-GRTIJ77T.js";import{Bb as x,Fc as w,Ha as R,Hc as y,Ic as C,Kb as f,Tc as v,Ub as a,Vb as o,Vc as I,Wb as h,Z as A,_b as b,dc as S,ec as p,gb as c,ia as E,mc as l,nc as m,qa as u,ra as g,ub as J}from"./chunk-RSHFIZV3.js";import{a as s,b as d}from"./chunk-C6Q5SG76.js";function H(t,_){if(t&1){let e=b();a(0,"button",6),S("click",function(){u(e);let n=p(2);return g(n.onCreateJournal())}),l(1," Generate Journal "),o()}}function B(t,_){if(t&1&&x(0,H,2,0,"button",5),t&2){let e=p();f("ngIf",e.selectedItems().length)}}function O(t,_){t&1&&(a(0,"tr")(1,"th",9),h(2,"p-tableHeaderCheckbox"),o(),a(3,"th"),l(4,"Outlet"),o(),a(5,"th"),l(6,"Number"),o(),a(7,"th"),l(8,"Customer"),o(),a(9,"th"),l(10,"Date"),o(),a(11,"th"),l(12,"Due"),o(),a(13,"th"),l(14,"Note"),o(),a(15,"th"),l(16,"Payment"),o()())}function j(t,_){if(t&1&&(a(0,"tr")(1,"td"),h(2,"p-tableCheckbox",10),o(),a(3,"td"),l(4),o(),a(5,"td"),l(6),o(),a(7,"td"),l(8),o(),a(9,"td"),l(10),w(11,"date"),o(),a(12,"td"),l(13),w(14,"date"),o(),a(15,"td"),l(16),o(),a(17,"td"),l(18),o()()),t&2){let e=_.$implicit;c(2),f("value",e),c(2),m(e.outlet),c(2),m(e.number),c(2),m(e.customer),c(2),m(y(11,8,e.date,"d MMM y")),c(3),m(y(14,11,e.due,"d MMM y")),c(3),m(e.note),c(2),m(e.payment)}}function G(t,_){if(t&1){let e=b();a(0,"p-table",8),S("onLazyLoad",function(n){u(e);let r=p(2);return g(r.onLazyLoad(n))})("onRowSelect",function(n){u(e);let r=p(2);return g(r.onRowSelect(n))})("onRowUnselect",function(n){u(e);let r=p(2);return g(r.onRowUnselect(n))}),x(1,O,17,0,"ng-template",null,2,C)(3,j,19,14,"ng-template",null,3,C),o()}if(t&2){let e=p(2);f("value",e.ARCollection().data)("scrollable",!0)("scrollHeight","calc(100vh - 200px)")("paginator",!0)("rows",e.pageData().PageSize)("totalRecords",e.ARCollection().totalCount)("lazy",!0)}}function K(t,_){if(t&1&&x(0,G,5,7,"p-table",7),t&2){let e=p();f("ngIf",e.ARCollection())}}var ae=(()=>{class t{constructor(){this.generateJournalService=E(N),this.ARCollection=R(null),this.pageData=R({PageNumber:1,PageSize:10}),this.selectedItems=v(()=>this.ARCollection()&&this.ARCollection().data?this.ARCollection()?.data.filter(e=>e.checked)||[]:[]),I(()=>{this.pageData()&&this.fetchARCollection()})}fetchARCollection(){let e={PageSize:this.pageData().PageSize,PageNumber:this.pageData().PageNumber};this.generateJournalService.getARJournal(e).pipe(A(i=>{this.ARCollection.update(n=>d(s({},n),{data:i.data.map(r=>d(s({},r),{checked:!1})),totalCount:i.totalCount}))})).subscribe()}ngOnInit(){console.log()}onLazyLoad(e){this.pageData.set({PageNumber:e.first/e.rows+1,PageSize:e.rows})}onRowSelect(e){let i=e.data;this.ARCollection.update(n=>d(s({},n),{data:n.data.map(r=>r.id===i.id?d(s({},r),{checked:!0}):r)}))}onRowUnselect(e){let i=e.data;this.ARCollection.update(n=>d(s({},n),{data:n.data.map((r,U)=>r.id===i[U].id?d(s({},r),{checked:!1}):r)}))}onCreateJournal(){let i=this.selectedItems().map(n=>n.id);this.generateJournalService.createARJournal(i).subscribe(n=>{console.log("Journal created successfully:",n)})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=J({type:t,selectors:[["app-ar-journal"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["body",""],["pageTitle","AR Collection"],["class","btn btn-primary rounded",3,"click",4,"ngIf"],[1,"btn","btn-primary","rounded",3,"click"],["dataKey","id",3,"value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy","onLazyLoad","onRowSelect","onRowUnselect",4,"ngIf"],["dataKey","id",3,"onLazyLoad","onRowSelect","onRowUnselect","value","scrollable","scrollHeight","paginator","rows","totalRecords","lazy"],[2,"width","4rem"],[3,"value"]],template:function(i,n){i&1&&(a(0,"app-main-panel",4),x(1,B,1,1,"ng-template",null,0,C)(3,K,1,1,"ng-template",null,1,C),o())},dependencies:[D,k,T,z,V,P,L,M],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{ae as ARJournalComponent};
|
package/chunk-OHVHLILJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Se,b as Te,c as Ee,d as Ie,e as Fe,f as Ae}from"./chunk-LCATVZKP.js";import{a as Be,b as Ne}from"./chunk-52HZNWBM.js";import{a as ye}from"./chunk-63UNI6LK.js";import"./chunk-KFHCGO62.js";import{a as ue,b as de}from"./chunk-C66O26ZI.js";import{a as se}from"./chunk-AKBPKNCH.js";import{b as ge,c as fe,d as he,e as xe,f as be,j as Ce}from"./chunk-HG23WDL5.js";import{g as _e,h as ve}from"./chunk-EP22HTZC.js";import"./chunk-4ANSU2AT.js";import"./chunk-TJSPXPO6.js";import{a as V,b as R}from"./chunk-MNPBLC23.js";import{g as P}from"./chunk-EN5MVYJQ.js";import"./chunk-Z4SGDPGH.js";import"./chunk-FJ7O4K2Y.js";import{u as ce,v as G}from"./chunk-PNAWRNGD.js";import{Ca as z,Ga as pe,b as J,e as k,f as Z,i as ee,k as te,l as ne,m as ie,o as oe,r as re,t as ae,u as le}from"./chunk-FVXLQNAC.js";import{d as me}from"./chunk-T3ZCO6EC.js";import"./chunk-S35HUXPS.js";import"./chunk-25PFXJAK.js";import{k as X,n as O,s as Y,t as D}from"./chunk-GRTIJ77T.js";import{Bb as s,Fc as U,Gc as q,Ha as S,Ic as y,Kb as m,Nb as W,Pb as j,Qb as _,Sb as v,Tb as h,Tc as N,Ub as i,Vb as n,Wb as p,Z as M,_b as A,ca as H,dc as I,ec as u,gb as r,ia as C,mc as o,nc as g,qa as T,ra as E,ub as w,uc as Q,vc as L,wc as B}from"./chunk-RSHFIZV3.js";import{a as x,b}from"./chunk-C6Q5SG76.js";var $=(()=>{class t{#e=C(me);fetchLoaderConfiguration(){return this.#e.get("","api/SetupLoader/Load")}updateAccountingIntegrationConfiguration(e){return this.#e.post(void 0,"/api/setup/SubmitConfig",e)}fetchOpeningBalanceFormConfiguration(){return this.#e.get("","/api/setup/OpeningBalance/Form")}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=H({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var we=t=>({"active-state":t}),Oe=t=>({"text-white":t});function $e(t,l){if(t&1){let e=A();i(0,"button",5),o(1,"Cancel"),n(),i(2,"button",6),I("click",function(){T(e);let c=u();return E(c.updateAccountingIntegration())}),o(3," Save "),n()}}function je(t,l){if(t&1&&(i(0,"p-tab",8),o(1),n()),t&2){let e=l.$implicit,a=l.$index;m("value",a),r(),g(e)}}function Le(t,l){if(t&1&&(i(0,"div",34)(1,"h3",35),o(2," End Of Shift "),n()()),t&2){let e=u(5);m("ngClass",B(2,we,e.form.controls.posIntegration.value.createJournalTriggers===0)),r(),m("ngClass",B(4,Oe,e.form.controls.posIntegration.value.createJournalTriggers===0))}}function Ue(t,l){if(t&1&&(i(0,"div",34)(1,"h3",35),o(2," Every "),n()()),t&2){let e=u(5);m("ngClass",B(2,we,e.form.controls.posIntegration.value.createJournalTriggers===1)),r(),m("ngClass",B(4,Oe,e.form.controls.posIntegration.value.createJournalTriggers===1))}}function qe(t,l){if(t&1&&s(0,Le,3,6,"div",34)(1,Ue,3,6,"div",34),t&2){let e,a=u().$implicit;j((e=a.key)===0?0:e===1?1:-1)}}function ze(t,l){t&1&&(i(0,"h4"),o(1,"Suitable for Cash Sales (Retail & FnB)"),n(),i(2,"p"),o(3," One Journal is generated for all transaction happening within a register open - close period "),n())}function Ke(t,l){t&1&&(i(0,"h4"),o(1,"Every"),n(),i(2,"p"),o(3," Suitable for Credit Sales (Wholesale) Journal is generated for each transaction "),n())}function He(t,l){if(t&1){let e=A();i(0,"div",12),p(1,"p-radiobutton",32),i(2,"p-card",33),I("click",function(){T(e);let c=u(3);return E(c.changeJournalType())}),s(3,qe,2,1,"ng-template",null,2,y)(5,ze,4,0)(6,Ke,4,0),n()()}if(t&2){let e,a=l.$implicit;r(),m("inputId",a.value)("value",a.key),r(4),j((e=a.key)===0?5:e===1?6:-1)}}function We(t,l){if(t&1&&(i(0,"div",26),p(1,"p-radiobutton",36),i(2,"label",37),o(3),n()()),t&2){let e=l.$implicit;r(),m("value",e.key)("inputId",e.value),r(),m("for",e.value),r(),g(e.value)}}function Qe(t,l){if(t&1&&(i(0,"div",26),p(1,"p-radiobutton",38),i(2,"label",37),o(3),n()()),t&2){let e=l.$implicit;r(),m("value",e.key)("inputId",e.value),r(),m("for",e.value),r(),g(e.value)}}function Xe(t,l){if(t&1&&(i(0,"div",26),p(1,"p-radiobutton",39),i(2,"label",37),o(3),n()()),t&2){let e=l.$implicit;r(),m("value",e.key)("inputId",e.value),r(),m("for",e.value),r(),g(e.value)}}function Ye(t,l){if(t&1&&(i(0,"div",26),p(1,"p-radiobutton",40),i(2,"label",37),o(3),n()()),t&2){let e=l.$implicit;r(),m("value",e.key)("inputId",e.value),r(),m("for",e.value),r(),g(e.value)}}function Ze(t,l){if(t&1&&(i(0,"p-tabs",7)(1,"p-tablist"),v(2,je,2,2,"p-tab",8,_),n(),i(4,"p-tabpanels")(5,"p-tabpanel",9)(6,"h4"),o(7,"Integration with POS"),n(),i(8,"p"),o(9,"Generate Journal"),n(),i(10,"div",10)(11,"div",11)(12,"div",10),v(13,He,7,3,"div",12,_),n()()(),p(15,"hr"),i(16,"div",13)(17,"h3"),o(18,"Journal Generate"),n(),i(19,"p"),o(20,"Configure generate transaction"),n(),i(21,"div",10)(22,"div",14)(23,"div",15)(24,"div",14)(25,"div",16)(26,"label",17),o(27,"Generate EOD Expense Journal"),n(),p(28,"p-toggleswitch",18),n()(),p(29,"div",14),i(30,"div",14)(31,"div",16)(32,"label",17),o(33,"Generate Outlet Delivery Journal"),n(),p(34,"p-toggleswitch",19),n()(),p(35,"div",14),i(36,"div",14)(37,"div",16)(38,"label",17),o(39,"Generate Payment Discount Journal On Payment"),n(),p(40,"p-toggleswitch",20),n()()()()()()(),i(41,"p-tabpanel",21)(42,"div",13)(43,"h3"),o(44,"Accounting Numbering"),n(),i(45,"p"),o(46,"Configure numbering format and rule for your accounting"),n(),i(47,"div",10)(48,"div",14)(49,"div",15)(50,"div",14)(51,"div",16)(52,"label",17),o(53,"Digit"),n(),p(54,"input",22),n()(),p(55,"div",14),i(56,"div",14)(57,"div",16)(58,"label",17),o(59,"Seed"),n(),p(60,"input",23),n()(),i(61,"div",14)(62,"div",16)(63,"label",17),o(64,"Last Number"),n(),p(65,"input",24),n()(),i(66,"div",14)(67,"div",16)(68,"label",17),o(69,"Reset Every"),n(),i(70,"div",25),v(71,We,4,4,"div",26,_),n()()(),i(73,"div",14)(74,"div",16)(75,"label",17),o(76,"Format"),n(),p(77,"p-select",27),n()()()()()()(),i(78,"p-tabpanel",28)(79,"div",13)(80,"h3"),o(81,"Report"),n(),i(82,"p"),o(83,"Configure report behavior"),n(),i(84,"div",10)(85,"div",14)(86,"div",15)(87,"div",14)(88,"div",16)(89,"label",17),o(90,"Audit Journal Transaction"),n(),i(91,"div",25),v(92,Qe,4,4,"div",26,_),n()()(),p(94,"div",14),i(95,"div",14)(96,"div",16)(97,"label",17),o(98,"Accounting For Treatment"),n(),i(99,"div",25),v(100,Xe,4,4,"div",26,_),n()()(),p(102,"div",14),i(103,"div",14)(104,"div",16)(105,"label",17),o(106,"Configure Report Access Control in COA"),n(),i(107,"div",25),v(108,Ye,4,4,"div",26,_),n()()()()()()()(),i(110,"p-tabpanel",29)(111,"div",13)(112,"h3"),o(113,"Note"),n(),i(114,"p"),o(115,"Configure show note"),n(),i(116,"div",10)(117,"div",14)(118,"div",15)(119,"div",14)(120,"div",16)(121,"label",17),o(122,"Note Required On Journal"),n(),p(123,"p-toggleswitch",30),n()(),p(124,"div",14),i(125,"div",14)(126,"div",16)(127,"label",17),o(128,"Trial Balance Footer Visible"),n(),p(129,"p-toggleswitch",31),n()(),p(130,"div",14),n()()()()()()()),t&2){let e=u(2);m("value",0)("formGroup",e.form),r(2),h(e.tabs()),r(3),m("value",0),r(8),h(e.accountingIntegration().options.journalType),r(28),m("value",1),r(30),h(e.accountingIntegration().options.resetPeriods),r(6),m("options",e.accountingIntegration().options.monthlyResetPeriodFormat),r(),m("value",2),r(14),h(e.accountingIntegration().options.auditType),r(8),h(e.accountingIntegration().options.generatePrepaidJournal),r(8),h(e.accountingIntegration().options.entityAccess),r(2),m("value",3)}}function et(t,l){t&1&&s(0,Ze,131,7,"ng-template",null,1,y)}var De=(()=>{class t{constructor(){this.accountingSetupService=C($),this.fb=C(re).nonNullable,this.tabs=S(["Pos","Numbering","Report","Note"]),this.journalType=S(0),this.accountingIntegration=S(null)}ngOnInit(){this.initializeForm(),this.loadAccountingConfiguration()}initializeForm(){this.form=this.fb.group({posIntegration:this.createPosIntegrationGroup(),number:this.createNumberGroup(),report:this.createReportGroup(),journalGenerate:this.createJournalGenerateGroup(),note:this.createNoteGroup()})}createPosIntegrationGroup(){return this.fb.group({createJournalTriggers:this.fb.control(0)})}createNumberGroup(){return this.fb.group({seed:this.fb.control(""),digit:this.fb.control(""),resetEvery:this.fb.control(""),monthlyFormat:this.fb.control(""),lastNumber:this.fb.control(""),lastModified:this.fb.control("")})}createReportGroup(){return this.fb.group({accountingAuditType:this.fb.control(""),accountingEntityAccess:this.fb.control(""),generatePrepaidJournal:this.fb.control("")})}createJournalGenerateGroup(){return this.fb.group({eodExpenseJournal:this.fb.control(""),transferOrder:this.fb.control(""),paymentDiscount:this.fb.control("")})}createNoteGroup(){return this.fb.group({noteMandatory:this.fb.control(""),trialBalanceFooterVisible:this.fb.control("")})}changeJournalType(){let e=this.journalType()===0?1:0;this.journalType.set(e),this.accountingIntegration.update(a=>b(x({},a),{form:b(x({},a.form),{posIntegration:b(x({},a.form.posIntegration),{createJournalTriggers:e})})})),this.form.controls.posIntegration.patchValue({createJournalTriggers:e})}loadAccountingConfiguration(){this.accountingSetupService.fetchLoaderConfiguration().pipe(M(e=>{this.accountingIntegration.set(e);let a=e.form.posIntegration.createJournalTriggers;this.journalType.set(a),this.form.get("posIntegration.createJournalTriggers")?.setValue(a),this.form.patchValue(e.form)})).subscribe()}updateAccountingIntegration(){let e={form:this.form.getRawValue()};this.accountingSetupService.updateAccountingIntegrationConfiguration(e).pipe().subscribe()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=w({type:t,selectors:[["app-accounting-integration"]],decls:4,vars:1,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Accounting Integration"],[4,"ngIf"],[1,"btn","btn-secondary","rounded"],[1,"btn","btn-primary","rounded",3,"click"],[3,"value","formGroup"],[3,"value"],["formGroupName","posIntegration",3,"value"],[1,"row"],[1,"col-8"],[1,"col"],[1,"px-3"],[1,"col-6"],[1,"row","row-gap-3"],[1,"d-flex","flex-column"],["for",""],["formControlName","eodExpenseJournal"],["formControlName","transferOrder"],["formControlName","paymentDiscount"],["formGroupName","number",3,"value"],["formControlName","digit","type","text","pInputText",""],["formControlName","seed","type","text","pInputText",""],["formControlName","lastNumber","type","text","pInputText",""],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],["formControlName","monthlyFormat","optionValue","key","optionLabel","value",3,"options"],["formGroupName","report",3,"value"],["formGroupName","note",3,"value"],["formControlName","noteMandatory"],["formControlName","trialBalanceFooterVisible"],["styleClass","d-none","name","createJournalTriggers","formControlName","createJournalTriggers",3,"inputId","value"],["styleClass","h-100",3,"click"],[1,"d-flex","justify-content-center","inactive-state","text-white","py-2",3,"ngClass"],[1,"m-0",3,"ngClass"],["name","resetEvery","formControlName","resetEvery",3,"value","inputId"],[1,"ml-2","m-0",3,"for"],["name","accountingAuditType","formControlName","accountingAuditType",3,"value","inputId"],["name","generatePrepaidJournal","formControlName","generatePrepaidJournal",3,"value","inputId"],["name","accountingEntityAccess","formControlName","accountingEntityAccess",3,"value","inputId"]],template:function(a,c){a&1&&(i(0,"app-main-panel",3),s(1,$e,4,0,"ng-template",null,0,y)(3,et,2,0,null,4),n()),a&2&&(r(3),m("ngIf",c.accountingIntegration()))},dependencies:[D,X,O,Ae,Fe,Ie,Ee,Se,Te,P,R,V,xe,he,le,J,k,Z,ne,oe,ie,G,ce,ve,_e,Ne,Be],styles:["[_nghost-%COMP%]{display:block}.inactive-state[_ngcontent-%COMP%]{background-color:#e5e5e5}.active-state[_ngcontent-%COMP%]{background-color:#5680e9}"],changeDetection:0})}}return t})();var tt=()=>({width:"100%",height:"calc(100vh - 300px)"}),nt=()=>[];function it(t,l){t&1&&(i(0,"button",6),o(1,"Submit"),n())}function ot(t,l){t&1&&(i(0,"tr")(1,"th"),o(2,"Account Name"),n(),i(3,"th",18),o(4,"Debit"),n(),i(5,"th",18),o(6,"Credit"),n()())}function rt(t,l){if(t&1){let e=A();i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"input",19),I("ngModelChange",function(c){let f=T(e).rowIndex,F=u(2).$index,d=u(3);return E(d.dfsfsd(c,F,f,"debitAmount"))}),n()(),i(5,"td")(6,"input",19),I("ngModelChange",function(c){let f=T(e).rowIndex,F=u(2).$index,d=u(3);return E(d.dfsfsd(c,F,f,"creditAmount"))}),n()()()}if(t&2){let e=l.$implicit;r(2),g(e.accountName),r(2),m("ngModel",e.debitAmount),r(2),m("ngModel",e.creditAmount)}}function at(t,l){if(t&1&&(i(0,"p-table",15),s(1,ot,7,0,"ng-template",16)(2,rt,7,3,"ng-template",17),n()),t&2){let e=u().$implicit;m("value",e.items)}}function lt(t,l){if(t&1&&(i(0,"div",8)(1,"div",9)(2,"div",13)(3,"h4"),o(4),n()(),i(5,"div"),s(6,at,3,1,"p-table",14),n()()()),t&2){let e=l.$implicit;r(4),g(e.name),r(2),m("ngIf",e.items.length)}}function mt(t,l){if(t&1&&(i(0,"tr")(1,"td")(2,"p",20),o(3,"Total"),n()(),i(4,"td",18)(5,"p",20),o(6),U(7,"number"),n()(),i(8,"td",18)(9,"p",20),o(10),U(11,"number"),n()()()),t&2){let e=u(3);r(6),g(q(7,2,e.subTotalDebit())),r(4),g(q(11,4,e.subTotalCredit()))}}function pt(t,l){if(t&1&&(i(0,"p-card",7)(1,"div",8)(2,"div",9),p(3,"p-datepicker",10),n()()(),p(4,"br"),i(5,"p-card")(6,"p-scroll-panel")(7,"div",11),v(8,lt,7,2,"div",8,_),n()(),i(10,"p-table",12),s(11,mt,12,6,"ng-template",null,2,y),n()()),t&2){let e=u(2);r(3),m("ngModel",e.date()),r(3),W(L(4,tt)),r(2),h(e.nonEmptyForms()),r(2),m("value",L(5,nt))}}function ct(t,l){t&1&&s(0,pt,13,6,"ng-template",null,1,y)}var Je=(()=>{class t{constructor(){this.accSetupService=C($),this.openingBalanceForm=S(null),this.date=S(new Date),this.messageService=C(z),this.subTotalDebit=N(()=>this.openingBalanceForm()?this.openingBalanceForm().form.reduce((e,a)=>e+a.items.reduce((c,f)=>c+f.debitAmount,0),0):0),this.subTotalCredit=N(()=>this.openingBalanceForm()?this.openingBalanceForm().form.reduce((e,a)=>e+a.items.reduce((c,f)=>c+f.creditAmount,0),0):0),this.totalItemsCount=N(()=>this.openingBalanceForm()?this.openingBalanceForm().form.reduce((e,a)=>e+a.items.length,0):0),this.nonEmptyForms=N(()=>{let e=["Asset","Liability","Equity","Revenue","Expense"];return this.openingBalanceForm()?this.openingBalanceForm().form.filter(a=>a.items.length>0||e.includes(a.name)):[]})}ngOnInit(){this.loadFormData(),setInterval(()=>{this.subTotalCredit()!==this.subTotalDebit()&&this.messageService.add({severity:"warn",summary:"Mismatch Detected",detail:`The total Debit and Credit amounts are not balanced. Difference: ${this.subTotalCredit()-this.subTotalDebit()}`})},1e3)}loadFormData(){this.accSetupService.fetchOpeningBalanceFormConfiguration().pipe(se("response"),M(e=>{this.openingBalanceForm.set(e)})).subscribe()}dfsfsd(e,a,c,f){let F=this.openingBalanceForm().form.map((d,ke)=>ke===a?b(x({},d),{items:d.items.map((K,Ge)=>Ge===c?b(x({},K),{[f]:e}):K)}):d).filter(d=>d!==null);this.openingBalanceForm.update(d=>b(x({},d),{form:F})),console.log(this.openingBalanceForm())}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=w({type:t,selectors:[["app-acc-opening-balance-form"]],features:[Q([z])],decls:5,vars:1,consts:[["actionButton",""],["content",""],["footer",""],["pageTitle","Opening Balance Form"],[4,"ngIf"],["preventOpenDuplicates",""],[1,"btn","btn-primary","rounded"],["header","Opening Balance Date"],[1,"row"],[1,"col"],[3,"ngModel"],[1,"d-flex","flex-column","gap-4"],[3,"value"],[1,"mb-2"],["dataKey","id","stripedRows","",3,"value",4,"ngIf"],["dataKey","id","stripedRows","",3,"value"],["pTemplate","header"],["pTemplate","body"],[2,"width","200px"],["type","number",1,"form-control",3,"ngModelChange","ngModel"],[1,"fw-semibold","fs-5"]],template:function(a,c){a&1&&(i(0,"app-main-panel",3),s(1,it,2,0,"ng-template",null,0,y)(3,ct,2,0,null,4),n(),p(4,"p-toast",5)),a&2&&(r(3),m("ngIf",c.openingBalanceForm()))},dependencies:[P,R,V,pe,D,O,Y,fe,ge,Ce,be,de,ue,ae,J,te,k,ee,G,ye],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var ln=[{path:"",redirectTo:"accounting-integration",pathMatch:"full"},{path:"",children:[{path:"accounting-integration",component:De},{path:"opening-balance-form",component:Je}]}];export{ln as ACCOUNTING_SETUP_ROUTES};
|