dealposbooks 1.9.3 → 1.9.5
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 +422 -422
- package/assets/scss/components/_navbar.scss +2 -2
- package/assets/scss/layouts/_sidebar.scss +1 -2
- package/assets/scss/style.scss +40 -3
- package/assets/scss/variables/_variables.scss +0 -1
- package/{chunk-ZB6TB7JI.js → chunk-2JCKXI2B.js} +3 -3
- package/{chunk-OAD4GTH6.js → chunk-3DN7TZCI.js} +1 -1
- package/chunk-3HN62WAN.js +1 -0
- package/{chunk-4CUA33JH.js → chunk-4B5RFKWI.js} +1 -1
- package/chunk-4FGQ5T64.js +2 -0
- package/{chunk-7U2I35GP.js → chunk-4GL5YTWS.js} +1 -1
- package/chunk-4LFQJHJZ.js +1 -0
- package/{chunk-H4V6YZX2.js → chunk-4S33ZRKF.js} +1 -1
- package/chunk-4WYSO23S.js +1 -0
- package/{chunk-O2GA6PH7.js → chunk-5ROVFZR4.js} +1 -1
- package/chunk-5RUWTN5X.js +1 -0
- package/chunk-6JZPAN4G.js +1 -0
- package/chunk-6NDJPEK4.js +185 -0
- package/chunk-6OAGE44Z.js +7 -0
- package/chunk-7GHU4UQ7.js +430 -0
- package/chunk-7UBLUR5O.js +1 -0
- package/{chunk-V3B32QFK.js → chunk-7WXXPCRV.js} +1 -1
- package/chunk-7XDZM4MJ.js +1 -0
- package/chunk-AF77PUJO.js +1 -0
- package/chunk-ALX7UOMP.js +193 -0
- package/{chunk-JG5HGOEX.js → chunk-ANG5YF2J.js} +1 -1
- package/{chunk-WM3NKRKN.js → chunk-ANMMOPX7.js} +1 -1
- package/chunk-ARESU6CY.js +1 -0
- package/{chunk-LFDCJISD.js → chunk-ASK2IVMC.js} +1 -1
- package/chunk-AZM2EGTF.js +1 -0
- package/chunk-B7JILYJO.js +1 -0
- package/chunk-BYD3JK4R.js +2 -0
- package/chunk-CVMIZKGH.js +1 -0
- package/chunk-CVMP55UZ.js +188 -0
- package/chunk-CZMTQ4XK.js +1 -0
- package/chunk-DAV2SMOY.js +222 -0
- package/chunk-DC5OTEZ6.js +1 -0
- package/chunk-DCKLQNGL.js +1 -0
- package/chunk-F2FW6UDP.js +1 -0
- package/chunk-FBUI4SQJ.js +1 -0
- package/chunk-FFODCTQC.js +1 -0
- package/chunk-FIQFBEQK.js +1 -0
- package/chunk-FYQCFDW7.js +1 -0
- package/chunk-G2APSUOI.js +1 -0
- package/chunk-HAZ5H5ZV.js +1 -0
- package/{chunk-5AITWOQZ.js → chunk-HI7JDHS3.js} +1 -1
- package/chunk-HJPAXVNY.js +527 -0
- package/{chunk-33XUIS57.js → chunk-I3HFXOYS.js} +1 -1
- package/{chunk-PJKHUCJX.js → chunk-I7YFUZI7.js} +1 -1
- package/chunk-IIB2DZLA.js +1 -0
- package/chunk-IL7RZKFX.js +1 -0
- package/{chunk-OCIKQOWD.js → chunk-IPKPBYSN.js} +12 -12
- package/chunk-IPUUBC74.js +246 -0
- package/{chunk-TDDTBHQE.js → chunk-IZ2XPL4O.js} +1 -1
- package/{chunk-X4EHZEMZ.js → chunk-J2SK4PGN.js} +1 -1
- package/chunk-JGSRMMYX.js +1 -0
- package/chunk-JHCHHBCW.js +67 -0
- package/{chunk-ZPTNYW2S.js → chunk-JP3F2QND.js} +1 -1
- package/{chunk-ACQX2T2H.js → chunk-JQZRKOKE.js} +1 -1
- package/chunk-LYDUVWPM.js +397 -0
- package/chunk-MFMEPXFQ.js +1 -0
- package/{chunk-5QVQY32E.js → chunk-MP7S52YU.js} +1 -1
- package/chunk-NXCQN45H.js +1 -0
- package/{chunk-RANHETC3.js → chunk-O2G255P4.js} +2 -2
- package/{chunk-Q5BXN24W.js → chunk-ONPJXDDI.js} +2 -2
- package/chunk-OSFKXKXD.js +947 -0
- package/chunk-OVIHA23Z.js +201 -0
- package/chunk-P36L53XK.js +1 -0
- package/chunk-P5ZPLAYA.js +79 -0
- package/{chunk-SGXU6X3O.js → chunk-PGECEXRR.js} +1 -1
- package/chunk-PQTUFQME.js +129 -0
- package/{chunk-3ENMEUVK.js → chunk-PSDZXCOR.js} +1 -1
- package/chunk-Q7ITPAXT.js +1 -0
- package/chunk-RIOZSND3.js +1 -0
- package/chunk-RVTAI3J3.js +98 -0
- package/{chunk-3XLREP6U.js → chunk-RZRT24L6.js} +1 -1
- package/chunk-SJ5TWHWM.js +1 -0
- package/chunk-TCF45ELT.js +959 -0
- package/chunk-TYHNOILY.js +1 -0
- package/chunk-VEUXDYYI.js +1 -0
- package/chunk-VG23QNZF.js +231 -0
- package/{chunk-ZUALJ33O.js → chunk-VUPF5YJY.js} +1 -1
- package/chunk-VXSF6SQF.js +1 -0
- package/chunk-WSVAXPZZ.js +82 -0
- package/chunk-X3PB5IV5.js +1 -0
- package/chunk-XLUCH64S.js +449 -0
- package/chunk-YDBJGTTB.js +1 -0
- package/{chunk-7KQDKLO4.js → chunk-YLHU3GDJ.js} +2 -2
- package/chunk-YVEUYFCE.js +7 -0
- package/chunk-ZWHB7NI7.js +1 -0
- package/index.html +2 -2
- package/main-EJEYMG7N.js +1 -0
- package/package.json +1 -1
- package/{styles-7FHABE27.css → styles-AU7PIISM.css} +1 -1
- package/chunk-2US5D2LY.js +0 -1
- package/chunk-353U23ZQ.js +0 -1
- package/chunk-3B65XZ6E.js +0 -1
- package/chunk-3CEJ67I5.js +0 -1
- package/chunk-3E2EKFPH.js +0 -1
- package/chunk-3H5KBX4R.js +0 -1
- package/chunk-4NSHHAXV.js +0 -1
- package/chunk-6DPW74DP.js +0 -1
- package/chunk-6NCHCAKY.js +0 -300
- package/chunk-7G6KXHQB.js +0 -1
- package/chunk-7U2775BI.js +0 -1
- package/chunk-A47VRZZB.js +0 -1
- package/chunk-AG7353CN.js +0 -1
- package/chunk-AI6YS6T2.js +0 -1
- package/chunk-ANMXAMBL.js +0 -1
- package/chunk-ARSLNNKY.js +0 -7
- package/chunk-AT7II4DO.js +0 -7
- package/chunk-BCXNVGDH.js +0 -193
- package/chunk-BJNN42CI.js +0 -1
- package/chunk-CSQ4MHL2.js +0 -246
- package/chunk-DG6ETDOW.js +0 -1
- package/chunk-DIX7J6JH.js +0 -2
- package/chunk-DMVAXVYQ.js +0 -1
- package/chunk-DNSQSWOS.js +0 -2
- package/chunk-F3PEWQT7.js +0 -1
- package/chunk-FTVGAWDW.js +0 -1
- package/chunk-FUCSF42O.js +0 -2
- package/chunk-FXUC6M2U.js +0 -1
- package/chunk-GCGWIESO.js +0 -1
- package/chunk-GY53MWXH.js +0 -1660
- package/chunk-IHJLTHHQ.js +0 -1
- package/chunk-J6H3BBKP.js +0 -627
- package/chunk-LNRTAR2V.js +0 -1
- package/chunk-LWKS2JEV.js +0 -1
- package/chunk-N2XLL6HJ.js +0 -33
- package/chunk-NM37SDQJ.js +0 -1
- package/chunk-NN6GSTBJ.js +0 -1
- package/chunk-PRRU3DEZ.js +0 -503
- package/chunk-PZBZVQUY.js +0 -67
- package/chunk-Q2IWISMY.js +0 -1
- package/chunk-QIXIZZPY.js +0 -1
- package/chunk-RQEEJGOE.js +0 -1
- package/chunk-TNWHAKS6.js +0 -2
- package/chunk-TPGKCMVN.js +0 -1
- package/chunk-TYETQJ2X.js +0 -2
- package/chunk-U5LD55IP.js +0 -1
- package/chunk-U6SRN7P3.js +0 -1
- package/chunk-VBCJCAMN.js +0 -1
- package/chunk-W76GKZZU.js +0 -1
- package/chunk-WAJWW3TC.js +0 -960
- package/chunk-X5SV4H5B.js +0 -1
- package/chunk-YWYF6P7O.js +0 -1
- package/chunk-YYUWLV5N.js +0 -1
- package/main-L6WVDQUB.js +0 -1
package/chunk-AT7II4DO.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{a as St}from"./chunk-NRULEUE7.js";import{a as Se,b as Ce,d as ht,e as xt}from"./chunk-J6H3BBKP.js";import{a as Te,b as Le}from"./chunk-3XLREP6U.js";import{a as Ct,b as ye}from"./chunk-TDDTBHQE.js";import"./chunk-ZUALJ33O.js";import"./chunk-5QVQY32E.js";import{b as yt}from"./chunk-4CUA33JH.js";import{c as Fe,d as Re}from"./chunk-PZBZVQUY.js";import{a as Ie}from"./chunk-QIXIZZPY.js";import{a as W,b as Y}from"./chunk-ZPTNYW2S.js";import{b as fe,c as ge,f as _t,g as ft,h as he,l as xe}from"./chunk-GY53MWXH.js";import{g as we}from"./chunk-6NCHCAKY.js";import"./chunk-5AITWOQZ.js";import{e as st}from"./chunk-ACQX2T2H.js";import{a as gt}from"./chunk-A47VRZZB.js";import{a as A}from"./chunk-W76GKZZU.js";import{c as ae,d as le}from"./chunk-JG5HGOEX.js";import{b as _e}from"./chunk-7U2I35GP.js";import{f as ut,g as ue}from"./chunk-ZB6TB7JI.js";import"./chunk-7KQDKLO4.js";import{a as L,b as pe,c as me,d as ce,e as se,f as de,g as dt}from"./chunk-H4V6YZX2.js";import{C as oe,D as re}from"./chunk-WAJWW3TC.js";import{c as pt,e as X,f as Z,g as mt,i as G,k as ee,m as te,p as ie,u as ct,w as De,z as ne}from"./chunk-U6SRN7P3.js";import"./chunk-TPGKCMVN.js";import"./chunk-BCXNVGDH.js";import{a as at,d as lt}from"./chunk-U5LD55IP.js";import"./chunk-F2X3VGZZ.js";import{d as ot,n as rt,q as J,x as Q}from"./chunk-TYETQJ2X.js";import{j as it,m as Ee,r as nt,s as K,t as $}from"./chunk-353U23ZQ.js";import{$b as w,Ac as I,Bb as S,D as be,Ga as R,Ib as $e,Jb as Je,Jc as x,Kc as C,Lb as c,Lc as et,Mc as s,Ob as N,Qb as O,Rb as Qe,Tb as Xe,Ub as Ze,V as ze,Vb as i,W as Ue,Wb as n,X as j,Xb as E,Yc as T,Z as k,Zc as tt,ba as He,c as P,cb as Ke,ec as F,fc as d,gb as l,ha as h,pa as v,qa as b,qc as o,rc as u,s as Ye,sc as M,vb as V,vc as z,wc as q,xc as U,yc as H,zc as D}from"./chunk-ARSLNNKY.js";import{a as g,b as y,c as Ve,e as We}from"./chunk-YQFG5XE2.js";var B=(()=>{class t{constructor(){this.httpService=h(lt),this.authService=h(Ie)}fetchGeneralLedgerLoader(e={}){return this.httpService.post(void 0,"api/GeneralLedgerLoader/GetFilter",e)}fetchGeneralLedgerReport(e){return this.httpService.post(void 0,"api/GeneralLedger/Get",e)}exportGeneralLedger(e){let a={responseType:"blob"};return this.httpService.post(void 0,"/api/GeneralLedgerExport/GetGeneralLedgerExport",e,a)}getCustomerSuggestions(e){let a={Prefix:e,Count:100};return this.httpService.get(this.authService.getTenantExternalURL(),"/API/AC/GetCustomerSuggestion",{params:a})}getSupplierSuggestions(e){let a={Prefix:e,Count:100};return this.httpService.get(this.authService.getTenantExternalURL(),"/API/AC/GetSupplierSuggestion",{params:a})}getCashierSuggestions(e){let a={Prefix:e,Count:100};return this.httpService.get(this.authService.getTenantExternalURL(),"/api/ac/GetUserSuggestion",{params:a})}getBalanceSheetLoader(){return this.httpService.get(void 0,"/api/BalanceSheetLoader/GetBalanceSheet")}getBalanceSheet(e,a={}){let r=new ot({fromObject:Object.fromEntries(Object.entries(e).map(([_,f])=>[_,String(f)]))}),m=g({params:r},a);return this.httpService.get(void 0,"/api/BalanceSheet",m)}getIncomeStatementLoader(){return this.httpService.get(void 0,"api/IncomeStatementLoader/Filter")}getIncomeStatement(e,a={}){return this.httpService.post(void 0,"api/IncomeStatement/List",g({},e),a)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=He({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var At={metadata:{filter:{categoryID:"",from:new Date().toISOString(),to:new Date().toISOString(),iDs:[],outletIDs:[]},options:{accounts:[],outlets:[]},roles:{isInEmptyOutletRole:!1}},items:{data:[],pageTitle:""},filter:{listAccountID:[],categoryID:null,OutletID:[],ContactID:null,from:null,to:null}},Me=pe(de(At),dt("General Ledger Store"),me(t=>({hasData:T(()=>Array.isArray(t.items().data)&&t.items().data.length>0)})),se(t=>{let p=h(B),e={updateFilter:a=>{L(t,r=>y(g({},r),{filter:a}))},loadList:W(P(be(a=>Array.isArray(a.listAccountID)&&a.listAccountID.length>0),j(a=>p.fetchGeneralLedgerReport(a).pipe(Y({next:r=>{L(t,m=>y(g({},m),{items:r}))},error:r=>{console.error(r)}}))))),loadLoader:W(P(j(a=>p.fetchGeneralLedgerLoader(a).pipe(Y({next:r=>{L(t,m=>y(g({},m),{metadata:r,filter:y(g({},m.filter),{categoryID:r.filter.categoryID})})),e.loadList(t.filter)},error:r=>{console.error(r)}}))),A("res")))};return e}),ce({onInit:t=>{t.loadLoader({})}}));var Nt=()=>({height:"calc(100vh - 70px)"}),qt=()=>({height:"calc(100vh - 100px)"}),Wt=t=>["/journal/journal-entry/",t],Yt=t=>({"ng-invalid ng-dirty":t}),zt=()=>({scrollHeight:"250px"});function Ut(t,p){if(t&1){let e=w();i(0,"div",11)(1,"a",12),o(2,"Return to Accounts"),n(),i(3,"p-button",13),F("onClick",function(){v(e);let r=d();return b(r.onExport())}),n()()}}function Ht(t,p){if(t&1&&(i(0,"div",11)(1,"span",16)(2,"h3",17),o(3),n()(),i(4,"span",16)(5,"h3",17),o(6),n()()()),t&2){let e=d().$implicit;l(3),u(e.name),l(3),M(" (",e.chartOfAccountCode,") ")}}function Kt(t,p){t&1&&(i(0,"tr")(1,"th"),o(2,"Outlet"),n(),i(3,"th"),o(4,"No."),n(),i(5,"th"),o(6,"Date"),n(),i(7,"th"),o(8,"Name"),n(),i(9,"th"),o(10,"Description"),n(),i(11,"th"),o(12,"Debit"),n(),i(13,"th"),o(14,"Credit"),n(),i(15,"th"),o(16,"Balance"),n()())}function $t(t,p){t&1&&o(0," Starting Balance ")}function Jt(t,p){t&1&&o(0," \xA0 ")}function Qt(t,p){if(t&1&&(i(0,"tr")(1,"td",18),S(2,$t,1,0)(3,Jt,1,0),n(),i(4,"td",19),o(5),x(6,"number"),n()(),i(7,"tr")(8,"td"),o(9),n(),i(10,"td")(11,"a",20),o(12),n()(),i(13,"td"),o(14),x(15,"date"),n(),i(16,"td")(17,"a",21),o(18),n()(),E(19,"td"),i(20,"td",19),o(21),x(22,"number"),n(),i(23,"td",19),o(24),x(25,"number"),n(),i(26,"td",19),o(27),x(28,"number"),n()()),t&2){let e=p.$implicit,a=p.rowIndex,r=d().$implicit,m=d(3);l(2),O(a===0?2:3),l(3),M(" ",C(6,11,r.startBalance)," "),l(4),u(e.outletName),l(2),c("routerLink",I(22,Wt,e.id)),l(),u(e.number),l(2),u(et(15,13,e.date,"dd MMM yyyy")),l(3),c("href",m.authService.getTenantExternalURL()+"/menu/Contacts/Contact/Customers/Info?ID="+e.contactID,Ke),l(),u(e.contactName),l(3),u(C(22,16,e.debitAmount)),l(3),u(C(25,18,e.creditAmount)),l(3),u(C(28,20,e.balance))}}function Xt(t,p){if(t&1&&(i(0,"tr"),E(1,"td",22),i(2,"td",23),o(3,"Total"),n(),i(4,"td",23),o(5),x(6,"number"),n(),i(7,"td",23),o(8),x(9,"number"),n(),E(10,"td"),n()),t&2){let e=d(4);l(5),M(" ",C(6,2,e.store.items().data[0].debitTotal)," "),l(3),M(" ",C(9,4,e.store.items().data[0].creditTotal)," ")}}function Zt(t,p){t&1&&(i(0,"tr")(1,"td",24)(2,"span"),o(3,"No records found."),n()()())}function ei(t,p){if(t&1&&(i(0,"p-table",15),S(1,Ht,7,2,"ng-template",null,3,s)(3,Kt,17,0,"ng-template",null,4,s)(5,Qt,29,24,"ng-template",null,5,s)(7,Xt,11,6,"ng-template",null,6,s)(9,Zt,4,0,"ng-template",null,7,s),n()),t&2){let e=p.$implicit;c("value",e.data)("scrollable",!0)}}function ti(t,p){if(t&1&&(i(0,"p-panel")(1,"p-scroll-panel"),Xe(2,ei,11,2,"p-table",15,Qe),n()()),t&2){let e=d(2);N(D(4,Nt)),l(),N(D(5,qt)),l(),Ze(e.store.items().data)}}function ii(t,p){if(t&1&&S(0,ti,4,6,"p-panel",14),t&2){let e=d();c("ngIf",e.store.items()&&e.store.items().data.length)}}function ni(t,p){if(t&1&&(i(0,"div",11)(1,"div",16)(2,"span",40),o(3),n()(),i(4,"div")(5,"span"),o(6,"-"),n()(),i(7,"div",16)(8,"span",41),o(9),n()()()),t&2){let e=p.$implicit;l(3),M("(",e.code,")"),l(6),u(e.name)}}function oi(t,p){if(t&1&&(i(0,"div",11)(1,"div",16)(2,"span",40),o(3),n()(),i(4,"div")(5,"span"),o(6,"-"),n()(),i(7,"div",16)(8,"span",41),o(9),n()()()),t&2){let e=p.$implicit;l(3),M("(",e.code,")"),l(6),u(e.name)}}function ri(t,p){if(t&1&&(i(0,"div",42)(1,"div"),o(2),n()()),t&2){let e=p.$implicit;l(2),u(e.value)}}function ai(t,p){if(t&1){let e=w();i(0,"div",26)(1,"label",27),o(2,"Customer"),n(),i(3,"p-autocomplete",43),F("completeMethod",function(r){v(e);let m=d(2);return b(m.searchCustomer(r))}),n()()}if(t&2){let e=d(2);l(3),c("suggestions",e.customerSuggestions())}}function li(t,p){if(t&1){let e=w();i(0,"div",26)(1,"label",27),o(2,"Supplier"),n(),i(3,"p-autocomplete",43),F("completeMethod",function(r){v(e);let m=d(2);return b(m.searchSupplier(r))}),n()()}if(t&2){let e=d(2);l(3),c("suggestions",e.supplierSuggestions())}}function pi(t,p){if(t&1){let e=w();i(0,"form",25)(1,"div",26)(2,"label",27),o(3,"Accounts"),n(),i(4,"p-multiselect",28),F("onChange",function(r){v(e);let m=d();return b(m.onAccountChange(r))}),S(5,ni,10,2,"ng-template",null,8,s)(7,oi,10,2,"ng-template",null,9,s),n()(),i(9,"div",26)(10,"label",27),o(11,"From"),n(),E(12,"p-datepicker",29),n(),i(13,"div",26)(14,"label",27),o(15,"To"),n(),E(16,"p-datepicker",30),n(),i(17,"div",26)(18,"label",27),o(19,"Outlets"),n(),i(20,"p-multiselect",31),S(21,ri,3,1,"ng-template",null,9,s),n()(),i(23,"div",26)(24,"label",27),o(25,"Category"),n(),i(26,"p-treeselect",32),F("onFocus",function(){v(e);let r=d();return b(r.onCategoryFocus())}),n()(),i(27,"div",26)(28,"label",33),o(29,"Contact Type"),n(),i(30,"div",34)(31,"div",35),E(32,"p-radiobutton",36),i(33,"label",37),o(34,"Customer"),n()(),i(35,"div",35),E(36,"p-radiobutton",38),i(37,"label",39),o(38,"Supplier"),n()()()(),S(39,ai,4,1,"div",26)(40,li,4,1,"div",26),n()}if(t&2){let e=d();c("formGroup",e.generalLedgerFilterForm),l(4),c("virtualScroll",!0)("virtualScrollItemSize",50)("maxlength",5)("options",e.store.metadata().options.accounts)("ngClass",I(20,Yt,e.generalLedgerFilterForm.get("listAccountID").invalid&&e.generalLedgerFilterForm.get("listAccountID").touched||e.generalLedgerFilterForm.get("listAccountID").dirty)),l(8),c("iconDisplay","input")("showIcon",!0),l(4),c("iconDisplay","input")("showIcon",!0),l(4),c("virtualScroll",!0)("virtualScrollItemSize",50)("options",e.store.metadata().options.outlets),l(6),c("virtualScroll",!0)("virtualScrollItemSize",50)("virtualScrollOptions",D(22,zt))("options",e.categoriesOptions()),l(6),c("value",0),l(4),c("value",1),l(3),O(e.generalLedgerFilterForm.get("contactType").value?40:39)}}var Tt=function(t){return t[t.Customer=0]="Customer",t[t.Supplier=1]="Supplier",t}(Tt||{}),Lt=(()=>{class t{constructor(){this.dialogFilterVisible=R(!1),this.reportService=h(B),this.coaService=h(gt),this.authService=h(Ie),this.store=h(Me),this.categoriesOptions=R([]),this.customerSuggestions=R([]),this.supplierSuggestions=R([]),this.route=h(rt),this.dayjsService=h(ye),this.initDialogVisible=R(!0),this.fb=h(De),this.toastr=h(at)}ngOnInit(){this.generateFilterForm(),this.route.queryParamMap.pipe(Ye(e=>e.get("id")),k(e=>{e&&(this.initDialogVisible.update(a=>!a),this.generalLedgerFilterForm.patchValue({listAccountID:[e]}),this.store.updateFilter(y(g({},this.store.filter()),{listAccountID:[e]})))})).subscribe(),this.clearContactValueOnContactTypeChange()}clearContactValueOnContactTypeChange(){this.generalLedgerFilterForm.get("contactType")?.valueChanges.subscribe(()=>this.generalLedgerFilterForm.get("ContactID")?.setValue(""))}onAccountChange(e){console.log("Account Change Event:",e),Array.isArray(e.value)&&e.value.length>5&&this.toastr.warning("Please select at least 5 accounts for the general ledger report.","Warning")}onCategoryFocus(){this.coaService.getCachedCategoriesOptions().pipe(A("getCachedCategoriesOptions"),k(e=>this.categoriesOptions.set(e))).subscribe()}generateFilterForm(){this.generalLedgerFilterForm=this.fb.group({listAccountID:new G([],[pt.required]),categoryID:new G(null),OutletID:new G([]),ContactID:new G(""),from:new G(null),to:new G(null),contactType:[Tt.Customer]})}onFilterEvent(e){console.log(e),this.dialogFilterVisible.update(a=>!a)}onFilterOKEvent(){let _=this.generalLedgerFilterForm.value,{from:e,to:a}=_,r=Ve(_,["from","to"]);if(this.generalLedgerFilterForm.invalid){this.generalLedgerFilterForm.markAllAsTouched(),this.dialogFilterVisible.set(!0);return}let m={categoryID:r.categoryID?.key??null,ContactID:r.ContactID.length?r.ContactID:null,OutletID:r.OutletID.length?r.OutletID:null,listAccountID:r.listAccountID,from:this.dayjsService.from(e)?this.dayjsService.from(e).format():null,to:this.dayjsService.from(a)?this.dayjsService.from(a).format():null};this.dialogFilterVisible.update(f=>!f),this.store.updateFilter(m),this.dialogFilterVisible.set(!1)}searchCustomer(e){this.reportService.getCustomerSuggestions(e.query).pipe(k(a=>this.customerSuggestions.set(a))).subscribe()}searchSupplier(e){this.reportService.getSupplierSuggestions(e.query).pipe(k(a=>this.supplierSuggestions.set(a))).subscribe()}onExport(){let _=this.generalLedgerFilterForm.value,{from:e,to:a}=_,r=Ve(_,["from","to"]),m={categoryID:r.categoryID?.key??null,ContactID:r.ContactID.length?r.ContactID:null,OutletID:r.OutletID.length?r.OutletID:null,listAccountID:r.listAccountID,from:this.dayjsService.from(e)?this.dayjsService.from(e).format():null,to:this.dayjsService.from(a)?this.dayjsService.from(a).format():null};this.reportService.exportGeneralLedger(m).pipe(A("exportGeneralLedger"),k(f=>{St(f,`general-ledger-${this.dayjsService.now.format("D-MM-YYYY")}.${f.type.split("/")[1]}`,f.type)})).subscribe()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-general-ledger"]],features:[H([Me])],decls:7,vars:4,consts:[["actionButton",""],["content",""],["filters",""],["caption",""],["header",""],["body",""],["footer",""],["emptymessage",""],["selectedItem",""],["item",""],[3,"isDialogFilterVisibleChange","isInitDialogFilterVisibleChange","filterConfirmed","pageTitle","isDialogFilterVisible","isFilterable","isInitDialogFilterVisible"],[1,"d-flex","gap-2"],["routerLink","/chart-of-account/account",1,"p-button","p-button-secondary","p-button-outlined"],["severity","secondary","variant","outlined","icon","fa-solid fa-download","label","Export",3,"onClick"],[3,"style",4,"ngIf"],["scrollHeight","calc(100vh - 150px)",3,"value","scrollable"],[1,""],[1,"fs-5","fw-semibold"],["colspan","7",1,"text-end"],[1,"text-end"],["target","_blank",1,"link","link-primary",3,"routerLink"],["target","_blank",1,"link","link-primary",3,"href"],["colspan","4"],[1,"text-end","fw-semibold"],["colspan","8"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for","outlet"],["showClear","","filter","","filterBy","code,name","display","chip","formControlName","listAccountID","appendTo","body","optionLabel","name","optionValue","id","placeholder","Select Accounts",3,"onChange","virtualScroll","virtualScrollItemSize","maxlength","options","ngClass"],["showClear","","formControlName","from","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon"],["showClear","","formControlName","to","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon"],["showClear","","display","chip","formControlName","OutletID","appendTo","body","optionLabel","value","optionValue","key","placeholder","Select Outlets",3,"virtualScroll","virtualScrollItemSize","options"],["showClear","","filter","","filterBy","label","formControlName","categoryID","appendTo","body","containerStyleClass","w-100","optionLabel","label","optionValue","id","placeholder","Select Category",3,"onFocus","virtualScroll","virtualScrollItemSize","virtualScrollOptions","options"],["for",""],[1,"d-flex","gap-3"],[1,"d-flex","align-items-center","gap-2"],["name","contactType","formControlName","contactType","inputId","customer",3,"value"],["for","customer",1,"m-0"],["name","contactType","formControlName","contactType","inputId","supplier",3,"value"],["for","supplier",1,"m-0"],[1,"h-full","align-middle"],[1,"text-truncate","d-inline-block","h-full","align-middle"],[1,"flex","items-center","gap-2"],["formControlName","ContactID","appendTo","body","styleClass","w-100","optionLabel","Value","optionValue","Key","inputStyleClass","w-100",3,"completeMethod","suggestions"]],template:function(a,r){if(a&1){let m=w();i(0,"app-main-panel",10),U("isDialogFilterVisibleChange",function(f){return v(m),q(r.dialogFilterVisible,f)||(r.dialogFilterVisible=f),b(f)})("isInitDialogFilterVisibleChange",function(f){return v(m),q(r.initDialogVisible,f)||(r.initDialogVisible=f),b(f)}),F("filterConfirmed",function(){return v(m),b(r.onFilterOKEvent())}),S(1,Ut,4,0,"ng-template",null,0,s)(3,ii,1,1,"ng-template",null,1,s)(5,pi,41,23,"ng-template",null,2,s),n()}a&2&&(c("pageTitle",r.store.items().pageTitle.length?r.store.items().pageTitle:"General Ledger"),z("isDialogFilterVisible",r.dialogFilterVisible),c("isFilterable",!0),z("isInitDialogFilterVisible",r.initDialogVisible))},dependencies:[ue,$,it,Ee,K,nt,_e,xe,he,ut,re,oe,we,ge,fe,Le,Te,ne,ee,X,Z,ct,te,ie,Ce,Se,Re,Fe,st,xt,ht,yt,le,ae,Q,J,ft,_t],styles:["[_nghost-%COMP%] .p-datatable .p-datatable-header{padding:.75rem 1rem .75rem 0}"],changeDetection:0})}}return t})();var mi={data:{},filter:{EntityID:[],CashierID:null,Text:null,from:null,to:null},isLoading:!0,loader:{options:{outlets:[]},filter:{from:"",to:"",outletID:[]},roles:{isInRoleEmptyOutlet:!1}}},Be=pe(de(mi),me(t=>{let p={totalCOGS:T(()=>{let e=t.data()?.data?.cogs;return Array.isArray(e)?e.reduce((a,r)=>a+(r?.amount??0),0):0}),totalRevenue:T(()=>{let e=t.data()?.data?.revenue;return Array.isArray(e)?e.reduce((a,r)=>a+(r?.amount??0),0):0}),totalExpense:T(()=>{let e=t.data()?.data?.expense;return Array.isArray(e)?e.reduce((a,r)=>a+(r?.amount??0),0):0}),grossProfit:T(()=>Array.isArray(t.data()?.data?.cogs)&&Array.isArray(t.data()?.data?.revenue)?p.totalRevenue()-p.totalCOGS():0),profitOrLoss:T(()=>p.totalRevenue()-p.totalCOGS()-p.totalExpense()),isDataEmpty:T(()=>Object.keys(t.data()?.data??{}).length===0)};return p}),se(t=>{let p=h(B),e=h(ye),a={updateFilter(r){L(t,m=>y(g({},m),{filter:g(g({},m.filter),r)}))},getLoader:W(P(j(()=>p.getIncomeStatementLoader().pipe(Y({next:r=>{L(t,m=>y(g({},m),{loader:r,filter:y(g({},m.filter),{from:e.from(r.filter.from).format(),to:e.from(r.filter.to).format()})})),a.getIncomeStatement(t.filter)},error:r=>{console.error(r)}}))))),getIncomeStatement:W(P(j(r=>p.getIncomeStatement(r).pipe(Ue(()=>L(t,m=>y(g({},m),{isLoading:!0}))),Y({next:m=>{L(t,_=>y(g({},_),{data:m,isLoading:!1}))},error:m=>{console.error(m)}})))))};return a}),ce({onInit:t=>{t.getLoader()}}));var ci=()=>[Ee,K,he,ae,import("./chunk-6DPW74DP.js").then(t=>t.ScrollPanel),J],si=()=>({height:"calc(100vh - 70px)"}),di=()=>({height:"calc(100vh - 150px)"}),ke=t=>["/chart-of-account/account/",t],Oe=()=>["/report/general-ledger"],Ge=t=>({id:t});function ui(t,p){if(t&1){let e=w();i(0,"div",8)(1,"p-button",9),F("onClick",function(){v(e);let r=d();return b(r.onExport())}),n()()}}function _i(t,p){t&1&&(i(0,"tr")(1,"th",14),o(2,"Code"),n(),i(3,"th",15),o(4,"Name"),n(),i(5,"th",16),o(6,"Total"),n()())}function fi(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",17),o(5),n()(),i(6,"td",16)(7,"a",18),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,ke,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Oe))("queryParams",I(11,Ge,e.accountID)),l(),u(C(9,6,e.amount))}}function gi(t,p){if(t&1&&(i(0,"tr"),E(1,"td",19),i(2,"td",20)(3,"div",21)(4,"span",22),o(5,"Total Revenue :"),n(),i(6,"span",23),o(7),x(8,"number"),n()()()()),t&2){let e=d(5);l(7),u(C(8,1,e.store.totalRevenue()))}}function hi(t,p){t&1&&(i(0,"tr")(1,"td",24)(2,"span"),o(3,"No revenue records available"),n()()())}function xi(t,p){if(t&1&&(i(0,"h6",12),o(1,"Revenue"),n(),i(2,"p-table",13),S(3,_i,7,0,"ng-template",null,3,s)(5,fi,10,13,"ng-template",null,4,s)(7,gi,9,3,"ng-template",null,5,s)(9,hi,4,0,"ng-template",null,6,s),n()),t&2){let e,a=d(4);l(2),c("value",(e=a.store.data())==null||e.data==null?null:e.data.revenue)}}function Si(t,p){t&1&&(i(0,"tr")(1,"th",14),o(2,"Code"),n(),i(3,"th",15),o(4,"Name"),n(),i(5,"th",25),o(6,"Total"),n()())}function Ci(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",17),o(5),n()(),i(6,"td",16)(7,"a",18),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,ke,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Oe))("queryParams",I(11,Ge,e.AccountID)),l(),u(C(9,6,e.amount))}}function yi(t,p){if(t&1&&(i(0,"tr"),E(1,"td",26),i(2,"td",20)(3,"div",21)(4,"span",22),o(5,"Total COGS :"),n(),i(6,"span",23),o(7),x(8,"number"),n()()()(),i(9,"tr"),E(10,"td",26),i(11,"td",20)(12,"div",21)(13,"span",22),o(14,"Gross Profit :"),n(),i(15,"span",23),o(16),x(17,"number"),n()()()()),t&2){let e=d(5);l(7),u(C(8,2,e.store.totalCOGS())),l(9),u(C(17,4,e.store.grossProfit()))}}function vi(t,p){t&1&&(i(0,"tr")(1,"td",24)(2,"span"),o(3,"No COGS records available"),n()()())}function bi(t,p){if(t&1&&(i(0,"h4",12),o(1,"COGS"),n(),i(2,"p-table",13),S(3,Si,7,0,"ng-template",null,3,s)(5,Ci,10,13,"ng-template",null,4,s)(7,yi,18,6,"ng-template",null,5,s)(9,vi,4,0,"ng-template",null,6,s),n()),t&2){let e,a=d(4);l(2),c("value",(e=a.store.data())==null||e.data==null?null:e.data.cogs)}}function Ei(t,p){t&1&&(i(0,"tr")(1,"th",14),o(2,"Code"),n(),i(3,"th",15),o(4,"Name"),n(),i(5,"th",16),o(6,"Total"),n()())}function Ii(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",17),o(5),n()(),i(6,"td",16)(7,"a",18),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,ke,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Oe))("queryParams",I(11,Ge,e.AccountID)),l(),u(C(9,6,e.amount))}}function Di(t,p){if(t&1&&(i(0,"tr"),E(1,"td",26),i(2,"td",20)(3,"div",21)(4,"span",22),o(5,"Total Expense :"),n(),i(6,"span",23),o(7),x(8,"number"),n()()()(),i(9,"tr"),E(10,"td",26),i(11,"td",20)(12,"div",21)(13,"span",22),o(14,"Profit / Loss :"),n(),i(15,"span",23),o(16),x(17,"number"),n()()()()),t&2){let e=d(5);l(7),u(C(8,2,e.store.totalExpense())),l(9),u(C(17,4,e.store.profitOrLoss()))}}function Fi(t,p){t&1&&(i(0,"tr")(1,"td",24)(2,"span"),o(3,"No expense records available"),n()()())}function Ri(t,p){if(t&1&&(i(0,"h4",12),o(1,"Expense"),n(),i(2,"p-table",13),S(3,Ei,7,0,"ng-template",null,3,s)(5,Ii,10,13,"ng-template",null,4,s)(7,Di,18,6,"ng-template",null,5,s)(9,Fi,4,0,"ng-template",null,6,s),n()),t&2){let e,a=d(4);l(2),c("value",(e=a.store.data())==null||e.data==null?null:e.data.expense)}}function wi(t,p){if(t&1&&(i(0,"p-scroll-panel")(1,"div",11),S(2,xi,11,1)(3,bi,11,1)(4,Ri,11,1),n()()),t&2){let e=d(3);N(D(5,di)),l(2),O(e.Object.keys(e.store.data().data).length>0?2:-1),l(),O(e.Object.keys(e.store.data().data.cogs).length>0?3:-1),l(),O(e.Object.keys(e.store.data().data.expense).length>0?4:-1)}}function Ti(t,p){if(t&1&&(i(0,"p-panel"),S(1,wi,5,6,"p-scroll-panel",10),n()),t&2){let e=d(2);N(D(3,si)),l(),c("ngIf",e.store.data())}}function Li(t,p){if(t&1&&(S(0,Ti,2,4),$e(1,0,ci)),t&2){let e=d();l(),Je(!e.store.isDataEmpty())}}function Vi(t,p){if(t&1){let e=w();i(0,"form",27)(1,"div",28)(2,"label",29),o(3,"Outlet"),n(),E(4,"p-multiselect",30),n(),i(5,"div",28)(6,"label",29),o(7,"Cashier"),n(),i(8,"p-autocomplete",31),F("completeMethod",function(r){v(e);let m=d();return b(m.onCashierSearch(r))}),n()(),i(9,"div",28)(10,"label",29),o(11,"From"),n(),E(12,"p-datepicker",32),n(),i(13,"div",28)(14,"label",29),o(15,"To"),n(),E(16,"p-datepicker",33),n()()}if(t&2){let e=d();c("formGroup",e.formFilter),l(4),c("virtualScroll",!0)("virtualScrollItemSize",50)("options",e.store.loader().options.outlets)("showClear",!0),l(4),c("showClear",!0)("suggestions",e.cashierSuggestions())}}var Vt=(()=>{class t{constructor(){this.dayjsService=h(ye),this.store=h(Be),this.fb=h(De),this.reportService=h(B),this.isInitDialogFilterVisible=R(!1),this.dialogFilterVisible=R(!1),this.cashierSuggestions=R([]),this.Object=Object,tt(()=>{this.store.filter()&&this.initForm()})}ngOnInit(){this.initForm()}onSearch(e){this.store.updateFilter(y(g({},this.store.filter()),{Text:e}))}onCashierSearch(e){this.reportService.getCashierSuggestions(e.query).pipe(A("Cashier Suggestions"),k(a=>this.cashierSuggestions.set(a))).subscribe()}initForm(){let e=this.store.filter();this.formFilter=this.fb.group({EntityID:this.fb.control(e.EntityID??[]),CashierID:this.fb.control(e.CashierID??null),Text:this.fb.control(e.Text??""),from:this.fb.control(e.from?this.dayjsService.from(e.from).toDate():null),to:this.fb.control(e.to?this.dayjsService.from(e.to).toDate():null)})}onFilterOK(){let e=this.formFilter.getRawValue(),a=Object.entries(e).reduce((r,[m,_])=>(m==="from"||m==="to"?_ instanceof Date&&(r[m]=this.dayjsService.from(_).format()):m==="CashierID"?r[m]=Object.prototype.hasOwnProperty.call("Key",_)?_.Key:null:r[m]=_||null,r),{});this.store.updateFilter(g(g({},this.store.filter()),a)),this.dialogFilterVisible.update(r=>!r),console.log("body",e)}onExport(){let e=y(g({},this.store.filter()),{export:!0,ExportPageNumber:1,ExportRowCount:1e4});this.reportService.getIncomeStatement(e,{responseType:"blob"}).pipe(A("Export Profit & Loss"),k(a=>{let r=a.type,m=[a],_=document.createElement("a");_.href=window.URL.createObjectURL(new Blob(m,{type:r}));let f=`profit-and-loss.${r.split("/")[1]}`;_.setAttribute("download",f),document.body.appendChild(_),_.click(),document.body.removeChild(_)})).subscribe()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-income-statement"]],features:[H([Be])],decls:7,vars:4,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["footer",""],["emptymessage",""],[3,"isDialogFilterVisibleChange","isInitDialogFilterVisibleChange","filterConfirmed","isFilterable","pageTitle","isDialogFilterVisible","isInitDialogFilterVisible"],[1,"d-flex","gap-2"],["severity","secondary","variant","outlined","icon","fa-solid fa-download","label","Export",3,"onClick"],[3,"style",4,"ngIf"],[1,"d-flex","flex-column","gap-3"],[1,"fs-5","fw-bolder"],[3,"value"],[2,"width","20%"],[2,"width","30%"],[1,"text-end"],["target","_blank",1,"link","link-primary",3,"routerLink"],["target","_blank",1,"link","link-primary",3,"routerLink","queryParams"],["colspan","2 ",1,"fw-semibold","text-end",2,"width","50%"],[1,"text-end","fw-semibold"],[1,"row"],[1,"col-9"],[1,"col"],["colspan","3",1,""],[1,"text-end",2,"min-width","10%"],["colspan","2",1,"fw-semibold"],[1,"d-flex","flex-column","gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for",""],["formControlName","EntityID","filterBy","value","appendTo","body","display","chip","optionLabel","value","optionValue","key","placeholder","Select an Outlet",3,"virtualScroll","virtualScrollItemSize","options","showClear"],["appendTo","body","formControlName","CashierID","styleClass","w-100","inputStyleClass","w-100","field","Value","placeholder","Search a cashier",3,"completeMethod","showClear","suggestions"],["formControlName","from","styleClass","w-100","appendTo","body"],["formControlName","to","styleClass","w-100","appendTo","body"]],template:function(a,r){if(a&1){let m=w();i(0,"app-main-panel",7),U("isDialogFilterVisibleChange",function(f){return v(m),q(r.dialogFilterVisible,f)||(r.dialogFilterVisible=f),b(f)})("isInitDialogFilterVisibleChange",function(f){return v(m),q(r.isInitDialogFilterVisible,f)||(r.isInitDialogFilterVisible=f),b(f)}),F("filterConfirmed",function(){return v(m),b(r.onFilterOK())}),S(1,ui,2,0,"ng-template",null,0,s)(3,Li,3,1,"ng-template",null,1,s)(5,Vi,17,7,"ng-template",null,2,s),n()}a&2&&(c("isFilterable",!0)("pageTitle",r.store.data().pageTitle),z("isDialogFilterVisible",r.dialogFilterVisible)("isInitDialogFilterVisible",r.isInitDialogFilterVisible))},dependencies:[ue,$,we,ge,fe,ne,ee,X,Z,te,ie,Ce,Se,_e,xe,le,Q,Le,Te,re,oe],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var Ae=We(Ct());var Mi={metadata:{options:{outlets:[]},filter:{to:"",outletID:[]},roles:{isInRoleEmptyOutlet:!1}},data:{asset:[],liability:[],equity:[],pageTitle:""},filter:{date:(0,Ae.default)().format("YYYY-MM-DD"),listOutletParam:[]}},Pe=pe(de(Mi),me(t=>({totalAsset:T(()=>t.data().asset.reduce((p,e)=>p+ +e.amount,0)),totalLiability:T(()=>t.data().liability.reduce((p,e)=>p+ +e.amount,0)),totalEquity:T(()=>t.data().equity.reduce((p,e)=>p+ +e.counterAmount,0))})),se(t=>{let p=h(B),e={updateFilter:a=>{L(t,r=>y(g({},r),{filter:a}))},fetchBalanceSheet:W(P(be(()=>{let a=t.filter();return Object.entries(a).every(([r,m])=>m!=null&&m!=="")}),j(a=>p.getBalanceSheet(a).pipe(Y({next:r=>{L(t,m=>y(g({},m),{data:r}))},error:r=>{console.error(r)}}))),ze(1))),fetchLoader:W(P(j(()=>p.getBalanceSheetLoader().pipe(Y({next:a=>{L(t,r=>y(g({},r),{metadata:a,filter:{date:(0,Ae.default)(a.filter.to).format("YYYY-MM-DD")}})),e.fetchBalanceSheet(t.filter)},error:a=>{console.error(a)}})))))};return e}),ce(t=>({onInit:()=>{t.fetchLoader()}})));var Mt=We(Ct());var Bi=()=>({height:"calc(100vh - 70px)"}),ki=()=>({height:"calc(100vh - 100px)"}),je=t=>["/chart-of-account/account/",t],Ne=()=>["/report/general-ledger"],qe=t=>({id:t});function Oi(t,p){if(t&1){let e=w();i(0,"div",9)(1,"p-button",10),F("onClick",function(){v(e);let r=d();return b(r.onExport())}),n()()}}function Gi(t,p){t&1&&(i(0,"tr")(1,"th",15),o(2,"Code"),n(),i(3,"th"),o(4,"Asset"),n(),i(5,"th",16),o(6,"Total"),n()())}function Ai(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",17),o(5),n()(),i(6,"td",18)(7,"a",19),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,je,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Ne))("queryParams",I(11,qe,e.accountID)),l(),u(C(9,6,e.amount))}}function Pi(t,p){if(t&1&&(i(0,"tr")(1,"td",20),o(2,"Total Asset"),n(),i(3,"td",21),o(4),x(5,"number"),n()()),t&2){let e=d(3);l(4),M(" ",C(5,1,e.store.totalAsset())," ")}}function ji(t,p){t&1&&(i(0,"tr")(1,"td",22)(2,"span"),o(3,"No asset records found."),n()()())}function Ni(t,p){if(t&1&&(i(0,"h4",13),o(1,"Asset"),n(),i(2,"p-table",14),S(3,Gi,7,0,"ng-template",null,3,s)(5,Ai,10,13,"ng-template",null,4,s)(7,Pi,6,3,"ng-template",null,5,s)(9,ji,4,0,"ng-template",null,6,s),n()),t&2){let e=d(2);l(2),c("value",e.store.data().asset)}}function qi(t,p){t&1&&(i(0,"tr")(1,"th",15),o(2,"Code"),n(),i(3,"th"),o(4,"Liability"),n(),i(5,"th",16),o(6,"Total"),n()())}function Wi(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",24),o(5),n()(),i(6,"td",18)(7,"a",19),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,je,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Ne))("queryParams",I(11,qe,e.accountID)),l(),u(C(9,6,e.amount))}}function Yi(t,p){if(t&1&&(i(0,"tr")(1,"td",20),o(2," Total Liability "),n(),i(3,"td",21),o(4),x(5,"number"),n()()),t&2){let e=d(3);l(4),M(" ",C(5,1,e.store.totalLiability())," ")}}function zi(t,p){t&1&&(i(0,"tr")(1,"td",22)(2,"span"),o(3,"No liability records found."),n()()())}function Ui(t,p){if(t&1&&(i(0,"h4",23),o(1,"Liability"),n(),i(2,"p-table",14),S(3,qi,7,0,"ng-template",null,3,s)(5,Wi,10,13,"ng-template",null,4,s)(7,Yi,6,3,"ng-template",null,5,s)(9,zi,4,0,"ng-template",null,6,s),n()),t&2){let e=d(2);l(2),c("value",e.store.data().liability)}}function Hi(t,p){t&1&&(i(0,"tr")(1,"th",15),o(2,"Code"),n(),i(3,"th"),o(4,"Equity"),n(),i(5,"th",16),o(6,"Total"),n()())}function Ki(t,p){if(t&1&&(i(0,"tr")(1,"td"),o(2),n(),i(3,"td")(4,"a",17),o(5),n()(),i(6,"td",18)(7,"a",19),o(8),x(9,"number"),n()()()),t&2){let e=p.$implicit;l(2),u(e.code),l(2),c("routerLink",I(8,je,e.accountID)),l(),u(e.name),l(2),c("routerLink",D(10,Ne))("queryParams",I(11,qe,e.accountID)),l(),u(C(9,6,e.counterAmount))}}function $i(t,p){if(t&1&&(i(0,"tr")(1,"td",20),o(2,"Total Equity"),n(),i(3,"td",21),o(4),x(5,"number"),n()(),i(6,"tr")(7,"td",20),o(8," Total Liability + Equity "),n(),i(9,"td",21),o(10),x(11,"number"),n()()),t&2){let e=d(3);l(4),M(" ",C(5,2,e.store.totalEquity())," "),l(6),M(" ",C(11,4,e.store.totalLiability()+e.store.totalEquity())," ")}}function Ji(t,p){t&1&&(i(0,"tr")(1,"td",22)(2,"span"),o(3,"No equity records found."),n()()())}function Qi(t,p){if(t&1&&(i(0,"h4",25),o(1,"Equity"),n(),i(2,"p-table",14),S(3,Hi,7,0,"ng-template",null,3,s)(5,Ki,10,13,"ng-template",null,4,s),o(7," <"),S(8,$i,12,6,"ng-template",null,5,s)(10,Ji,4,0,"ng-template",null,6,s),n()),t&2){let e=d(2);l(2),c("value",e.store.data().equity)}}function Xi(t,p){if(t&1&&(i(0,"p-panel",11)(1,"p-scroll-panel")(2,"div",12),S(3,Ni,11,1)(4,Ui,11,1)(5,Qi,12,1),n()()()),t&2){let e=d();N(D(8,Bi)),c("showHeader",!1),l(),N(D(9,ki)),l(2),O(e.Object.keys(e.store.data().asset).length>0?3:-1),l(),O(e.Object.keys(e.store.data().liability).length>0?4:-1),l(),O(e.Object.keys(e.store.data().equity).length>0?5:-1)}}function Zi(t,p){if(t&1&&(i(0,"div",31)(1,"div"),o(2),n()()),t&2){let e=p.$implicit;l(2),u(e.value)}}function en(t,p){if(t&1&&(i(0,"form",26)(1,"div",27)(2,"label",28),o(3,"Outlet"),n(),i(4,"p-multiselect",29),S(5,Zi,3,1,"ng-template",null,7,s),n()(),i(7,"div",27)(8,"label",28),o(9,"From"),n(),E(10,"p-datepicker",30),n()()),t&2){let e=d();c("formGroup",e.filterForm),l(4),c("virtualScroll",!0)("virtualScrollItemSize",50)("options",e.store.metadata().options.outlets)("showClear",!0),l(6),c("iconDisplay","input")("showIcon",!0)}}var Bt=(()=>{class t{constructor(){this.store=h(Pe),this.ReportServiceStore=h(B),this.dialogFilterVisible=R(!1),this.isInitDialogFilterVisible=R(!1),this.Object=Object}ngOnInit(){this.generateFilterForm()}generateFilterForm(){this.filterForm=new mt({date:new G(new Date),outletID:new G([])})}onFilterOKEvent(){let{date:e,outletID:a}=this.filterForm.value;this.store.updateFilter({date:(0,Mt.default)(e).format("YYYY-MM-DD"),listOutletParam:a}),this.dialogFilterVisible.update(r=>!r)}onExport(){let e=y(g({},this.store.filter()),{export:!0,ExportPageNumber:1,ExportRowCount:1e4});this.ReportServiceStore.getBalanceSheet(e,{responseType:"blob"}).pipe(A("Export Balance Sheet"),k(a=>{let r=a.type,m=[a],_=document.createElement("a");_.href=window.URL.createObjectURL(new Blob(m,{type:r}));let f=`balance-sheet.${r.split("/")[1]}`;_.setAttribute("download",f),document.body.appendChild(_),_.click(),document.body.removeChild(_)})).subscribe()}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-balance-sheet"]],features:[H([Pe])],decls:7,vars:4,consts:[["actionButton",""],["content",""],["filters",""],["header",""],["body",""],["footer",""],["emptymessage",""],["item",""],[3,"isDialogFilterVisibleChange","isInitDialogFilterVisibleChange","filterConfirmed","pageTitle","isFilterable","isDialogFilterVisible","isInitDialogFilterVisible"],[1,"d-flex","gap-2"],["severity","secondary","variant","outlined","icon","fa-solid fa-download","label","Export",3,"onClick"],[3,"showHeader"],[1,"d-flex","flex-column","gap-3"],[1,"fs-5","fw-bolder","mt-3"],[3,"value"],[2,"width","20%"],[1,"text-end",2,"width","5%"],["target","_blank",1,"link","link-primary",3,"routerLink"],[1,"text-end"],["target","_blank",1,"link","link-primary",3,"routerLink","queryParams"],["colspan","2",1,"fw-semibold","text-end"],[1,"text-end","fw-semibold"],["colspan","3",1,""],[1,"fs-5","fw-bolder"],["target","_blank",1,"link","link-primary","d-flex","align-items-center",3,"routerLink"],[1,"fs-5","fw-semibold"],[1,"d-flex","flex-column","row-gap-3",3,"formGroup"],[1,"d-flex","flex-column"],["for","outlet"],["formControlName","outletID","display","chip","appendTo","body","optionLabel","value","optionValue","key","placeholder","Select Outlet",3,"virtualScroll","virtualScrollItemSize","options","showClear"],["formControlName","date","styleClass","w-100","appendTo","body","inputId","icondisplay",3,"iconDisplay","showIcon"],[1,"flex","items-center","gap-2"]],template:function(a,r){if(a&1){let m=w();i(0,"app-main-panel",8),U("isDialogFilterVisibleChange",function(f){return v(m),q(r.dialogFilterVisible,f)||(r.dialogFilterVisible=f),b(f)})("isInitDialogFilterVisibleChange",function(f){return v(m),q(r.isInitDialogFilterVisible,f)||(r.isInitDialogFilterVisible=f),b(f)}),F("filterConfirmed",function(){return v(m),b(r.onFilterOKEvent())}),S(1,Oi,2,0,"ng-template",null,0,s)(3,Xi,6,10,"ng-template",null,1,s)(5,en,11,7,"ng-template",null,2,s),n()}a&2&&(c("pageTitle",r.store.data().pageTitle)("isFilterable",!0),z("isDialogFilterVisible",r.dialogFilterVisible)("isInitDialogFilterVisible",r.isInitDialogFilterVisible))},dependencies:[ue,$,K,xe,he,_e,re,oe,ne,ee,X,Z,te,ie,Ce,Se,ge,fe,Re,Fe,le,ae,Q,J],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var kt=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-comparative-balance"]],decls:3,vars:0,template:function(a,r){a&1&&(i(0,"p"),o(1,"report-comparative-balance works!"),n(),o(2,`
|
|
2
|
-
,
|
|
3
|
-
`))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var Ot=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-cash-flow"]],decls:3,vars:0,template:function(a,r){a&1&&(i(0,"p"),o(1,"report-cash-flow works!"),n(),o(2,`
|
|
4
|
-
,
|
|
5
|
-
`))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var Gt=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=V({type:t,selectors:[["app-report-trial-balance"]],decls:3,vars:0,template:function(a,r){a&1&&(i(0,"p"),o(1,"report-trial-balance works!"),n(),o(2,`
|
|
6
|
-
,
|
|
7
|
-
`))},styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var _r=[{path:"",redirectTo:"general-ledger",pathMatch:"full"},{path:"",children:[{path:"general-ledger",component:Lt},{path:"profit-loss",component:Vt},{path:"balance-sheet",component:Bt},{path:"comparative-balance",component:kt},{path:"trial-balance",component:Gt},{path:"cash-flow",component:Ot}]}];export{_r as REPORTS_ROUTES};
|
package/chunk-BCXNVGDH.js
DELETED
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import{a as lt,t as Gt}from"./chunk-353U23ZQ.js";import{Fb as Bt,Ga as k,Ka as kt,Xc as Vt,Zc as Et,ba as O,ca as Pt,ea as Dt,g as D,gc as yt,ha as x,hc as St,ia as Mt,ib as Ht,mb as $t,ta as Ft,vb as gt,wb as Wt,xb as Ut}from"./chunk-ARSLNNKY.js";import{a as I}from"./chunk-YQFG5XE2.js";function Ne(t,i){return t?t.classList?t.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(t.className):!1}function Ie(t,i){if(t&&i){let e=n=>{Ne(t,n)||(t.classList?t.classList.add(n):t.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(e))}}function xe(){return window.innerWidth-document.documentElement.offsetWidth}function $(t){for(let i of document?.styleSheets)try{for(let e of i?.cssRules)for(let n of e?.style)if(t.test(n))return{name:n,value:e.style.getPropertyValue(n).trim()}}catch{}return null}function ci(t="p-overflow-hidden"){let i=$(/-scrollbar-width$/);i?.name&&document.body.style.setProperty(i.name,xe()+"px"),Ie(document.body,t)}function Pe(t,i){if(t&&i){let e=n=>{t.classList?t.classList.remove(n):t.className=t.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ")};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(e))}}function li(t="p-overflow-hidden"){let i=$(/-scrollbar-width$/);i?.name&&document.body.style.removeProperty(i.name),Pe(document.body,t)}function Kt(t){let i={width:0,height:0};return t&&(t.style.visibility="hidden",t.style.display="block",i.width=t.offsetWidth,i.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible"),i}function jt(){let t=window,i=document,e=i.documentElement,n=i.getElementsByTagName("body")[0],r=t.innerWidth||e.clientWidth||n.clientWidth,s=t.innerHeight||e.clientHeight||n.clientHeight;return{width:r,height:s}}function De(){let t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}function Me(){let t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}function pi(t,i,e=!0){var n,r,s,o;if(t){let c=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:Kt(t),l=c.height,a=c.width,p=i.offsetHeight,d=i.offsetWidth,u=i.getBoundingClientRect(),f=Me(),m=De(),y=jt(),E,T,v="top";u.top+p+l>y.height?(E=u.top+f-l,v="bottom",E<0&&(E=f)):E=p+u.top+f,u.left+a>y.width?T=Math.max(0,u.left+m+d-a):T=u.left+m,t.style.top=E+"px",t.style.left=T+"px",t.style.transformOrigin=v,e&&(t.style.marginTop=v==="bottom"?`calc(${(r=(n=$(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=$(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function Fe(t,i){t&&(typeof i=="string"?t.style.cssText=i:Object.entries(i||{}).forEach(([e,n])=>t.style[e]=n))}function ui(t,i){if(t instanceof HTMLElement){let e=t.offsetWidth;if(i){let n=getComputedStyle(t);e+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return e}return 0}function di(t,i,e=!0){var n,r,s,o;if(t){let c=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:Kt(t),l=i.offsetHeight,a=i.getBoundingClientRect(),p=jt(),d,u,f="top";a.top+l+c.height>p.height?(d=-1*c.height,f="bottom",a.top+d<0&&(d=-1*a.top)):d=l,c.width>p.width?u=a.left*-1:a.left+c.width>p.width?u=(a.left+c.width-p.width)*-1:u=0,t.style.top=d+"px",t.style.left=u+"px",t.style.transformOrigin=f,e&&(t.style.marginTop=f==="bottom"?`calc(${(r=(n=$(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(o=(s=$(/-anchor-gutter$/))==null?void 0:s.value)!=null?o:"")}}function W(t){return typeof HTMLElement=="object"?t instanceof HTMLElement:t&&typeof t=="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"}function bt(t){let i=t;return t&&typeof t=="object"&&(t.hasOwnProperty("current")?i=t.current:t.hasOwnProperty("el")&&(t.el.hasOwnProperty("nativeElement")?i=t.el.nativeElement:i=t.el)),W(i)?i:void 0}function fi(t,i){let e=bt(t);if(e)e.appendChild(i);else throw new Error("Cannot append "+i+" to "+t)}var _t=void 0;function hi(t){if(t){let i=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(_t!=null)return _t;let i=document.createElement("div");Fe(i,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(i);let e=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),_t=e,e}}function pt(t,i={}){if(W(t)){let e=(n,r)=>{var s,o;let c=(s=t?.$attrs)!=null&&s[n]?[(o=t?.$attrs)==null?void 0:o[n]]:[];return[r].flat().reduce((l,a)=>{if(a!=null){let p=typeof a;if(p==="string"||p==="number")l.push(a);else if(p==="object"){let d=Array.isArray(a)?e(n,a):Object.entries(a).map(([u,f])=>n==="style"&&(f||f===0)?`${u.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${f}`:f?u:void 0);l=d.length?l.concat(d.filter(u=>!!u)):l}}return l},c)};Object.entries(i).forEach(([n,r])=>{if(r!=null){let s=n.match(/^on(.+)/);s?t.addEventListener(s[1].toLowerCase(),r):n==="p-bind"||n==="pBind"?pt(t,r):(r=n==="class"?[...new Set(e("class",r))].join(" ").trim():n==="style"?e("style",r).join(";").trim():r,(t.$attrs=t.$attrs||{})&&(t.$attrs[n]=r),t.setAttribute(n,r))}})}}function mi(t,i={},...e){if(t){let n=document.createElement(t);return pt(n,i),n.append(...e),n}}function gi(t,i){if(t){t.style.opacity="0";let e=+new Date,n="0",r=function(){n=`${+t.style.opacity+(new Date().getTime()-e)/i}`,t.style.opacity=n,e=+new Date,+n<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}}function ke(t,i){return W(t)?Array.from(t.querySelectorAll(i)):[]}function yi(t,i){return W(t)?t.matches(i)?t:t.querySelector(i):null}function Si(t,i){t&&document.activeElement!==t&&t.focus(i)}function Ei(t,i){if(W(t)){let e=t.getAttribute(i);return isNaN(e)?e==="true"||e==="false"?e==="true":e:+e}}function Yt(t,i=""){let e=ke(t,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
2
|
-
[href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
3
|
-
input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
4
|
-
select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
5
|
-
textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
6
|
-
[tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
|
|
7
|
-
[contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i}`),n=[];for(let r of e)getComputedStyle(r).display!="none"&&getComputedStyle(r).visibility!="hidden"&&n.push(r);return n}function _i(t,i){let e=Yt(t,i);return e.length>0?e[0]:null}function bi(t){if(t){let i=t.offsetHeight,e=getComputedStyle(t);return i-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth),i}return 0}function Ti(t){if(t){t.style.visibility="hidden",t.style.display="block";let i=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",i}return 0}function vi(t){if(t){t.style.visibility="hidden",t.style.display="block";let i=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",i}return 0}function zt(t){if(t){let i=t.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function Oi(t){var i;if(t){let e=(i=zt(t))==null?void 0:i.childNodes,n=0;if(e)for(let r=0;r<e.length;r++){if(e[r]===t)return n;e[r].nodeType===1&&n++}}return-1}function Ci(t,i){let e=Yt(t,i);return e.length>0?e[e.length-1]:null}function Ai(t){if(t){let i=t.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}function He(t,i){if(t){let e=t.offsetHeight;if(i){let n=getComputedStyle(t);e+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return e}return 0}function Ri(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function $e(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&zt(t))}function Li(t,i){var e;if(t)switch(t){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return(e=i?.parentElement)==null?void 0:e.parentElement;default:if(typeof t=="string")return document.querySelector(t);let r=bt((s=>!!(s&&s.constructor&&s.call&&s.apply))(t)?t():t);return r?.nodeType===9||$e(r)?r:void 0}}function wi(t){if(t){let i=t.offsetWidth,e=getComputedStyle(t);return i-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth),i}return 0}function Ni(){return/(android)/i.test(navigator.userAgent)}function We(t){return!!(t&&t.offsetParent!=null)}function Ii(t){return!We(t)}function xi(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function Pi(t){return t?getComputedStyle(t).direction==="rtl":!1}function Di(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function Mi(t){var i;t&&("remove"in Element.prototype?t.remove():(i=t.parentNode)==null||i.removeChild(t))}function Fi(t,i){let e=bt(t);if(e)e.removeChild(i);else throw new Error("Cannot remove "+i+" from "+t)}function ki(t,i){let e=getComputedStyle(t).getPropertyValue("borderTopWidth"),n=e?parseFloat(e):0,r=getComputedStyle(t).getPropertyValue("paddingTop"),s=r?parseFloat(r):0,o=t.getBoundingClientRect(),l=i.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-n-s,a=t.scrollTop,p=t.clientHeight,d=He(i);l<0?t.scrollTop=a+l:l+d>p&&(t.scrollTop=a+l-p+d)}function qt(t,i="",e){W(t)&&e!==null&&e!==void 0&&t.setAttribute(i,e)}var ut={};function $i(t="pui_id_"){return ut.hasOwnProperty(t)||(ut[t]=0),ut[t]++,`${t}${ut[t]}`}function Zt(){let t=new Map;return{on(i,e){let n=t.get(i);return n?n.push(e):n=[e],t.set(i,n),this},off(i,e){let n=t.get(i);return n&&n.splice(n.indexOf(e)>>>0,1),this},emit(i,e){let n=t.get(i);n&&n.slice().map(r=>{r(e)})},clear(){t.clear()}}}var Ue=Object.defineProperty,Qt=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Jt=(t,i,e)=>i in t?Ue(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,Ge=(t,i)=>{for(var e in i||(i={}))Be.call(i,e)&&Jt(t,e,i[e]);if(Qt)for(var e of Qt(i))Ve.call(i,e)&&Jt(t,e,i[e]);return t};function j(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&typeof t=="object"&&Object.keys(t).length===0}function Tt(t,i,e=new WeakSet){if(t===i)return!0;if(!t||!i||typeof t!="object"||typeof i!="object"||e.has(t)||e.has(i))return!1;e.add(t).add(i);let n=Array.isArray(t),r=Array.isArray(i),s,o,c;if(n&&r){if(o=t.length,o!=i.length)return!1;for(s=o;s--!==0;)if(!Tt(t[s],i[s],e))return!1;return!0}if(n!=r)return!1;let l=t instanceof Date,a=i instanceof Date;if(l!=a)return!1;if(l&&a)return t.getTime()==i.getTime();let p=t instanceof RegExp,d=i instanceof RegExp;if(p!=d)return!1;if(p&&d)return t.toString()==i.toString();let u=Object.keys(t);if(o=u.length,o!==Object.keys(i).length)return!1;for(s=o;s--!==0;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;for(s=o;s--!==0;)if(c=u[s],!Tt(t[c],i[c],e))return!1;return!0}function Ke(t,i){return Tt(t,i)}function te(t){return!!(t&&t.constructor&&t.call&&t.apply)}function h(t){return!j(t)}function dt(t,i){if(!t||!i)return null;try{let e=t[i];if(h(e))return e}catch{}if(Object.keys(t).length){if(te(i))return i(t);if(i.indexOf(".")===-1)return t[i];{let e=i.split("."),n=t;for(let r=0,s=e.length;r<s;++r){if(n==null)return null;n=n[e[r]]}return n}}return null}function vt(t,i,e){return e?dt(t,e)===dt(i,e):Ke(t,i)}function Gi(t,i){if(t!=null&&i&&i.length){for(let e of i)if(vt(t,e))return!0}return!1}function Ki(t,i){let e=-1;if(h(t))try{e=t.findLastIndex(i)}catch{e=t.lastIndexOf([...t].reverse().find(i))}return e}function R(t,i=!0){return t instanceof Object&&t.constructor===Object&&(i||Object.keys(t).length!==0)}function C(t,...i){return te(t)?t(...i):t}function M(t,i=!0){return typeof t=="string"&&(i||t!=="")}function Xt(t){return M(t)?t.replace(/(-|_)/g,"").toLowerCase():t}function ee(t,i="",e={}){let n=Xt(i).split("."),r=n.shift();return r?R(t)?ee(C(t[Object.keys(t).find(s=>Xt(s)===r)||""],e),n.join("."),e):void 0:C(t,e)}function ft(t,i=!0){return Array.isArray(t)&&(i||t.length!==0)}function ji(t){return t instanceof Date&&t.constructor===Date}function ie(t){return h(t)&&!isNaN(t)}function Yi(t=""){return h(t)&&t.length===1&&!!t.match(/\S| /)}function _(t,i){if(i){let e=i.test(t);return i.lastIndex=0,e}return!1}function Y(...t){let i=(e={},n={})=>{let r=Ge({},e);return Object.keys(n).forEach(s=>{R(n[s])&&s in e&&R(e[s])?r[s]=i(e[s],n[s]):r[s]=n[s]}),r};return t.reduce((e,n,r)=>r===0?n:i(e,n),{})}function H(t){return t&&t.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function b(t){if(t&&/[\xC0-\xFF\u0100-\u017E]/.test(t)){let e={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(let n in e)t=t.replace(e[n],n)}return t}function ht(t){return M(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,(i,e)=>e===0?i:"-"+i.toLowerCase()).toLowerCase():t}function Ot(t){return M(t)?t.replace(/[A-Z]/g,(i,e)=>e===0?i:"."+i.toLowerCase()).toLowerCase():t}function je(){let t=[],i=(o,c,l=999)=>{let a=r(o,c,l),p=a.value+(a.key===o?0:l)+1;return t.push({key:o,value:p}),p},e=o=>{t=t.filter(c=>c.value!==o)},n=(o,c)=>r(o,c).value,r=(o,c,l=0)=>[...t].reverse().find(a=>c?!0:a.key===o)||{key:o,value:l},s=o=>o&&parseInt(o.style.zIndex,10)||0;return{get:s,set:(o,c,l)=>{c&&(c.style.zIndex=String(i(o,!0,l)))},clear:o=>{o&&(e(s(o)),o.style.zIndex="")},getCurrent:o=>n(o,!0)}}var qi=je();var ne=["*"];var S=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static IN="in";static LESS_THAN="lt";static LESS_THAN_OR_EQUAL_TO="lte";static GREATER_THAN="gt";static GREATER_THAN_OR_EQUAL_TO="gte";static BETWEEN="between";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static DATE_IS="dateIs";static DATE_IS_NOT="dateIsNot";static DATE_BEFORE="dateBefore";static DATE_AFTER="dateAfter"}return t})(),ln=(()=>{class t{static AND="and";static OR="or"}return t})(),pn=(()=>{class t{filter(e,n,r,s,o){let c=[];if(e)for(let l of e)for(let a of n){let p=dt(l,a);if(this.filters[s](p,r,o)){c.push(l);break}}return c}filters={startsWith:(e,n,r)=>{if(n==null||n.trim()==="")return!0;if(e==null)return!1;let s=b(n.toString()).toLocaleLowerCase(r);return b(e.toString()).toLocaleLowerCase(r).slice(0,s.length)===s},contains:(e,n,r)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(e==null)return!1;let s=b(n.toString()).toLocaleLowerCase(r);return b(e.toString()).toLocaleLowerCase(r).indexOf(s)!==-1},notContains:(e,n,r)=>{if(n==null||typeof n=="string"&&n.trim()==="")return!0;if(e==null)return!1;let s=b(n.toString()).toLocaleLowerCase(r);return b(e.toString()).toLocaleLowerCase(r).indexOf(s)===-1},endsWith:(e,n,r)=>{if(n==null||n.trim()==="")return!0;if(e==null)return!1;let s=b(n.toString()).toLocaleLowerCase(r),o=b(e.toString()).toLocaleLowerCase(r);return o.indexOf(s,o.length-s.length)!==-1},equals:(e,n,r)=>n==null||typeof n=="string"&&n.trim()===""?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()===n.getTime():e==n?!0:b(e.toString()).toLocaleLowerCase(r)==b(n.toString()).toLocaleLowerCase(r),notEquals:(e,n,r)=>n==null||typeof n=="string"&&n.trim()===""?!1:e==null?!0:e.getTime&&n.getTime?e.getTime()!==n.getTime():e==n?!1:b(e.toString()).toLocaleLowerCase(r)!=b(n.toString()).toLocaleLowerCase(r),in:(e,n)=>{if(n==null||n.length===0)return!0;for(let r=0;r<n.length;r++)if(vt(e,n[r]))return!0;return!1},between:(e,n)=>n==null||n[0]==null||n[1]==null?!0:e==null?!1:e.getTime?n[0].getTime()<=e.getTime()&&e.getTime()<=n[1].getTime():n[0]<=e&&e<=n[1],lt:(e,n,r)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()<n.getTime():e<n,lte:(e,n,r)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()<=n.getTime():e<=n,gt:(e,n,r)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()>n.getTime():e>n,gte:(e,n,r)=>n==null?!0:e==null?!1:e.getTime&&n.getTime?e.getTime()>=n.getTime():e>=n,is:(e,n,r)=>this.filters.equals(e,n,r),isNot:(e,n,r)=>this.filters.notEquals(e,n,r),before:(e,n,r)=>this.filters.lt(e,n,r),after:(e,n,r)=>this.filters.gt(e,n,r),dateIs:(e,n)=>n==null?!0:e==null?!1:e.toDateString()===n.toDateString(),dateIsNot:(e,n)=>n==null?!0:e==null?!1:e.toDateString()!==n.toDateString(),dateBefore:(e,n)=>n==null?!0:e==null?!1:e.getTime()<n.getTime(),dateAfter:(e,n)=>n==null?!0:e==null?!1:(e.setHours(0,0,0,0),e.getTime()>n.getTime())};register(e,n){this.filters[e]=n}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),un=(()=>{class t{messageSource=new D;clearSource=new D;messageObserver=this.messageSource.asObservable();clearObserver=this.clearSource.asObservable();add(e){e&&this.messageSource.next(e)}addAll(e){e&&e.length&&this.messageSource.next(e)}clear(e){this.clearSource.next(e||null)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac})}return t})(),dn=(()=>{class t{clickSource=new D;clickObservable=this.clickSource.asObservable();add(e){e&&this.clickSource.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var fn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=gt({type:t,selectors:[["p-header"]],standalone:!1,ngContentSelectors:ne,decls:1,vars:0,template:function(n,r){n&1&&(yt(),St(0))},encapsulation:2})}return t})(),hn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=gt({type:t,selectors:[["p-footer"]],standalone:!1,ngContentSelectors:ne,decls:1,vars:0,template:function(n,r){n&1&&(yt(),St(0))},encapsulation:2})}return t})(),mn=(()=>{class t{template;type;name;constructor(e){this.template=e}getType(){return this.name}static \u0275fac=function(n){return new(n||t)($t(Ht))};static \u0275dir=Ut({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:[0,"pTemplate","name"]}})}return t})(),gn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=Wt({type:t});static \u0275inj=Pt({imports:[Gt]})}return t})(),yn=(()=>{class t{static STARTS_WITH="startsWith";static CONTAINS="contains";static NOT_CONTAINS="notContains";static ENDS_WITH="endsWith";static EQUALS="equals";static NOT_EQUALS="notEquals";static NO_FILTER="noFilter";static LT="lt";static LTE="lte";static GT="gt";static GTE="gte";static IS="is";static IS_NOT="isNot";static BEFORE="before";static AFTER="after";static CLEAR="clear";static APPLY="apply";static MATCH_ALL="matchAll";static MATCH_ANY="matchAny";static ADD_RULE="addRule";static REMOVE_RULE="removeRule";static ACCEPT="accept";static REJECT="reject";static CHOOSE="choose";static UPLOAD="upload";static CANCEL="cancel";static PENDING="pending";static FILE_SIZE_TYPES="fileSizeTypes";static DAY_NAMES="dayNames";static DAY_NAMES_SHORT="dayNamesShort";static DAY_NAMES_MIN="dayNamesMin";static MONTH_NAMES="monthNames";static MONTH_NAMES_SHORT="monthNamesShort";static FIRST_DAY_OF_WEEK="firstDayOfWeek";static TODAY="today";static WEEK_HEADER="weekHeader";static WEAK="weak";static MEDIUM="medium";static STRONG="strong";static PASSWORD_PROMPT="passwordPrompt";static EMPTY_MESSAGE="emptyMessage";static EMPTY_FILTER_MESSAGE="emptyFilterMessage";static SHOW_FILTER_MENU="showFilterMenu";static HIDE_FILTER_MENU="hideFilterMenu";static SELECTION_MESSAGE="selectionMessage";static ARIA="aria";static SELECT_COLOR="selectColor";static BROWSE_FILES="browseFiles"}return t})(),Sn=(()=>{class t{dragStartSource=new D;dragStopSource=new D;dragStart$=this.dragStartSource.asObservable();dragStop$=this.dragStopSource.asObservable();startDrag(e){this.dragStartSource.next(e)}stopDrag(e){this.dragStopSource.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac})}return t})();var Ye=Object.defineProperty,ze=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,re=(t,i,e)=>i in t?Ye(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,w=(t,i)=>{for(var e in i||(i={}))oe.call(i,e)&&re(t,e,i[e]);if(mt)for(var e of mt(i))ae.call(i,e)&&re(t,e,i[e]);return t},At=(t,i)=>ze(t,qe(i)),P=(t,i)=>{var e={};for(var n in t)oe.call(t,n)&&i.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&mt)for(var n of mt(t))i.indexOf(n)<0&&ae.call(t,n)&&(e[n]=t[n]);return e};function bn(...t){return Y(...t)}var Ze=Zt(),N=Ze;function se(t,i){ft(t)?t.push(...i||[]):R(t)&&Object.assign(t,i)}function Qe(t){return R(t)&&t.hasOwnProperty("value")&&t.hasOwnProperty("type")?t.value:t}function Je(t){return t.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Rt(t="",i=""){return Je(`${M(t,!1)&&M(i,!1)?`${t}-`:t}${i}`)}function ce(t="",i=""){return`--${Rt(t,i)}`}function Xe(t=""){let i=(t.match(/{/g)||[]).length,e=(t.match(/}/g)||[]).length;return(i+e)%2!==0}function le(t,i="",e="",n=[],r){if(M(t)){let s=/{([^}]*)}/g,o=t.trim();if(Xe(o))return;if(_(o,s)){let c=o.replaceAll(s,p=>{let u=p.replace(/{|}/g,"").split(".").filter(f=>!n.some(m=>_(f,m)));return`var(${ce(e,ht(u.join("-")))}${h(r)?`, ${r}`:""})`}),l=/(\d+\s+[\+\-\*\/]\s+\d+)/g,a=/var\([^)]+\)/g;return _(c.replace(a,"0"),l)?`calc(${c})`:c}return o}else if(ie(t))return t}function ti(t,i,e){M(i,!1)&&t.push(`${i}:${e};`)}function U(t,i){return t?`${t}{${i}}`:""}var Ln=t=>{var i;let e=g.getTheme(),n=Lt(e,t,void 0,"variable"),r=(i=n?.match(/--[\w-]+/g))==null?void 0:i[0],s=Lt(e,t,void 0,"value");return{name:r,variable:n,value:s}},B=(...t)=>Lt(g.getTheme(),...t),Lt=(t={},i,e,n)=>{if(i){let{variable:r,options:s}=g.defaults||{},{prefix:o,transform:c}=t?.options||s||{},a=_(i,/{([^}]*)}/g)?i:`{${i}}`;return n==="value"||j(n)&&c==="strict"?g.getTokenValue(i):le(a,void 0,o,[r.excludedKeyRegex],e)}return""};function ei(t,i={}){let e=g.defaults.variable,{prefix:n=e.prefix,selector:r=e.selector,excludedKeyRegex:s=e.excludedKeyRegex}=i,o=(a,p="")=>Object.entries(a).reduce((d,[u,f])=>{let m=_(u,s)?Rt(p):Rt(p,ht(u)),y=Qe(f);if(R(y)){let{variables:E,tokens:T}=o(y,m);se(d.tokens,T),se(d.variables,E)}else d.tokens.push((n?m.replace(`${n}-`,""):m).replaceAll("-",".")),ti(d.variables,ce(m),le(y,m,n,[s]));return d},{variables:[],tokens:[]}),{variables:c,tokens:l}=o(t,n);return{value:c,tokens:l,declarations:c.join(""),css:U(r,c.join(""))}}var L={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(t){return{type:"class",selector:t,matched:this.pattern.test(t.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(t){return{type:"attr",selector:`:root${t}`,matched:this.pattern.test(t.trim())}}},media:{pattern:/^@media (.*)$/,resolve(t){return{type:"media",selector:`${t}{:root{[CSS]}}`,matched:this.pattern.test(t.trim())}}},system:{pattern:/^system$/,resolve(t){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(t.trim())}}},custom:{resolve(t){return{type:"custom",selector:t,matched:!0}}}},resolve(t){let i=Object.keys(this.rules).filter(e=>e!=="custom").map(e=>this.rules[e]);return[t].flat().map(e=>{var n;return(n=i.map(r=>r.resolve(e)).find(r=>r.matched))!=null?n:this.rules.custom.resolve(e)})}},_toVariables(t,i){return ei(t,{prefix:i?.prefix})},getCommon({name:t="",theme:i={},params:e,set:n,defaults:r}){var s,o,c,l,a,p,d;let{preset:u,options:f}=i,m,y,E,T,v,F,A;if(h(u)&&f.transform!=="strict"){let{primitive:z,semantic:q,extend:Z}=u,V=q||{},{colorScheme:Q}=V,J=P(V,["colorScheme"]),X=Z||{},{colorScheme:tt}=X,G=P(X,["colorScheme"]),K=Q||{},{dark:et}=K,it=P(K,["dark"]),nt=tt||{},{dark:rt}=nt,st=P(nt,["dark"]),ot=h(z)?this._toVariables({primitive:z},f):{},at=h(J)?this._toVariables({semantic:J},f):{},ct=h(it)?this._toVariables({light:it},f):{},wt=h(et)?this._toVariables({dark:et},f):{},Nt=h(G)?this._toVariables({semantic:G},f):{},It=h(st)?this._toVariables({light:st},f):{},xt=h(rt)?this._toVariables({dark:rt},f):{},[de,fe]=[(s=ot.declarations)!=null?s:"",ot.tokens],[he,me]=[(o=at.declarations)!=null?o:"",at.tokens||[]],[ge,ye]=[(c=ct.declarations)!=null?c:"",ct.tokens||[]],[Se,Ee]=[(l=wt.declarations)!=null?l:"",wt.tokens||[]],[_e,be]=[(a=Nt.declarations)!=null?a:"",Nt.tokens||[]],[Te,ve]=[(p=It.declarations)!=null?p:"",It.tokens||[]],[Oe,Ce]=[(d=xt.declarations)!=null?d:"",xt.tokens||[]];m=this.transformCSS(t,de,"light","variable",f,n,r),y=fe;let Ae=this.transformCSS(t,`${he}${ge}`,"light","variable",f,n,r),Re=this.transformCSS(t,`${Se}`,"dark","variable",f,n,r);E=`${Ae}${Re}`,T=[...new Set([...me,...ye,...Ee])];let Le=this.transformCSS(t,`${_e}${Te}color-scheme:light`,"light","variable",f,n,r),we=this.transformCSS(t,`${Oe}color-scheme:dark`,"dark","variable",f,n,r);v=`${Le}${we}`,F=[...new Set([...be,...ve,...Ce])],A=C(u.css,{dt:B})}return{primitive:{css:m,tokens:y},semantic:{css:E,tokens:T},global:{css:v,tokens:F},style:A}},getPreset({name:t="",preset:i={},options:e,params:n,set:r,defaults:s,selector:o}){var c,l,a;let p,d,u;if(h(i)&&e.transform!=="strict"){let f=t.replace("-directive",""),m=i,{colorScheme:y,extend:E,css:T}=m,v=P(m,["colorScheme","extend","css"]),F=E||{},{colorScheme:A}=F,z=P(F,["colorScheme"]),q=y||{},{dark:Z}=q,V=P(q,["dark"]),Q=A||{},{dark:J}=Q,X=P(Q,["dark"]),tt=h(v)?this._toVariables({[f]:w(w({},v),z)},e):{},G=h(V)?this._toVariables({[f]:w(w({},V),X)},e):{},K=h(Z)?this._toVariables({[f]:w(w({},Z),J)},e):{},[et,it]=[(c=tt.declarations)!=null?c:"",tt.tokens||[]],[nt,rt]=[(l=G.declarations)!=null?l:"",G.tokens||[]],[st,ot]=[(a=K.declarations)!=null?a:"",K.tokens||[]],at=this.transformCSS(f,`${et}${nt}`,"light","variable",e,r,s,o),ct=this.transformCSS(f,st,"dark","variable",e,r,s,o);p=`${at}${ct}`,d=[...new Set([...it,...rt,...ot])],u=C(T,{dt:B})}return{css:p,tokens:d,style:u}},getPresetC({name:t="",theme:i={},params:e,set:n,defaults:r}){var s;let{preset:o,options:c}=i,l=(s=o?.components)==null?void 0:s[t];return this.getPreset({name:t,preset:l,options:c,params:e,set:n,defaults:r})},getPresetD({name:t="",theme:i={},params:e,set:n,defaults:r}){var s;let o=t.replace("-directive",""),{preset:c,options:l}=i,a=(s=c?.directives)==null?void 0:s[o];return this.getPreset({name:o,preset:a,options:l,params:e,set:n,defaults:r})},applyDarkColorScheme(t){return!(t.darkModeSelector==="none"||t.darkModeSelector===!1)},getColorSchemeOption(t,i){var e;return this.applyDarkColorScheme(t)?this.regex.resolve(t.darkModeSelector===!0?i.options.darkModeSelector:(e=t.darkModeSelector)!=null?e:i.options.darkModeSelector):[]},getLayerOrder(t,i={},e,n){let{cssLayer:r}=i;return r?`@layer ${C(r.order||"primeui",e)}`:""},getCommonStyleSheet({name:t="",theme:i={},params:e,props:n={},set:r,defaults:s}){let o=this.getCommon({name:t,theme:i,params:e,set:r,defaults:s}),c=Object.entries(n).reduce((l,[a,p])=>l.push(`${a}="${p}"`)&&l,[]).join(" ");return Object.entries(o||{}).reduce((l,[a,p])=>{if(p?.css){let d=H(p?.css),u=`${a}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${u}" ${c}>${d}</style>`)}return l},[]).join("")},getStyleSheet({name:t="",theme:i={},params:e,props:n={},set:r,defaults:s}){var o;let c={name:t,theme:i,params:e,set:r,defaults:s},l=(o=t.includes("-directive")?this.getPresetD(c):this.getPresetC(c))==null?void 0:o.css,a=Object.entries(n).reduce((p,[d,u])=>p.push(`${d}="${u}"`)&&p,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${t}-variables" ${a}>${H(l)}</style>`:""},createTokens(t={},i,e="",n="",r={}){return Object.entries(t).forEach(([s,o])=>{let c=_(s,i.variable.excludedKeyRegex)?e:e?`${e}.${Ot(s)}`:Ot(s),l=n?`${n}.${s}`:s;R(o)?this.createTokens(o,i,c,l,r):(r[c]||(r[c]={paths:[],computed(a,p={}){var d,u;return this.paths.length===1?(d=this.paths[0])==null?void 0:d.computed(this.paths[0].scheme,p.binding):a&&a!=="none"?(u=this.paths.find(f=>f.scheme===a))==null?void 0:u.computed(a,p.binding):this.paths.map(f=>f.computed(f.scheme,p[f.scheme]))}}),r[c].paths.push({path:l,value:o,scheme:l.includes("colorScheme.light")?"light":l.includes("colorScheme.dark")?"dark":"none",computed(a,p={}){let d=/{([^}]*)}/g,u=o;if(p.name=this.path,p.binding||(p.binding={}),_(o,d)){let m=o.trim().replaceAll(d,T=>{var v;let F=T.replace(/{|}/g,""),A=(v=r[F])==null?void 0:v.computed(a,p);return ft(A)&&A.length===2?`light-dark(${A[0].value},${A[1].value})`:A?.value}),y=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,E=/var\([^)]+\)/g;u=_(m.replace(E,"0"),y)?`calc(${m})`:m}return j(p.binding)&&delete p.binding,{colorScheme:a,path:this.path,paths:p,value:u.includes("undefined")?void 0:u}}}))}),r},getTokenValue(t,i,e){var n;let s=(l=>l.split(".").filter(p=>!_(p.toLowerCase(),e.variable.excludedKeyRegex)).join("."))(i),o=i.includes("colorScheme.light")?"light":i.includes("colorScheme.dark")?"dark":void 0,c=[(n=t[s])==null?void 0:n.computed(o)].flat().filter(l=>l);return c.length===1?c[0].value:c.reduce((l={},a)=>{let p=a,{colorScheme:d}=p,u=P(p,["colorScheme"]);return l[d]=u,l},void 0)},getSelectorRule(t,i,e,n){return e==="class"||e==="attr"?U(h(i)?`${t}${i},${t} ${i}`:t,n):U(t,h(i)?U(i,n):n)},transformCSS(t,i,e,n,r={},s,o,c){if(h(i)){let{cssLayer:l}=r;if(n!=="style"){let a=this.getColorSchemeOption(r,o);i=e==="dark"?a.reduce((p,{type:d,selector:u})=>(h(u)&&(p+=u.includes("[CSS]")?u.replace("[CSS]",i):this.getSelectorRule(u,c,d,i)),p),""):U(c??":root",i)}if(l){let a={name:"primeui",order:"primeui"};R(l)&&(a.name=C(l.name,{name:t,type:n})),h(a.name)&&(i=U(`@layer ${a.name}`,i),s?.layerNames(a.name))}return i}return""}},g={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(t={}){let{theme:i}=t;i&&(this._theme=At(w({},i),{options:w(w({},this.defaults.options),i.options)}),this._tokens=L.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var t;return((t=this.theme)==null?void 0:t.preset)||{}},get options(){var t;return((t=this.theme)==null?void 0:t.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(t){this.update({theme:t}),N.emit("theme:change",t)},getPreset(){return this.preset},setPreset(t){this._theme=At(w({},this.theme),{preset:t}),this._tokens=L.createTokens(t,this.defaults),this.clearLoadedStyleNames(),N.emit("preset:change",t),N.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(t){this._theme=At(w({},this.theme),{options:t}),this.clearLoadedStyleNames(),N.emit("options:change",t),N.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(t){this._layerNames.add(t)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(t){return L.getTokenValue(this.tokens,t,this.defaults)},getCommon(t="",i){return L.getCommon({name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(t="",i){let e={name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return L.getPresetC(e)},getDirective(t="",i){let e={name:t,theme:this.theme,params:i,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return L.getPresetD(e)},getCustomPreset(t="",i,e,n){let r={name:t,preset:i,options:this.options,selector:e,params:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return L.getPreset(r)},getLayerOrderCSS(t=""){return L.getLayerOrder(t,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(t="",i,e="style",n){return L.transformCSS(t,i,n,e,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(t="",i,e={}){return L.getCommonStyleSheet({name:t,theme:this.theme,params:i,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(t,i,e={}){return L.getStyleSheet({name:t,theme:this.theme,params:i,props:e,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(t){this._loadingStyles.add(t)},onStyleUpdated(t){this._loadingStyles.add(t)},onStyleLoaded(t,{name:i}){this._loadingStyles.size&&(this._loadingStyles.delete(i),N.emit(`theme:${i}:load`,t),!this._loadingStyles.size&&N.emit("theme:load"))}};var ii=0,pe=(()=>{class t{document=x(lt);use(e,n={}){let r=!1,s=e,o=null,{immediate:c=!0,manual:l=!1,name:a=`style_${++ii}`,id:p=void 0,media:d=void 0,nonce:u=void 0,first:f=!1,props:m={}}=n;if(this.document){if(o=this.document.querySelector(`style[data-primeng-style-id="${a}"]`)||p&&this.document.getElementById(p)||this.document.createElement("style"),!o.isConnected){s=e,pt(o,{type:"text/css",media:d,nonce:u});let y=this.document.head;f&&y.firstChild?y.insertBefore(o,y.firstChild):y.appendChild(o),qt(o,"data-primeng-style-id",a)}return o.textContent!==s&&(o.textContent=s),{id:p,name:a,el:o,css:s}}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vn={_loadedStyleNames:new Set,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(t){return this._loadedStyleNames.has(t)},setLoadedStyleName(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames(){this._loadedStyleNames.clear()}},ni=({dt:t})=>`
|
|
8
|
-
*,
|
|
9
|
-
::before,
|
|
10
|
-
::after {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Non ng overlay animations */
|
|
15
|
-
.p-connected-overlay {
|
|
16
|
-
opacity: 0;
|
|
17
|
-
transform: scaleY(0.8);
|
|
18
|
-
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
|
|
19
|
-
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.p-connected-overlay-visible {
|
|
23
|
-
opacity: 1;
|
|
24
|
-
transform: scaleY(1);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.p-connected-overlay-hidden {
|
|
28
|
-
opacity: 0;
|
|
29
|
-
transform: scaleY(1);
|
|
30
|
-
transition: opacity 0.1s linear;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* NG based overlay animations */
|
|
34
|
-
.p-connected-overlay-enter-from {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
transform: scaleY(0.8);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.p-connected-overlay-leave-to {
|
|
40
|
-
opacity: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.p-connected-overlay-enter-active {
|
|
44
|
-
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
|
|
45
|
-
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.p-connected-overlay-leave-active {
|
|
49
|
-
transition: opacity 0.1s linear;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/* Toggleable Content */
|
|
53
|
-
.p-toggleable-content-enter-from,
|
|
54
|
-
.p-toggleable-content-leave-to {
|
|
55
|
-
max-height: 0;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.p-toggleable-content-enter-to,
|
|
59
|
-
.p-toggleable-content-leave-from {
|
|
60
|
-
max-height: 1000px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.p-toggleable-content-leave-active {
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.p-toggleable-content-enter-active {
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
transition: max-height 1s ease-in-out;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.p-disabled,
|
|
74
|
-
.p-disabled * {
|
|
75
|
-
cursor: default;
|
|
76
|
-
pointer-events: none;
|
|
77
|
-
user-select: none;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.p-disabled,
|
|
81
|
-
.p-component:disabled {
|
|
82
|
-
opacity: ${t("disabled.opacity")};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.pi {
|
|
86
|
-
font-size: ${t("icon.size")};
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.p-icon {
|
|
90
|
-
width: ${t("icon.size")};
|
|
91
|
-
height: ${t("icon.size")};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.p-unselectable-text {
|
|
95
|
-
user-select: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.p-overlay-mask {
|
|
99
|
-
background: ${t("mask.background")};
|
|
100
|
-
color: ${t("mask.color")};
|
|
101
|
-
position: fixed;
|
|
102
|
-
top: 0;
|
|
103
|
-
left: 0;
|
|
104
|
-
width: 100%;
|
|
105
|
-
height: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.p-overlay-mask-enter {
|
|
109
|
-
animation: p-overlay-mask-enter-animation ${t("mask.transition.duration")} forwards;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.p-overlay-mask-leave {
|
|
113
|
-
animation: p-overlay-mask-leave-animation ${t("mask.transition.duration")} forwards;
|
|
114
|
-
}
|
|
115
|
-
/* Temporarily disabled, distrupts PrimeNG overlay animations */
|
|
116
|
-
/* @keyframes p-overlay-mask-enter-animation {
|
|
117
|
-
from {
|
|
118
|
-
background: transparent;
|
|
119
|
-
}
|
|
120
|
-
to {
|
|
121
|
-
background: ${t("mask.background")};
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
@keyframes p-overlay-mask-leave-animation {
|
|
125
|
-
from {
|
|
126
|
-
background: ${t("mask.background")};
|
|
127
|
-
}
|
|
128
|
-
to {
|
|
129
|
-
background: transparent;
|
|
130
|
-
}
|
|
131
|
-
}*/
|
|
132
|
-
|
|
133
|
-
.p-iconwrapper {
|
|
134
|
-
display: inline-flex;
|
|
135
|
-
justify-content: center;
|
|
136
|
-
align-items: center;
|
|
137
|
-
}
|
|
138
|
-
`,ri=({dt:t})=>`
|
|
139
|
-
.p-hidden-accessible {
|
|
140
|
-
border: 0;
|
|
141
|
-
clip: rect(0 0 0 0);
|
|
142
|
-
height: 1px;
|
|
143
|
-
margin: -1px;
|
|
144
|
-
overflow: hidden;
|
|
145
|
-
padding: 0;
|
|
146
|
-
position: absolute;
|
|
147
|
-
width: 1px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.p-hidden-accessible input,
|
|
151
|
-
.p-hidden-accessible select {
|
|
152
|
-
transform: scale(0);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.p-overflow-hidden {
|
|
156
|
-
overflow: hidden;
|
|
157
|
-
padding-right: ${t("scrollbar.width")};
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/* @todo move to baseiconstyle.ts */
|
|
161
|
-
|
|
162
|
-
.p-icon {
|
|
163
|
-
display: inline-block;
|
|
164
|
-
vertical-align: baseline;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.p-icon-spin {
|
|
168
|
-
-webkit-animation: p-icon-spin 2s infinite linear;
|
|
169
|
-
animation: p-icon-spin 2s infinite linear;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
@-webkit-keyframes p-icon-spin {
|
|
173
|
-
0% {
|
|
174
|
-
-webkit-transform: rotate(0deg);
|
|
175
|
-
transform: rotate(0deg);
|
|
176
|
-
}
|
|
177
|
-
100% {
|
|
178
|
-
-webkit-transform: rotate(359deg);
|
|
179
|
-
transform: rotate(359deg);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
@keyframes p-icon-spin {
|
|
184
|
-
0% {
|
|
185
|
-
-webkit-transform: rotate(0deg);
|
|
186
|
-
transform: rotate(0deg);
|
|
187
|
-
}
|
|
188
|
-
100% {
|
|
189
|
-
-webkit-transform: rotate(359deg);
|
|
190
|
-
transform: rotate(359deg);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
`,ue=(()=>{class t{name="base";useStyle=x(pe);theme=void 0;css=void 0;classes={};inlineStyles={};load=(e,n={},r=s=>s)=>{let s=r(C(e,{dt:B}));return s?this.useStyle.use(H(s),I({name:this.name},n)):{}};loadCSS=(e={})=>this.load(this.css,e);loadTheme=(e={},n="")=>this.load(this.theme,e,(r="")=>g.transformCSS(e.name||this.name,`${r}${n}`));loadGlobalCSS=(e={})=>this.load(ri,e);loadGlobalTheme=(e={},n="")=>this.load(ni,e,(r="")=>g.transformCSS(e.name||this.name,`${r}${n}`));getCommonTheme=e=>g.getCommon(this.name,e);getComponentTheme=e=>g.getComponent(this.name,e);getDirectiveTheme=e=>g.getDirective(this.name,e);getPresetTheme=(e,n,r)=>g.getCustomPreset(this.name,e,n,r);getLayerOrderThemeCSS=()=>g.getLayerOrderCSS(this.name);getStyleSheet=(e="",n={})=>{if(this.css){let r=C(this.css,{dt:B}),s=H(`${r}${e}`),o=Object.entries(n).reduce((c,[l,a])=>c.push(`${l}="${a}"`)&&c,[]).join(" ");return`<style type="text/css" data-primeng-style-id="${this.name}" ${o}>${s}</style>`}return""};getCommonThemeStyleSheet=(e,n={})=>g.getCommonStyleSheet(this.name,e,n);getThemeStyleSheet=(e,n={})=>{let r=[g.getStyleSheet(this.name,e,n)];if(this.theme){let s=this.name==="base"?"global-style":`${this.name}-style`,o=C(this.theme,{dt:B}),c=H(g.transformCSS(s,o)),l=Object.entries(n).reduce((a,[p,d])=>a.push(`${p}="${d}"`)&&a,[]).join(" ");r.push(`<style type="text/css" data-primeng-style-id="${s}" ${l}>${c}</style>`)}return r.join("")};static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var si=(()=>{class t{theme=k(void 0);csp=k({nonce:void 0});isThemeChanged=!1;document=x(lt);baseStyle=x(ue);constructor(){Et(()=>{N.on("theme:change",e=>{Vt(()=>{this.isThemeChanged=!0,this.theme.set(e)})})}),Et(()=>{let e=this.theme();this.document&&e&&(this.isThemeChanged||this.onThemeChange(e),this.isThemeChanged=!1)})}ngOnDestroy(){g.clearLoadedStyleNames(),N.clear()}onThemeChange(e){g.setTheme(e),this.document&&this.loadCommonTheme()}loadCommonTheme(){if(this.theme()!=="none"&&!g.isStyleNameLoaded("common")){let{primitive:e,semantic:n,global:r,style:s}=this.baseStyle.getCommonTheme?.()||{},o={nonce:this.csp?.()?.nonce};this.baseStyle.load(e?.css,I({name:"primitive-variables"},o)),this.baseStyle.load(n?.css,I({name:"semantic-variables"},o)),this.baseStyle.load(r?.css,I({name:"global-variables"},o)),this.baseStyle.loadGlobalTheme(I({name:"global-style"},o),s),g.setLoadedStyleName("common")}}setThemeConfig(e){let{theme:n,csp:r}=e||{};n&&this.theme.set(n),r&&this.csp.set(r)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),oi=(()=>{class t extends si{ripple=k(!1);platformId=x(kt);inputStyle=k(null);inputVariant=k(null);overlayOptions={};csp=k({nonce:void 0});filterMatchModeOptions={text:[S.STARTS_WITH,S.CONTAINS,S.NOT_CONTAINS,S.ENDS_WITH,S.EQUALS,S.NOT_EQUALS],numeric:[S.EQUALS,S.NOT_EQUALS,S.LESS_THAN,S.LESS_THAN_OR_EQUAL_TO,S.GREATER_THAN,S.GREATER_THAN_OR_EQUAL_TO],date:[S.DATE_IS,S.DATE_IS_NOT,S.DATE_BEFORE,S.DATE_AFTER]};translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",searchMessage:"Search results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyFilterMessage:"No results found",fileChosenMessage:"Files",noFileChosenMessage:"No file chosen",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",previousPageLabel:"Previous Page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List",selectColor:"Select a color",removeLabel:"Remove",browseFiles:"Browse Files",maximizeLabel:"Maximize"}};zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100};translationSource=new D;translationObserver=this.translationSource.asObservable();getTranslation(e){return this.translation[e]}setTranslation(e){this.translation=I(I({},this.translation),e),this.translationSource.next(this.translation)}setConfig(e){let{csp:n,ripple:r,inputStyle:s,inputVariant:o,theme:c,overlayOptions:l,translation:a,filterMatchModeOptions:p}=e||{};n&&this.csp.set(n),r&&this.ripple.set(r),s&&this.inputStyle.set(s),o&&this.inputVariant.set(o),l&&(this.overlayOptions=l),a&&this.setTranslation(a),p&&(this.filterMatchModeOptions=p),c&&this.setThemeConfig({theme:c,csp:n})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ft(t)))(r||t)}})();static \u0275prov=O({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ai=new Dt("PRIME_NG_CONFIG");function Xn(...t){let i=t?.map(n=>({provide:ai,useValue:n,multi:!1})),e=Bt(()=>{let n=x(oi);t?.forEach(r=>n.setConfig(r))});return Mt([...i,e])}export{Ne as a,Ie as b,ci as c,Pe as d,li as e,jt as f,De as g,Me as h,pi as i,Fe as j,ui as k,di as l,fi as m,hi as n,mi as o,gi as p,ke as q,yi as r,Si as s,Ei as t,Yt as u,_i as v,bi as w,Ti as x,vi as y,Oi as z,Ci as A,Ai as B,He as C,Ri as D,Li as E,wi as F,Ni as G,We as H,Ii as I,xi as J,Pi as K,Di as L,Mi as M,Fi as N,ki as O,qt as P,j as Q,Ke as R,te as S,h as T,dt as U,vt as V,Gi as W,Ki as X,C as Y,ee as Z,ft as _,ji as $,Yi as aa,b as ba,$i as ca,S as da,ln as ea,pn as fa,un as ga,dn as ha,fn as ia,hn as ja,mn as ka,gn as la,yn as ma,Sn as na,bn as oa,N as pa,Ln as qa,g as ra,Vn as sa,ue as ta,oi as ua,Xn as va};
|
package/chunk-BJNN42CI.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-2US5D2LY.js";import{g as b}from"./chunk-ZB6TB7JI.js";import"./chunk-7KQDKLO4.js";import"./chunk-H4V6YZX2.js";import{D as h}from"./chunk-WAJWW3TC.js";import"./chunk-U6SRN7P3.js";import"./chunk-TPGKCMVN.js";import"./chunk-BCXNVGDH.js";import{a as v}from"./chunk-U5LD55IP.js";import"./chunk-F2X3VGZZ.js";import"./chunk-TYETQJ2X.js";import{t as x}from"./chunk-353U23ZQ.js";import{$b as _,Bb as C,Mc as f,Vb as i,Wb as o,ec as l,fc as u,ha as c,pa as s,qa as m,qc as a,vb as g,yc as d}from"./chunk-ARSLNNKY.js";import"./chunk-YQFG5XE2.js";function S(t,M){if(t&1){let e=_();i(0,"div",3)(1,"button",4),l("click",function(){s(e);let r=u();return m(r.onFormatCOAConfig())}),a(2," Format "),o(),i(3,"button",5),l("click",function(){s(e);let r=u();return m(r.onMigrateCoaConfig())}),a(4," Migrate "),o()()}}function T(t,M){t&1&&(i(0,"div",6),a(1," reserved for future User Interface (UI) enhancements "),o())}var j=(()=>{class t{constructor(){this.migrateService=c(p),this.toastr=c(v)}onMigrateCoaConfig(){this.migrateService.migrateCoaConfig().subscribe(e=>{this.toastr.success(e.message,"Migration Successful")})}onFormatCOAConfig(){this.migrateService.formatManualCOAConfig().subscribe(e=>{this.toastr.success(e.message,"Format Successful")})}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-coa-configuration"]],features:[d([p])],decls:5,vars:0,consts:[["actionButton",""],["content",""],["pageTitle","Chart Of Accounts Configuration"],[1,"d-flex","gap-2"],[1,"btn","btn-danger",3,"click"],[1,"btn","btn-success",3,"click"],[1,"container","d-flex","justify-content-center","align-items-center",2,"height","100vh"]],template:function(n,r){n&1&&(i(0,"app-main-panel",2),C(1,S,5,0,"ng-template",null,0,f)(3,T,2,0,"ng-template",null,1,f),o())},dependencies:[b,x,h],encapsulation:2})}}return t})();export{j as CoaConfigurationComponent};
|