dealposbooks 5.46.2 → 5.47.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/chunk-2RNKYO2Q.js +1 -0
- package/{chunk-RZHWMBFY.js → chunk-35UWKNGE.js} +1 -1
- package/{chunk-EL5BUFMO.js → chunk-3IEOINKV.js} +1 -1
- package/chunk-4X3G6MGP.js +1 -0
- package/{chunk-KGQGMXW6.js → chunk-53HJBLFX.js} +1 -1
- package/{chunk-EQ4PLHI4.js → chunk-53I5JFOQ.js} +1 -1
- package/{chunk-HG5MKVNR.js → chunk-5BXMDXZD.js} +1 -1
- package/chunk-5HZBSMCT.js +7 -0
- package/{chunk-YZH7Y43Y.js → chunk-5JZTWUDG.js} +1 -1
- package/chunk-5K3KAKU5.js +1 -0
- package/{chunk-IV5AW2OY.js → chunk-5SYYPB6N.js} +1 -1
- package/{chunk-IWF5R5FH.js → chunk-5YO43YBO.js} +1 -1
- package/{chunk-4ODQPLDW.js → chunk-6XE7LGUS.js} +1 -1
- package/chunk-6ZZZTNIH.js +130 -0
- package/{chunk-4IHVNLEA.js → chunk-AHX56FH2.js} +1 -1
- package/chunk-AXU3K2IY.js +1 -0
- package/{chunk-2XUSZCQL.js → chunk-BUDZ3ONE.js} +1 -1
- package/{chunk-EXBBFIDN.js → chunk-C3IOIS5V.js} +1 -1
- package/chunk-CL4EKWSU.js +1 -0
- package/{chunk-BKLUYVDG.js → chunk-CWDU4F7J.js} +1 -1
- package/{chunk-LFZCMZAP.js → chunk-CWFLUFKM.js} +1 -1
- package/{chunk-MJSJBCDR.js → chunk-DEOAL7PG.js} +1 -1
- package/{chunk-6GN3MGBY.js → chunk-DHLFL3KH.js} +1 -1
- package/{chunk-ZWR2YCUC.js → chunk-DRTMMJ4Q.js} +1 -1
- package/{chunk-GXJ3G456.js → chunk-DTFLX2XQ.js} +1 -1
- package/{chunk-DFGIXWZK.js → chunk-DU72RNAU.js} +1 -1
- package/{chunk-Q5CVMJZC.js → chunk-E4MHRZVH.js} +1 -1
- package/{chunk-5RW6MEBV.js → chunk-EEJGJ7WF.js} +1 -1
- package/chunk-EIV4TELQ.js +1 -0
- package/{chunk-BJBAWNDR.js → chunk-EPLZY6T4.js} +1 -1
- package/chunk-EQU7DDK6.js +1 -0
- package/chunk-ETFYQ4GV.js +1 -0
- package/{chunk-PNWKCLWA.js → chunk-F5CCLXIY.js} +1 -1
- package/{chunk-CVL3S2HY.js → chunk-GDQUB54I.js} +1 -1
- package/chunk-GJYEM7DL.js +1 -0
- package/{chunk-H7Q35Y7G.js → chunk-HQMTUZZQ.js} +1 -1
- package/{chunk-BLR3HBYP.js → chunk-HZ7BZ72K.js} +1 -1
- package/chunk-IMVMIXVJ.js +1028 -0
- package/{chunk-YTZ3JIC5.js → chunk-IYFNOI7S.js} +1 -1
- package/{chunk-UP67MADL.js → chunk-JOHRJHEX.js} +1 -1
- package/{chunk-HAQ36ZI6.js → chunk-JZVNZ3I3.js} +1 -1
- package/{chunk-C6TI7B2G.js → chunk-L2524E6T.js} +1 -1
- package/{chunk-NZN6QJR3.js → chunk-LABWETHZ.js} +1 -1
- package/{chunk-6A2KUPOG.js → chunk-LWYAFMN3.js} +1 -1
- package/{chunk-OR5FLZPY.js → chunk-M3TKVRYP.js} +1 -1
- package/{chunk-UCDJJGO5.js → chunk-MBJKUKHJ.js} +1 -1
- package/chunk-ML5KV2U2.js +1 -0
- package/{chunk-VKKAJODP.js → chunk-MT3DTYJO.js} +1 -1
- package/{chunk-36OX4S7M.js → chunk-NDLX3ORI.js} +1 -1
- package/{chunk-Y3URGAXL.js → chunk-NHHXXJY6.js} +1 -1
- package/{chunk-N4JIPI53.js → chunk-NM5M567G.js} +1 -1
- package/{chunk-XFVMOYX7.js → chunk-OJ2VC4ER.js} +1 -1
- package/chunk-OLLF6BKH.js +1 -0
- package/{chunk-45JI5H5L.js → chunk-OVEQKHUV.js} +2 -2
- package/{chunk-NHIAQTUJ.js → chunk-OW25MQS7.js} +1 -1
- package/{chunk-XD7VHCRC.js → chunk-PKOERZXQ.js} +1 -1
- package/{chunk-NCDT6JPP.js → chunk-PTQPB44D.js} +1 -1
- package/{chunk-NPAM3NOH.js → chunk-PXN4RATH.js} +1 -1
- package/chunk-Q47KHO2M.js +1 -0
- package/{chunk-EB6NEJHF.js → chunk-Q4LKKVQU.js} +1 -1
- package/{chunk-VJ3IBUVO.js → chunk-Q7SK53ST.js} +1 -1
- package/{chunk-Q24GCSGD.js → chunk-QWTGY7FA.js} +1 -1
- package/chunk-RF27SIL3.js +1 -0
- package/{chunk-R7N6BWL5.js → chunk-RXOOTYEO.js} +1 -1
- package/{chunk-XFOCD2H7.js → chunk-S3FQPUAS.js} +2 -2
- package/{chunk-2AAVNIG7.js → chunk-SEXB43QC.js} +1 -1
- package/chunk-SN7DLFX2.js +1 -0
- package/chunk-SS4J7T3N.js +1 -0
- package/{chunk-B54PFCWI.js → chunk-SZAGTA5I.js} +1 -1
- package/{chunk-7DYACF4D.js → chunk-T3EH4DR2.js} +1 -1
- package/chunk-TUFQ5JVG.js +180 -0
- package/{chunk-KS2JAY2L.js → chunk-V4B5LQYD.js} +1 -1
- package/{chunk-ARH3WEEF.js → chunk-V4SH72WU.js} +1 -1
- package/{chunk-IHZ55QSI.js → chunk-VK3G2VIU.js} +1 -1
- package/chunk-VL2HEHI5.js +1 -0
- package/{chunk-FMHGC2MA.js → chunk-VSHPIUZM.js} +1 -1
- package/{chunk-PEOJDDJN.js → chunk-VTCV67A4.js} +1 -1
- package/{chunk-G7QPRYOR.js → chunk-WFIXL354.js} +1 -1
- package/{chunk-7DJNG6VE.js → chunk-WGJFR6CK.js} +1 -1
- package/{chunk-5GAJOO6O.js → chunk-WPMC3LJJ.js} +3 -3
- package/{chunk-T6OMUVQY.js → chunk-XDJSQLQN.js} +1 -1
- package/{chunk-3GGXPPQT.js → chunk-XPRP6AB4.js} +1 -1
- package/{chunk-ETHACYOI.js → chunk-XT4YHL2M.js} +1 -1
- package/{chunk-OVAQBQEJ.js → chunk-YFNWEI3R.js} +1 -1
- package/{chunk-MFK5RQPJ.js → chunk-YZTBV6HG.js} +1 -1
- package/{chunk-B2BDKUAE.js → chunk-ZBO62XAM.js} +2 -2
- package/{chunk-KJ2WX3FC.js → chunk-ZMIVD3SF.js} +1 -1
- package/chunk-ZUDQOT7C.js +1 -0
- package/index.html +2 -2
- package/{main-ON5LJQLR.js → main-Q2T6QX2N.js} +1 -1
- package/package.json +1 -1
- package/chunk-6LW7PY2Z.js +0 -1
- package/chunk-6VBTHQT3.js +0 -7
- package/chunk-BVXYCUBY.js +0 -1
- package/chunk-CO2UYCZ2.js +0 -1
- package/chunk-EAEMBSUD.js +0 -130
- package/chunk-G6IPI7YM.js +0 -1
- package/chunk-H6HNANYB.js +0 -959
- package/chunk-N4RQTE4T.js +0 -1
- package/chunk-NQXDAWEZ.js +0 -1
- package/chunk-PFWNBHNC.js +0 -1
- package/chunk-Q34IDOYA.js +0 -1
- package/chunk-QUUGFWG3.js +0 -1
- package/chunk-S7AFTSCW.js +0 -1
- package/chunk-UH5YUPBR.js +0 -1
- package/chunk-VGNJD35F.js +0 -70
- package/chunk-WFQQUFSS.js +0 -1
- package/chunk-WKE2HPSD.js +0 -180
- package/chunk-WY2JNDES.js +0 -1
- package/chunk-X46QKMJY.js +0 -1
- package/chunk-XXNDXSPP.js +0 -1
- package/chunk-YV2QJ63P.js +0 -1
package/chunk-WKE2HPSD.js
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import{a as ft,b as It,c as kt}from"./chunk-VGNJD35F.js";import{h as wt}from"./chunk-YV2QJ63P.js";import{a as at,b as lt}from"./chunk-ARH3WEEF.js";import{a as fe,b as ut,f as Oe,h as he,j as ht,k as bt,l as Ct,m as xt,n as yt,o as vt,w as be,x as Tt}from"./chunk-H6HNANYB.js";import{$ as ge,A as Se,B as _e,C as Ve,D as Fe,Da as O,I as Pe,K as rt,La as mt,Ma as ue,N as st,Na as _t,R as Le,U as pt,Ua as gt,Z as ct,b as tt,e as it,j as nt,ma as dt,w as ot,y as $,z as me}from"./chunk-OIBDX2CA.js";import{d as et}from"./chunk-OR5FLZPY.js";import{a as Ke,h as se,k as pe,l as Ue,m as ce,s as de,t as Z}from"./chunk-VZ5CMS5O.js";import{c as Je,d as ke,f as ze,h as Me,i as Ee,k as De}from"./chunk-F2X3VGZZ.js";import{$b as h,$c as re,Aa as D,Ab as Ye,Ba as Qe,Bb as V,Cc as le,Da as U,Db as m,Dc as j,Ea as T,Ec as A,Fc as Ze,Gc as $e,Ha as Ae,Kb as w,La as We,Lb as o,Nb as je,Nc as we,Ob as H,Oc as Ie,Pb as F,Qb as X,Rc as W,Vb as p,Wb as c,Xb as y,Yb as B,Zb as R,_b as I,_c as b,bd as qe,ca as Be,cd as Ge,da as xe,ec as u,fb as Ne,fc as s,gc as J,hb as l,hc as Y,ia as k,kc as v,lc as ee,mc as C,nc as x,pa as Re,qa as _,qc as te,ra as g,rc as Q,sa as K,sb as ye,sc as ie,tc as Te,ua as z,wc as ne,xb as S,xc as oe,yb as ve,yc as ae,zb as Xe}from"./chunk-NMCKMUY4.js";import{a as Ce}from"./chunk-YQFG5XE2.js";var zt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMaximizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Mt=(()=>{class t extends he{pathId;ngOnInit(){this.pathId="url(#"+O()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["WindowMinimizeIcon"]],features:[V],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(K(),p(0,"svg",0)(1,"g"),y(2,"path",1),c(),p(3,"defs")(4,"clipPath",2),y(5,"rect",3),c()()()),n&2&&(F(i.getClassNames()),w("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),l(),w("clip-path",i.pathId),l(3),o("id",i.pathId))},encapsulation:2})}return t})();var Et=(()=>{class t extends fe{pFocusTrapDisabled=!1;platformId=k(We);document=k(Ke);firstHiddenFocusableElement;lastHiddenFocusableElement;ngOnInit(){super.ngOnInit(),Z(this.platformId)&&!this.pFocusTrapDisabled&&!this.firstHiddenFocusableElement&&!this.lastHiddenFocusableElement&&this.createHiddenFocusableElements()}ngOnChanges(e){super.ngOnChanges(e),e.pFocusTrapDisabled&&Z(this.platformId)&&(e.pFocusTrapDisabled.currentValue?this.removeHiddenFocusableElements():this.createHiddenFocusableElements())}removeHiddenFocusableElements(){this.firstHiddenFocusableElement&&this.firstHiddenFocusableElement.parentNode&&this.firstHiddenFocusableElement.parentNode.removeChild(this.firstHiddenFocusableElement),this.lastHiddenFocusableElement&&this.lastHiddenFocusableElement.parentNode&&this.lastHiddenFocusableElement.parentNode.removeChild(this.lastHiddenFocusableElement)}getComputedSelector(e){return`:not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])${e??""}`}createHiddenFocusableElements(){let e="0",n=i=>st("span",{class:"p-hidden-accessible p-hidden-focusable",tabindex:e,role:"presentation","aria-hidden":!0,"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0,onFocus:i?.bind(this)});this.firstHiddenFocusableElement=n(this.onFirstHiddenElementFocus),this.lastHiddenFocusableElement=n(this.onLastHiddenElementFocus),this.firstHiddenFocusableElement.setAttribute("data-pc-section","firstfocusableelement"),this.lastHiddenFocusableElement.setAttribute("data-pc-section","lastfocusableelement"),this.el.nativeElement.prepend(this.firstHiddenFocusableElement),this.el.nativeElement.append(this.lastHiddenFocusableElement)}onFirstHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.lastHiddenFocusableElement||!this.el.nativeElement?.contains(i)?pt(n.parentElement,":not(.p-hidden-focusable)"):this.lastHiddenFocusableElement;Le(a)}onLastHiddenElementFocus(e){let{currentTarget:n,relatedTarget:i}=e,a=i===this.firstHiddenFocusableElement||!this.el.nativeElement?.contains(i)?ct(n.parentElement,":not(.p-hidden-focusable)"):this.firstHiddenFocusableElement;Le(a)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275dir=Xe({type:t,selectors:[["","pFocusTrap",""]],inputs:{pFocusTrapDisabled:[2,"pFocusTrapDisabled","pFocusTrapDisabled",b]},features:[V,Re]})}return t})();var Ot=["header"],Dt=["content"],St=["footer"],Ht=["closeicon"],Bt=["maximizeicon"],Rt=["minimizeicon"],Qt=["headless"],At=["titlebar"],Wt=["*",[["p-footer"]]],Nt=["*","p-footer"],Xt=(t,r,e)=>({position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex","justify-content":t,"align-items":r,"pointer-events":e}),Yt=t=>({"p-dialog p-component":!0,"p-dialog-maximized":t}),jt=()=>({display:"flex","flex-direction":"column","pointer-events":"auto"}),Zt=(t,r)=>({transform:t,transition:r}),$t=t=>({value:"visible",params:t});function qt(t,r){t&1&&I(0)}function Gt(t,r){if(t&1&&(B(0),m(1,qt,1,0,"ng-container",11),R()),t&2){let e=s(3);l(),o("ngTemplateOutlet",e._headlessTemplate||e.headlessTemplate||e.headlessT)}}function Kt(t,r){if(t&1){let e=h();p(0,"div",15),u("mousedown",function(i){_(e);let a=s(4);return g(a.initResize(i))}),c()}if(t&2){let e=s(4);o("ngClass",e.cx("resizeHandle"))}}function Ut(t,r){if(t&1&&(p(0,"span",21),Q(1),c()),t&2){let e=s(5);o("id",e.ariaLabelledBy)("ngClass",e.cx("title")),l(),ie(e.header)}}function Jt(t,r){t&1&&I(0)}function ei(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(6);o("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function ti(t,r){t&1&&y(0,"WindowMaximizeIcon")}function ii(t,r){t&1&&y(0,"WindowMinimizeIcon")}function ni(t,r){if(t&1&&(B(0),m(1,ti,1,0,"WindowMaximizeIcon",23)(2,ii,1,0,"WindowMinimizeIcon",23),R()),t&2){let e=s(6);l(),o("ngIf",!e.maximized&&!e._maximizeiconTemplate&&!e.maximizeIconTemplate&&!e.maximizeIconT),l(),o("ngIf",e.maximized&&!e._minimizeiconTemplate&&!e.minimizeIconTemplate&&!e.minimizeIconT)}}function oi(t,r){}function ai(t,r){t&1&&m(0,oi,0,0,"ng-template")}function li(t,r){if(t&1&&(B(0),m(1,ai,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._maximizeiconTemplate||e.maximizeIconTemplate||e.maximizeIconT)}}function ri(t,r){}function si(t,r){t&1&&m(0,ri,0,0,"ng-template")}function pi(t,r){if(t&1&&(B(0),m(1,si,1,0,null,11),R()),t&2){let e=s(6);l(),o("ngTemplateOutlet",e._minimizeiconTemplate||e.minimizeIconTemplate||e.minimizeIconT)}}function ci(t,r){if(t&1){let e=h();p(0,"p-button",22),u("onClick",function(){_(e);let i=s(5);return g(i.maximize())})("keydown.enter",function(){_(e);let i=s(5);return g(i.maximize())}),m(1,ei,1,1,"span",14)(2,ni,3,2,"ng-container",23)(3,li,2,1,"ng-container",23)(4,pi,2,1,"ng-container",23),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcMaximizeButton"))("tabindex",e.maximizable?"0":"-1")("ariaLabel",e.maximizeLabel)("buttonProps",e.maximizeButtonProps),l(),o("ngIf",e.maximizeIcon&&!e._maximizeiconTemplate&&!e._minimizeiconTemplate),l(),o("ngIf",!e.maximizeIcon&&!(e.maximizeButtonProps!=null&&e.maximizeButtonProps.icon)),l(),o("ngIf",!e.maximized),l(),o("ngIf",e.maximized)}}function di(t,r){if(t&1&&y(0,"span",18),t&2){let e=s(8);o("ngClass",e.closeIcon)}}function mi(t,r){t&1&&y(0,"TimesIcon")}function _i(t,r){if(t&1&&(B(0),m(1,di,1,1,"span",14)(2,mi,1,0,"TimesIcon",23),R()),t&2){let e=s(7);l(),o("ngIf",e.closeIcon),l(),o("ngIf",!e.closeIcon)}}function gi(t,r){}function ui(t,r){t&1&&m(0,gi,0,0,"ng-template")}function fi(t,r){if(t&1&&(p(0,"span"),m(1,ui,1,0,null,11),c()),t&2){let e=s(7);l(),o("ngTemplateOutlet",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function hi(t,r){if(t&1&&m(0,_i,3,2,"ng-container",23)(1,fi,2,1,"span",23),t&2){let e=s(6);o("ngIf",!e._closeiconTemplate&&!e.closeIconTemplate&&!e.closeIconT&&!(e.closeButtonProps!=null&&e.closeButtonProps.icon)),l(),o("ngIf",e._closeiconTemplate||e.closeIconTemplate||e.closeIconT)}}function bi(t,r){if(t&1){let e=h();p(0,"p-button",24),u("onClick",function(i){_(e);let a=s(5);return g(a.close(i))})("keydown.enter",function(i){_(e);let a=s(5);return g(a.close(i))}),m(1,hi,2,2,"ng-template",null,4,W),c()}if(t&2){let e=s(5);o("styleClass",e.cx("pcCloseButton"))("ariaLabel",e.closeAriaLabel)("tabindex",e.closeTabindex)("buttonProps",e.closeButtonProps)}}function Ci(t,r){if(t&1){let e=h();p(0,"div",16,3),u("mousedown",function(i){_(e);let a=s(4);return g(a.initDrag(i))}),m(2,Ut,2,3,"span",17)(3,Jt,1,0,"ng-container",11),p(4,"div",18),m(5,ci,5,8,"p-button",19)(6,bi,3,4,"p-button",20),c()()}if(t&2){let e=s(4);o("ngClass",e.cx("header")),l(2),o("ngIf",!e._headerTemplate&&!e.headerTemplate&&!e.headerT),l(),o("ngTemplateOutlet",e._headerTemplate||e.headerTemplate||e.headerT),l(),o("ngClass",e.cx("headerActions")),l(),o("ngIf",e.maximizable),l(),o("ngIf",e.closable)}}function xi(t,r){t&1&&I(0)}function yi(t,r){t&1&&I(0)}function vi(t,r){if(t&1&&(p(0,"div",18,5),Y(2,1),m(3,yi,1,0,"ng-container",11),c()),t&2){let e=s(4);o("ngClass",e.cx("footer")),l(3),o("ngTemplateOutlet",e._footerTemplate||e.footerTemplate||e.footerT)}}function Ti(t,r){if(t&1&&(m(0,Kt,1,1,"div",12)(1,Ci,7,6,"div",13),p(2,"div",7,2),Y(4),m(5,xi,1,0,"ng-container",11),c(),m(6,vi,4,2,"div",14)),t&2){let e=s(3);o("ngIf",e.resizable),l(),o("ngIf",e.showHeader),l(),F(e.contentStyleClass),o("ngClass",e.cx("content"))("ngStyle",e.contentStyle),w("data-pc-section","content"),l(3),o("ngTemplateOutlet",e._contentTemplate||e.contentTemplate||e.contentT),l(),o("ngIf",e._footerTemplate||e.footerTemplate||e.footerT)}}function wi(t,r){if(t&1){let e=h();p(0,"div",9,0),u("@animation.start",function(i){_(e);let a=s(2);return g(a.onAnimationStart(i))})("@animation.done",function(i){_(e);let a=s(2);return g(a.onAnimationEnd(i))}),m(2,Gt,2,1,"ng-container",10)(3,Ti,7,9,"ng-template",null,1,W),c()}if(t&2){let e=te(4),n=s(2);H(n.style),F(n.styleClass),o("ngClass",A(13,Yt,n.maximizable&&n.maximized))("ngStyle",j(15,jt))("pFocusTrapDisabled",n.focusTrap===!1)("@animation",A(19,$t,Ze(16,Zt,n.transformOptions,n.transitionOptions))),w("role",n.role)("aria-labelledby",n.ariaLabelledBy)("aria-modal",!0),l(2),o("ngIf",n._headlessTemplate||n.headlessTemplate||n.headlessT)("ngIfElse",e)}}function Ii(t,r){if(t&1&&(p(0,"div",7),m(1,wi,5,21,"div",8),c()),t&2){let e=s();H(e.maskStyle),F(e.maskStyleClass),o("ngClass",e.maskClass)("ngStyle",$e(7,Xt,e.position==="left"||e.position==="topleft"||e.position==="bottomleft"?"flex-start":e.position==="right"||e.position==="topright"||e.position==="bottomright"?"flex-end":"center",e.position==="top"||e.position==="topleft"||e.position==="topright"?"flex-start":e.position==="bottom"||e.position==="bottomleft"||e.position==="bottomright"?"flex-end":"center",e.modal?"auto":"none")),l(),o("ngIf",e.visible)}}var ki=({dt:t})=>`
|
|
2
|
-
.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
|
-
`,zi={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"}},Mi={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"},Vt=(()=>{class t extends gt{name="dialog";theme=ki;classes=Mi;inlineStyles=zi;static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275prov=Be({token:t,factory:t.\u0275fac})}return t})();var Ei=Ee([ze({transform:"{{transform}}",opacity:0}),ke("{{transition}}")]),Di=Ee([ke("{{transition}}",ze({transform:"{{transform}}",opacity:0}))]),He=(()=>{class t extends fe{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=Ce({},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=O("pn_id_");_style={};_position="center";originalStyle;transformOptions="scale(0.7)";styleElement;window;_componentStyle=k(Vt);headerT;contentT;footerT;closeIconT;maximizeIconT;minimizeIconT;headlessT;get maximizeLabel(){return this.config.getTranslation(_t.ARIA).maximizeLabel}zone=k(Qe);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?O("pn_id_")+"_header":null}parseDurationToMilliseconds(e){let n=/([\d\.]+)(ms|s)\b/g,i=0,a;for(;(a=n.exec(e))!==null;){let d=parseFloat(a[1]),f=a[2];f==="ms"?i+=d:f==="s"&&(i+=d*1e3)}if(i!==0)return i}_focus(e){if(e){let n=this.parseDurationToMilliseconds(this.transitionOptions),i=ut.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&&Se()}disableModality(){if(this.wrapper){this.dismissableMask&&this.unbindMaskClickListener();let e=document.querySelectorAll(".p-dialog-mask-scrollblocker");this.modal&&e&&e.length==1&&Ve(),this.cd.destroyed||this.cd.detectChanges()}}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?Se():Ve()),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(Oe.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(Z(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),dt(this.styleElement,"nonce",this.config?.csp()?.nonce)}}initDrag(e){$(e.target,"p-dialog-maximize-icon")||$(e.target,"p-dialog-header-close-icon")||$(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",me(this.document.body,"p-unselectable-text"))}onDrag(e){if(this.dragging){let n=Pe(this.container),i=ge(this.container),a=e.pageX-this.lastPageX,d=e.pageY-this.lastPageY,f=this.container.getBoundingClientRect(),P=getComputedStyle(this.container),L=parseFloat(P.marginLeft),G=parseFloat(P.marginTop),M=f.left+a-L,E=f.top+d-G,N=Fe();this.container.style.position="fixed",this.keepInViewport?(M>=this.minX&&M+n<N.width&&(this._style.left=`${M}px`,this.lastPageX=e.pageX,this.container.style.left=`${M}px`),E>=this.minY&&E+i<N.height&&(this._style.top=`${E}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${M}px`,this.lastPageY=e.pageY,this.container.style.top=`${E}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,_e(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,me(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let n=e.pageX-this.lastPageX,i=e.pageY-this.lastPageY,a=Pe(this.container),d=ge(this.container),f=ge(this.contentViewChild?.nativeElement),P=a+n,L=d+i,G=this.container.style.minWidth,M=this.container.style.minHeight,E=this.container.getBoundingClientRect(),N=Fe();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(P+=n,L+=i),(!G||P>parseInt(G))&&E.left+P<N.width&&(this._style.width=P+"px",this.container.style.width=this._style.width),(!M||L>parseInt(M))&&E.top+L<N.height&&(this.contentViewChild.nativeElement.style.height=f+L-d+"px",this._style.height&&(this._style.height=L+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,_e(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.document.defaultView,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.document.defaultView,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){let e=this.el?this.el.nativeElement.ownerDocument:"document";this.documentEscapeListener=this.renderer.listen(e,"keydown",n=>{n.key=="Escape"&&this.close(n)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.wrapper):rt(this.appendTo,this.wrapper))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container?.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container?.setAttribute(this.id,""),this.modal&&this.enableModality(),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&me(this.wrapper,"p-overlay-mask-leave");break}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck(),this.maskVisible!==this.visible&&(this.maskVisible=this.visible);break;case"visible":this.onShow.emit({});break}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(this.document.body.style.removeProperty("--scrollbar;-width"),this.maximized=!1),this.modal&&this.disableModality(),$(this.document.body,"p-overflow-hidden")&&_e(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Oe.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?Ce({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(i){return(e||(e=z(t)))(i||t)}})();static \u0275cmp=S({type:t,selectors:[["p-dialog"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Ot,4),v(a,Dt,4),v(a,St,4),v(a,Ht,4),v(a,Bt,4),v(a,Rt,4),v(a,Qt,4),v(a,mt,4)),n&2){let d;C(d=x())&&(i._headerTemplate=d.first),C(d=x())&&(i._contentTemplate=d.first),C(d=x())&&(i._footerTemplate=d.first),C(d=x())&&(i._closeiconTemplate=d.first),C(d=x())&&(i._maximizeiconTemplate=d.first),C(d=x())&&(i._minimizeiconTemplate=d.first),C(d=x())&&(i._headlessTemplate=d.first),C(d=x())&&(i.templates=d)}},viewQuery:function(n,i){if(n&1&&(ee(At,5),ee(Dt,5),ee(St,5)),n&2){let a;C(a=x())&&(i.headerViewChild=a.first),C(a=x())&&(i.contentViewChild=a.first),C(a=x())&&(i.footerViewChild=a.first)}},inputs:{header:"header",draggable:[2,"draggable","draggable",b],resizable:[2,"resizable","resizable",b],positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:[2,"modal","modal",b],closeOnEscape:[2,"closeOnEscape","closeOnEscape",b],dismissableMask:[2,"dismissableMask","dismissableMask",b],rtl:[2,"rtl","rtl",b],closable:[2,"closable","closable",b],responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",maskStyle:"maskStyle",showHeader:[2,"showHeader","showHeader",b],breakpoint:"breakpoint",blockScroll:[2,"blockScroll","blockScroll",b],autoZIndex:[2,"autoZIndex","autoZIndex",b],baseZIndex:[2,"baseZIndex","baseZIndex",re],minX:[2,"minX","minX",re],minY:[2,"minY","minY",re],focusOnShow:[2,"focusOnShow","focusOnShow",b],maximizable:[2,"maximizable","maximizable",b],keepInViewport:[2,"keepInViewport","keepInViewport",b],focusTrap:[2,"focusTrap","focusTrap",b],transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",closeButtonProps:"closeButtonProps",maximizeButtonProps:"maximizeButtonProps",visible:"visible",style:"style",position:"position",role:"role",headerTemplate:[0,"content","headerTemplate"],contentTemplate:"contentTemplate",footerTemplate:"footerTemplate",closeIconTemplate:"closeIconTemplate",maximizeIconTemplate:"maximizeIconTemplate",minimizeIconTemplate:"minimizeIconTemplate",headlessTemplate:"headlessTemplate"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},features:[le([Vt]),V],ngContentSelectors:Nt,decls:1,vars:1,consts:[["container",""],["notHeadless",""],["content",""],["titlebar",""],["icon",""],["footer",""],[3,"ngClass","class","ngStyle","style",4,"ngIf"],[3,"ngClass","ngStyle"],["pFocusTrap","",3,"class","ngClass","ngStyle","style","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","",3,"ngClass","ngStyle","pFocusTrapDisabled"],[4,"ngIf","ngIfElse"],[4,"ngTemplateOutlet"],["style","z-index: 90;",3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass","mousedown",4,"ngIf"],[3,"ngClass",4,"ngIf"],[2,"z-index","90",3,"mousedown","ngClass"],[3,"mousedown","ngClass"],[3,"id","ngClass",4,"ngIf"],[3,"ngClass"],[3,"styleClass","tabindex","ariaLabel","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"styleClass","ariaLabel","tabindex","buttonProps","onClick","keydown.enter",4,"ngIf"],[3,"id","ngClass"],[3,"onClick","keydown.enter","styleClass","tabindex","ariaLabel","buttonProps"],[4,"ngIf"],[3,"onClick","keydown.enter","styleClass","ariaLabel","tabindex","buttonProps"]],template:function(n,i){n&1&&(J(Wt),m(0,Ii,2,11,"div",6)),n&2&&o("ngIf",i.maskVisible)},dependencies:[de,se,pe,ce,Ue,be,Et,ft,zt,Mt,ue],encapsulation:2,data:{animation:[Je("animation",[Me("void => visible",[De(Ei)]),Me("visible => void",[De(Di)])])]},changeDetection:0})}return t})(),Ft=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ve({type:t});static \u0275inj=xe({imports:[He,ue,ue]})}return t})();var Pt=(()=>{class t{transform(e,n=50,i=!1,a="..."){return e&&(i&&(n=e.substring(0,n).lastIndexOf(" "),n===-1&&(n=50)),e.length>n?e.substring(0,n)+a:e)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275pipe=Ye({name:"truncate",type:t,pure:!0})}}return t})();var Vi=["actionButton"],Fi=["filters"],Pi=["content"],Li=[[["tabs"]]],Oi=["tabs"],Hi=t=>({"border-bottom":t}),Bi=t=>({"overflow-y":t,"padding-bottom":"80px"}),Ri=()=>({width:"30vw"}),Qi=()=>({"1199px":"75vw","575px":"100vw"});function Ai(t,r){if(t&1){let e=h();p(0,"p-button",33),u("onClick",function(){_(e);let i=s();return g(i.isSearchbarCollapse=!i.isSearchbarCollapse)}),c()}t&2&&o("text",!0)}function Wi(t,r){if(t&1){let e=h();p(0,"p-button",34),u("click",function(){_(e);let i=s();return g(i.isCollapsed=!i.isCollapsed)}),c()}if(t&2){let e=s();o("text",!0),w("aria-expanded",!e.isCollapsed)}}function Ni(t,r){if(t&1){let e=h();p(0,"p-iconfield",23)(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Xi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function Yi(t,r){t&1&&I(0)}function ji(t,r){if(t&1){let e=h();p(0,"p-iconfield")(1,"input",35),u("ngModelChange",function(i){_(e);let a=s();return g(a.searchQuery.set(i))})("keyup.enter",function(){_(e);let i=s();return g(i.emitSearch())}),c(),p(2,"p-inputicon",36),u("click",function(){_(e);let i=s();return g(i.emitSearch())}),c()()}if(t&2){let e=s();l(),o("ngModel",e.searchQuery())}}function Zi(t,r){if(t&1){let e=h();p(0,"button",37),u("click",function(){_(e);let i=s();return g(i.onOpenFilterDialog())}),y(1,"i",38)(2,"i",39),c()}}function $i(t,r){t&1&&I(0)}function qi(t,r){t&1&&I(0)}function Gi(t,r){t&1&&I(0)}function Ki(t,r){if(t&1){let e=h();p(0,"p-button",40),u("onClick",function(){_(e);let i=s();return g(i.closeFilter())}),c()}t&2&&o("rounded",!0)("text",!0)}function Ui(t,r){if(t&1){let e=h();p(0,"p-button",43),u("click",function(){_(e);let i=s(2);return g(i.cancelFilter())}),c()}}function Ji(t,r){if(t&1){let e=h();p(0,"p-button",44),u("click",function(){_(e);let i=s(2);return g(i.confirmFilter())}),c()}}function en(t,r){if(t&1&&m(0,Ui,1,0,"p-button",41)(1,Ji,1,0,"p-button",42),t&2){let e=s();o("ngIf",e.showCancelButton()),l(),o("ngIf",e.showConfirmButton())}}var tn=9999,_o=(()=>{class t{ngAfterViewInit(){this.intercomService.initializeIntercom()}confirmFilter(){this.filterConfirmed.emit()}cancelFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}closeFilter(){this.filterCanceled.emit(),this.isDialogFilterVisible.update(e=>!e)}constructor(){this.intercomService=k(et),this.scrollable=T(!1),this.limitStrLength=T(tn),this.overflowScroll=T(!1),this.isCollapsed=!0,this.isSearchbarCollapse=!0,this.store=k(wt),this.pageTitle=T(""),this.pageSubTitle=T(""),this.isSearchableInput=T(!1),this.isFilterable=T(!1),this.hasMainWrapperPadding=T(!1),this.search=U(),this.searchQuery=Ae(""),this.filterConfirmed=U(),this.filterCanceled=U(),this.isDialogFilterVisible=ye(!1),this.isInitDialogFilterVisible=ye(!1),this.pageTitleComputed=qe(()=>this.pageTitle()?this.pageTitle().length>50?this.pageTitle().slice(0,50)+"...":this.pageTitle():""),this.showCancelButton=T(!0),this.showConfirmButton=T(!0),this.dialogTitle=T("Filter"),Ge(()=>{this.isInitDialogFilterVisible()&&this.onOpenFilterDialog()})}onOpenFilterDialog(){this.isDialogFilterVisible.update(e=>!e)}emitSearch(){this.search.emit(this.searchQuery())}handleKeyboardEvent(e){e.key==="F2"&&this.filterConfirmed.emit()}get mainPanelClasses(){return{"p-3":this.hasMainWrapperPadding()}}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=S({type:t,selectors:[["app-main-panel"]],contentQueries:function(n,i,a){if(n&1&&(v(a,Vi,7),v(a,Fi,7),v(a,Pi,7)),n&2){let d;C(d=x())&&(i.actionButtonTemplate=d.first),C(d=x())&&(i.filterTemplate=d.first),C(d=x())&&(i.contentTemplate=d.first)}},hostBindings:function(n,i){n&1&&u("keydown",function(d){return i.handleKeyboardEvent(d)},!1,Ne)},inputs:{scrollable:[1,"scrollable"],limitStrLength:[1,"limitStrLength"],overflowScroll:[1,"overflowScroll"],pageTitle:[1,"pageTitle"],pageSubTitle:[1,"pageSubTitle"],isSearchableInput:[1,"isSearchableInput"],isFilterable:[1,"isFilterable"],hasMainWrapperPadding:[1,"hasMainWrapperPadding"],isDialogFilterVisible:[1,"isDialogFilterVisible"],isInitDialogFilterVisible:[1,"isInitDialogFilterVisible"],showCancelButton:[1,"showCancelButton"],showConfirmButton:[1,"showConfirmButton"],dialogTitle:[1,"dialogTitle"]},outputs:{search:"search",filterConfirmed:"filterConfirmed",filterCanceled:"filterCanceled",isDialogFilterVisible:"isDialogFilterVisibleChange",isInitDialogFilterVisible:"isInitDialogFilterVisibleChange"},features:[le([])],ngContentSelectors:Oi,decls:52,vars:42,consts:[["collapse","ngbCollapse"],["closeIconTemplate",""],["footer",""],[1,"container-wrapper"],[2,"position","sticky","top","0","z-index","1000","background","white"],[1,"navbar","navbar-expand-lg","bg-white","border-bottom",3,"ngClass"],[1,"container-fluid","px-lg-3","px-1"],[1,"row","w-100","d-block","d-lg-none","mx-0"],[1,"col","d-flex","align-items-center","justify-content-between","flex-wrap","px-0"],[1,"d-flex","align-items-center"],["icon","fa-solid fa-bars","severity","contrast",1,"text-dark",3,"onClick","text"],[1,"fs-4","m-0","fw-bolder"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"text","onClick",4,"ngIf"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"text","click",4,"ngIf"],[1,"w-100","d-none","d-lg-flex"],[1,"col-8","d-flex"],[1,"row","w-100"],[1,"col-12","d-flex","align-items-center"],[1,"d-flex","align-items-center","justify-content-between","w-100","gap-2"],["tooltipPosition","top",1,"flex-shrink-1",3,"pTooltip"],[1,"page-title","fs-6","m-0","fw-semibold","align-middle"],[2,"font-size","14px"],[1,"d-flex","align-items-center","flex-grow-1","gap-2"],[2,"max-width","300px"],["type","button",1,"btn","btn-link","p-0"],[1,"col-4","align-self-center","d-flex","gap-2","justify-content-end"],[4,"ngTemplateOutlet"],[3,"ngbCollapseChange","ngbCollapse"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center","gap-2"],[1,"flex-grow-1",3,"ngClass"],["position","center","appendTo","body",3,"visibleChange","header","modal","visible","breakpoints","draggable","closeIconTemplate","dismissableMask"],["icon","fa-solid fa-magnifying-glass","severity","contrast",3,"onClick","text"],["icon","fa-solid fa-ellipsis-vertical","severity","contrast",3,"click","text"],["pTooltip","Search...","tooltipPosition","top","placeholder","Search...","type","text","pInputText","",3,"ngModelChange","keyup.enter","ngModel"],["styleClass","fa-solid fa-magnifying-glass",3,"click"],["type","button",1,"btn","btn-link","p-0",3,"click"],[1,"fa-solid","fa-filter"],[1,"fa-solid","fa-caret-down"],["severity","secondary","variant","outlined","icon","fa-solid fa-xmark",3,"onClick","rounded","text"],["label","Cancel","severity","secondary","variant","outlined",3,"click",4,"ngIf"],["label","OK (F2)",3,"click",4,"ngIf"],["label","Cancel","severity","secondary","variant","outlined",3,"click"],["label","OK (F2)",3,"click"]],template:function(n,i){if(n&1){let a=h();J(Li),p(0,"div",3)(1,"div",4)(2,"nav",5)(3,"div",6)(4,"div",7)(5,"div",8)(6,"div",9)(7,"p-button",10),u("onClick",function(){return _(a),g(i.store.updateSidebarType())}),c(),p(8,"h1",11),Q(9),c(),m(10,Ai,1,1,"p-button",12),c(),m(11,Wi,1,2,"p-button",13),c()(),p(12,"div",14)(13,"div",15)(14,"div",16)(15,"div",17)(16,"div",18)(17,"div",19),we(18,"truncate"),p(19,"h1",20)(20,"span"),Q(21),c(),p(22,"span")(23,"small",21),Q(24),we(25,"truncate"),c()()()(),p(26,"div",22),m(27,Ni,3,1,"p-iconfield",23)(28,Xi,3,0,"button",24),c()()()()(),p(29,"div",25),m(30,Yi,1,0,"ng-container",26),c()()()(),p(31,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isSearchbarCollapse,f)||(i.isSearchbarCollapse=f),g(f)}),p(33,"div",28)(34,"div",29)(35,"div",30),m(36,ji,3,1,"p-iconfield")(37,Zi,3,0,"button",24),c()()()(),p(38,"div",27,0),ae("ngbCollapseChange",function(f){return _(a),oe(i.isCollapsed,f)||(i.isCollapsed=f),g(f)}),p(40,"div",28)(41,"div",29),m(42,$i,1,0,"ng-container",26),c()()(),Y(43),c(),p(44,"div",31),m(45,qi,1,0,"ng-container",26),c()(),p(46,"p-dialog",32),ae("visibleChange",function(f){return _(a),oe(i.isDialogFilterVisible,f)||(i.isDialogFilterVisible=f),g(f)}),m(47,Gi,1,0,"ng-container",26)(48,Ki,1,2,"ng-template",null,1,W)(50,en,2,2,"ng-template",null,2,W),c()}if(n&2){let a=te(49);je("overflow-y-auto",i.scrollable()),l(2),o("ngClass",A(36,Hi,i.hasMainWrapperPadding())),l(5),o("text",!0),l(2),Te(" ",i.pageTitleComputed()," "),l(),o("ngIf",i.isSearchableInput()),l(),o("ngIf",i.actionButtonTemplate),l(6),o("pTooltip",Ie(18,32,i.pageTitle())!==i.pageTitle()?i.pageTitle():null),l(4),ie(i.pageTitle()),l(3),Te(" ",Ie(25,34,i.pageSubTitle()),""),l(3),X(i.isSearchableInput()?27:-1),l(),X(i.isFilterable()?28:-1),l(2),o("ngTemplateOutlet",i.actionButtonTemplate),l(),ne("ngbCollapse",i.isSearchbarCollapse),l(5),X(i.isSearchableInput()?36:-1),l(),X(i.isFilterable()?37:-1),l(),ne("ngbCollapse",i.isCollapsed),l(4),o("ngTemplateOutlet",i.actionButtonTemplate),l(2),H(A(38,Bi,i.overflowScroll()?"auto":"visible")),o("ngClass",i.mainPanelClasses),l(),o("ngTemplateOutlet",i.contentTemplate),l(),H(j(40,Ri)),o("header",i.dialogTitle())("modal",!0),ne("visible",i.isDialogFilterVisible),o("breakpoints",j(41,Qi))("draggable",!1)("closeIconTemplate",a)("dismissableMask",!0),l(),o("ngTemplateOutlet",i.filterTemplate)}},dependencies:[lt,at,ot,tt,it,nt,bt,ht,xt,Ct,vt,yt,Ft,He,Tt,be,de,se,pe,ce,kt,It,Pt],styles:["[_nghost-%COMP%]{display:block}.page-title[_ngcontent-%COMP%]{margin-left:5px;color:#000}.container-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative;height:100vh;scrollbar-width:thin;scrollbar-color:var(--primary-color) #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--primary-color);border-radius:10px;border:2px solid #f1f1f1}.container-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--primary-700)}.navbar-collapse.show[_ngcontent-%COMP%]{padding-bottom:auto}.input-group[_ngcontent-%COMP%]{align-items:center}.input-group-text[_ngcontent-%COMP%]{background-color:transparent}input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{transform:rotate(90deg);transition:transform .3s ease}label[for=check][_ngcontent-%COMP%]{width:25px;height:25px;border-radius:50%;border:1px solid #000;display:flex;justify-content:center;align-items:center}label[for=check][_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transition:.4s cubic-bezier(.68,-.6,.32,1.6);font-size:.6rem}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}label[for=check][_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked ~ a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (max-width: 575px){ .p-dialog{height:100vh!important;max-height:100vh!important;border-radius:0!important} .p-dialog-content{overflow:auto;height:calc(100vh - 4rem)}} p-inputicon.fa-solid.fa-magnifying-glass{top:53%}"],changeDetection:0})}}return t})();export{zt as a,Mt as b,Et as c,Vt as d,He as e,Ft as f,Pt as g,_o as h};
|
package/chunk-WY2JNDES.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as v,b as L}from"./chunk-YZH7Y43Y.js";import"./chunk-DFGIXWZK.js";import{a as I,b as E}from"./chunk-VJ3IBUVO.js";import"./chunk-KJ2WX3FC.js";import{h as H}from"./chunk-WKE2HPSD.js";import{b as N,c as G}from"./chunk-VGNJD35F.js";import{a as R,b as D}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{w as V,x as j}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import"./chunk-OIBDX2CA.js";import"./chunk-OR5FLZPY.js";import{a as F}from"./chunk-2MKKFLNJ.js";import{n as w,s as $}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as O,Cc as P,Db as B,Dc as C,Lb as p,Nc as c,Ob as h,Oc as s,Rc as x,Vb as n,W as T,Wb as o,Xb as m,Y as M,_ as S,ec as _,fc as l,h as y,hb as a,ia as f,qa as g,ra as d,s as u,sa as b,ta as k,xb as A}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var q=()=>({height:"calc(100vh - 100px)"});function J(i,z){if(i&1){let t=O();n(0,"div",3)(1,"p-button",4),_("onClick",function(){g(t);let r=l();return d(r.onFormat())}),o(),n(2,"p-button",5),c(3,"async"),c(4,"async"),_("onClick",function(){g(t);let r=l();return d(r.onMigrateOutletAccount())}),o()()}if(i&2){let t=l();a(2),p("disabled",s(3,2,t.countInBooks$)!==0)("pTooltip",s(4,4,t.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function K(i,z){if(i&1&&(n(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),m(3,"app-migration-cards",7),c(4,"async"),b(),n(5,"svg",8),m(6,"path",9),o(),k(),m(7,"app-migration-cards",10),c(8,"async"),o()()()),i&2){let t=l();h(C(12,q)),a(),h(C(13,q)),a(2),p("migrationCount",s(4,8,t.countInPOS$))("migrationTitle",t.pageTitle),a(4),p("migrationCount",s(8,10,t.countInBooks$))("migrationTitle",t.pageTitle)}}var ut=(()=>{class i{constructor(){this.migrateService=f(v),this.toastr=f(F),this.refresh$=new y(void 0),this.pageTitle="Outlet Account"}ngOnInit(){let t=this.refresh$.pipe(M(()=>this.migrateService.getOutletAccountCount()),S(e=>console.log("API response:",e)),T(1));this.countInPOS$=t.pipe(u(e=>Number(e.pos))),this.countInBooks$=t.pipe(u(e=>Number(e.books)))}onMigrateOutletAccount(){this.migrateService.migrateOutletAccount().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Migration Successful")})}onFormat(){confirm("Are you sure you want to format?")&&this.migrateService.formatOutletAccount().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-outlet-account"]],features:[P([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&&(n(0,"app-main-panel",2),B(1,J,5,6,"ng-template",null,0,x)(3,K,9,14,"ng-template",null,1,x),o()),e&2&&p("pageTitle",r.pageTitle)},dependencies:[H,$,w,j,V,E,I,D,R,G,N,L],encapsulation:2})}}return i})();export{ut as OutletAccountComponent};
|
package/chunk-X46QKMJY.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ue}from"./chunk-Y3URGAXL.js";import{b as be}from"./chunk-HG5MKVNR.js";import"./chunk-IGWIRCAS.js";import{a as Q,b as W}from"./chunk-3A4BFUGD.js";import{d as X,i as he,j as xe,k as Y}from"./chunk-EL5BUFMO.js";import"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import{a as Ce}from"./chunk-QF4D5YPK.js";import"./chunk-2AAVNIG7.js";import"./chunk-LFZCMZAP.js";import"./chunk-6A2KUPOG.js";import"./chunk-36OX4S7M.js";import"./chunk-Q5CVMJZC.js";import"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import{b as ge}from"./chunk-KJ2WX3FC.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{h as q}from"./chunk-WKE2HPSD.js";import"./chunk-VGNJD35F.js";import{a as A,b as j}from"./chunk-2XUSZCQL.js";import{a as b,b as H,c as L,d as G,e as $,f as K}from"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{o as _e,w as V,x as F}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{x as fe}from"./chunk-OIBDX2CA.js";import{e as z,l as me}from"./chunk-AOOG6YOT.js";import{a as se}from"./chunk-OR5FLZPY.js";import{a as de}from"./chunk-2MKKFLNJ.js";import{k as le,p as pe,q as D,s as N,z as ce}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as E,Cc as O,Db as T,Dc as P,Ec as ie,Lb as g,Nc as S,Ob as I,Oc as U,Pc as re,Rc as _,Vb as o,Wb as i,Xb as J,Y as R,_ as ne,bd as v,c as k,ca as ae,db as oe,ec as y,fc as s,hb as m,ia as u,qa as x,ra as C,rc as r,s as te,sc as f,vc as B,xb as M}from"./chunk-NMCKMUY4.js";import{a as l,b as d}from"./chunk-YQFG5XE2.js";var w=(()=>{class e{constructor(){this.httpService=u(se)}getGenerateCoa(t){let n={params:new ce().set("PageNumber",t.PageNumber).set("PageSize",t.PageSize)};return this.httpService.get(void 0,"api/Tools/GetListCOA",n)}updateCOABalance(t={}){return this.httpService.put(void 0,"api/Tools/UpdateCOABalance",void 0,t)}getUnbalanceJournal(t){return this.httpService.get(void 0,"api/Tools/UnbalanceJurnal/"+t.PageNumber+"/"+t.PageSize)}updateUnbalanceJournal(t){let a={ListID:t};return this.httpService.put(void 0,"api/Tools/RegenerateUnBalanceJournal",a)}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275prov=ae({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Te={filter:{PageNumber:1,PageSize:20},data:{data:[],count:0}},Z=H(K(Te),L(e=>({first:v(()=>(e.filter().PageNumber-1)*e.filter().PageSize+1),end:v(()=>Math.min(e.filter().PageNumber*e.filter().PageSize,e.data().count))})),$(e=>{let p=u(w);return{updateFilter:a=>{b(e,n=>d(l({},n),{filter:l(l({},n.filter),a)}))},getUpdateCOA:Q(k(R(a=>p.getGenerateCoa(a).pipe(W({next:n=>{b(e,c=>d(l({},c),{data:n}))},error:n=>{console.error(n)}})))))}}),G({onInit(e){e.getUpdateCOA(e.filter)}}));var ke=()=>({height:"calc(100vh - 70px)"}),Re=()=>({"min-width":"50rem"});function Me(e,p){if(e&1){let t=E();o(0,"p-button",7),y("onClick",function(){x(t);let n=s();return C(n.updateCoaBalance())}),i()}}function Ie(e,p){e&1&&(o(0,"tr")(1,"th"),r(2,"Code"),i(),o(3,"th"),r(4,"Name"),i(),o(5,"th"),r(6,"Outlet"),i(),o(7,"th"),r(8,"COA Balance"),i(),o(9,"th"),r(10,"Correct Balance"),i()())}function Je(e,p){if(e&1&&(o(0,"tr")(1,"td"),r(2),i(),o(3,"td")(4,"a",9),r(5),i()(),o(6,"td"),r(7),i(),o(8,"td"),r(9),S(10,"number"),i(),o(11,"td"),r(12),S(13,"number"),i()()),e&2){let t=p.$implicit;m(2),f(t.Code),m(2),g("routerLink","/pages/chart-of-account/account/"+t.ID),m(),f(t.Name),m(2),f(t.OutletName),m(2),f(U(10,6,t.Balance)),m(3),f(U(13,8,t.CorrectBalance))}}function Be(e,p){if(e&1&&(o(0,"div",10)(1,"p",11),r(2),i()()),e&2){let t=s(2);m(2),B(" Showing ",t.store.first()," to ",t.store.end()," of ",t.store.data().count," entries ")}}function Oe(e,p){e&1&&(o(0,"tr")(1,"td",12)(2,"span"),r(3,"No records found."),i()()())}function De(e,p){if(e&1){let t=E();o(0,"p-panel")(1,"p-table",8),y("onPage",function(n){x(t);let c=s();return C(c.onPageChange(n))}),T(2,Ie,11,0,"ng-template",null,2,_)(4,Je,14,10,"ng-template",null,3,_)(6,Be,3,3,"ng-template",null,4,_)(8,Oe,4,0,"ng-template",null,5,_),i()()}if(e&2){let t=s();I(P(8,ke)),m(),g("paginator",!0)("lazy",!0)("totalRecords",t.store.data().count)("rows",t.store.filter().PageSize)("value",t.store.data().data)("tableStyle",P(9,Re))}}var ve=(()=>{class e{constructor(){this.store=u(Z),this.coaService=u(w),this.toastrService=u(de)}onPageChange(t){this.store.updateFilter(d(l({},this.store.filter()),{PageNumber:Math.floor(t.first/t.rows)+1}))}updateCoaBalance(){this.coaService.updateCOABalance({observe:"response"}).pipe(Ce("Update COA Balance"),ne(()=>{this.store.updateFilter(this.store.filter())})).subscribe()}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=M({type:e,selectors:[["app-tools-update-coa"]],features:[O([Z])],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Update COA Balance",3,"scrollable"],["label","Update",3,"onClick"],[3,"onPage","paginator","lazy","totalRecords","rows","value","tableStyle"],["target","_blank",1,"link","link-primary",3,"routerLink"],[1,"flex","align-items-center","custom-font-footer",2,"height","100%"],[1,"m-0"],["colspan","5"]],template:function(a,n){a&1&&(o(0,"app-main-panel",6),T(1,Me,1,0,"ng-template",null,0,_)(3,De,10,10,"ng-template",null,1,_),i()),a&2&&g("scrollable",!0)},dependencies:[q,Y,X,ge,N,D,F,V,j,A,z],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} .p-paginator .p-paginator-pages .p-paginator-page{font-size:14px}.custom-font-footer[_ngcontent-%COMP%]{font-size:.875rem}"],changeDetection:0})}}return e})();var Ne={data:{count:0,data:[]},filter:{PageNumber:1,PageSize:20}},ee=H(K(Ne),L(e=>({first:v(()=>(e.filter().PageNumber-1)*e.filter().PageSize+1),end:v(()=>Math.min(e.filter().PageNumber*e.filter().PageSize,e.data().count)),selectedItems:v(()=>e.data().data.filter(p=>p.checked)),hasCheckedRows:v(()=>e.data().data.some(p=>p.checked))})),$(e=>{let p=u(w);return{updateFilter(a){b(e,n=>d(l({},n),{filter:l(l({},n.filter),a)}))},onRowSelect(a){b(e,n=>{let c=n.data.data.map(h=>h.id===a.id?d(l({},h),{checked:!0}):h);return d(l({},n),{data:d(l({},n.data),{data:c})})})},onRowUnselect(a){b(e,n=>{let c=n.data.data.map(h=>h.id===a.id?d(l({},h),{checked:!1}):h);return d(l({},n),{data:d(l({},n.data),{data:c})})})},onHeaderCheckboxToggle(a){b(e,n=>{let c=n.data.data.map(h=>d(l({},h),{checked:a}));return d(l({},n),{data:d(l({},n.data),{data:c})})})},loadData:Q(k(R(a=>p.getUnbalanceJournal(a).pipe(te(n=>d(l({},n),{data:n.data.map(c=>d(l({},c),{checked:!1}))})),W({next:n=>{b(e,c=>d(l({},c),{data:n}))},error:n=>{console.error("Error loading unbalance journal data:",n)}})))))}}),G(e=>({onInit:()=>{e.loadData(e.filter)}})));var ze=()=>({height:"calc(100vh - 70px)"}),Ve=e=>["/pages/journal/journal-entry",e];function Fe(e,p){if(e&1){let t=E();o(0,"div",8),J(1,"p-button",9),o(2,"p-button",10),y("onClick",function(){x(t);let n=s(2);return C(n.regenerateUnbalanceJournal())}),r(3,"Regenerate"),i()()}}function Ae(e,p){if(e&1&&T(0,Fe,4,0,"div",7),e&2){let t=s();g("ngIf",t.store.hasCheckedRows())}}function je(e,p){e&1&&(o(0,"tr")(1,"th",12),J(2,"p-tableHeaderCheckbox"),i(),o(3,"th"),r(4,"Date"),i(),o(5,"th"),r(6,"Number"),i(),o(7,"th",13),r(8,"Debit SUM"),i(),o(9,"th",13),r(10,"Credit SUM"),i(),o(11,"th",13),r(12,"Difference"),i(),o(13,"th"),r(14,"Reference"),i(),o(15,"th"),r(16,"Outlet"),i()())}function He(e,p){if(e&1&&(o(0,"tr")(1,"td"),J(2,"p-tableCheckbox",14),i(),o(3,"td"),r(4),S(5,"date"),i(),o(6,"td")(7,"a",15),r(8),i()(),o(9,"td",13),r(10),S(11,"number"),i(),o(12,"td",13),r(13),S(14,"number"),i(),o(15,"td",13),r(16),S(17,"number"),i(),o(18,"td")(19,"a",16),r(20),i()(),o(21,"td"),r(22),i()()),e&2){let t=p.$implicit,a=s(2);m(2),g("value",t),m(2),f(re(5,10,t.date,"dd MMM yyyy")),m(3),g("routerLink",ie(19,Ve,t.id)),m(),f(t.number),m(2),f(U(11,13,t.debitSum)),m(3),f(U(14,15,t.creditSum)),m(3),f(U(17,17,t.differences)),m(3),g("href",a.authService.getTenantExternalURL()+"/menu/Orders/Orders/Customer_Invoice/Info?ID="+t.id,oe),m(),f(t.referenceText),m(2),f(t.outletName)}}function Le(e,p){if(e&1&&r(0),e&2){let t=s(2);B(" Showing ",t.store.first()," to ",t.store.end()," of ",t.store.data().count," entries ")}}function Ge(e,p){e&1&&(o(0,"tr")(1,"td",17)(2,"span"),r(3,"No records found."),i()()())}function $e(e,p){if(e&1){let t=E();o(0,"p-panel")(1,"p-table",11),y("onPage",function(n){x(t);let c=s();return C(c.onPageChange(n))})("onRowSelect",function(n){x(t);let c=s();return C(c.onRowSelect(n))})("onRowUnselect",function(n){x(t);let c=s();return C(c.onRowUnselect(n))})("onHeaderCheckboxToggle",function(n){x(t);let c=s();return C(c.onHeaderCheckboxToggle(n))}),T(2,je,17,0,"ng-template",null,2,_)(4,He,23,21,"ng-template",null,3,_)(6,Le,1,3,"ng-template",null,4,_)(8,Ge,4,0,"ng-template",null,5,_),i()()}if(e&2){let t=s();I(P(7,ze)),m(),g("value",t.store.data().data)("lazy",!0)("paginator",!0)("rows",t.store.filter().PageSize)("totalRecords",t.store.data().count)}}var we=(()=>{class e{constructor(){this.store=u(ee),this.toolsService=u(w),this.authService=u(ue)}onPageChange(t){console.log("Page changed:",t);let a=t.first/t.rows;this.store.updateFilter({PageNumber:a+1})}onRowSelect(t){this.store.onRowSelect(t.data)}onRowUnselect(t){if(Array.isArray(t.data)){t.data.forEach(a=>{this.store.onRowUnselect(a)});return}else this.store.onRowUnselect(t.data)}onHeaderCheckboxToggle(t){this.store.onHeaderCheckboxToggle(t.checked)}regenerateUnbalanceJournal(){let a=this.store.selectedItems().filter(n=>n.checked==!0).map(n=>n.id);this.toolsService.updateUnbalanceJournal(a).subscribe()}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=M({type:e,selectors:[["app-unbalance-journal"]],features:[O([ee])],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["pageTitle","Unbalance Journal",3,"scrollable"],["class","d-flex gap-2",4,"ngIf"],[1,"d-flex","gap-2"],["icon","fa-solid fa-trash","label","Delete","severity","danger"],[3,"onClick"],["paginatorStyleClass","d-flex justify-content-end","dataKey","id",3,"onPage","onRowSelect","onRowUnselect","onHeaderCheckboxToggle","value","lazy","paginator","rows","totalRecords"],[2,"width","1rem"],[1,"text-end"],[3,"value"],["target","_blank",1,"link","link-primary",3,"routerLink"],["target","_blank",1,"link","link-primary",3,"href"],["colspan","6"]],template:function(a,n){a&1&&(o(0,"app-main-panel",6),T(1,Ae,1,1,"ng-template",null,0,_)(3,$e,10,8,"ng-template",null,1,_),i()),a&2&&g("scrollable",!0)},dependencies:[q,Y,X,he,xe,be,_e,N,le,D,pe,fe,F,V,j,A,me,z],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();var Wt=[{path:"",redirectTo:"generate-coa",pathMatch:"full"},{path:"generate-coa",component:ve},{path:"unbalance-journal",component:we}];export{Wt as TOOLS_ROUTES};
|
package/chunk-XXNDXSPP.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as F}from"./chunk-ETHACYOI.js";import{a as ze}from"./chunk-FMHGC2MA.js";import{a as je,b as Be}from"./chunk-BLR3HBYP.js";import{a as oe}from"./chunk-Y3URGAXL.js";import{b as A}from"./chunk-DFGIXWZK.js";import{a as Me}from"./chunk-XKI7WLHE.js";import"./chunk-7DYACF4D.js";import"./chunk-NZN6QJR3.js";import"./chunk-IGWIRCAS.js";import{a as z,b as j}from"./chunk-3A4BFUGD.js";import{d as ke,i as Ne,j as Pe,k as Re}from"./chunk-EL5BUFMO.js";import{a as De,b as Ae}from"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import"./chunk-2AAVNIG7.js";import{a as Fe,b as Je}from"./chunk-LFZCMZAP.js";import"./chunk-6A2KUPOG.js";import"./chunk-36OX4S7M.js";import"./chunk-Q5CVMJZC.js";import"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{g as Ee,h as Ve}from"./chunk-WKE2HPSD.js";import{b as Ie,c as Te}from"./chunk-VGNJD35F.js";import{a as xe,b as Ce}from"./chunk-2XUSZCQL.js";import{a as y,b as Se,c as be,d as ve,e as ye,f as we}from"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{n as fe,o as _e,w as ge,x as he}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{b as re,c as ae,e as le,f as pe,k as me,l as se,o as ce,u as de,x as ue}from"./chunk-OIBDX2CA.js";import"./chunk-AOOG6YOT.js";import"./chunk-OR5FLZPY.js";import"./chunk-2MKKFLNJ.js";import{h as Y,j as Z,k as ee,n as te,p as ie,s as ne}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as w,Bb as K,Cc as Q,Db as x,Ec as V,Ha as P,Lb as c,Nc as T,Oc as X,Pc as D,Rc as v,Vb as r,Wb as o,Xb as S,Y as N,_ as H,bd as E,c as J,cb as U,db as L,ec as I,fc as _,hb as l,ia as C,qa as g,ra as h,rc as s,s as k,sc as b,tc as R,vc as W,wc as $,xb as G,xc as M,yc as q}from"./chunk-NMCKMUY4.js";import{a as d,b as f}from"./chunk-YQFG5XE2.js";var Ke={data:{data:[],totalCount:0},filter:{number:null,outletName:null,from:null,to:null,supplierID:null,pageNumber:1,pageSize:20,export:!1,exportPageNumber:1,exportPageSize:1e4,paymentState:0},meta:{options:{outlets:[]},filter:{number:null,outletName:null,from:null,to:null,supplierID:null,pageNumber:1,pageSize:20,export:!1,exportPageNumber:1,exportPageSize:1e4,paymentState:0}}},B=Se(we(Ke),be(t=>({first:E(()=>(t.filter().pageNumber-1)*t.filter().pageSize+1),end:E(()=>Math.min(t.filter().pageNumber*t.filter().pageSize,t.data().totalCount)),hasCheckedRows:E(()=>t.data().data.some(a=>a.checked)),checkedAPCollection:E(()=>t.data().data.filter(a=>a.checked).map(a=>a.id))})),ye(t=>{let a=C(F),e=C(A);return{updateFilter(n){y(t,i=>f(d({},i),{filter:d(d({},i.filter),n)}))},onRowSelect(n){y(t,i=>{let u=i.data.data.map(m=>m.id===n.id?f(d({},m),{checked:!0}):m);return f(d({},i),{data:f(d({},i.data),{data:u})})})},onRowUnselect(n){y(t,i=>{let u=i.data.data.map(m=>m.id===n.id?f(d({},m),{checked:!1}):m);return f(d({},i),{data:f(d({},i.data),{data:u})})})},onHeaderCheckboxToggle(n){y(t,i=>{let u=i.data.data.map(m=>f(d({},m),{checked:n}));return f(d({},i),{data:f(d({},i.data),{data:u})})})},getAPLoader:z(J(N(()=>a.getAPJournalLoader().pipe(j({next:n=>{y(t,i=>f(d({},i),{meta:n}))},error:n=>{console.error("Error fetching AP journal:",n)}}))))),getARCollection:z(J(k(n=>Object.entries(n).reduce((i,[u,m])=>(m!=null&&(i[u]=m),i),{})),N(n=>a.getAPJournal(n).pipe(k(i=>f(d({},i),{data:i.data.map(u=>f(d({},u),{due:e.from(u.due)?e.from(u.due).format():null,checked:!1}))})),j({next:i=>{y(t,u=>f(d({},u),{data:i}))},error:i=>{console.error("Error fetching customer invoice:",i)}})))))}}),ve(t=>({onInit:()=>{t.getAPLoader(),t.getARCollection(t.filter)}})));var O=t=>({"ng-invalid ng-dirty":t});function We(t,a){if(t&1){let e=w();r(0,"p-button",10),I("onClick",function(){g(e);let n=_(2);return h(n.onCreateJournal())}),o()}}function $e(t,a){if(t&1&&x(0,We,1,0,"p-button",9),t&2){let e=_();c("ngIf",e.store.hasCheckedRows())}}function qe(t,a){t&1&&(r(0,"tr")(1,"th",12),S(2,"p-tableHeaderCheckbox"),o(),r(3,"th",13),s(4,"Outlet"),o(),r(5,"th",14),s(6,"Number"),o(),r(7,"th",15),s(8,"Supplier"),o(),r(9,"th",16),s(10,"Date"),o(),r(11,"th",16),s(12,"Due"),o(),r(13,"th",15),s(14,"Note"),o(),r(15,"th",17),s(16,"Payment"),o(),S(17,"th",18),o())}function Qe(t,a){if(t&1&&(r(0,"tr")(1,"td"),S(2,"p-tableCheckbox",19),o(),r(3,"td"),s(4),o(),r(5,"td")(6,"a",20),s(7),o()(),r(8,"td"),s(9),o(),r(10,"td"),s(11),T(12,"date"),o(),r(13,"td"),s(14),T(15,"date"),o(),r(16,"td"),S(17,"div",21),o(),r(18,"td"),s(19),o(),r(20,"td"),S(21,"p-button",22),o()()),t&2){let e=a.$implicit,p=_(2);l(2),c("value",e),l(2),b(e.outlet),l(2),c("href",p.authService.getTenantExternalURL()+"/menu/Debt/Debt/Join_Bill/New_Join_Bill/Info?ID="+e.id,L),l(),R(" ",e.number," "),l(2),b(e.customer),l(2),b(D(12,12,e.date,"d MMM y")),l(3),b(e.due?D(15,15,e.due,"d MMM y hh:mm"):"-"),l(3),c("innerHTML",e.note,U),l(2),b(e.payment),l(2),c("icon",e.integrated?"fa-solid fa-circle-check":"fa-solid fa-circle-xmark")("severity",e.integrated?"success":"danger")("text",!0)}}function Xe(t,a){if(t&1&&s(0),t&2){let e=_(2);W(" Showing ",e.store.first()," to ",e.store.end()," of ",e.store.data().totalCount," entries ")}}function Ye(t,a){t&1&&(r(0,"tr")(1,"td",23)(2,"span"),s(3,"No records found."),o()()())}function Ze(t,a){if(t&1){let e=w();r(0,"p-panel")(1,"p-table",11),I("onPage",function(n){g(e);let i=_();return h(i.onPageChange(n))})("onHeaderCheckboxToggle",function(n){g(e);let i=_();return h(i.onHeaderCheckboxToggle(n))})("onRowSelect",function(n){g(e);let i=_();return h(i.onRowSelect(n))})("onRowUnselect",function(n){g(e);let i=_();return h(i.onRowUnselect(n))}),x(2,qe,18,0,"ng-template",null,3,v)(4,Qe,22,18,"ng-template",null,4,v)(6,Xe,1,3,"ng-template",null,5,v)(8,Ye,4,0,"ng-template",null,6,v),o()()}if(t&2){let e=_();l(),c("value",e.store.data().data)("paginator",!0)("rows",e.store.filter().pageSize)("totalRecords",e.store.data().totalCount)("lazy",!0)}}function et(t,a){if(t&1&&(r(0,"span",34),s(1),T(2,"truncate"),o()),t&2){let e=a.$implicit;c("pTooltip",e.name),l(),R(" ",D(2,2,e.name,30)," ")}}function tt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function it(t,a){if(t&1&&(r(0,"div"),x(1,tt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("from"))}}function nt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function ot(t,a){if(t&1&&(r(0,"div"),x(1,nt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("to"))}}function rt(t,a){if(t&1&&(r(0,"div")(1,"span",36),s(2),o()()),t&2){let e=a.$implicit;l(2),b(e)}}function at(t,a){if(t&1&&(r(0,"div"),x(1,rt,3,1,"div",35),o()),t&2){let e=_(2);l(),c("ngForOf",e.getErrors("pageSize"))}}function lt(t,a){if(t&1){let e=w();r(0,"form",24)(1,"div",25)(2,"label",26),s(3,"Outlet"),o(),r(4,"p-select",27),x(5,et,3,5,"ng-template",null,7,v),o()(),r(7,"div",25)(8,"label",26),s(9,"From - To"),o(),r(10,"div",28),S(11,"p-datepicker",29),x(12,it,2,1,"div",30),S(13,"p-datepicker",31),x(14,ot,2,1,"div",30),o()(),r(15,"div",25)(16,"label",26),s(17,"Supplier"),o(),r(18,"p-autocomplete",32),T(19,"async"),I("completeMethod",function(n){g(e);let i=_();return h(i.onSearchSupplier(n))}),o()(),r(20,"div",25)(21,"label",26),s(22,"Page Size"),o(),S(23,"input",33),x(24,at,2,1,"div",30),o()()}if(t&2){let e=_();c("formGroup",e.form),l(4),c("virtualScrollItemSize",50)("options",e.store.meta().options.outlets),l(7),c("iconDisplay","input")("showIcon",!0)("ngClass",V(16,O,e.isInvalid("from"))),l(),c("ngIf",e.isInvalid("from")),l(),c("iconDisplay","input")("showIcon",!0)("ngClass",V(18,O,e.isInvalid("to"))),l(),c("ngIf",e.isInvalid("to")),l(4),c("suggestions",X(19,14,e.supplierSuggestions$)),l(5),c("ngClass",V(20,O,e.isInvalid("pageSize"))),l(),c("ngIf",e.isInvalid("pageSize"))}}var Qt=(()=>{class t extends Me{constructor(){super(),this.store=C(B),this.generateJournalService=C(F),this.authService=C(oe),this.isDialogFilterVisible=P(!1),this.isInitDialogFilterVisible=P(!1),this.fb=C(de),this.dayjsService=C(A)}ngOnInit(){this.initform()}initform(){let{outletName:e,number:p,from:n,to:i,paymentState:u,supplierID:m,pageNumber:Oe,pageSize:He,export:Ue,exportPageNumber:Le,exportPageSize:Ge}=this.store.filter();this.form=this.fb.group({outletName:this.fb.control(e),number:this.fb.control(p),from:this.fb.control(this.dayjsService.from(n)?this.dayjsService.from(n).toDate():null),to:this.fb.control(this.dayjsService.from(i)?this.dayjsService.from(i).toDate():null),paymentState:this.fb.control(u),supplierID:this.fb.control(m),pageNumber:this.fb.control(Oe),pageSize:this.fb.control(He,[ae.required]),export:this.fb.control(Ue),exportPageNumber:this.fb.control(Le),exportPageSize:this.fb.control(Ge)})}onFilterOKEvent(){if(this.form.invalid){this.form.markAllAsTouched();return}let e=Object.entries(this.form.getRawValue()).reduce((p,[n,i])=>(i!=null&&(n==="from"||n==="to"?(typeof i=="string"||typeof i=="number"||i instanceof Date)&&(p[n]=this.dayjsService.from(i)?this.dayjsService.format(i):null):p[n]=i),p),{});this.store.updateFilter(e),this.isDialogFilterVisible.update(p=>!p)}onSearch(e){this.store.updateFilter(f(d({},this.store.filter()),{number:e}))}onSearchSupplier(e){this.supplierSuggestions$=this.generateJournalService.getSupplierSuggestions(e.query).pipe()}onPageChange(e){let p=e.first/e.rows;this.store.updateFilter(f(d({},this.store.filter()),{pageNumber:p+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(p=>{this.store.onRowUnselect(p)});return}else this.store.onRowUnselect(e.data)}onCreateJournal(){this.generateJournalService.createAPJournal(this.store.checkedAPCollection()).pipe(H(()=>{this.store.getARCollection(this.store.filter)})).subscribe()}static{this.\u0275fac=function(p){return new(p||t)}}static{this.\u0275cmp=G({type:t,selectors:[["app-ap-journal"]],features:[Q([B]),K],decls:7,vars:5,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["paginatorleft",""],["emptymessage",""],["item",""],["pageTitle","AP Collection",3,"isDialogFilterVisibleChange","isInitDialogFilterVisibleChange","filterConfirmed","search","isSearchableInput","isFilterable","isDialogFilterVisible","isInitDialogFilterVisible","scrollable"],["label","Generate Journal",3,"onClick",4,"ngIf"],["label","Generate Journal",3,"onClick"],["dataKey","id",3,"onPage","onHeaderCheckboxToggle","onRowSelect","onRowUnselect","value","paginator","rows","totalRecords","lazy"],[2,"width","1rem"],[2,"width","10rem"],[2,"width","12rem"],[2,"width","14rem"],[2,"width","11rem"],[2,"width","9rem"],[2,"width","4rem"],[3,"value"],["target","_blank",1,"link","link-primary",3,"href"],[3,"innerHTML"],[3,"icon","severity","text"],["colspan","9"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for","outlet"],["virtualScroll","","showClear","","filter","","filterBy","name","formControlName","outletName","appendTo","body","optionLabel","name","optionValue","name","placeholder","Select an Outlet",3,"virtualScrollItemSize","options"],[1,"d-flex","flex-column","gap-2"],["showClear","","formControlName","from","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon","ngClass"],[4,"ngIf"],["showClear","","formControlName","to","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon","ngClass"],["showClear","","formControlName","supplierID","appendTo","body","styleClass","w-100","optionLabel","Value","optionValue","Key","inputStyleClass","w-100",3,"completeMethod","suggestions"],["appMaskNumber","","type","text","pInputText","","formControlName","pageSize",3,"ngClass"],[3,"pTooltip"],[4,"ngFor","ngForOf"],[1,"text-danger"]],template:function(p,n){if(p&1){let i=w();r(0,"app-main-panel",8),q("isDialogFilterVisibleChange",function(m){return g(i),M(n.isDialogFilterVisible,m)||(n.isDialogFilterVisible=m),h(m)})("isInitDialogFilterVisibleChange",function(m){return g(i),M(n.isInitDialogFilterVisible,m)||(n.isInitDialogFilterVisible=m),h(m)}),I("filterConfirmed",function(){return g(i),h(n.onFilterOKEvent())})("search",function(m){return g(i),h(n.onSearch(m))}),x(1,$e,1,1,"ng-template",null,0,v)(3,Ze,10,5,"ng-template",null,1,v)(5,lt,25,22,"ng-template",null,2,v),o()}p&2&&(c("isSearchableInput",!0)("isFilterable",!0),$("isDialogFilterVisible",n.isDialogFilterVisible)("isInitDialogFilterVisible",n.isInitDialogFilterVisible),c("scrollable",!0))},dependencies:[Ve,Re,ke,Ne,Pe,ne,Y,Z,ee,te,ie,he,ge,Ce,xe,ue,me,re,le,pe,se,ce,Je,Fe,Ae,De,_e,fe,Be,je,Te,Ie,Ee,ze],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{Qt as ApJournalComponent};
|
package/chunk-YV2QJ63P.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as N}from"./chunk-VZ5CMS5O.js";import{Ga as K,Ha as g,La as A,ad as S,bd as m,ca as y,cd as E,fa as T,ia as h,xa as $}from"./chunk-NMCKMUY4.js";import{a as c,b as u}from"./chunk-YQFG5XE2.js";function _(t){let e=S(()=>t());return H(e)?new Proxy(t,{get(n,o){return o in e?(K(n[o])||Object.defineProperty(n,o,{value:m(()=>n()[o]),configurable:!0}),_(n[o])):n[o]}}):t}var X=[WeakSet,WeakMap,Promise,Date,Error,RegExp,ArrayBuffer,DataView,Function];function H(t){if(t===null||typeof t!="object"||J(t))return!1;let e=Object.getPrototypeOf(t);if(e===Object.prototype)return!0;for(;e&&e!==Object.prototype;){if(X.includes(e.constructor))return!1;e=Object.getPrototypeOf(e)}return e===Object.prototype}function J(t){return typeof t?.[Symbol.iterator]=="function"}var q=new WeakMap,d=Symbol("STATE_SOURCE");function I(t,...e){t[d].update(n=>e.reduce((o,r)=>c(c({},o),typeof r=="function"?r(o):r),n)),Q(t)}function j(t){return t[d]()}function G(t){return q.get(t[d])||[]}function Q(t){let e=G(t);for(let n of e){let o=S(()=>j(t));n(o)}}function C(...t){let e=[...t],n=typeof e[0]=="function"?{}:e.shift(),o=e;return(()=>{class a{constructor(){let s=o.reduce((p,V)=>V(p),Y()),{stateSignals:l,props:f,methods:w,hooks:W}=s,O=c(c(c({},l),f),w);this[d]=s[d];for(let p of Reflect.ownKeys(O))this[p]=O[p];let{onInit:x,onDestroy:P}=W;x&&x(),P&&h($).onDestroy(P)}static \u0275fac=function(l){return new(l||a)};static \u0275prov=y({token:a,factory:a.\u0275fac,providedIn:n.providedIn||null})}return a})()}function Y(){return{[d]:g({}),stateSignals:{},props:{},methods:{},hooks:{}}}function k(t,...e){let n=typeof t=="function"?[t,...e]:e;return o=>n.reduce((r,a)=>a(r),o)}function R(t){return e=>{let n=t(c(c(c({[d]:e[d]},e.stateSignals),e.props),e.methods));return Reflect.ownKeys(n),u(c({},e),{props:c(c({},e.props),n)})}}function Z(t){return R(t)}function F(t){return e=>{let n=c(c(c({[d]:e[d]},e.stateSignals),e.props),e.methods),o=typeof t=="function"?t(n):t,r=a=>{let i=o[a],s=e.hooks[a];return i?()=>{s&&s(),i(n)}:s};return u(c({},e),{hooks:{onInit:r("onInit"),onDestroy:r("onDestroy")}})}}function v(t){return e=>{let n=t(c(c(c({[d]:e[d]},e.stateSignals),e.props),e.methods));return Reflect.ownKeys(n),u(c({},e),{methods:c(c({},e.methods),n)})}}function b(t){return e=>{let n=typeof t=="function"?t():t,o=Reflect.ownKeys(n);e[d].update(a=>c(c({},a),n));let r=o.reduce((a,i)=>{let s=m(()=>e[d]()[i]);return u(c({},a),{[i]:_(s)})},{});return u(c({},e),{stateSignals:c(c({},e.stateSignals),r)})}}var D=new Set;function ee(t){if(t==null)throw new Error("");return t}var z={send:()=>{}},U=(()=>{class t{#e={};#n=N(h(A));#o=[];#t={};#c=1;#i=this.#n&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__.connect({name:"NgRx SignalStore"}):z;constructor(){if(!this.#n)return;!!window.__REDUX_DEVTOOLS_EXTENSION__||console.info("NgRx Toolkit/DevTools: Redux DevTools Extension is not available.")}ngOnDestroy(){D.clear()}syncToDevTools(n){let o=Object.entries(n).reduce((i,[s,l])=>{let{options:f,name:w}=this.#e[s];return i[w]=f.map(l),i},{});this.#t=c(c({},this.#t),o);let r=Array.from(D),a=r.length?r.join(", "):"Store Update";D.clear(),this.#i.send({type:a},this.#t)}getNextId(){return String(this.#c++)}addStore(n,o,r,a){let i=o,s=Object.values(this.#e).map(f=>f.name);if(s.includes(i)&&!a.indexNames)throw new Error(`An instance of the store ${i} already exists. Enable automatic indexing via withDevTools('${i}', { indexNames: true }), or rename it upon instantiation.`);for(let f=1;s.includes(i);f++)i=`${o}-${f}`;this.#e[n]={name:i,options:a};let l=a.tracker;this.#o.includes(l)||this.#o.push(l),l.onChange(f=>this.syncToDevTools(f)),l.track(n,r)}removeStore(n){let o=this.#e[n].name;this.#e=Object.entries(this.#e).reduce((r,[a,i])=>(a!==n&&(r[a]=i),r),{}),this.#t=Object.entries(this.#t).reduce((r,[a,i])=>(a!==o&&(r[o]=i),r),{});for(let r of this.#o)r.removeStore(n)}renameStore(n,o){let r=Object.values(this.#e).map(i=>i.name),a=ee(Object.keys(this.#e).find(i=>this.#e[i].name===n));if(r.includes(o))throw new Error(`NgRx Toolkit/DevTools: cannot rename from ${n} to ${o}. ${o} is already assigned to another SignalStore instance.`);this.#e=Object.entries(this.#e).reduce((i,[s,l])=>(l.name===n?i[s]=u(c({},l),{name:o}):i[s]=l,i),{}),this.#t=Object.entries(this.#t).reduce((i,[s,l])=>(s!==n&&(i[s]=l),i),{}),this.#o.forEach(i=>i.notifyRenamedStore(a))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),te=(()=>{class t{#e=g({});get stores(){return this.#e()}#n;#o=E(()=>{if(this.#n===void 0)throw new Error("no callback function defined");let n=this.#e(),o=Object.entries(n).reduce((r,[a,i])=>u(c({},r),{[a]:j(i)}),{});this.#n(o)});track(n,o){this.#e.update(r=>u(c({},r),{[n]:o}))}onChange(n){this.#n=n}removeStore(n){this.#e.update(o=>Object.entries(o).reduce((r,[a,i])=>(a!==n&&(r[a]=i),r),{}))}notifyRenamedStore(n){this.#e()[n]&&this.#e.update(o=>c({},o))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ne="___renameDevtoolsName",M="___uniqueDevtoolsId",me=new T("Array contain existing names for the signal stores",{factory:()=>[],providedIn:"root"});function L(t,...e){return k(v(()=>{let n=h(U),o=n.getNextId();return{[ne]:r=>{n.renameStore(t,r)},[M]:()=>o}}),F(n=>{let o=h(U),r=String(n[M]());return{onInit(){let a=String(n[M]()),i={indexNames:!e.some(s=>s.indexNames===!1),map:e.find(s=>s.map)?.map??(s=>s),tracker:h(e.find(s=>s.tracker)?.tracker||te)};o.addStore(a,t,n,i)},onDestroy(){o.removeStore(r)}}}))}var ve=Symbol("DEVTOOLS_FEATURE");var be=k(b({}));var oe={themeOptions:{theme:"light",dir:"ltr",layout:"vertical",sidebartype:"full",boxed:"boxed",colorTheme:"Blue_Theme",cardType:"shadow"}},je=C({providedIn:"root"},b(oe),L("LayoutThemeStore"),v(t=>({updateSidebarType(){I(t,e=>{switch(e.themeOptions.sidebartype){case"full":return u(c({},e),{themeOptions:u(c({},e.themeOptions),{sidebartype:"mini-sidebar"})});case"mini-sidebar":return u(c({},e),{themeOptions:u(c({},e.themeOptions),{sidebartype:"full"})});default:return e}})}})));export{I as a,C as b,Z as c,F as d,v as e,b as f,L as g,je as h};
|