dealposbooks 5.44.7 → 5.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +26 -26
- package/{chunk-JUCJGYST.js → chunk-2AAVNIG7.js} +1 -1
- package/{chunk-UKBDY33R.js → chunk-2D2YD753.js} +1 -1
- package/{chunk-ZDTMCWOO.js → chunk-2MKKFLNJ.js} +1 -1
- package/{chunk-5JV52UYK.js → chunk-2XUSZCQL.js} +1 -1
- package/{chunk-FDNNDYL5.js → chunk-34AG6ZRL.js} +1 -1
- package/chunk-34WPW5D2.js +1 -0
- package/{chunk-2LQVI4EI.js → chunk-36OX4S7M.js} +1 -1
- package/{chunk-NHZLS6JU.js → chunk-3A4BFUGD.js} +1 -1
- package/{chunk-RJ43VBI6.js → chunk-3E76NHYR.js} +1 -1
- package/{chunk-SPKOXGSS.js → chunk-3GGXPPQT.js} +1 -1
- package/{chunk-Q5OCTN6V.js → chunk-3O7PYVJB.js} +1 -1
- package/{chunk-GTADCLKY.js → chunk-3YP5GGRN.js} +1 -1
- package/{chunk-PGQHZTDQ.js → chunk-4EASZOWM.js} +1 -1
- package/{chunk-2SFLMJFC.js → chunk-4LUDLDRM.js} +1 -1
- package/{chunk-534V32GA.js → chunk-4OROB43Y.js} +1 -1
- package/{chunk-JPEOXITL.js → chunk-4SJCTDC5.js} +1 -1
- package/{chunk-KSQ6W6J5.js → chunk-55PBPTNF.js} +1 -1
- package/{chunk-AF357XP4.js → chunk-5CZNOXPC.js} +1 -1
- package/{chunk-BDX235IA.js → chunk-5UQN26GG.js} +1 -1
- package/{chunk-I7ILLTFH.js → chunk-6A2KUPOG.js} +1 -1
- package/{chunk-ATJ55H5D.js → chunk-6GN3MGBY.js} +1 -1
- package/{chunk-MZAFOBGT.js → chunk-6NX36ZC2.js} +1 -1
- package/{chunk-MAID3JDN.js → chunk-6PNHT5U7.js} +1 -1
- package/{chunk-CNXEJBY5.js → chunk-7DYACF4D.js} +1 -1
- package/{chunk-CZQGZKBU.js → chunk-7EJY6C3Q.js} +1 -1
- package/{chunk-ATLG3ODI.js → chunk-7X6D62QP.js} +1 -1
- package/{chunk-WEC2BWPR.js → chunk-ADIJSTCG.js} +1 -1
- package/{chunk-EFDD6Q3K.js → chunk-AOOG6YOT.js} +1 -1
- package/{chunk-ARXP327B.js → chunk-ARH3WEEF.js} +1 -1
- package/{chunk-WZCHPXQJ.js → chunk-AYBSWMQT.js} +1 -1
- package/{chunk-IYO6P6XI.js → chunk-B54PFCWI.js} +1 -1
- package/chunk-B5ICLX2M.js +1 -0
- package/{chunk-FKIXXJLF.js → chunk-B6BFJFA6.js} +1 -1
- package/{chunk-HVWMMYO5.js → chunk-BCRBHPPF.js} +1 -1
- package/{chunk-BUYRVZ5Z.js → chunk-BLR3HBYP.js} +1 -1
- package/{chunk-UDIFKJ7M.js → chunk-BXEGWIR3.js} +1 -1
- package/{chunk-JRTS2EIB.js → chunk-CBAJ6F64.js} +1 -1
- package/{chunk-AL647DUL.js → chunk-CNXYBR45.js} +1 -1
- package/{chunk-SVHOGUGR.js → chunk-CVL3S2HY.js} +1 -1
- package/{chunk-M5PA3FZY.js → chunk-EB6NEJHF.js} +1 -1
- package/{chunk-F6XVZQY3.js → chunk-EK3VPTHC.js} +1 -1
- package/{chunk-VPQDUC77.js → chunk-EL5BUFMO.js} +1 -1
- package/{chunk-76LPTGLX.js → chunk-EQ4PLHI4.js} +1 -1
- package/{chunk-ALVKIUN6.js → chunk-F4ZNQXWG.js} +1 -1
- package/{chunk-4ZQ7YKOY.js → chunk-F5QD3IJY.js} +1 -1
- package/{chunk-7HDQDLMU.js → chunk-F7JURLD3.js} +1 -1
- package/chunk-FBAUSUGQ.js +202 -0
- package/{chunk-VB3TPQNG.js → chunk-GBBQUUCQ.js} +1 -1
- package/{chunk-PFRE63ZQ.js → chunk-GVDMC4IX.js} +1 -1
- package/{chunk-7FFMPB6T.js → chunk-H6HNANYB.js} +1 -1
- package/{chunk-CWHL7PNC.js → chunk-H7Q35Y7G.js} +1 -1
- package/{chunk-6XT4TD5A.js → chunk-HAQ36ZI6.js} +1 -1
- package/{chunk-MPHY6FVN.js → chunk-HG5MKVNR.js} +1 -1
- package/{chunk-7COI2POD.js → chunk-IGWIRCAS.js} +1 -1
- package/{chunk-ODRV6XWO.js → chunk-IHZ55QSI.js} +1 -1
- package/{chunk-4ITLNOY5.js → chunk-IWHPWZIL.js} +1 -1
- package/{chunk-QG5BZLQ5.js → chunk-IYWJ4NQV.js} +1 -1
- package/{chunk-K4P3JOA6.js → chunk-JRVYSBUZ.js} +1 -1
- package/{chunk-ZEWON3MW.js → chunk-KGQGMXW6.js} +1 -1
- package/{chunk-MS6WBVQX.js → chunk-KIBBRAL5.js} +1 -1
- package/{chunk-WXT6EZ2V.js → chunk-KJ2WX3FC.js} +1 -1
- package/chunk-KQEKK7SJ.js +1 -0
- package/{chunk-Q5727C4W.js → chunk-KV6EPP4J.js} +1 -1
- package/{chunk-5H2RGDEM.js → chunk-KYNEAC2L.js} +1 -1
- package/{chunk-CEUHQS4P.js → chunk-L2MQOC56.js} +1 -1
- package/{chunk-6O5EWYT7.js → chunk-LFZCMZAP.js} +1 -1
- package/{chunk-XZA36IOK.js → chunk-M675R5IO.js} +1 -1
- package/{chunk-HETAGI2U.js → chunk-MAZVUNNB.js} +1 -1
- package/{chunk-IJTQE2H4.js → chunk-MFK5RQPJ.js} +1 -1
- package/{chunk-PPKCZMH4.js → chunk-N4JIPI53.js} +1 -1
- package/{chunk-E3ZGQRZ3.js → chunk-NCDT6JPP.js} +1 -1
- package/{chunk-UW3TYSD4.js → chunk-NKCNDLCN.js} +1 -1
- package/{chunk-6K5LNQ4J.js → chunk-NMCKMUY4.js} +3 -3
- package/{chunk-S3DECKRN.js → chunk-NVB5C5WN.js} +1 -1
- package/{chunk-NMSYINDE.js → chunk-NZN6QJR3.js} +1 -1
- package/{chunk-72LNXEXV.js → chunk-OIBDX2CA.js} +1 -1
- package/{chunk-XLPFLHKU.js → chunk-OVAQBQEJ.js} +1 -1
- package/{chunk-7QTSLBUS.js → chunk-OVSN4E2D.js} +2 -2
- package/{chunk-CPEWFFH4.js → chunk-PPSWJ3KZ.js} +1 -1
- package/chunk-PUGHX4BL.js +1 -0
- package/{chunk-AJZ7YLT4.js → chunk-Q24GCSGD.js} +1 -1
- package/{chunk-3KYU6FI2.js → chunk-Q5CVMJZC.js} +1 -1
- package/{chunk-AWAXNQFD.js → chunk-Q5K47PTK.js} +1 -1
- package/chunk-QF4D5YPK.js +1 -0
- package/{chunk-6ZAB5KF4.js → chunk-QMVQ67BR.js} +1 -1
- package/{chunk-5BZGRV6Z.js → chunk-QR5KD37B.js} +2 -2
- package/{chunk-VRKBMD72.js → chunk-R7N6BWL5.js} +1 -1
- package/chunk-RIEXBPQ3.js +1 -0
- package/{chunk-MJ6ZJF3H.js → chunk-RZFXAB7W.js} +1 -1
- package/{chunk-MWFWXJG3.js → chunk-U5XXKH2H.js} +1 -1
- package/{chunk-AQR2H4W4.js → chunk-ULJ2Y7SG.js} +1 -1
- package/{chunk-6V36DOK2.js → chunk-UP67MADL.js} +1 -1
- package/{chunk-723XGKN4.js → chunk-V4XZTIO4.js} +1 -1
- package/chunk-VCNN5RVA.js +1 -0
- package/{chunk-L3PZS6EL.js → chunk-VGNJD35F.js} +1 -1
- package/{chunk-E3QNEH3B.js → chunk-VJ3IBUVO.js} +1 -1
- package/{chunk-ADR2PJUZ.js → chunk-VW47RJKF.js} +1 -1
- package/{chunk-SB5MSLCX.js → chunk-VZ5CMS5O.js} +1 -1
- package/chunk-WQLQI7VC.js +1 -0
- package/{chunk-6VGBCKSP.js → chunk-X7UDCQV2.js} +1 -1
- package/{chunk-OB46Z7ZH.js → chunk-XD7VHCRC.js} +1 -1
- package/{chunk-KYLRXHLA.js → chunk-XYDMR5UH.js} +1 -1
- package/{chunk-3O2P3XCM.js → chunk-YN2HKWAW.js} +3 -3
- package/{chunk-ACTRMWEI.js → chunk-YV2QJ63P.js} +1 -1
- package/{chunk-OJKSFSGG.js → chunk-ZFZPBYHM.js} +2 -2
- package/index.html +2 -2
- package/{main-BGNUYMBN.js → main-VBAUVWYV.js} +1 -1
- package/package.json +1 -1
- package/chunk-D7UYPH6O.js +0 -1
- package/chunk-GJGJXJ7W.js +0 -1
- package/chunk-KXE3J4PK.js +0 -1
- package/chunk-PXDLE24D.js +0 -202
- package/chunk-ZYGFIZ2J.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Yt,b as ei,c as ti,d as ii,e as oi,f as li}from"./chunk-ODRV6XWO.js";import{a as Zt,b as gi,c as ni}from"./chunk-6XT4TD5A.js";import{a as kt,b as zt}from"./chunk-XLPFLHKU.js";import{a as Xt}from"./chunk-VB3TPQNG.js";import{a as qe}from"./chunk-KXE3J4PK.js";import{a as Ot}from"./chunk-E3QNEH3B.js";import{b as Be,c as Ke,d as Rt,e as Dt,f as Pt,g as Gt,h as Jt}from"./chunk-JUCJGYST.js";import"./chunk-6O5EWYT7.js";import"./chunk-I7ILLTFH.js";import"./chunk-2LQVI4EI.js";import{a as Vt}from"./chunk-SPKOXGSS.js";import{c as je}from"./chunk-3KYU6FI2.js";import{a as Lt}from"./chunk-IJTQE2H4.js";import{a as qt,b as Wt}from"./chunk-WXT6EZ2V.js";import{a as Qe}from"./chunk-AJZ7YLT4.js";import{a as $e}from"./chunk-ATJ55H5D.js";import{e as Kt,f as $t,g as Ut,h as jt}from"./chunk-3O2P3XCM.js";import{c as Qt}from"./chunk-L3PZS6EL.js";import{a as At,b as Bt}from"./chunk-5JV52UYK.js";import"./chunk-ACTRMWEI.js";import{i as Mt}from"./chunk-ARXP327B.js";import{a as He,b as Ae,i as Ue,p as Nt,w as Ft,x as Ht}from"./chunk-7FFMPB6T.js";import"./chunk-UKBDY33R.js";import{B as De,Ca as It,Ga as be,L as wt,La as _e,M as Pe,Ma as Fe,P as ie,Q as z,R as fe,S as Ve,Ua as Et,W as vt,X as St,Y as se,_ as ce,na as Ne,qa as xt,ra as V,sa as Oe,w as Ct,y as Me,z as Re}from"./chunk-72LNXEXV.js";import{d as Tt}from"./chunk-EFDD6Q3K.js";import"./chunk-CPEWFFH4.js";import"./chunk-ZDTMCWOO.js";import"./chunk-F2X3VGZZ.js";import{h as re,j as yt,k as G,l as Le,m as ae,s as me,t as ge}from"./chunk-SB5MSLCX.js";import{$b as D,$c as Q,Aa as S,Ba as le,Bb as xe,Cc as pt,Db as p,Dc as ee,Ec as P,Fa as Se,Fc as te,Gc as ht,Ha as X,Hc as ut,I as Ye,Jc as mt,Kb as ne,La as it,Lb as a,Mb as at,Nc as gt,Ob as Z,Pb as j,Pc as ft,Qb as Ie,Rb as Ee,Rc as x,Tb as ke,Ub as ze,Vb as d,Vc as bt,Wb as h,Xb as I,Yb as q,Zb as W,_ as Ce,_b as T,_c as w,ca as we,cd as _t,da as et,ec as k,fb as ot,fc as m,g as J,hb as s,ia as B,kc as _,lc as E,m as Ze,mb as lt,mc as g,nb as N,nc as f,pa as tt,qa as L,qc as Y,ra as M,rc as b,sc as A,tc as ue,ua as ve,wc as st,xb as U,xc as ct,yb as nt,yc as dt,zb as rt}from"./chunk-6K5LNQ4J.js";import{a as $,b as he,e as mi}from"./chunk-YQFG5XE2.js";var _i=["colgroup"],yi=["caption"],Ti=["header"],Ci=["body"],wi=["footer"],vi=["summary"],Si=["emptymessage"],xi=["paginatorleft"],Ii=["paginatorright"],Ei=["paginatordropdownitem"],ki=["frozenheader"],zi=["frozenbody"],Li=["frozenfooter"],Mi=["frozencolgroup"],Ri=["loadingicon"],Di=["reorderindicatorupicon"],Pi=["reorderindicatordownicon"],Vi=["sorticon"],Ni=["checkboxicon"],Oi=["headercheckboxicon"],Fi=["togglericon"],Hi=["paginatorfirstpagelinkicon"],Ai=["paginatorlastpagelinkicon"],Bi=["paginatorpreviouspagelinkicon"],Ki=["paginatornextpagelinkicon"],$i=["loader"],Qi=["container"],Ui=["resizeHelper"],ji=["reorderIndicatorUp"],qi=["reorderIndicatorDown"],Wi=["table"],Gi=["scrollableView"],Ji=["scrollableFrozenView"],Xi=(t,r,e,o,i,l)=>({"p-treetable p-component":!0,"p-treetable-gridlines":t,"p-treetable-hoverable-rows":r,"p-treetable-auto-layout":e,"p-treetable-resizable":o,"p-treetable-resizable-fit":i,"p-treetable-flex-scrollable":l}),K=t=>({$implicit:t}),Zi=(t,r)=>({left:t,width:r}),Yi=t=>({width:t});function eo(t,r){if(t&1&&I(0,"i"),t&2){let e=m(2);j("p-treetable-loading-icon pi-spin "+e.loadingIcon)}}function to(t,r){t&1&&I(0,"SpinnerIcon",24),t&2&&a("spin",!0)("styleClass","p-treetable-loading-icon")}function io(t,r){}function oo(t,r){t&1&&p(0,io,0,0,"ng-template")}function lo(t,r){if(t&1&&(d(0,"span",25),p(1,oo,1,0,null,26),h()),t&2){let e=m(3);s(),a("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function no(t,r){if(t&1&&(q(0),p(1,to,1,2,"SpinnerIcon",22)(2,lo,2,1,"span",23),W()),t&2){let e=m(2);s(),a("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),s(),a("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function ro(t,r){if(t&1&&(d(0,"div",18)(1,"div",19),p(2,eo,1,2,"i",20)(3,no,3,2,"ng-container",21),h()()),t&2){let e=m();s(2),a("ngIf",e.loadingIcon),s(),a("ngIf",!e.loadingIcon)}}function ao(t,r){t&1&&T(0)}function so(t,r){if(t&1&&(d(0,"div",27),p(1,ao,1,0,"ng-container",26),h()),t&2){let e=m();s(),a("ngTemplateOutlet",e.captionTemplate||e._captionTemplate)}}function co(t,r){t&1&&T(0)}function po(t,r){if(t&1&&p(0,co,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function ho(t,r){t&1&&p(0,po,1,1,"ng-template",29)}function uo(t,r){t&1&&T(0)}function mo(t,r){if(t&1&&p(0,uo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function go(t,r){t&1&&p(0,mo,1,1,"ng-template",30)}function fo(t,r){t&1&&T(0)}function bo(t,r){if(t&1&&p(0,fo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function _o(t,r){t&1&&p(0,bo,1,1,"ng-template",31)}function yo(t,r){t&1&&T(0)}function To(t,r){if(t&1&&p(0,yo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function Co(t,r){t&1&&p(0,To,1,1,"ng-template",32)}function wo(t,r){if(t&1){let e=D();d(0,"p-paginator",28),k("onPageChange",function(i){L(e);let l=m();return M(l.onPageChange(i))}),p(1,ho,1,0,null,21)(2,go,1,0,null,21)(3,_o,1,0,null,21)(4,Co,1,0,null,21),h()}if(t&2){let e,o,i,l=m();a("rows",l.rows)("first",l.first)("totalRecords",l.totalRecords)("pageLinkSize",l.pageLinks)("alwaysShow",l.alwaysShowPaginator)("rowsPerPageOptions",l.rowsPerPageOptions)("templateLeft",(e=l.paginatorLeftTemplate)!==null&&e!==void 0?e:l._paginatorLeftTemplate)("templateRight",(o=l.paginatorRightTemplate)!==null&&o!==void 0?o:l._paginatorRightTemplate)("dropdownAppendTo",l.paginatorDropdownAppendTo)("currentPageReportTemplate",l.currentPageReportTemplate)("showFirstLastIcon",l.showFirstLastIcon)("dropdownItemTemplate",(i=l.paginatorDropdownItemTemplate)!==null&&i!==void 0?i:l._paginatorDropdownItemTemplate)("showCurrentPageReport",l.showCurrentPageReport)("showJumpToPageDropdown",l.showJumpToPageDropdown)("showPageLinks",l.showPageLinks)("styleClass",l.paginatorStyleClass)("locale",l.paginatorLocale),s(),a("ngIf",l.paginatorFirstPageLinkIconTemplate||l._paginatorFirstPageLinkIconTemplate),s(),a("ngIf",l.paginatorPreviousPageLinkIconTemplate||l._paginatorPreviousPageLinkIconTemplate),s(),a("ngIf",l.paginatorLastPageLinkIconTemplate||l._paginatorLastPageLinkIconTemplate),s(),a("ngIf",l.paginatorNextPageLinkIconTemplate||l._paginatorNextPageLinkIconTemplate)}}function vo(t,r){t&1&&T(0)}function So(t,r){t&1&&T(0)}function xo(t,r){t&1&&T(0)}function Io(t,r){if(t&1&&(d(0,"div",33)(1,"table",34,1),p(3,vo,1,0,"ng-container",35),d(4,"thead",36),p(5,So,1,0,"ng-container",35),h(),I(6,"tbody",37),d(7,"tfoot",38),p(8,xo,1,0,"ng-container",35),h()()()),t&2){let e,o=m();s(),a("ngClass",o.tableStyleClass)("ngStyle",o.tableStyle),s(2),a("ngTemplateOutlet",o.colGroupTemplate||o._colGroupTemplate)("ngTemplateOutletContext",P(10,K,o.columns)),s(2),a("ngTemplateOutlet",o.headerTemplate||o._headerTemplate)("ngTemplateOutletContext",P(12,K,o.columns)),s(),a("pTreeTableBody",o.columns)("pTreeTableBodyTemplate",(e=o.bodyTemplate)!==null&&e!==void 0?e:o._bodyTemplate),s(2),a("ngTemplateOutlet",o.footerTemplate||o._footerTemplate)("ngTemplateOutletContext",P(14,K,o.columns))}}function Eo(t,r){if(t&1&&I(0,"div",42,3),t&2){let e=m(2);a("ttScrollableView",e.frozenColumns)("frozen",!0)("ngStyle",P(4,Yi,e.frozenWidth))("scrollHeight",e.scrollHeight)}}function ko(t,r){if(t&1&&(d(0,"div",39),p(1,Eo,2,6,"div",40),I(2,"div",41,2),h()),t&2){let e=m();s(),a("ngIf",e.frozenColumns||e.frozenBodyTemplate||e._frozenBodyTemplate),s(),a("ttScrollableView",e.columns)("frozen",!1)("scrollHeight",e.scrollHeight)("ngStyle",te(5,Zi,e.frozenWidth,"calc(100% - "+e.frozenWidth+")"))}}function zo(t,r){t&1&&T(0)}function Lo(t,r){if(t&1&&p(0,zo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function Mo(t,r){t&1&&p(0,Lo,1,1,"ng-template",29)}function Ro(t,r){t&1&&T(0)}function Do(t,r){if(t&1&&p(0,Ro,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function Po(t,r){t&1&&p(0,Do,1,1,"ng-template",30)}function Vo(t,r){t&1&&T(0)}function No(t,r){if(t&1&&p(0,Vo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function Oo(t,r){t&1&&p(0,No,1,1,"ng-template",31)}function Fo(t,r){t&1&&T(0)}function Ho(t,r){if(t&1&&p(0,Fo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function Ao(t,r){t&1&&p(0,Ho,1,1,"ng-template",32)}function Bo(t,r){if(t&1){let e=D();d(0,"p-paginator",43),k("onPageChange",function(i){L(e);let l=m();return M(l.onPageChange(i))}),p(1,Mo,1,0,null,21)(2,Po,1,0,null,21)(3,Oo,1,0,null,21)(4,Ao,1,0,null,21),h()}if(t&2){let e,o,i,l=m();a("rows",l.rows)("first",l.first)("totalRecords",l.totalRecords)("pageLinkSize",l.pageLinks)("alwaysShow",l.alwaysShowPaginator)("rowsPerPageOptions",l.rowsPerPageOptions)("templateLeft",(e=l.paginatorLeftTemplate)!==null&&e!==void 0?e:l._paginatorLeftTemplate)("templateRight",(o=l.paginatorRightTemplate)!==null&&o!==void 0?o:l._paginatorRightTemplate)("dropdownAppendTo",l.paginatorDropdownAppendTo)("currentPageReportTemplate",l.currentPageReportTemplate)("showFirstLastIcon",l.showFirstLastIcon)("dropdownItemTemplate",(i=l.paginatorDropdownItemTemplate)!==null&&i!==void 0?i:l._paginatorDropdownItemTemplate)("showCurrentPageReport",l.showCurrentPageReport)("showJumpToPageDropdown",l.showJumpToPageDropdown)("showPageLinks",l.showPageLinks)("styleClass",l.paginatorStyleClass)("locale",l.paginatorLocale),s(),a("ngIf",l.paginatorFirstPageLinkIconTemplate||l._paginatorFirstPageLinkIconTemplate),s(),a("ngIf",l.paginatorPreviousPageLinkIconTemplate||l._paginatorPreviousPageLinkIconTemplate),s(),a("ngIf",l.paginatorLastPageLinkIconTemplate||l._paginatorLastPageLinkIconTemplate),s(),a("ngIf",l.paginatorNextPageLinkIconTemplate||l._paginatorNextPageLinkIconTemplate)}}function Ko(t,r){t&1&&T(0)}function $o(t,r){if(t&1&&(d(0,"div",44),p(1,Ko,1,0,"ng-container",26),h()),t&2){let e=m();s(),a("ngTemplateOutlet",e.summaryTemplate||e._summaryTemplate)}}function Qo(t,r){t&1&&I(0,"div",45,4)}function Uo(t,r){t&1&&I(0,"ArrowDownIcon")}function jo(t,r){}function qo(t,r){t&1&&p(0,jo,0,0,"ng-template")}function Wo(t,r){if(t&1&&(d(0,"span",46,5),p(2,Uo,1,0,"ArrowDownIcon",21)(3,qo,1,0,null,26),h()),t&2){let e=m();s(2),a("ngIf",!e.reorderIndicatorUpIconTemplate&&!e._reorderIndicatorUpIconTemplate),s(),a("ngTemplateOutlet",e.reorderIndicatorUpIconTemplate||e._reorderIndicatorUpIconTemplate)}}function Go(t,r){t&1&&I(0,"ArrowUpIcon")}function Jo(t,r){}function Xo(t,r){t&1&&p(0,Jo,0,0,"ng-template")}function Zo(t,r){if(t&1&&(d(0,"span",47,6),p(2,Go,1,0,"ArrowUpIcon",21)(3,Xo,1,0,null,26),h()),t&2){let e=m();s(2),a("ngIf",!e.reorderIndicatorDownIconTemplate&&!e._reorderIndicatorDownIconTemplate),s(),a("ngTemplateOutlet",e.reorderIndicatorDownIconTemplate||e._reorderIndicatorDownIconTemplate)}}var Yo=["pTreeTableBody",""],el=(t,r,e,o)=>({$implicit:t,node:r,rowData:e,columns:o}),tl=(t,r)=>({$implicit:t,frozen:r});function il(t,r){t&1&&T(0)}function ol(t,r){if(t&1&&(q(0),p(1,il,1,0,"ng-container",2),W()),t&2){let e=m().$implicit,o=m();s(),a("ngTemplateOutlet",o.template)("ngTemplateOutletContext",ut(2,el,e,e.node,e.node.data,o.columns))}}function ll(t,r){if(t&1&&p(0,ol,2,7,"ng-container",1),t&2){let e=r.$implicit;a("ngIf",e.visible)}}function nl(t,r){t&1&&T(0)}function rl(t,r){if(t&1&&(q(0),p(1,nl,1,0,"ng-container",2),W()),t&2){let e=m();s(),a("ngTemplateOutlet",e.tt.emptyMessageTemplate)("ngTemplateOutletContext",te(2,tl,e.columns,e.frozen))}}var al=["scrollHeader"],sl=["scrollHeaderBox"],cl=["scrollBody"],dl=["scrollTable"],pl=["loadingTable"],hl=["scrollFooter"],ul=["scrollFooterBox"],ml=["scrollableAligner"],gl=["scroller"],fl=["ttScrollableView",""],bl=t=>({height:t}),ai=(t,r)=>({$implicit:t,options:r}),_l=t=>({options:t}),yl=(t,r)=>({"max-height":t,"overflow-y":r}),Tl=()=>({});function Cl(t,r){t&1&&T(0)}function wl(t,r){t&1&&T(0)}function vl(t,r){t&1&&T(0)}function Sl(t,r){if(t&1&&p(0,vl,1,0,"ng-container",14),t&2){let e=r.$implicit,o=r.options;m(2);let i=Y(11);a("ngTemplateOutlet",i)("ngTemplateOutletContext",te(2,ai,e,o))}}function xl(t,r){t&1&&T(0)}function Il(t,r){if(t&1&&p(0,xl,1,0,"ng-container",14),t&2){let e=r.options,o=m(3);a("ngTemplateOutlet",o.tt.loaderTemplate||o.tt._loaderTemplate)("ngTemplateOutletContext",P(2,_l,e))}}function El(t,r){t&1&&(q(0),p(1,Il,1,4,"ng-template",null,5,x),W())}function kl(t,r){if(t&1){let e=D();d(0,"p-scroller",19,3),k("onLazyLoad",function(i){L(e);let l=m();return M(l.tt.onLazyItemLoad(i))}),p(2,Sl,1,5,"ng-template",null,4,x)(4,El,3,0,"ng-container",17),h()}if(t&2){let e=m();Z(P(8,bl,e.tt.scrollHeight!=="flex"?e.tt.scrollHeight:void 0)),a("items",e.tt.serializedValue)("scrollHeight",e.scrollHeight!=="flex"?void 0:"100%")("itemSize",e.tt.virtualScrollItemSize||e.tt._virtualRowHeight)("lazy",e.tt.lazy)("options",e.tt.virtualScrollOptions),s(4),a("ngIf",e.tt.loaderTemplate||e.tt._loaderTemplate)}}function zl(t,r){t&1&&T(0)}function Ll(t,r){if(t&1&&(q(0),d(1,"div",20,6),p(3,zl,1,0,"ng-container",14),h(),W()),t&2){let e=m(),o=Y(11);s(),a("ngStyle",te(3,yl,e.tt.scrollHeight!=="flex"?e.scrollHeight:void 0,!e.frozen&&e.tt.scrollHeight?"scroll":void 0)),s(2),a("ngTemplateOutlet",o)("ngTemplateOutletContext",te(7,ai,e.serializedValue,ee(6,Tl)))}}function Ml(t,r){t&1&&T(0)}function Rl(t,r){t&1&&I(0,"div",24,8)}function Dl(t,r){if(t&1&&(d(0,"table",21,7),p(2,Ml,1,0,"ng-container",14),I(3,"tbody",22),h(),p(4,Rl,2,0,"div",23)),t&2){let e=r.$implicit,o=r.options,i=m();Z(o.contentStyle),j(i.tt.tableStyleClass),a("ngClass",o.contentStyleClass)("ngStyle",i.tt.tableStyle),s(2),a("ngTemplateOutlet",i.frozen?i.tt.frozenColGroupTemplate||i.tt._frozenColGroupTemplate||i.tt.colGroupTemplate||i.tt._colGroupTemplate:i.tt.colGroupTemplate||i.tt._colGroupTemplate)("ngTemplateOutletContext",P(13,K,i.columns)),s(),a("pTreeTableBody",i.columns)("pTreeTableBodyTemplate",i.frozen?i.tt.frozenBodyTemplate||i.tt._frozenBodyTemplate||i.tt.bodyTemplate||i.tt._bodyTemplate:i.tt.bodyTemplate||i.tt._bodyTemplate)("serializedNodes",e)("frozen",i.frozen),s(),a("ngIf",i.frozen)}}function Pl(t,r){t&1&&T(0)}function Vl(t,r){t&1&&T(0)}function Nl(t,r){if(t&1&&(d(0,"div",25,9)(2,"div",26,10)(4,"table",27),p(5,Pl,1,0,"ng-container",14),d(6,"tfoot",28),p(7,Vl,1,0,"ng-container",14),h()()()()),t&2){let e=m();s(4),a("ngClass",e.tt.tableStyleClass)("ngStyle",e.tt.tableStyle),s(),a("ngTemplateOutlet",e.frozen?e.tt.frozenColGroupTemplate||e.tt._frozenColGroupTemplate||e.tt.colGroupTemplate||e.tt._colGroupTemplate:e.tt.colGroupTemplate||e.tt._colGroupTemplate)("ngTemplateOutletContext",P(6,K,e.columns)),s(2),a("ngTemplateOutlet",e.frozen?e.tt.frozenFooterTemplate||e.tt._frozenFooterTemplate||e.tt.footerTemplate||e.tt._footerTemplate:e.tt.footerTemplate||e.tt._footerTemplate)("ngTemplateOutletContext",P(8,K,e.columns))}}function Ol(t,r){t&1&&I(0,"ChevronDownIcon"),t&2&&ne("aria-hidden",!0)}function Fl(t,r){t&1&&I(0,"ChevronRightIcon"),t&2&&ne("aria-hidden",!0)}function Hl(t,r){if(t&1&&(q(0),p(1,Ol,1,1,"ChevronDownIcon",1)(2,Fl,1,1,"ChevronRightIcon",1),W()),t&2){let e=m();s(),a("ngIf",e.rowNode.node.expanded),s(),a("ngIf",!e.rowNode.node.expanded)}}function Al(t,r){}function Bl(t,r){t&1&&p(0,Al,0,0,"ng-template")}var Kl=({dt:t})=>`
|
|
1
|
+
import{a as Yt,b as ei,c as ti,d as ii,e as oi,f as li}from"./chunk-IHZ55QSI.js";import{a as Zt,b as gi,c as ni}from"./chunk-HAQ36ZI6.js";import{a as kt,b as zt}from"./chunk-OVAQBQEJ.js";import{a as Xt}from"./chunk-GBBQUUCQ.js";import{a as qe}from"./chunk-QF4D5YPK.js";import{a as Ot}from"./chunk-VJ3IBUVO.js";import{b as Be,c as Ke,d as Rt,e as Dt,f as Pt,g as Gt,h as Jt}from"./chunk-2AAVNIG7.js";import"./chunk-LFZCMZAP.js";import"./chunk-6A2KUPOG.js";import"./chunk-36OX4S7M.js";import{c as je}from"./chunk-Q5CVMJZC.js";import{a as Vt}from"./chunk-3GGXPPQT.js";import{a as Lt}from"./chunk-MFK5RQPJ.js";import{a as qt,b as Wt}from"./chunk-KJ2WX3FC.js";import{a as $e}from"./chunk-6GN3MGBY.js";import{a as Qe}from"./chunk-Q24GCSGD.js";import{e as Kt,f as $t,g as Ut,h as jt}from"./chunk-YN2HKWAW.js";import{c as Qt}from"./chunk-VGNJD35F.js";import{a as At,b as Bt}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import{i as Mt}from"./chunk-ARH3WEEF.js";import{a as He,b as Ae,i as Ue,p as Nt,w as Ft,x as Ht}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{B as De,Ca as It,Ga as be,L as wt,La as _e,M as Pe,Ma as Fe,P as ie,Q as z,R as fe,S as Ve,Ua as Et,W as vt,X as St,Y as se,_ as ce,na as Ne,qa as xt,ra as V,sa as Oe,w as Ct,y as Me,z as Re}from"./chunk-OIBDX2CA.js";import{d as Tt}from"./chunk-AOOG6YOT.js";import"./chunk-PPSWJ3KZ.js";import"./chunk-2MKKFLNJ.js";import{h as re,j as yt,k as G,l as Le,m as ae,s as me,t as ge}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as D,$c as Q,Aa as S,Ba as le,Bb as xe,Cc as pt,Db as p,Dc as ee,Ec as P,Fa as Se,Fc as te,Gc as ht,Ha as X,Hc as ut,I as Ye,Jc as mt,Kb as ne,La as it,Lb as a,Mb as at,Nc as gt,Ob as Z,Pb as j,Pc as ft,Qb as Ie,Rb as Ee,Rc as x,Tb as ke,Ub as ze,Vb as d,Vc as bt,Wb as h,Xb as I,Yb as q,Zb as W,_ as Ce,_b as T,_c as w,ca as we,cd as _t,da as et,ec as k,fb as ot,fc as m,g as J,hb as s,ia as B,kc as _,lc as E,m as Ze,mb as lt,mc as g,nb as N,nc as f,pa as tt,qa as L,qc as Y,ra as M,rc as b,sc as A,tc as ue,ua as ve,wc as st,xb as U,xc as ct,yb as nt,yc as dt,zb as rt}from"./chunk-NMCKMUY4.js";import{a as $,b as he,e as mi}from"./chunk-YQFG5XE2.js";var _i=["colgroup"],yi=["caption"],Ti=["header"],Ci=["body"],wi=["footer"],vi=["summary"],Si=["emptymessage"],xi=["paginatorleft"],Ii=["paginatorright"],Ei=["paginatordropdownitem"],ki=["frozenheader"],zi=["frozenbody"],Li=["frozenfooter"],Mi=["frozencolgroup"],Ri=["loadingicon"],Di=["reorderindicatorupicon"],Pi=["reorderindicatordownicon"],Vi=["sorticon"],Ni=["checkboxicon"],Oi=["headercheckboxicon"],Fi=["togglericon"],Hi=["paginatorfirstpagelinkicon"],Ai=["paginatorlastpagelinkicon"],Bi=["paginatorpreviouspagelinkicon"],Ki=["paginatornextpagelinkicon"],$i=["loader"],Qi=["container"],Ui=["resizeHelper"],ji=["reorderIndicatorUp"],qi=["reorderIndicatorDown"],Wi=["table"],Gi=["scrollableView"],Ji=["scrollableFrozenView"],Xi=(t,r,e,o,i,l)=>({"p-treetable p-component":!0,"p-treetable-gridlines":t,"p-treetable-hoverable-rows":r,"p-treetable-auto-layout":e,"p-treetable-resizable":o,"p-treetable-resizable-fit":i,"p-treetable-flex-scrollable":l}),K=t=>({$implicit:t}),Zi=(t,r)=>({left:t,width:r}),Yi=t=>({width:t});function eo(t,r){if(t&1&&I(0,"i"),t&2){let e=m(2);j("p-treetable-loading-icon pi-spin "+e.loadingIcon)}}function to(t,r){t&1&&I(0,"SpinnerIcon",24),t&2&&a("spin",!0)("styleClass","p-treetable-loading-icon")}function io(t,r){}function oo(t,r){t&1&&p(0,io,0,0,"ng-template")}function lo(t,r){if(t&1&&(d(0,"span",25),p(1,oo,1,0,null,26),h()),t&2){let e=m(3);s(),a("ngTemplateOutlet",e.loadingIconTemplate||e._loadingIconTemplate)}}function no(t,r){if(t&1&&(q(0),p(1,to,1,2,"SpinnerIcon",22)(2,lo,2,1,"span",23),W()),t&2){let e=m(2);s(),a("ngIf",!e.loadingIconTemplate&&!e._loadingIconTemplate),s(),a("ngIf",e.loadingIconTemplate||e._loadingIconTemplate)}}function ro(t,r){if(t&1&&(d(0,"div",18)(1,"div",19),p(2,eo,1,2,"i",20)(3,no,3,2,"ng-container",21),h()()),t&2){let e=m();s(2),a("ngIf",e.loadingIcon),s(),a("ngIf",!e.loadingIcon)}}function ao(t,r){t&1&&T(0)}function so(t,r){if(t&1&&(d(0,"div",27),p(1,ao,1,0,"ng-container",26),h()),t&2){let e=m();s(),a("ngTemplateOutlet",e.captionTemplate||e._captionTemplate)}}function co(t,r){t&1&&T(0)}function po(t,r){if(t&1&&p(0,co,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function ho(t,r){t&1&&p(0,po,1,1,"ng-template",29)}function uo(t,r){t&1&&T(0)}function mo(t,r){if(t&1&&p(0,uo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function go(t,r){t&1&&p(0,mo,1,1,"ng-template",30)}function fo(t,r){t&1&&T(0)}function bo(t,r){if(t&1&&p(0,fo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function _o(t,r){t&1&&p(0,bo,1,1,"ng-template",31)}function yo(t,r){t&1&&T(0)}function To(t,r){if(t&1&&p(0,yo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function Co(t,r){t&1&&p(0,To,1,1,"ng-template",32)}function wo(t,r){if(t&1){let e=D();d(0,"p-paginator",28),k("onPageChange",function(i){L(e);let l=m();return M(l.onPageChange(i))}),p(1,ho,1,0,null,21)(2,go,1,0,null,21)(3,_o,1,0,null,21)(4,Co,1,0,null,21),h()}if(t&2){let e,o,i,l=m();a("rows",l.rows)("first",l.first)("totalRecords",l.totalRecords)("pageLinkSize",l.pageLinks)("alwaysShow",l.alwaysShowPaginator)("rowsPerPageOptions",l.rowsPerPageOptions)("templateLeft",(e=l.paginatorLeftTemplate)!==null&&e!==void 0?e:l._paginatorLeftTemplate)("templateRight",(o=l.paginatorRightTemplate)!==null&&o!==void 0?o:l._paginatorRightTemplate)("dropdownAppendTo",l.paginatorDropdownAppendTo)("currentPageReportTemplate",l.currentPageReportTemplate)("showFirstLastIcon",l.showFirstLastIcon)("dropdownItemTemplate",(i=l.paginatorDropdownItemTemplate)!==null&&i!==void 0?i:l._paginatorDropdownItemTemplate)("showCurrentPageReport",l.showCurrentPageReport)("showJumpToPageDropdown",l.showJumpToPageDropdown)("showPageLinks",l.showPageLinks)("styleClass",l.paginatorStyleClass)("locale",l.paginatorLocale),s(),a("ngIf",l.paginatorFirstPageLinkIconTemplate||l._paginatorFirstPageLinkIconTemplate),s(),a("ngIf",l.paginatorPreviousPageLinkIconTemplate||l._paginatorPreviousPageLinkIconTemplate),s(),a("ngIf",l.paginatorLastPageLinkIconTemplate||l._paginatorLastPageLinkIconTemplate),s(),a("ngIf",l.paginatorNextPageLinkIconTemplate||l._paginatorNextPageLinkIconTemplate)}}function vo(t,r){t&1&&T(0)}function So(t,r){t&1&&T(0)}function xo(t,r){t&1&&T(0)}function Io(t,r){if(t&1&&(d(0,"div",33)(1,"table",34,1),p(3,vo,1,0,"ng-container",35),d(4,"thead",36),p(5,So,1,0,"ng-container",35),h(),I(6,"tbody",37),d(7,"tfoot",38),p(8,xo,1,0,"ng-container",35),h()()()),t&2){let e,o=m();s(),a("ngClass",o.tableStyleClass)("ngStyle",o.tableStyle),s(2),a("ngTemplateOutlet",o.colGroupTemplate||o._colGroupTemplate)("ngTemplateOutletContext",P(10,K,o.columns)),s(2),a("ngTemplateOutlet",o.headerTemplate||o._headerTemplate)("ngTemplateOutletContext",P(12,K,o.columns)),s(),a("pTreeTableBody",o.columns)("pTreeTableBodyTemplate",(e=o.bodyTemplate)!==null&&e!==void 0?e:o._bodyTemplate),s(2),a("ngTemplateOutlet",o.footerTemplate||o._footerTemplate)("ngTemplateOutletContext",P(14,K,o.columns))}}function Eo(t,r){if(t&1&&I(0,"div",42,3),t&2){let e=m(2);a("ttScrollableView",e.frozenColumns)("frozen",!0)("ngStyle",P(4,Yi,e.frozenWidth))("scrollHeight",e.scrollHeight)}}function ko(t,r){if(t&1&&(d(0,"div",39),p(1,Eo,2,6,"div",40),I(2,"div",41,2),h()),t&2){let e=m();s(),a("ngIf",e.frozenColumns||e.frozenBodyTemplate||e._frozenBodyTemplate),s(),a("ttScrollableView",e.columns)("frozen",!1)("scrollHeight",e.scrollHeight)("ngStyle",te(5,Zi,e.frozenWidth,"calc(100% - "+e.frozenWidth+")"))}}function zo(t,r){t&1&&T(0)}function Lo(t,r){if(t&1&&p(0,zo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorFirstPageLinkIconTemplate||e._paginatorFirstPageLinkIconTemplate)}}function Mo(t,r){t&1&&p(0,Lo,1,1,"ng-template",29)}function Ro(t,r){t&1&&T(0)}function Do(t,r){if(t&1&&p(0,Ro,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorPreviousPageLinkIconTemplate||e._paginatorPreviousPageLinkIconTemplate)}}function Po(t,r){t&1&&p(0,Do,1,1,"ng-template",30)}function Vo(t,r){t&1&&T(0)}function No(t,r){if(t&1&&p(0,Vo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorLastPageLinkIconTemplate||e._paginatorLastPageLinkIconTemplate)}}function Oo(t,r){t&1&&p(0,No,1,1,"ng-template",31)}function Fo(t,r){t&1&&T(0)}function Ho(t,r){if(t&1&&p(0,Fo,1,0,"ng-container",26),t&2){let e=m(3);a("ngTemplateOutlet",e.paginatorNextPageLinkIconTemplate||e._paginatorNextPageLinkIconTemplate)}}function Ao(t,r){t&1&&p(0,Ho,1,1,"ng-template",32)}function Bo(t,r){if(t&1){let e=D();d(0,"p-paginator",43),k("onPageChange",function(i){L(e);let l=m();return M(l.onPageChange(i))}),p(1,Mo,1,0,null,21)(2,Po,1,0,null,21)(3,Oo,1,0,null,21)(4,Ao,1,0,null,21),h()}if(t&2){let e,o,i,l=m();a("rows",l.rows)("first",l.first)("totalRecords",l.totalRecords)("pageLinkSize",l.pageLinks)("alwaysShow",l.alwaysShowPaginator)("rowsPerPageOptions",l.rowsPerPageOptions)("templateLeft",(e=l.paginatorLeftTemplate)!==null&&e!==void 0?e:l._paginatorLeftTemplate)("templateRight",(o=l.paginatorRightTemplate)!==null&&o!==void 0?o:l._paginatorRightTemplate)("dropdownAppendTo",l.paginatorDropdownAppendTo)("currentPageReportTemplate",l.currentPageReportTemplate)("showFirstLastIcon",l.showFirstLastIcon)("dropdownItemTemplate",(i=l.paginatorDropdownItemTemplate)!==null&&i!==void 0?i:l._paginatorDropdownItemTemplate)("showCurrentPageReport",l.showCurrentPageReport)("showJumpToPageDropdown",l.showJumpToPageDropdown)("showPageLinks",l.showPageLinks)("styleClass",l.paginatorStyleClass)("locale",l.paginatorLocale),s(),a("ngIf",l.paginatorFirstPageLinkIconTemplate||l._paginatorFirstPageLinkIconTemplate),s(),a("ngIf",l.paginatorPreviousPageLinkIconTemplate||l._paginatorPreviousPageLinkIconTemplate),s(),a("ngIf",l.paginatorLastPageLinkIconTemplate||l._paginatorLastPageLinkIconTemplate),s(),a("ngIf",l.paginatorNextPageLinkIconTemplate||l._paginatorNextPageLinkIconTemplate)}}function Ko(t,r){t&1&&T(0)}function $o(t,r){if(t&1&&(d(0,"div",44),p(1,Ko,1,0,"ng-container",26),h()),t&2){let e=m();s(),a("ngTemplateOutlet",e.summaryTemplate||e._summaryTemplate)}}function Qo(t,r){t&1&&I(0,"div",45,4)}function Uo(t,r){t&1&&I(0,"ArrowDownIcon")}function jo(t,r){}function qo(t,r){t&1&&p(0,jo,0,0,"ng-template")}function Wo(t,r){if(t&1&&(d(0,"span",46,5),p(2,Uo,1,0,"ArrowDownIcon",21)(3,qo,1,0,null,26),h()),t&2){let e=m();s(2),a("ngIf",!e.reorderIndicatorUpIconTemplate&&!e._reorderIndicatorUpIconTemplate),s(),a("ngTemplateOutlet",e.reorderIndicatorUpIconTemplate||e._reorderIndicatorUpIconTemplate)}}function Go(t,r){t&1&&I(0,"ArrowUpIcon")}function Jo(t,r){}function Xo(t,r){t&1&&p(0,Jo,0,0,"ng-template")}function Zo(t,r){if(t&1&&(d(0,"span",47,6),p(2,Go,1,0,"ArrowUpIcon",21)(3,Xo,1,0,null,26),h()),t&2){let e=m();s(2),a("ngIf",!e.reorderIndicatorDownIconTemplate&&!e._reorderIndicatorDownIconTemplate),s(),a("ngTemplateOutlet",e.reorderIndicatorDownIconTemplate||e._reorderIndicatorDownIconTemplate)}}var Yo=["pTreeTableBody",""],el=(t,r,e,o)=>({$implicit:t,node:r,rowData:e,columns:o}),tl=(t,r)=>({$implicit:t,frozen:r});function il(t,r){t&1&&T(0)}function ol(t,r){if(t&1&&(q(0),p(1,il,1,0,"ng-container",2),W()),t&2){let e=m().$implicit,o=m();s(),a("ngTemplateOutlet",o.template)("ngTemplateOutletContext",ut(2,el,e,e.node,e.node.data,o.columns))}}function ll(t,r){if(t&1&&p(0,ol,2,7,"ng-container",1),t&2){let e=r.$implicit;a("ngIf",e.visible)}}function nl(t,r){t&1&&T(0)}function rl(t,r){if(t&1&&(q(0),p(1,nl,1,0,"ng-container",2),W()),t&2){let e=m();s(),a("ngTemplateOutlet",e.tt.emptyMessageTemplate)("ngTemplateOutletContext",te(2,tl,e.columns,e.frozen))}}var al=["scrollHeader"],sl=["scrollHeaderBox"],cl=["scrollBody"],dl=["scrollTable"],pl=["loadingTable"],hl=["scrollFooter"],ul=["scrollFooterBox"],ml=["scrollableAligner"],gl=["scroller"],fl=["ttScrollableView",""],bl=t=>({height:t}),ai=(t,r)=>({$implicit:t,options:r}),_l=t=>({options:t}),yl=(t,r)=>({"max-height":t,"overflow-y":r}),Tl=()=>({});function Cl(t,r){t&1&&T(0)}function wl(t,r){t&1&&T(0)}function vl(t,r){t&1&&T(0)}function Sl(t,r){if(t&1&&p(0,vl,1,0,"ng-container",14),t&2){let e=r.$implicit,o=r.options;m(2);let i=Y(11);a("ngTemplateOutlet",i)("ngTemplateOutletContext",te(2,ai,e,o))}}function xl(t,r){t&1&&T(0)}function Il(t,r){if(t&1&&p(0,xl,1,0,"ng-container",14),t&2){let e=r.options,o=m(3);a("ngTemplateOutlet",o.tt.loaderTemplate||o.tt._loaderTemplate)("ngTemplateOutletContext",P(2,_l,e))}}function El(t,r){t&1&&(q(0),p(1,Il,1,4,"ng-template",null,5,x),W())}function kl(t,r){if(t&1){let e=D();d(0,"p-scroller",19,3),k("onLazyLoad",function(i){L(e);let l=m();return M(l.tt.onLazyItemLoad(i))}),p(2,Sl,1,5,"ng-template",null,4,x)(4,El,3,0,"ng-container",17),h()}if(t&2){let e=m();Z(P(8,bl,e.tt.scrollHeight!=="flex"?e.tt.scrollHeight:void 0)),a("items",e.tt.serializedValue)("scrollHeight",e.scrollHeight!=="flex"?void 0:"100%")("itemSize",e.tt.virtualScrollItemSize||e.tt._virtualRowHeight)("lazy",e.tt.lazy)("options",e.tt.virtualScrollOptions),s(4),a("ngIf",e.tt.loaderTemplate||e.tt._loaderTemplate)}}function zl(t,r){t&1&&T(0)}function Ll(t,r){if(t&1&&(q(0),d(1,"div",20,6),p(3,zl,1,0,"ng-container",14),h(),W()),t&2){let e=m(),o=Y(11);s(),a("ngStyle",te(3,yl,e.tt.scrollHeight!=="flex"?e.scrollHeight:void 0,!e.frozen&&e.tt.scrollHeight?"scroll":void 0)),s(2),a("ngTemplateOutlet",o)("ngTemplateOutletContext",te(7,ai,e.serializedValue,ee(6,Tl)))}}function Ml(t,r){t&1&&T(0)}function Rl(t,r){t&1&&I(0,"div",24,8)}function Dl(t,r){if(t&1&&(d(0,"table",21,7),p(2,Ml,1,0,"ng-container",14),I(3,"tbody",22),h(),p(4,Rl,2,0,"div",23)),t&2){let e=r.$implicit,o=r.options,i=m();Z(o.contentStyle),j(i.tt.tableStyleClass),a("ngClass",o.contentStyleClass)("ngStyle",i.tt.tableStyle),s(2),a("ngTemplateOutlet",i.frozen?i.tt.frozenColGroupTemplate||i.tt._frozenColGroupTemplate||i.tt.colGroupTemplate||i.tt._colGroupTemplate:i.tt.colGroupTemplate||i.tt._colGroupTemplate)("ngTemplateOutletContext",P(13,K,i.columns)),s(),a("pTreeTableBody",i.columns)("pTreeTableBodyTemplate",i.frozen?i.tt.frozenBodyTemplate||i.tt._frozenBodyTemplate||i.tt.bodyTemplate||i.tt._bodyTemplate:i.tt.bodyTemplate||i.tt._bodyTemplate)("serializedNodes",e)("frozen",i.frozen),s(),a("ngIf",i.frozen)}}function Pl(t,r){t&1&&T(0)}function Vl(t,r){t&1&&T(0)}function Nl(t,r){if(t&1&&(d(0,"div",25,9)(2,"div",26,10)(4,"table",27),p(5,Pl,1,0,"ng-container",14),d(6,"tfoot",28),p(7,Vl,1,0,"ng-container",14),h()()()()),t&2){let e=m();s(4),a("ngClass",e.tt.tableStyleClass)("ngStyle",e.tt.tableStyle),s(),a("ngTemplateOutlet",e.frozen?e.tt.frozenColGroupTemplate||e.tt._frozenColGroupTemplate||e.tt.colGroupTemplate||e.tt._colGroupTemplate:e.tt.colGroupTemplate||e.tt._colGroupTemplate)("ngTemplateOutletContext",P(6,K,e.columns)),s(2),a("ngTemplateOutlet",e.frozen?e.tt.frozenFooterTemplate||e.tt._frozenFooterTemplate||e.tt.footerTemplate||e.tt._footerTemplate:e.tt.footerTemplate||e.tt._footerTemplate)("ngTemplateOutletContext",P(8,K,e.columns))}}function Ol(t,r){t&1&&I(0,"ChevronDownIcon"),t&2&&ne("aria-hidden",!0)}function Fl(t,r){t&1&&I(0,"ChevronRightIcon"),t&2&&ne("aria-hidden",!0)}function Hl(t,r){if(t&1&&(q(0),p(1,Ol,1,1,"ChevronDownIcon",1)(2,Fl,1,1,"ChevronRightIcon",1),W()),t&2){let e=m();s(),a("ngIf",e.rowNode.node.expanded),s(),a("ngIf",!e.rowNode.node.expanded)}}function Al(t,r){}function Bl(t,r){t&1&&p(0,Al,0,0,"ng-template")}var Kl=({dt:t})=>`
|
|
2
2
|
/* For PrimeNG */
|
|
3
3
|
.p-treetable {
|
|
4
4
|
position: relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as v,b as L}from"./chunk-
|
|
1
|
+
import{a as v,b as L}from"./chunk-XYDMR5UH.js";import"./chunk-ULJ2Y7SG.js";import{a as E,b as O}from"./chunk-VJ3IBUVO.js";import"./chunk-KJ2WX3FC.js";import{h as H}from"./chunk-YN2HKWAW.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-PPSWJ3KZ.js";import{a as I}from"./chunk-2MKKFLNJ.js";import{n as A,s as F}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as P,Cc as $,Db as B,Dc as _,Lb as p,Nc as m,Ob as d,Oc as l,Rc as x,Vb as o,W as y,Wb as n,Xb as c,Y as M,_ as b,ec as h,fc as s,h as T,hb as a,ia as f,qa as g,ra as C,s as u,sa as S,ta as k,xb as w}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var q=()=>({height:"calc(100vh - 100px)"});function J(i,z){if(i&1){let e=P();o(0,"div",3)(1,"p-button",4),h("onClick",function(){g(e);let r=s();return C(r.onFormatCOAConfig())}),n(),o(2,"p-button",5),m(3,"async"),m(4,"async"),h("onClick",function(){g(e);let r=s();return C(r.onMigrateCoaConfig())}),n()()}if(i&2){let e=s();a(2),p("disabled",l(3,2,e.countInBooks$)!==0)("pTooltip",l(4,4,e.countInBooks$)!==0?"Books already has entries. Please format before re-migrating.":null)}}function K(i,z){if(i&1&&(o(0,"p-scroll-panel")(1,"p-panel")(2,"div",6),c(3,"app-migration-cards",7),m(4,"async"),S(),o(5,"svg",8),c(6,"path",9),n(),k(),c(7,"app-migration-cards",10),m(8,"async"),n()()()),i&2){let e=s();d(_(12,q)),a(),d(_(13,q)),a(2),p("migrationCount",l(4,8,e.countInPOS$))("migrationTitle",e.pageTitle),a(4),p("migrationCount",l(8,10,e.countInBooks$))("migrationTitle",e.pageTitle)}}var ge=(()=>{class i{constructor(){this.migrateService=f(v),this.toastr=f(I),this.refresh$=new T(void 0),this.pageTitle="Chart of Account Configuration"}ngOnInit(){let e=this.refresh$.pipe(M(()=>this.migrateService.getCOAConfigurationCount()),b(t=>console.log("API response:",t)),y(1));this.countInPOS$=e.pipe(u(t=>Number(t.pos))),this.countInBooks$=e.pipe(u(t=>Number(t.books)))}onMigrateCoaConfig(){this.migrateService.migrateCoaConfig().subscribe(e=>{this.refresh$.next(),this.toastr.success(e.message,"Migration Successful")})}onFormatCOAConfig(){window.confirm("Are you sure you want to format this data? This action cannot be undone.")&&this.migrateService.formatManualCOAConfig().subscribe(t=>{this.refresh$.next(),this.toastr.success(t.message,"Format Successful")})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=w({type:i,selectors:[["app-coa-configuration"]],features:[$([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(t,r){t&1&&(o(0,"app-main-panel",2),B(1,J,5,6,"ng-template",null,0,x)(3,K,9,14,"ng-template",null,1,x),n()),t&2&&p("pageTitle",r.pageTitle)},dependencies:[H,F,A,j,V,O,E,D,R,G,N,L],encapsulation:2})}}return i})();export{ge as CoaConfigurationComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as V,b as oe}from"./chunk-
|
|
1
|
+
import{a as V,b as oe}from"./chunk-XYDMR5UH.js";import"./chunk-ULJ2Y7SG.js";import{a as te,b as ie}from"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import{a as K,b as Q}from"./chunk-VJ3IBUVO.js";import{a as ne,b as re}from"./chunk-36OX4S7M.js";import{b as ee}from"./chunk-KJ2WX3FC.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{h as $}from"./chunk-YN2HKWAW.js";import"./chunk-VGNJD35F.js";import{a as Y,b as Z}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{w as U,x as X}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{e as G,j as H,w as q}from"./chunk-OIBDX2CA.js";import"./chunk-PPSWJ3KZ.js";import{a as A}from"./chunk-2MKKFLNJ.js";import{n as z,s as R}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as h,Cc as j,Db as L,Dc as F,Ha as b,Lb as u,Nc as T,Ob as S,Oc as P,Rc as M,Vb as r,W as E,Wb as o,Xb as C,Y as B,_ as W,ec as f,fc as m,h as J,hb as s,ia as x,qa as l,ra as p,rc as _,s as y,sa as I,ta as N,wc as c,xb as O,xc as g,yc as d}from"./chunk-NMCKMUY4.js";import{a as D}from"./chunk-YQFG5XE2.js";var ae=()=>({height:"calc(100vh - 100px)"});function le(a,v){if(a&1){let t=h();r(0,"div",4)(1,"p-button",5),f("onClick",function(){l(t);let e=m();return p(e.onFormat())}),o(),r(2,"p-button",6),f("onClick",function(){l(t);let e=m();return p(e.openMigrateDialog())}),o()()}}function pe(a,v){if(a&1){let t=h();r(0,"div",7)(1,"div",8)(2,"label",9),_(3,"From"),o(),r(4,"p-datepicker",10),d("ngModelChange",function(e){l(t);let n=m();return g(n.filter().From,e)||(n.filter().From=e),p(e)}),o()(),r(5,"div",8)(6,"label",9),_(7,"To"),o(),r(8,"p-datepicker",10),d("ngModelChange",function(e){l(t);let n=m();return g(n.filter().To,e)||(n.filter().To=e),p(e)}),o()(),r(9,"div",8)(10,"label",9),_(11,"Page Number"),o(),r(12,"p-inputnumber",11),d("ngModelChange",function(e){l(t);let n=m();return g(n.filter().PageNumber,e)||(n.filter().PageNumber=e),p(e)}),o()(),r(13,"div",8)(14,"label",9),_(15,"Page Size"),o(),r(16,"p-inputnumber",11),d("ngModelChange",function(e){l(t);let n=m();return g(n.filter().PageSize,e)||(n.filter().PageSize=e),p(e)}),o()()()}if(a&2){let t=m();s(4),u("showIcon",!0),c("ngModel",t.filter().From),s(4),u("showIcon",!0),c("ngModel",t.filter().To),s(4),c("ngModel",t.filter().PageNumber),s(4),c("ngModel",t.filter().PageSize)}}function me(a,v){if(a&1&&(r(0,"p-scroll-panel")(1,"p-panel")(2,"div",12),C(3,"app-migration-cards",13),T(4,"async"),I(),r(5,"svg",14),C(6,"path",15),o(),N(),C(7,"app-migration-cards",16),T(8,"async"),o()()()),a&2){let t=m();S(F(12,ae)),s(),S(F(13,ae)),s(2),u("migrationCount",P(4,8,t.countInPOS$))("migrationTitle",t.pageTitle),s(4),u("migrationCount",P(8,10,t.countInBooks$))("migrationTitle",t.pageTitle)}}var We=(()=>{class a{constructor(){this.migrateService=x(V),this.refresh$=new J(void 0),this.toastr=x(A),this.pageTitle="Manual Journal",this.filter=b({From:new Date,To:new Date,PageSize:45e3,PageNumber:1}),this.isFilterDialogOpen=b(!1),this.previousFilter=null}ngOnInit(){let t=this.refresh$.pipe(B(()=>this.migrateService.getManualJournalCount()),E(1));this.countInPOS$=t.pipe(y(i=>Number(i.pos))),this.countInBooks$=t.pipe(y(i=>Number(i.books)))}openMigrateDialog(){this.previousFilter=D({},this.filter()),this.isFilterDialogOpen.set(!0)}onMigrate(){this.migrateService.migrateManualJournal(this.filter()).pipe(W(()=>{this.isFilterDialogOpen.update(t=>!t),this.refresh$.next(),this.previousFilter=null})).subscribe()}onFilterCanceled(){this.previousFilter&&(this.filter.set(this.previousFilter),this.previousFilter=null)}onFormat(){window.confirm("Are you sure you want to format this data? This action cannot be undone.")&&this.migrateService.formatManualJournal().subscribe(i=>{this.refresh$.next(),this.toastr.success(i.message,"Format Successful")})}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=O({type:a,selectors:[["app-manual-journal"]],features:[j([V])],decls:7,vars:2,consts:[["actionButton",""],["filters",""],["content",""],[3,"filterConfirmed","isDialogFilterVisibleChange","filterCanceled","pageTitle","isDialogFilterVisible"],[1,"d-flex","gap-2"],["label","Format","severity","danger",3,"onClick"],["label","Migrate",3,"onClick"],[1,"d-flex","flex-column","row-gap-3"],[1,"d-flex","flex-column"],["for","outlet"],["styleClass","w-100","appendTo","body","iconDisplay","input","inputId","icondisplay",3,"ngModelChange","showIcon","ngModel"],["inputId","integeronly",3,"ngModelChange","ngModel"],[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(i,e){if(i&1){let n=h();r(0,"app-main-panel",3),f("filterConfirmed",function(){return l(n),p(e.onMigrate())}),d("isDialogFilterVisibleChange",function(w){return l(n),g(e.isFilterDialogOpen,w)||(e.isFilterDialogOpen=w),p(w)}),f("filterCanceled",function(){return l(n),p(e.onFilterCanceled())}),L(1,le,3,0,"ng-template",null,0,M)(3,pe,17,6,"ng-template",null,1,M)(5,me,9,14,"ng-template",null,2,M),o()}i&2&&(u("pageTitle",e.pageTitle),c("isDialogFilterVisible",e.isFilterDialogOpen))},dependencies:[$,R,z,ee,X,U,Q,K,Z,Y,oe,ie,te,q,G,H,re,ne],encapsulation:2})}}return a})();export{We as ManualJournalComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I,b as k,c as F,d as j,e as R,f as O}from"./chunk-
|
|
1
|
+
import{a as I,b as k,c as F,d as j,e as R,f as O}from"./chunk-XD7VHCRC.js";import"./chunk-R7N6BWL5.js";import{a as E}from"./chunk-QF4D5YPK.js";import{b as T}from"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-Q24GCSGD.js";import{h as w}from"./chunk-YN2HKWAW.js";import"./chunk-VGNJD35F.js";import{a as S}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import"./chunk-OIBDX2CA.js";import{a as P}from"./chunk-PPSWJ3KZ.js";import"./chunk-2MKKFLNJ.js";import{s as M}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{Db as h,Dc as _,Ha as u,Ob as v,Rb as m,Rc as C,Tb as c,Ub as s,Vb as o,Wb as r,_ as f,ca as d,fc as g,hb as n,ia as l,rc as p,sc as x,tc as y,xb as b}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var D=(()=>{class e{constructor(){this.httpService=l(P)}getUserProfile(){return this.httpService.get(void 0,"api/MyProfile")}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var A=()=>({height:"calc(100vh - 70px)"});function B(e,a){if(e&1&&(o(0,"div",10)(1,"div",11)(2,"p",12),p(3),r()()()),e&2){let t=a.$implicit;n(3),y(" ",t.roleName," ")}}function L(e,a){if(e&1&&(o(0,"div",4)(1,"div",5)(2,"div",6)(3,"span",7),p(4),r()()(),o(5,"div",8)(6,"div",9),c(7,B,4,1,"div",10,m),r()()()),e&2){let t=a.$implicit;n(4),x(t.roleGroupName),n(3),s(t.listRole)}}function $(e,a){if(e&1&&(o(0,"p-panel")(1,"p-tabs",2)(2,"p-tablist")(3,"p-tab",2),p(4,"Roles"),r()(),o(5,"p-tabpanels")(6,"p-tabpanel",2)(7,"div",3),c(8,L,9,1,"div",4,m),r()()()()()),e&2){let t,i=g();v(_(2,A)),n(8),s((t=i.roles())==null?null:t.Roles)}}var N=(()=>{class e{constructor(){this.profileService=l(D),this.roles=u(null)}ngOnInit(){this.profileService.getUserProfile().pipe(E("response"),f(t=>this.roles.set(t))).subscribe()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=b({type:e,selectors:[["app-my-profile"]],decls:3,vars:0,consts:[["content",""],["pageTitle","My Profile"],["value","0"],["formArrayName","roles",1,"container-fluid","d-flex","flex-column","row-gap-3"],[1,"row"],[1,"col-2","border","d-flex","align-items-center","justify-content-between",2,"height","50px","background","#f6f6f6"],[1,"d-flex","justify-content-center","w-100"],[1,"text-dark","fw-semibold","fs-2"],[1,"col"],["formArrayName","roles",1,"row","h-100"],[1,"col-3","border-top","border-bottom","border-end","p-0","bg-white"],[1,"d-flex","h-100","align-items-center","gap-2","px-2"],[1,"fs-2","text-dark","m-0"]],template:function(i,G){i&1&&(o(0,"app-main-panel",1),h(1,$,10,3,"ng-template",null,0,C),r())},dependencies:[w,S,O,R,j,F,I,k,M,T],styles:["[_nghost-%COMP%]{display:block} .p-tabs .p-tab{padding-top:0!important}"],changeDetection:0})}}return e})();var le=[{path:"",redirectTo:"my-profile",pathMatch:"full"},{path:"",children:[{path:"my-profile",component:N}]}];export{le as PROFILE_ROUTES};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as K}from"./chunk-
|
|
1
|
+
import{a as K}from"./chunk-MAZVUNNB.js";import{b as q}from"./chunk-ULJ2Y7SG.js";import{a as J}from"./chunk-XKI7WLHE.js";import{a as z,b as H}from"./chunk-EB6NEJHF.js";import{a as O,b as W}from"./chunk-EQ4PLHI4.js";import"./chunk-H7Q35Y7G.js";import"./chunk-R7N6BWL5.js";import"./chunk-6GN3MGBY.js";import"./chunk-Q24GCSGD.js";import{h as I}from"./chunk-YN2HKWAW.js";import"./chunk-VGNJD35F.js";import{a as G,b as A}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{o as j,w as k,x as B}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{b as y,e as D,f as M,k as T,l as w,o as N,u as V,x as R}from"./chunk-OIBDX2CA.js";import{d as P}from"./chunk-AOOG6YOT.js";import"./chunk-PPSWJ3KZ.js";import"./chunk-2MKKFLNJ.js";import{s as F}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as b,Bb as S,Db as p,Lb as c,Rc as a,Vb as i,Wb as t,Xb as f,_ as C,ec as E,fc as u,hb as _,ia as m,qa as x,ra as h,rc as l,xb as v}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";function L(e,d){if(e&1){let o=b();i(0,"p-button",4),E("onClick",function(){x(o);let n=u();return h(n.onSubmit())}),t()}}function Q(e,d){e&1&&(i(0,"div",13)(1,"h3",14),l(2,"General"),t(),i(3,"span",15),l(4,"Enter your closing Fiscal Date"),t()())}function U(e,d){if(e&1&&(i(0,"div",5)(1,"div",6)(2,"p-panel"),p(3,Q,5,0,"ng-template",null,2,a),i(5,"div",5)(6,"div",7)(7,"form",8)(8,"div",9)(9,"label",10),l(10,"Period"),t(),f(11,"p-datePicker",11),t(),i(12,"div",9)(13,"label",10),l(14,"Description"),t(),f(15,"textarea",12),t()()()()()()()),e&2){let o=u();_(7),c("formGroup",o.form)}}var he=(()=>{class e extends J{constructor(){super(),this.closingEntriesService=m(K),this.dayjsService=m(q),this.fb=m(V),this.router=m(P)}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({Period:this.fb.control(new Date),Note:this.fb.control("")})}onSubmit(){if(this.form.invalid){this.form.markAllAsTouched();return}let{Period:o}=this.form.getRawValue(),r=Object.entries(this.form.getRawValue()).reduce((n,[s,g])=>(s==="Period"?n[s]=this.dayjsService.from(o)?this.dayjsService.format(g):"":n[s]=g,n),{});this.closingEntriesService.createClosingEntry(r).pipe(C(()=>{this.router.navigate(["/pages/accounting-setup/closing-entries"])})).subscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=v({type:e,selectors:[["app-closing-form"]],features:[S],decls:5,vars:1,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Closing Entries Form",3,"hasMainWrapperPadding"],["label","Submit",3,"onClick"],[1,"row"],[1,"col"],[1,"col-4"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for",""],["formControlName","Period","fluid",""],["formControlName","Note","rows","5","cols","30","pTextarea",""],[1,"d-flex","flex-column","mx-2"],[1,"fs-5","m-0"],[1,"fs-3"]],template:function(r,n){r&1&&(i(0,"app-main-panel",3),p(1,L,1,0,"ng-template",null,0,a)(3,U,16,1,"ng-template",null,1,a),t()),r&2&&c("hasMainWrapperPadding",!0)},dependencies:[I,F,A,G,W,O,j,H,z,B,k,R,T,y,D,M,w,N],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return e})();export{he as ClosingFormComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,b as c}from"./chunk-
|
|
1
|
+
import{a as n,b as c}from"./chunk-IGWIRCAS.js";import{Ha as a,bd as t,ca as r,cd as h,ia as l}from"./chunk-NMCKMUY4.js";var p=(()=>{class o{constructor(){this._userRoles=a([]),this.tokenService=l(c),this.coa=t(()=>({view:this.hasRole("Coa"),create:this.hasRole("CoaC"),edit:this.hasRole("CoaE"),delete:this.hasRole("CoaD")})),this.journal=t(()=>({view:this.hasRole("Journal"),create:this.hasRole("JournalC"),edit:this.hasRole("JournalE"),delete:this.hasRole("JournalD")})),this.report=t(()=>({ledger:this.hasRole("ReportL"),finance:this.hasRole("ReportF")})),this.setup=t(()=>({view:this.hasRole("Setup"),migrate:this.hasRole("Migrate"),tools:this.hasRole("Tools"),recurring:this.hasRole("Recurring")})),this.global=t(()=>({export:this.hasRole("Export"),date:this.hasRole("Date"),number:this.hasRole("Number")})),this.user=t(()=>({view:this.hasRole("User"),edit:this.hasRole("UserE"),delete:this.hasRole("UserD"),create:this.hasRole("UserC")}));let e=localStorage.getItem("AUTH_TOKEN");e&&this.loadRolesFromToken(e),h(()=>{let s=this.tokenService.tokenSignal();s?this.loadRolesFromToken(s):this._userRoles.set([])},{allowSignalWrites:!0})}loadRolesFromToken(e){if(e){let i=n(e)["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"];Array.isArray(i)&&i.length>0?this._userRoles.set(i):this._userRoles.set([])}}hasAnyRole(e){return e.some(s=>this._userRoles().includes(s))}refreshRoles(e){localStorage.setItem("AUTH_ROLES",JSON.stringify(e)),this._userRoles.set(e)}hasRole(e){return this._userRoles().includes(e)}static{this.\u0275fac=function(s){return new(s||o)}}static{this.\u0275prov=r({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Fe,b as ke}from"./chunk-
|
|
1
|
+
import{a as Fe,b as ke}from"./chunk-34AG6ZRL.js";import{a as _e,b as ve,c as be,d as xe,e as Ce,f as ye}from"./chunk-XD7VHCRC.js";import"./chunk-NCDT6JPP.js";import{a as he}from"./chunk-XKI7WLHE.js";import{a as fe,b as ge}from"./chunk-EB6NEJHF.js";import{a as se}from"./chunk-5CZNOXPC.js";import"./chunk-IGWIRCAS.js";import"./chunk-R7N6BWL5.js";import{a as oe,b as re}from"./chunk-3GGXPPQT.js";import"./chunk-MFK5RQPJ.js";import"./chunk-Q24GCSGD.js";import{h as ue}from"./chunk-YN2HKWAW.js";import{b as ce,c as de}from"./chunk-VGNJD35F.js";import{a as pe,b as me}from"./chunk-2XUSZCQL.js";import"./chunk-YV2QJ63P.js";import"./chunk-ARH3WEEF.js";import{n as ie,o as ne,w as ae,x as le}from"./chunk-H6HNANYB.js";import"./chunk-2D2YD753.js";import{b as L,c as H,e as J,f as K,k as Q,l as W,m as X,n as Y,o as Z,u as ee,x as te}from"./chunk-OIBDX2CA.js";import{b as z,d as U}from"./chunk-AOOG6YOT.js";import"./chunk-PPSWJ3KZ.js";import"./chunk-2MKKFLNJ.js";import{h as B,j as $,k as j,s as q}from"./chunk-VZ5CMS5O.js";import"./chunk-F2X3VGZZ.js";import{$b as O,Bb as P,Db as f,Dc as v,Ec as b,Ha as A,Lb as a,Ob as _,Pb as y,Rb as F,Rc as T,Tb as k,Ub as M,Vb as i,Vc as V,Wb as n,Xb as g,Y as I,_ as C,ec as w,fc as d,hb as r,ia as c,qa as G,ra as E,rc as h,sc as S,tc as R,ua as N,xb as D}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var Ie=()=>({height:"calc(100vh - 70px)"}),Ge=t=>({"ng-invalid ng-dirty":t}),Me=t=>({"ps-0":t}),Se=()=>({display:"flex"});function Ee(t,l){if(t&1){let e=O();i(0,"p-button",4),w("onClick",function(){G(e);let p=d(2);return E(p.onSubmit())}),n()}}function Ne(t,l){if(t&1&&f(0,Ee,1,0,"p-button",3),t&2){let e=d();a("ngIf",e.roleService.user().edit)}}function Ae(t,l){if(t&1&&(i(0,"div")(1,"span",16),h(2),n()()),t&2){let e=l.$implicit;r(2),S(e)}}function De(t,l){if(t&1&&(i(0,"div"),f(1,Ae,3,1,"div",15),n()),t&2){let e=d(2);r(),a("ngForOf",e.getErrors("name"))}}function Pe(t,l){if(t&1&&(i(0,"div",25)(1,"div",26),g(2,"p-checkbox",27),i(3,"p",28),h(4),n()()()),t&2){let e=l.$implicit,o=l.$index;a("formGroupName",o)("pTooltip",e.get("description").value),r(2),_(v(6,Se)),a("binary",!0),r(2),R(" ",e.get("name").value," ")}}function Oe(t,l){if(t&1&&(i(0,"div",18)(1,"div",19)(2,"div",20)(3,"span",21),h(4),n()(),g(5,"p-checkbox",22),n(),i(6,"div",23)(7,"div",24),k(8,Pe,5,7,"div",25,F),n()()()),t&2){let e=l.$implicit,o=l.$index,p=d(3);a("formGroupName",o),r(4),S(e.get("groupName").value),r(),_(v(5,Se)),a("binary",!0),r(3),M(p.getRolesArray(o).controls)}}function we(t,l){if(t&1&&(i(0,"div",17),k(1,Oe,10,6,"div",18,F),n()),t&2){let e=d(2);r(),M(e.rolesFormArray.controls)}}function Re(t,l){if(t&1&&(i(0,"p-panel")(1,"div",5),g(2,"app-user-tabs"),i(3,"form",6),g(4,"input",7),f(5,De,2,1,"div",8),n(),i(6,"p-tabs",9)(7,"p-tablist")(8,"p-tab",9),h(9,"Permission"),n(),i(10,"p-tab",10),h(11,"Description"),n()(),i(12,"p-tabpanels",11)(13,"p-tabpanel",9)(14,"form",6),f(15,we,3,0,"div",12),n()(),i(16,"p-tabpanel",10)(17,"div",13),g(18,"textarea",14),n()()()()()()),t&2){let e=d();_(v(13,Ie)),r(3),a("formGroup",e.form),r(),a("fluid",!0)("ngClass",b(14,Ge,e.isInvalid("name"))),r(),a("ngIf",e.isInvalid("name")),r(3),y(b(16,Me,e.router.url.includes("forms"))),r(2),y(b(18,Me,e.router.url.includes("forms"))),r(4),a("formGroup",e.form),r(),a("ngIf",e.rolesFormArray.length>0),r(2),a("formGroup",e.form)}}var ut=(()=>{class t extends he{constructor(){super(...arguments),this.service=c(Fe),this.fb=c(ee),this.cdr=c(V),this.route=c(z),this.router=c(U),this.roleService=c(se),this.form=this.fb.group({groupID:this.fb.control(""),name:this.fb.control("",[H.required]),description:this.fb.control(""),roles:this.fb.array([])}),this.groupFormMeta=A(null)}ngOnInit(){this.route.queryParamMap.pipe(I(e=>this.service.getGroupFormMeta(e.get("groupID")).pipe(C(o=>{this.groupFormMeta.set(o),this.populateForm(o)})))).subscribe()}populateForm(e){this.form.patchValue({groupID:e.form.groupID,name:e.form.name,description:e.form.description});let o=this.rolesFormArray;o.clear(),e.options.roles.forEach(p=>{let s=this.fb.array(p.roles.map(m=>this.fb.group({id:this.fb.control(m.id),name:this.fb.control(m.name),checked:this.fb.control({value:e.form.rolesID.includes(m.id),disabled:!this.roleService.user().edit}),description:this.fb.control(m.description||"")}))),u=this.fb.group({groupName:this.fb.control(p.name),groupChecked:this.fb.control(!1),roles:s}),Te=s.controls.every(m=>m.get("checked").value);u.get("groupChecked").setValue(Te,{emitEvent:!1}),this.roleService.user().edit?u.get("groupChecked").enable():u.get("groupChecked").disable(),u.get("groupChecked").valueChanges.subscribe(m=>{s.controls.forEach(x=>{x.get("checked").setValue(m,{emitEvent:!1})})}),s.valueChanges.subscribe(()=>{let m=s.controls.every(x=>x.get("checked").value);u.get("groupChecked").setValue(m,{emitEvent:!1})}),o.push(u)}),this.cdr.detectChanges()}get rolesFormArray(){return this.form.get("roles")}getRolesArray(e){return this.rolesFormArray.at(e).get("roles")}getSelectedRoleIDs(){let e=[];return this.rolesFormArray.controls.forEach(o=>{o.get("roles").controls.forEach(s=>{s.get("checked").value&&e.push(s.get("id").value)})}),e}onSubmit(){if(this.form.invalid){this.form.markAllAsTouched();return}let e={groupID:this.form.get("groupID").value,name:this.form.get("name").value,rolesID:this.getSelectedRoleIDs(),description:this.form.controls.description.value};this.service.assignGroupRole(e).pipe(C(()=>{this.router.navigate(["/pages/users/groups"])})).subscribe()}static{this.\u0275fac=(()=>{let e;return function(p){return(e||(e=N(t)))(p||t)}})()}static{this.\u0275cmp=D({type:t,selectors:[["app-group-form"]],features:[P],decls:5,vars:1,consts:[["actionButton",""],["content",""],["pageTitle","Group Form",3,"overflowScroll"],["label","Submit",3,"onClick",4,"ngIf"],["label","Submit",3,"onClick"],[1,"d-flex","flex-column","gap-3","py-2"],[1,"d-flex","flex-column","gap-2",3,"formGroup"],["type","text","pInputText","","formControlName","name","placeholder","Group Name",3,"fluid","ngClass"],[4,"ngIf"],["value","0"],["value","1"],[2,"padding-left","0"],["formArrayName","roles","class","container-fluid d-flex flex-column row-gap-3",4,"ngIf"],[3,"formGroup"],["formControlName","description","fluid","","rows","5","cols","30","pTextarea",""],[4,"ngFor","ngForOf"],[1,"text-danger"],["formArrayName","roles",1,"container-fluid","d-flex","flex-column","row-gap-3"],[1,"row","align-items-stretch",3,"formGroupName"],[1,"col-2","py-2","border-top","border-bottom","border-start","d-flex","justify-content-between",2,"background","#f6f6f6"],[1,"d-flex","justify-content-center","w-100"],[1,"text-dark","fw-semibold","fs-2"],["size","small","formControlName","groupChecked",3,"binary"],[1,"col","p-0"],["formArrayName","roles",1,"roles-grid","h-100"],["tooltipPosition","top",1,"role-cell",3,"formGroupName","pTooltip"],[1,"py-2","d-flex","h-100","align-items-center","gap-2","px-2"],["size","small","formControlName","checked",3,"binary"],[1,"fs-2","text-dark","m-0"]],template:function(o,p){o&1&&(i(0,"app-main-panel",2),f(1,Ne,1,1,"ng-template",null,0,T)(3,Re,19,20,"ng-template",null,1,T),n()),o&2&&a("overflowScroll",!0)},dependencies:[ue,re,oe,te,Q,L,J,K,W,Z,X,Y,q,B,$,j,ne,ie,ye,Ce,xe,be,_e,ve,ge,fe,le,ae,ke,me,pe,de,ce],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .p-checkbox{display:flex!important}[_nghost-%COMP%] .p-tabs .p-tab{padding-left:0!important}[_nghost-%COMP%] .p-panel .p-panel-header{display:none!important}.roles-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr)}.role-cell[_ngcontent-%COMP%]{border:1px solid #ddd;border-top:none;border-left:none;background:#fff}.roles-grid[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(-n+4){border-top:1px solid #ddd}.roles-grid[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:nth-child(4n+1){border-left:1px solid #ddd}"],changeDetection:0})}}return t})();export{ut as GroupFormComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ce,b as u,c as he,d as f,f as b}from"./chunk-
|
|
1
|
+
import{a as ce,b as u,c as he,d as f,f as b}from"./chunk-H6HNANYB.js";import{B as se,Ia as le,La as ae,Ma as C,R as Z,Ua as de,ba as re,ia as m,z as j}from"./chunk-OIBDX2CA.js";import{h as W,k as X,l as ee,m as te,s as ie,t as ne}from"./chunk-VZ5CMS5O.js";import{c as oe,d as R,f as I,h as V,i as M,k as A}from"./chunk-F2X3VGZZ.js";import{$b as E,Aa as s,Ba as Q,Bb as P,Cc as Y,Db as g,Ec as _,Gc as G,Lb as d,Mc as J,Pb as w,Vb as T,Wb as S,_b as q,ca as z,da as H,ec as k,fc as r,gc as U,hb as O,hc as $,ia as F,kc as D,lc as L,mc as v,nb as x,nc as y,qa as h,ra as p,ua as B,xb as K,yb as N}from"./chunk-NMCKMUY4.js";import{a as c}from"./chunk-YQFG5XE2.js";var pe=["content"],be=["overlay"],Oe=["*"],xe=(i,l,e,t,n,o,a,ye,me,ue,fe,ge,_e,Ce)=>({"p-overlay p-component":!0,"p-overlay-modal p-overlay-mask p-overlay-mask-enter":i,"p-overlay-center":l,"p-overlay-top":e,"p-overlay-top-start":t,"p-overlay-top-end":n,"p-overlay-bottom":o,"p-overlay-bottom-start":a,"p-overlay-bottom-end":ye,"p-overlay-left":me,"p-overlay-left-start":ue,"p-overlay-left-end":fe,"p-overlay-right":ge,"p-overlay-right-start":_e,"p-overlay-right-end":Ce}),we=(i,l,e)=>({showTransitionParams:i,hideTransitionParams:l,transform:e}),Te=i=>({value:"visible",params:i}),Se=i=>({mode:i}),Ee=i=>({$implicit:i});function ke(i,l){i&1&&q(0)}function De(i,l){if(i&1){let e=E();T(0,"div",3,1),k("click",function(n){h(e);let o=r(2);return p(o.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){h(e);let o=r(2);return p(o.onOverlayContentAnimationDone(n))}),$(2),g(3,ke,1,0,"ng-container",4),S()}if(i&2){let e=r(2);w(e.contentStyleClass),d("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",_(11,Te,G(7,we,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),O(3),d("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",_(15,Ee,_(13,Se,e.overlayMode)))}}function Le(i,l){if(i&1){let e=E();T(0,"div",3,0),k("click",function(){h(e);let n=r();return p(n.onOverlayClick())}),g(2,De,4,17,"div",2),S()}if(i&2){let e=r();w(e.styleClass),d("ngStyle",e.style)("ngClass",J(5,xe,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),O(2),d("ngIf",e.visible)}}var Re=({dt:i})=>`
|
|
2
2
|
.p-overlay {
|
|
3
3
|
position: absolute;
|
|
4
4
|
top: 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as p}from"./chunk-
|
|
1
|
+
import{h as p}from"./chunk-H6HNANYB.js";import{Bb as s,Kb as l,Pb as C,Vb as c,Wb as m,Xb as d,sa as i,ua as a,xb as r}from"./chunk-NMCKMUY4.js";var u=(()=>{class t extends p{static \u0275fac=(()=>{let n;return function(e){return(n||(n=a(t)))(e||t)}})();static \u0275cmp=r({type:t,selectors:[["ChevronDownIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(o,e){o&1&&(i(),c(0,"svg",0),d(1,"path",1),m()),o&2&&(C(e.getClassNames()),l("aria-label",e.ariaLabel)("aria-hidden",e.ariaHidden)("role",e.role))},encapsulation:2})}return t})();export{u as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Xb as n,xb as o}from"./chunk-
|
|
1
|
+
import{Xb as n,xb as o}from"./chunk-NMCKMUY4.js";import"./chunk-YQFG5XE2.js";var c=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-timeout"]],decls:1,vars:0,consts:[["src","assets/images/background/timeout.svg","alt","timeout"]],template:function(e,s){e&1&&n(0,"img",0)},styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{height:100vh;width:100%}"],changeDetection:0})}}return t})();export{c as TimeoutComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Aa as b,Ab as J,Ha as n,J as q,N as x,Vc as G,W as k,Y as E,ca as c,da as K,fa as w,h as _,ha as o,m as u,nb as A,o as f,s as H,ua as y,w as R,x as S,y as U,yb as B}from"./chunk-6K5LNQ4J.js";import{a as T}from"./chunk-YQFG5XE2.js";var m=class{},W=(()=>{class a extends m{getTranslation(e){return u({})}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),N=class{},$=(()=>{class a{handle(e){return e.key}static \u0275fac=function(t){return new(t||a)};static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})();function D(a,r){if(a===r)return!0;if(a===null||r===null)return!1;if(a!==a&&r!==r)return!0;let e=typeof a,t=typeof r,s,i,l;if(e==t&&e=="object")if(Array.isArray(a)){if(!Array.isArray(r))return!1;if((s=a.length)==r.length){for(i=0;i<s;i++)if(!D(a[i],r[i]))return!1;return!0}}else{if(Array.isArray(r))return!1;l=Object.create(null);for(i in a){if(!D(a[i],r[i]))return!1;l[i]=!0}for(i in r)if(!(i in l)&&typeof r[i]<"u")return!1;return!0}return!1}function h(a){return typeof a<"u"&&a!==null}function M(a){return a&&typeof a=="object"&&!Array.isArray(a)}function Z(a,r){let e=Object.assign({},a);return M(a)&&M(r)&&Object.keys(r).forEach(t=>{M(r[t])?t in a?e[t]=Z(a[t],r[t]):Object.assign(e,{[t]:r[t]}):Object.assign(e,{[t]:r[t]})}),e}var C=class{},X=(()=>{class a extends C{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,t){let s;return typeof e=="string"?s=this.interpolateString(e,t):typeof e=="function"?s=this.interpolateFunction(e,t):s=e,s}getValue(e,t){let s=typeof t=="string"?t.split("."):[t];t="";do t+=s.shift(),h(e)&&h(e[t])&&(typeof e[t]=="object"||!s.length)?(e=e[t],t=""):s.length?t+=".":e=void 0;while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,i)=>{let l=this.getValue(t,i);return h(l)?l:s}):e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),L=class{},z=(()=>{class a extends L{compile(e,t){return e}compileTranslations(e,t){return e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),j=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new b;onLangChange=new b;onDefaultLangChange=new b},O=new w("USE_STORE"),F=new w("USE_DEFAULT_LANG"),P=new w("DEFAULT_LANGUAGE"),I=new w("USE_EXTEND"),V=(()=>{class a{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new b;_onLangChange=new b;_onDefaultLangChange=new b;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,t,s,i,l,d=!0,g=!1,p=!1,v){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=i,this.missingTranslationHandler=l,this.useDefaultLang=d,this.isolate=g,this.extend=p,v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);typeof t<"u"?(this.defaultLang==null&&(this.defaultLang=e),t.pipe(x(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return u(this.translations[e]);let t=this.retrieveTranslations(e);return typeof t<"u"?(this.currentLang||(this.currentLang=e),t.pipe(x(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),u(this.translations[e]))}retrieveTranslations(e){let t;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;let t=this.currentLoader.getTranslation(e).pipe(k(1),x(1));return this.loadingTranslations=t.pipe(H(s=>this.compiler.compileTranslations(s,e)),k(1),x(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?T(T({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),(s||this.extend)&&this.translations[e]?this.translations[e]=Z(this.translations[e],t):this.translations[e]=t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{this.langs.indexOf(t)===-1&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let i;if(t instanceof Array){let l={},d=!1;for(let g of t)l[g]=this.getParsedResult(e,g,s),f(l[g])&&(d=!0);if(d){let g=t.map(p=>f(l[p])?l[p]:u(l[p]));return U(g).pipe(H(p=>{let v={};return p.forEach((Y,ee)=>{v[t[ee]]=Y}),v}))}return l}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),s)),typeof i>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),typeof i>"u"){let l={key:t,translateService:this};typeof s<"u"&&(l.interpolateParams=s),i=this.missingTranslationHandler.handle(l)}return typeof i<"u"?i:t}get(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(q(s=>(s=this.getParsedResult(s,e,t),f(s)?s:u(s))));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return f(s)?s:u(s)}}getStreamOnTranslationChange(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');return R(S(()=>this.get(e,t)),this.onTranslationChange.pipe(E(s=>{let i=this.getParsedResult(s.translations,e,t);return typeof i.subscribe=="function"?i:u(i)})))}stream(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');return R(S(()=>this.get(e,t)),this.onLangChange.pipe(E(s=>{let i=this.getParsedResult(s.translations,e,t);return f(i)?i:u(i)})))}instant(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(f(s)){if(e instanceof Array){let i={};return e.forEach((l,d)=>{i[e[d]]=e[d]}),i}return e}else return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(t){return new(t||a)(o(j),o(m),o(L),o(C),o(N),o(F),o(O),o(I),o(P))};static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})();var de=(()=>{class a{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,t){this.translate=e,this._ref=t}updateValue(e,t,s){let i=l=>{this.value=l!==void 0?l:e,this.lastKey=e,this._ref.markForCheck()};if(s){let l=this.translate.getParsedResult(s,e,t);f(l.subscribe)?l.subscribe(i):i(l)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(D(e,this.lastKey)&&D(t,this.lastParams))return this.value;let s;if(h(t[0])&&t.length)if(typeof t[0]=="string"&&t[0].length){let i=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else typeof t[0]=="object"&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(t){return new(t||a)(A(V,16),A(G,16))};static \u0275pipe=J({name:"translate",type:a,pure:!1,standalone:!1});static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),ge=(()=>{class a{static forRoot(e={}){return{ngModule:a,providers:[e.loader||{provide:m,useClass:W},e.compiler||{provide:L,useClass:z},e.parser||{provide:C,useClass:X},e.missingTranslationHandler||{provide:N,useClass:$},j,{provide:O,useValue:e.isolate},{provide:F,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:P,useValue:e.defaultLanguage},V]}}static forChild(e={}){return{ngModule:a,providers:[e.loader||{provide:m,useClass:W},e.compiler||{provide:L,useClass:z},e.parser||{provide:C,useClass:X},e.missingTranslationHandler||{provide:N,useClass:$},{provide:O,useValue:e.isolate},{provide:F,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:P,useValue:e.defaultLanguage},V]}}static \u0275fac=function(t){return new(t||a)};static \u0275mod=B({type:a});static \u0275inj=K({})}return a})();var Q=[{path:"/pages/dashboard",title:"Dashboard",iconName:"fa-light fa-display-chart-up",class:"",extralink:!1,label:"",labelClass:"",submenu:[],requiredRoles:["ReportF"],isHidden:n(!1)},{path:"/pages/cash-bank",title:"Cash and Bank",requiredRoles:["ReportF"],iconName:"fa-light fa-building-columns",class:"",extralink:!1,label:"",labelClass:"",submenu:[],isHidden:n(!1)},{path:"",title:"COA",iconName:"fa-light fa-calculator",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Coa"],submenu:[{path:"/pages/chart-of-account/account",title:"Accounts",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/chart-of-account/coa-types",title:"Category",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/journal",title:"Journal",iconName:"fa-light fa-file-lines",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Journal"],submenu:[{path:"/pages/journal/journal-entry",title:"Manual Journal",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/journal/record-expense",title:"Record Expense",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/journal/receive-money",title:"Receive Money",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/report",title:"Reports",iconName:"fa-light fa-chart-column",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF","ReportL"],submenu:[{path:"/pages/report/general-ledger",title:"General Ledger",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportL","ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/multiple-general-ledger",title:"Multi Ledger",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportL","ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/profit-loss",title:"Profit & Loss",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/balance-sheet",title:"Balance Sheet",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF"],submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"",title:"Recurring",iconName:"fa-light fa-money-bill-1",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Recurring"],submenu:[{path:"/pages/recurring/recurring-expense",title:"Recurring Expenses",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/recurring/asset-value",title:"Asset Value",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/recurring/post-to-journal",title:"Post Recurring Expenses",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"",title:"Tools",iconName:"fa-light fa-wrench",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Tools"],submenu:[{path:"/pages/tools/generate-coa",title:"Update COA Balance",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/tools/unbalance-journal",title:"Unbalance Journal",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/migrate",title:"Migrate",iconName:"fa-light fa-paste",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Migrate"],submenu:[{path:"/pages/migrate/chart-of-account",title:"Chart of Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/coa-category",title:"COA Category",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/coa-configuration",title:"COA Configuration",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/outlet-account",title:"COA Outlet Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/payment-account",title:"Payment Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/writeoff-outlet",title:"Write Off Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/tax-account",title:"Tax Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/expense-account",title:"Expense Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/manual-journal",title:"Manual Journals",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/ticket",title:"Generate Journal",iconName:"fa-light fa-book",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Tools"],submenu:[{path:"/pages/generate-journal/invoice",title:"Customer Invoice",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/supplier-bill",title:"Supplier Bill",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/shift",title:"Shift",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/adjustment",title:"Adjustment",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/join-invoice",title:"Join Invoce",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/join-bill",title:"Join Bill",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/pos-setup",title:"POS Setup",iconName:"fa-light fa-gears",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Setup"],submenu:[{path:"/pages/pos-setup/global",title:"Global",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/outlets",title:"Outlet",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/payments",title:"Payments",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/taxs",title:"Tax",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/expense-option",title:"Expense Option",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/writeoff",title:"Write Off",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/ticket",title:"Accounting Setup",iconName:"fa-light fa-gears",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Setup"],submenu:[{path:"/pages/accounting-setup/accounting-integration",title:"Configuration",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/closing-entries",title:"Closing",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/format-journal",title:"Format Journal",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/opening-balance-form",title:"Opening Balance",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/api-crendetial",title:"API Credential",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/users",title:"Users",iconName:"fa-light fa-user",class:"",label:"",labelClass:"",extralink:!1,submenu:[],requiredRoles:["User"],isHidden:n(!1)}];var xe=(()=>{class a{constructor(){this.collapseSidebar=!1,this.fullScreen=!1,this.MENUITEMS=Q,this.items=new _(this.MENUITEMS)}static{this.\u0275fac=function(t){return new(t||a)}}static{this.\u0275prov=c({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{m as a,de as b,ge as c,xe as d};
|
|
1
|
+
import{Aa as b,Ab as J,Ha as n,J as q,N as x,Vc as G,W as k,Y as E,ca as c,da as K,fa as w,h as _,ha as o,m as u,nb as A,o as f,s as H,ua as y,w as R,x as S,y as U,yb as B}from"./chunk-NMCKMUY4.js";import{a as T}from"./chunk-YQFG5XE2.js";var m=class{},W=(()=>{class a extends m{getTranslation(e){return u({})}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),N=class{},$=(()=>{class a{handle(e){return e.key}static \u0275fac=function(t){return new(t||a)};static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})();function D(a,r){if(a===r)return!0;if(a===null||r===null)return!1;if(a!==a&&r!==r)return!0;let e=typeof a,t=typeof r,s,i,l;if(e==t&&e=="object")if(Array.isArray(a)){if(!Array.isArray(r))return!1;if((s=a.length)==r.length){for(i=0;i<s;i++)if(!D(a[i],r[i]))return!1;return!0}}else{if(Array.isArray(r))return!1;l=Object.create(null);for(i in a){if(!D(a[i],r[i]))return!1;l[i]=!0}for(i in r)if(!(i in l)&&typeof r[i]<"u")return!1;return!0}return!1}function h(a){return typeof a<"u"&&a!==null}function M(a){return a&&typeof a=="object"&&!Array.isArray(a)}function Z(a,r){let e=Object.assign({},a);return M(a)&&M(r)&&Object.keys(r).forEach(t=>{M(r[t])?t in a?e[t]=Z(a[t],r[t]):Object.assign(e,{[t]:r[t]}):Object.assign(e,{[t]:r[t]})}),e}var C=class{},X=(()=>{class a extends C{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,t){let s;return typeof e=="string"?s=this.interpolateString(e,t):typeof e=="function"?s=this.interpolateFunction(e,t):s=e,s}getValue(e,t){let s=typeof t=="string"?t.split("."):[t];t="";do t+=s.shift(),h(e)&&h(e[t])&&(typeof e[t]=="object"||!s.length)?(e=e[t],t=""):s.length?t+=".":e=void 0;while(s.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(s,i)=>{let l=this.getValue(t,i);return h(l)?l:s}):e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),L=class{},z=(()=>{class a extends L{compile(e,t){return e}compileTranslations(e,t){return e}static \u0275fac=(()=>{let e;return function(s){return(e||(e=y(a)))(s||a)}})();static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),j=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new b;onLangChange=new b;onDefaultLangChange=new b},O=new w("USE_STORE"),F=new w("USE_DEFAULT_LANG"),P=new w("DEFAULT_LANGUAGE"),I=new w("USE_EXTEND"),V=(()=>{class a{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new b;_onLangChange=new b;_onDefaultLangChange=new b;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,t,s,i,l,d=!0,g=!1,p=!1,v){this.store=e,this.currentLoader=t,this.compiler=s,this.parser=i,this.missingTranslationHandler=l,this.useDefaultLang=d,this.isolate=g,this.extend=p,v&&this.setDefaultLang(v)}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);typeof t<"u"?(this.defaultLang==null&&(this.defaultLang=e),t.pipe(x(1)).subscribe(s=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return u(this.translations[e]);let t=this.retrieveTranslations(e);return typeof t<"u"?(this.currentLang||(this.currentLang=e),t.pipe(x(1)).subscribe(s=>{this.changeLang(e)}),t):(this.changeLang(e),u(this.translations[e]))}retrieveTranslations(e){let t;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;let t=this.currentLoader.getTranslation(e).pipe(k(1),x(1));return this.loadingTranslations=t.pipe(H(s=>this.compiler.compileTranslations(s,e)),k(1),x(1)),this.loadingTranslations.subscribe({next:s=>{this.translations[e]=this.extend&&this.translations[e]?T(T({},s),this.translations[e]):s,this.updateLangs(),this.pending=!1},error:s=>{this.pending=!1}}),t}setTranslation(e,t,s=!1){t=this.compiler.compileTranslations(t,e),(s||this.extend)&&this.translations[e]?this.translations[e]=Z(this.translations[e],t):this.translations[e]=t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(t=>{this.langs.indexOf(t)===-1&&this.langs.push(t)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,s){let i;if(t instanceof Array){let l={},d=!1;for(let g of t)l[g]=this.getParsedResult(e,g,s),f(l[g])&&(d=!0);if(d){let g=t.map(p=>f(l[p])?l[p]:u(l[p]));return U(g).pipe(H(p=>{let v={};return p.forEach((Y,ee)=>{v[t[ee]]=Y}),v}))}return l}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),s)),typeof i>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),s)),typeof i>"u"){let l={key:t,translateService:this};typeof s<"u"&&(l.interpolateParams=s),i=this.missingTranslationHandler.handle(l)}return typeof i<"u"?i:t}get(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(q(s=>(s=this.getParsedResult(s,e,t),f(s)?s:u(s))));{let s=this.getParsedResult(this.translations[this.currentLang],e,t);return f(s)?s:u(s)}}getStreamOnTranslationChange(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');return R(S(()=>this.get(e,t)),this.onTranslationChange.pipe(E(s=>{let i=this.getParsedResult(s.translations,e,t);return typeof i.subscribe=="function"?i:u(i)})))}stream(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');return R(S(()=>this.get(e,t)),this.onLangChange.pipe(E(s=>{let i=this.getParsedResult(s.translations,e,t);return f(i)?i:u(i)})))}instant(e,t){if(!h(e)||!e.length)throw new Error('Parameter "key" required');let s=this.getParsedResult(this.translations[this.currentLang],e,t);if(f(s)){if(e instanceof Array){let i={};return e.forEach((l,d)=>{i[e[d]]=e[d]}),i}return e}else return s}set(e,t,s=this.currentLang){this.translations[s][e]=this.compiler.compile(t,s),this.updateLangs(),this.onTranslationChange.emit({lang:s,translations:this.translations[s]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;if(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof e>"u"))return e.indexOf("-")!==-1&&(e=e.split("-")[0]),e.indexOf("_")!==-1&&(e=e.split("_")[0]),e}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}static \u0275fac=function(t){return new(t||a)(o(j),o(m),o(L),o(C),o(N),o(F),o(O),o(I),o(P))};static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})();var de=(()=>{class a{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,t){this.translate=e,this._ref=t}updateValue(e,t,s){let i=l=>{this.value=l!==void 0?l:e,this.lastKey=e,this._ref.markForCheck()};if(s){let l=this.translate.getParsedResult(s,e,t);f(l.subscribe)?l.subscribe(i):i(l)}this.translate.get(e,t).subscribe(i)}transform(e,...t){if(!e||!e.length)return e;if(D(e,this.lastKey)&&D(t,this.lastParams))return this.value;let s;if(h(t[0])&&t.length)if(typeof t[0]=="string"&&t[0].length){let i=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{s=JSON.parse(i)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else typeof t[0]=="object"&&!Array.isArray(t[0])&&(s=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,s),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{this.lastKey&&i.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,s))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(t){return new(t||a)(A(V,16),A(G,16))};static \u0275pipe=J({name:"translate",type:a,pure:!1,standalone:!1});static \u0275prov=c({token:a,factory:a.\u0275fac})}return a})(),ge=(()=>{class a{static forRoot(e={}){return{ngModule:a,providers:[e.loader||{provide:m,useClass:W},e.compiler||{provide:L,useClass:z},e.parser||{provide:C,useClass:X},e.missingTranslationHandler||{provide:N,useClass:$},j,{provide:O,useValue:e.isolate},{provide:F,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:P,useValue:e.defaultLanguage},V]}}static forChild(e={}){return{ngModule:a,providers:[e.loader||{provide:m,useClass:W},e.compiler||{provide:L,useClass:z},e.parser||{provide:C,useClass:X},e.missingTranslationHandler||{provide:N,useClass:$},{provide:O,useValue:e.isolate},{provide:F,useValue:e.useDefaultLang},{provide:I,useValue:e.extend},{provide:P,useValue:e.defaultLanguage},V]}}static \u0275fac=function(t){return new(t||a)};static \u0275mod=B({type:a});static \u0275inj=K({})}return a})();var Q=[{path:"/pages/dashboard",title:"Dashboard",iconName:"fa-light fa-display-chart-up",class:"",extralink:!1,label:"",labelClass:"",submenu:[],requiredRoles:["ReportF"],isHidden:n(!1)},{path:"/pages/cash-bank",title:"Cash and Bank",requiredRoles:["ReportF"],iconName:"fa-light fa-building-columns",class:"",extralink:!1,label:"",labelClass:"",submenu:[],isHidden:n(!1)},{path:"",title:"COA",iconName:"fa-light fa-calculator",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Coa"],submenu:[{path:"/pages/chart-of-account/account",title:"Accounts",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/chart-of-account/coa-types",title:"Category",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/journal",title:"Journal",iconName:"fa-light fa-file-lines",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Journal"],submenu:[{path:"/pages/journal/journal-entry",title:"Manual Journal",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/journal/record-expense",title:"Record Expense",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/journal/receive-money",title:"Receive Money",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/report",title:"Reports",iconName:"fa-light fa-chart-column",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF","ReportL"],submenu:[{path:"/pages/report/general-ledger",title:"General Ledger",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportL","ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/multiple-general-ledger",title:"Multi Ledger",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportL","ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/profit-loss",title:"Profit & Loss",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF"],submenu:[],isHidden:n(!1)},{path:"/pages/report/balance-sheet",title:"Balance Sheet",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,requiredRoles:["ReportF"],submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"",title:"Recurring",iconName:"fa-light fa-money-bill-1",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Recurring"],submenu:[{path:"/pages/recurring/recurring-expense",title:"Recurring Expenses",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/recurring/asset-value",title:"Asset Value",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/recurring/post-to-journal",title:"Post Recurring Expenses",iconName:"",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"",title:"Tools",iconName:"fa-light fa-wrench",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Tools"],submenu:[{path:"/pages/tools/generate-coa",title:"Update COA Balance",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/tools/unbalance-journal",title:"Unbalance Journal",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/migrate",title:"Migrate",iconName:"fa-light fa-paste",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Migrate"],submenu:[{path:"/pages/migrate/chart-of-account",title:"Chart of Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/coa-category",title:"COA Category",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/coa-configuration",title:"COA Configuration",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/outlet-account",title:"COA Outlet Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/payment-account",title:"Payment Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/writeoff-outlet",title:"Write Off Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/tax-account",title:"Tax Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/expense-account",title:"Expense Account",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/migrate/manual-journal",title:"Manual Journals",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/ticket",title:"Generate Journal",iconName:"fa-light fa-book",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Tools"],submenu:[{path:"/pages/generate-journal/invoice",title:"Customer Invoice",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/supplier-bill",title:"Supplier Bill",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/shift",title:"Shift",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/adjustment",title:"Adjustment",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/join-invoice",title:"Join Invoce",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/generate-journal/join-bill",title:"Join Bill",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/pos-setup",title:"POS Setup",iconName:"fa-light fa-gears",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Setup"],submenu:[{path:"/pages/pos-setup/global",title:"Global",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/outlets",title:"Outlet",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/payments",title:"Payments",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/taxs",title:"Tax",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/expense-option",title:"Expense Option",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/pos-setup/writeoff",title:"Write Off",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/ticket",title:"Accounting Setup",iconName:"fa-light fa-gears",class:"has-arrow",label:"",labelClass:"",extralink:!1,requiredRoles:["Setup"],submenu:[{path:"/pages/accounting-setup/journal-tag",title:"Tag",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/accounting-integration",title:"Configuration",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/closing-entries",title:"Closing",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/format-journal",title:"Format Journal",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/opening-balance-form",title:"Opening Balance",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)},{path:"/pages/accounting-setup/api-crendetial",title:"API Credential",iconName:"solar:stop-circle-line-duotone",class:"",label:"",labelClass:"",extralink:!1,submenu:[],isHidden:n(!1)}],isHidden:n(!1)},{path:"/pages/users",title:"Users",iconName:"fa-light fa-user",class:"",label:"",labelClass:"",extralink:!1,submenu:[],requiredRoles:["User"],isHidden:n(!1)}];var xe=(()=>{class a{constructor(){this.collapseSidebar=!1,this.fullScreen=!1,this.MENUITEMS=Q,this.items=new _(this.MENUITEMS)}static{this.\u0275fac=function(t){return new(t||a)}}static{this.\u0275prov=c({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();export{m as a,de as b,ge as c,xe as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as ee}from"./chunk-
|
|
1
|
+
import{a as ee}from"./chunk-NZN6QJR3.js";import{a as Z}from"./chunk-H6HNANYB.js";import{La as W,Ma as y,Na as X,Ua as Y}from"./chunk-OIBDX2CA.js";import{h as H,k as U,m as G,s as J}from"./chunk-VZ5CMS5O.js";import{$b as u,Aa as b,Bb as F,Cc as K,Db as m,Kb as _,Lb as c,Mb as j,Ob as z,Pb as f,Rc as L,Vb as h,Wb as g,Xb as A,Yb as x,Zb as I,_c as q,ca as $,da as E,db as P,ec as d,fc as r,gc as O,hb as p,hc as R,ia as V,kc as w,mc as T,nc as k,pa as M,qa as s,qc as B,ra as l,rc as N,sc as Q,ua as C,xb as S,yb as D}from"./chunk-NMCKMUY4.js";var ne=["removeicon"],te=["*"];function oe(e,a){if(e&1){let i=u();h(0,"img",4),d("error",function(t){s(i);let o=r();return l(o.imageError(t))}),g()}if(e&2){let i=r();c("src",i.image,P)("alt",i.alt)}}function re(e,a){if(e&1&&A(0,"span",6),e&2){let i=r(2);f(i.icon),c("ngClass","p-chip-icon"),_("data-pc-section","icon")}}function ce(e,a){if(e&1&&m(0,re,1,4,"span",5),e&2){let i=r();c("ngIf",i.icon)}}function ae(e,a){if(e&1&&(h(0,"div",7),N(1),g()),e&2){let i=r();_("data-pc-section","label"),p(),Q(i.label)}}function pe(e,a){if(e&1){let i=u();h(0,"span",11),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f(i.removeIcon),c("ngClass","p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function se(e,a){if(e&1){let i=u();h(0,"TimesCircleIcon",12),d("click",function(t){s(i);let o=r(3);return l(o.close(t))})("keydown",function(t){s(i);let o=r(3);return l(o.onKeydown(t))}),g()}if(e&2){let i=r(3);f("p-chip-remove-icon"),_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel)}}function le(e,a){if(e&1&&(x(0),m(1,pe,1,5,"span",9)(2,se,1,4,"TimesCircleIcon",10),I()),e&2){let i=r(2);p(),c("ngIf",i.removeIcon),p(),c("ngIf",!i.removeIcon)}}function me(e,a){}function _e(e,a){e&1&&m(0,me,0,0,"ng-template")}function he(e,a){if(e&1){let i=u();h(0,"span",13),d("click",function(t){s(i);let o=r(2);return l(o.close(t))})("keydown",function(t){s(i);let o=r(2);return l(o.onKeydown(t))}),m(1,_e,1,0,null,14),g()}if(e&2){let i=r(2);_("data-pc-section","removeicon")("aria-label",i.removeAriaLabel),p(),c("ngTemplateOutlet",i.removeIconTemplate||i._removeIconTemplate)}}function ge(e,a){if(e&1&&(x(0),m(1,le,3,2,"ng-container",3)(2,he,2,3,"span",8),I()),e&2){let i=r();p(),c("ngIf",!i.removeIconTemplate&&!i._removeIconTemplate),p(),c("ngIf",i.removeIconTemplate||i._removeIconTemplate)}}var fe=({dt:e})=>`
|
|
2
2
|
.p-chip {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|