@zeniai/web-app-ui 5.1.56-dev → 5.1.56-qa

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.
Files changed (62) hide show
  1. package/dist/assets/{AddressRoutes-DOG6BtAE.js → AddressRoutes-DsuoPslx.js} +1 -1
  2. package/dist/assets/{AddressScreen-w3BS5T__.js → AddressScreen-Jgfq0eWZ.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-C4K6FzbI.js → AiCfoScreen-ngmwmSfT.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-D2l3MfyU.js → BillPayApprovalRoutes-DjjjDtRL.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-puCF7hIb.js → BillPayRoutes-zXfejo42.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-BCOKpvnp.js → BusinessVerificationPageScreen-BiV9G1-i.js} +1 -1
  7. package/dist/assets/{CardsAiCfoScreen-DkQHJJyD.js → CardsAiCfoScreen-Z2PndTe3.js} +1 -1
  8. package/dist/assets/{ChargeCardRoutes-Ch4Au-Rk.js → ChargeCardRoutes-CBFlKgnf.js} +1 -1
  9. package/dist/assets/{CompanyPassportScreen-CLNMvqEv.js → CompanyPassportScreen-CE4f1mRO.js} +1 -1
  10. package/dist/assets/{ConnectionAuthScreen-yTkCaoK1.js → ConnectionAuthScreen-BFW2NVDD.js} +1 -1
  11. package/dist/assets/{CustomerOnboardingAuthScreen-DSnDsx1L.js → CustomerOnboardingAuthScreen-DZoaiMvV.js} +1 -1
  12. package/dist/assets/{CustomerOnboardingRoutes-_QxL9WL8.js → CustomerOnboardingRoutes-Doltk1XW.js} +1 -1
  13. package/dist/assets/{DashboardRoutes-BKcrEPsw.js → DashboardRoutes-YclW7oS0.js} +1 -1
  14. package/dist/assets/{DefaultTenantHome-DWIyuza_.js → DefaultTenantHome-cEuyRwZp.js} +1 -1
  15. package/dist/assets/{DomesticWireDetailScreen-CG8HU9uQ.js → DomesticWireDetailScreen-3X6dnm4U.js} +1 -1
  16. package/dist/assets/{DrawerScreen-BkOQSI_V.js → DrawerScreen-DcUdH_zJ.js} +1 -1
  17. package/dist/assets/{EntityDetailRoutes-QX_SVg1Y.js → EntityDetailRoutes-D020FlPl.js} +1 -1
  18. package/dist/assets/{ExpenseAutomationRoutes-BoyNxPcQ.js → ExpenseAutomationRoutes-CTZlVWwO.js} +1 -1
  19. package/dist/assets/{FeaturePreviewScreen-DVS7yzIQ.js → FeaturePreviewScreen-DgqstYkZ.js} +1 -1
  20. package/dist/assets/{HubSpotOAuthCallbackScreen-Dsb1nJdq.js → HubSpotOAuthCallbackScreen-DlnwVV1p.js} +1 -1
  21. package/dist/assets/{MagicLinkRoutes-C4TLmrqp.js → MagicLinkRoutes-C901TSTh.js} +1 -1
  22. package/dist/assets/{MagicLinkSignInScreen-Cp5Vo4Py.js → MagicLinkSignInScreen-DFljjGc3.js} +1 -1
  23. package/dist/assets/{MobileAppDrawer-BzjU__HS.js → MobileAppDrawer-B4f1me8_.js} +1 -1
  24. package/dist/assets/{NotFoundScreen-uCKl6Wx4.js → NotFoundScreen-CxRYls3k.js} +1 -1
  25. package/dist/assets/{NotificationRoutes-CC398QC1.js → NotificationRoutes-Dw__n9YA.js} +1 -1
  26. package/dist/assets/{OAuthConsentScreen-DNPJKfDX.js → OAuthConsentScreen-Ur-mQS8z.js} +1 -1
  27. package/dist/assets/{PandLWithForecastRoutes-C3ftWleu.js → PandLWithForecastRoutes-DSq1hcWm.js} +1 -1
  28. package/dist/assets/{PeopleRoutes-DAFt_Bcx.js → PeopleRoutes-CUtLjfXT.js} +1 -1
  29. package/dist/assets/{PerformanceRoutes-DbR-tZSr.js → PerformanceRoutes-D4zDazyB.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-BEi0Zm8x.js → QBOConnectionScreen-CSgGZuyl.js} +1 -1
  31. package/dist/assets/{ReferralListScreen-DUY0_-v6.js → ReferralListScreen-CbCeYBu8.js} +1 -1
  32. package/dist/assets/{ReimbursementApprovalRoutes-Chh2ITQV.js → ReimbursementApprovalRoutes-CQrzmhSh.js} +1 -1
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CoaTNR2u.js → ReimbursementApprovalRuleDetailScreen-DTZkQzQY.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-COtGoxgk.js → ReimbursementRoutes-CzlU6LYx.js} +1 -1
  35. package/dist/assets/{ReportsRoutes-BcPE2nyn.js → ReportsRoutes-D_wjWb18.js} +1 -1
  36. package/dist/assets/{RewardsRoutes-Dok3xTzo.js → RewardsRoutes-Bfg59urI.js} +1 -1
  37. package/dist/assets/{ScreenRoutes-C6QOgyjY.js → ScreenRoutes-D5k4uqAt.js} +2 -2
  38. package/dist/assets/{SettingsRoutes-NVzDxtS7.js → SettingsRoutes-3hV9qN1I.js} +1 -1
  39. package/dist/assets/{SetupPagesScreen-Df4FCfYh.js → SetupPagesScreen-CPey4cOW.js} +1 -1
  40. package/dist/assets/{SignInScreen-DroHIon2.js → SignInScreen-gQzAHzdj.js} +1 -1
  41. package/dist/assets/{SignOutScreen-DoPJci6D.js → SignOutScreen-GvUCBNk6.js} +1 -1
  42. package/dist/assets/{TaskListScreen-NFjvdEWw.js → TaskListScreen-Cuce7GNl.js} +1 -1
  43. package/dist/assets/{TaskRoutes-8aOjIEkV.js → TaskRoutes-DmGo1lNA.js} +1 -1
  44. package/dist/assets/{TransactionDetailRoutes-D3MSXmNL.js → TransactionDetailRoutes-CgKCf_lf.js} +1 -1
  45. package/dist/assets/{TransactionDetailScreen-CSArdLSZ.js → TransactionDetailScreen-CoGsdLTa.js} +1 -1
  46. package/dist/assets/{TransactionListRoutes-UucRW17G.js → TransactionListRoutes-C4QYqCpP.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-DwgadYGN.js → TreasuryRoutes-jiXgJCAb.js} +1 -1
  48. package/dist/assets/{VendorsRoutes-Im4S2wjo.js → VendorsRoutes-BZFmR2hI.js} +1 -1
  49. package/dist/assets/{WiseConfirmationScreen-C6UoDkmK.js → WiseConfirmationScreen-BLK_tJR5.js} +1 -1
  50. package/dist/assets/{ZeniAccountRoutes-Dczw62ti.js → ZeniAccountRoutes-DVnj5-p6.js} +1 -1
  51. package/dist/assets/{ZeniAccountStatementScreen-prmZg4t5.js → ZeniAccountStatementScreen-3bZVHWI7.js} +1 -1
  52. package/dist/assets/{analyticsHelper-B_k9Kjrd.js → analyticsHelper-BU5wlVa9.js} +1 -1
  53. package/dist/assets/{getLocaleForTenant-CDmBpg_y.js → getLocaleForTenant-Bn16hOPH.js} +1 -1
  54. package/dist/assets/{index-DLAYU8mN.js → index-NcZU0lXl.js} +5 -5
  55. package/dist/assets/{routePaths-CLQbotzs.js → routePaths-DZldr9mG.js} +1 -1
  56. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-Dtkjagus.js → useAiCfoDashboardSuggestedQuestionsChips-DEWGXdch.js} +1 -1
  57. package/dist/assets/{useAskAiCfoHostNavButtonProps-Cw5yceVN.js → useAskAiCfoHostNavButtonProps-DS5Fxq3U.js} +1 -1
  58. package/dist/assets/{useCashManagementBanner-COC9VygZ.js → useCashManagementBanner-CtcuIjhq.js} +1 -1
  59. package/dist/assets/{useInitialThreadRequest-CgLG7-4I.js → useInitialThreadRequest-Bh1NrHII.js} +1 -1
  60. package/dist/assets/{withTransactionSidePanel-Dtr8LlVa.js → withTransactionSidePanel-DxHfrYsZ.js} +1 -1
  61. package/dist/index.html +1 -1
  62. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import{j as l}from"./liveblocks-BUQfB0Zp.js";import{a as g}from"./sentry-BLIwU6uZ.js";import{h as J,g as Y,i as O,j as S,n as G,u as z,o as at,p as N,N as $}from"./core-OMb8nkC1.js";import{eV as L,MA as Ee,MB as Me,gt as X,cv as we,cw as Ie,wM as St,MC as nt,wQ as zt,KH as ee,kq as te,wK as Yt,wE as qt,MD as Re,ww as Ht,wv as Wt,wp as Qt,wB as Zt,wR as Xt,ME as he,MF as Ue,wx as ea,MG as pe,fF as ft,x4 as gt,wZ as vt,MH as xt,pB as Tt,wU as yt,wS as Dt,MI as Ct,xb as Et,x8 as wt,wV as It,xa as Je,J6 as bt,MJ as ta,MK as aa,cy as na,ML as sa,MM as oa,MN as me,MO as ie,MP as be,KI as Ge,xq as ye,KG as De,xd as kt,wN as $e,MQ as la,KJ as H,MR as Ke,wH as ia,MS as ca,MT as da,MU as ze,MV as Ye,MW as qe,MX as He,xk as ke,MY as At,x1 as jt,MZ as ra,M_ as ua,M$ as ha,N0 as pa,N1 as ma,N2 as Sa,N3 as fa,N4 as ga,u8 as va,u9 as xa,JO as je,N5 as Ta,N6 as ya,jP as Fe,bo as Da,N7 as Ca,N8 as Ea,lo as wa,lx as Ia,JN as Pe,bE as st,N9 as Ft,Jo as Pt,Na as ba,Nb as ka,Nc as Aa,lz as ja,Nd as ot,Ne as lt,Nf as it,Ng as ct,Nh as Fa,lv as Pa,Ni as _a,ly as Va,Nj as La,Nk as _t,K7 as Vt,kO as Na,Nl as Ba,Nm as _e,Nn as Lt,K5 as Nt,zI as Oa,No as Ma,Np as Ra,l6 as Bt,Nq as Ua,Nr as Ja,Kj as Ga,rR as $a,Ns as Ot,Nt as dt,Kg as Ve,Nu as rt,Nv as Ka,Kl as za,Nw as Ya,Nx as qa,Ny as Ha,Nz as Wa,NA as Qa,rU as Za,NB as Xa,KK as en,NC as tn,J_ as Le,hA as an,ND as nn,NE as sn,hy as on,NF as ln,NG as cn,zM as dn,NH as rn,NI as un,NJ as hn,NK as pn,kS as mn,bn as Sn,fA as fn,fy as gn}from"./zeni-epic-state-BZ6N8nVI.js";import{z as M,aq as Ne,B as Mt,E as Q,d as j,a2 as Z,aw as vn,s as U,D as Ce,Z as ce,ax as We,ay as xn,az as Tn,q as Qe,aA as yn,m as Dn,J as de,A as Ze,a as ae,F as K,aB as Cn,k as Xe,_ as Se,aC as En,aD as Rt,W as wn,aE as In,j as bn,aF as kn,at as Ut,aG as An,o as W,S as jn,H as Jt,N as Fn,aH as Pn,aI as _n,f as et,aJ as Vn,aK as Ln,x as Nn,aL as Bn,aM as On}from"./index-DLAYU8mN.js";import{n as R,D as Mn,S as Gt}from"./mui-JZY-3hhJ.js";import{t as Rn,A as Un}from"./AddressScreen-w3BS5T__.js";import le from"./NotFoundScreen-uCKl6Wx4.js";import{F as Jn}from"./FeaturePreviewScreen-DVS7yzIQ.js";import{c as q,v as tt,d as Gn}from"./routePaths-CLQbotzs.js";import{p as $t}from"./pathToGoBack-iJW8VSI1.js";import{u as fe}from"./useAskAiCfoHostNavButtonProps-Cw5yceVN.js";import{M as ge}from"./MobileAppDrawer-BzjU__HS.js";import{D as $n}from"./DrawerScreen-BkOQSI_V.js";import{g as Kn,m as zn}from"./accountMappingHelper-DS9ya8eF.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="86773351-87ee-4d26-87c6-293b3e1086fc",e._sentryDebugIdIdentifier="sentry-dbid-86773351-87ee-4d26-87c6-293b3e1086fc")}catch{}})();const Yn=Ce.getLocalizedStrings(),qn=G(function(e,a){const s=Me(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(nt({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(nt({selectedTransaction:void 0})),e(zt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=U(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(St(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(vn),Hn=({setShouldNavigateBack:e})=>{const a=J(),s=Y(),{scheduleDetailId:t,tenantEmailDomain:n}=O(),{scheduleType:o}=O();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=Ee(o)??"accrued_expenses",h=M.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Me(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Ne(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Mt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(Q,{analytics:j,onLoad:()=>{Wn(i,r,d)}}):null,l.jsx(qn,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:j,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Kt=e=>{const a=Yn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Wn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=we(s.controllers),i=Ie(s.controllerUserIds);t!=null&&j.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Kt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Qn=R.div`
1
+ import{j as l}from"./liveblocks-BUQfB0Zp.js";import{a as g}from"./sentry-BLIwU6uZ.js";import{h as J,g as Y,i as O,j as S,n as G,u as z,o as at,p as N,N as $}from"./core-OMb8nkC1.js";import{eV as L,MA as Ee,MB as Me,gt as X,cv as we,cw as Ie,wM as St,MC as nt,wQ as zt,KH as ee,kq as te,wK as Yt,wE as qt,MD as Re,ww as Ht,wv as Wt,wp as Qt,wB as Zt,wR as Xt,ME as he,MF as Ue,wx as ea,MG as pe,fF as ft,x4 as gt,wZ as vt,MH as xt,pB as Tt,wU as yt,wS as Dt,MI as Ct,xb as Et,x8 as wt,wV as It,xa as Je,J6 as bt,MJ as ta,MK as aa,cy as na,ML as sa,MM as oa,MN as me,MO as ie,MP as be,KI as Ge,xq as ye,KG as De,xd as kt,wN as $e,MQ as la,KJ as H,MR as Ke,wH as ia,MS as ca,MT as da,MU as ze,MV as Ye,MW as qe,MX as He,xk as ke,MY as At,x1 as jt,MZ as ra,M_ as ua,M$ as ha,N0 as pa,N1 as ma,N2 as Sa,N3 as fa,N4 as ga,u8 as va,u9 as xa,JO as je,N5 as Ta,N6 as ya,jP as Fe,bo as Da,N7 as Ca,N8 as Ea,lo as wa,lx as Ia,JN as Pe,bE as st,N9 as Ft,Jo as Pt,Na as ba,Nb as ka,Nc as Aa,lz as ja,Nd as ot,Ne as lt,Nf as it,Ng as ct,Nh as Fa,lv as Pa,Ni as _a,ly as Va,Nj as La,Nk as _t,K7 as Vt,kO as Na,Nl as Ba,Nm as _e,Nn as Lt,K5 as Nt,zI as Oa,No as Ma,Np as Ra,l6 as Bt,Nq as Ua,Nr as Ja,Kj as Ga,rR as $a,Ns as Ot,Nt as dt,Kg as Ve,Nu as rt,Nv as Ka,Kl as za,Nw as Ya,Nx as qa,Ny as Ha,Nz as Wa,NA as Qa,rU as Za,NB as Xa,KK as en,NC as tn,J_ as Le,hA as an,ND as nn,NE as sn,hy as on,NF as ln,NG as cn,zM as dn,NH as rn,NI as un,NJ as hn,NK as pn,kS as mn,bn as Sn,fA as fn,fy as gn}from"./zeni-epic-state-BZ6N8nVI.js";import{z as M,aq as Ne,B as Mt,E as Q,d as j,a2 as Z,aw as vn,s as U,D as Ce,Z as ce,ax as We,ay as xn,az as Tn,q as Qe,aA as yn,m as Dn,J as de,A as Ze,a as ae,F as K,aB as Cn,k as Xe,_ as Se,aC as En,aD as Rt,W as wn,aE as In,j as bn,aF as kn,at as Ut,aG as An,o as W,S as jn,H as Jt,N as Fn,aH as Pn,aI as _n,f as et,aJ as Vn,aK as Ln,x as Nn,aL as Bn,aM as On}from"./index-NcZU0lXl.js";import{n as R,D as Mn,S as Gt}from"./mui-JZY-3hhJ.js";import{t as Rn,A as Un}from"./AddressScreen-Jgfq0eWZ.js";import le from"./NotFoundScreen-CxRYls3k.js";import{F as Jn}from"./FeaturePreviewScreen-DgqstYkZ.js";import{c as q,v as tt,d as Gn}from"./routePaths-DZldr9mG.js";import{p as $t}from"./pathToGoBack-iJW8VSI1.js";import{u as fe}from"./useAskAiCfoHostNavButtonProps-DS5Fxq3U.js";import{M as ge}from"./MobileAppDrawer-B4f1me8_.js";import{D as $n}from"./DrawerScreen-DcUdH_zJ.js";import{g as Kn,m as zn}from"./accountMappingHelper-DS9ya8eF.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="86773351-87ee-4d26-87c6-293b3e1086fc",e._sentryDebugIdIdentifier="sentry-dbid-86773351-87ee-4d26-87c6-293b3e1086fc")}catch{}})();const Yn=Ce.getLocalizedStrings(),qn=G(function(e,a){const s=Me(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(nt({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(nt({selectedTransaction:void 0})),e(zt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=U(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(St(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(vn),Hn=({setShouldNavigateBack:e})=>{const a=J(),s=Y(),{scheduleDetailId:t,tenantEmailDomain:n}=O(),{scheduleType:o}=O();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=Ee(o)??"accrued_expenses",h=M.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Me(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Ne(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Mt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(Q,{analytics:j,onLoad:()=>{Wn(i,r,d)}}):null,l.jsx(qn,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:j,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Kt=e=>{const a=Yn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Wn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=we(s.controllers),i=Ie(s.controllerUserIds);t!=null&&j.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Kt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Qn=R.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as o}from"./liveblocks-BUQfB0Zp.js";import{a as f}from"./sentry-BLIwU6uZ.js";import{t as u,u as h,j as y,N as b}from"./core-OMb8nkC1.js";import{LS as I,fw as w,B1 as j}from"./zeni-epic-state-BZ6N8nVI.js";import{z as l,B as x,H as S,N as D}from"./index-DLAYU8mN.js";import{n as p}from"./mui-JZY-3hhJ.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6ae81a5d-6183-4111-bf37-724e6b29106d",e._sentryDebugIdIdentifier="sentry-dbid-6ae81a5d-6183-4111-bf37-724e6b29106d")}catch{}})();const A=()=>{const[e]=u(),t=e.get("code")??"",s=e.get("state")??"",g=e.get("profileId")??"",[n,m]=f.useState(!1),a=h(),i=y(c=>I(c)),r=l.getSignedInUser(),d=l.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(b,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return w(r.userId,r.zeniSessionId,d?.tenantId),f.useEffect(()=>{n||(m(!0),a(j(t,g,s)))},[n,a]),i.fetchState==="Error"?o.jsx(E,{children:o.jsx(_,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(x,{fetchState:"In-Progress"}))},E=p.div`
1
+ import{j as o}from"./liveblocks-BUQfB0Zp.js";import{a as f}from"./sentry-BLIwU6uZ.js";import{t as u,u as h,j as y,N as b}from"./core-OMb8nkC1.js";import{LS as I,fw as w,B1 as j}from"./zeni-epic-state-BZ6N8nVI.js";import{z as l,B as x,H as S,N as D}from"./index-NcZU0lXl.js";import{n as p}from"./mui-JZY-3hhJ.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6ae81a5d-6183-4111-bf37-724e6b29106d",e._sentryDebugIdIdentifier="sentry-dbid-6ae81a5d-6183-4111-bf37-724e6b29106d")}catch{}})();const A=()=>{const[e]=u(),t=e.get("code")??"",s=e.get("state")??"",g=e.get("profileId")??"",[n,m]=f.useState(!1),a=h(),i=y(c=>I(c)),r=l.getSignedInUser(),d=l.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(b,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return w(r.userId,r.zeniSessionId,d?.tenantId),f.useEffect(()=>{n||(m(!0),a(j(t,g,s)))},[n,a]),i.fetchState==="Error"?o.jsx(E,{children:o.jsx(_,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(x,{fetchState:"In-Progress"}))},E=p.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./liveblocks-BUQfB0Zp.js";import{u as _,h as N,i as Q,j as D,N as Y,n as W,g as K,o as Ve,p as h}from"./core-OMb8nkC1.js";import{QL as Ge,QM as Un,B6 as Mn,QN as zn,QO as $n,bH as Vn,QP as Ze,Da as He,QQ as Ne,eV as M,y9 as Qe,fS as we,co as se,cp as We,y3 as Gn,QR as Zn,QS as Hn,y6 as Nn,yd as ye,y0 as Qn,xZ as Wn,QT as qe,Bc as qn,Px as ue,QU as Yn,GH as Jn,MD as Kn,GJ as Xn,l7 as Re,QV as ea,rw as Ye,rk as Je,k_ as Ke,l1 as Be,ME as Oe,MF as na,QW as aa,l0 as ta,ln as sa,kR as oa,jo as ra,jn as ia,QX as ca,QY as xe,Go as la,QZ as da,Q_ as ua,Pq as Ae,Q$ as Le,R0 as pa,GU as ma,Q9 as ha,E6 as Xe,tY as en,R1 as fa,GR as ga,R2 as nn,cQ as De,Bd as an,fT as ya,fy as tn,fA as ke,GW as xa,E0 as Ca,GO as wa,R3 as sn,R4 as on,Gq as rn,GA as _e,R5 as Aa,PZ as Da,GY as ka,bs as Sa,bJ as Ia,cA as ba,bK as ja,bt as Ea,Lz as va}from"./zeni-epic-state-BZ6N8nVI.js";import{J as z,c1 as Pa,j as oe,a as H,F as P,z as I,a2 as Se,c2 as Ta,m as $,B as pe,c3 as Fa,A as X,q as cn,aq as Ra,af as Ue,d as L,c4 as Ba,at as Ie,c5 as Oa,E as me,c6 as La,f as be,aN as J,c7 as _a,W as Ua,_ as ln,ac as Ma,c8 as Me,c9 as za,s as de,ca as $a,cb as Va,cc as Ga,a9 as Za,o as Ha}from"./index-DLAYU8mN.js";import{n as R,D as ee,S as ne}from"./mui-JZY-3hhJ.js";import{a as p}from"./sentry-BLIwU6uZ.js";import{u as dn}from"./useCashManagementBanner-COC9VygZ.js";import Z from"./NotFoundScreen-uCKl6Wx4.js";import{S as ze}from"./SetupPagesScreen-Df4FCfYh.js";import{F as un}from"./FeaturePreviewScreen-DVS7yzIQ.js";import{M as he}from"./MobileAppDrawer-BzjU__HS.js";import{A as Na,D as Qa,V as Wa}from"./DomesticWireDetailScreen-CG8HU9uQ.js";import{A as qa}from"./AddressScreen-w3BS5T__.js";import{u as pn}from"./useAskAiCfoHostNavButtonProps-Cw5yceVN.js";import{Z as Ya}from"./ZeniAccountStatementScreen-prmZg4t5.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";import"./analyticsHelper-B_k9Kjrd.js";import"./routePaths-CLQbotzs.js";import"./BusinessVerificationPageScreen-BCOKpvnp.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new n.Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="46a1c813-0126-4636-9688-e852eaebfa09",n._sentryDebugIdIdentifier="sentry-dbid-46a1c813-0126-4636-9688-e852eaebfa09")}catch{}})();const Ja=R.div`
1
+ import{j as e}from"./liveblocks-BUQfB0Zp.js";import{u as _,h as N,i as Q,j as D,N as Y,n as W,g as K,o as Ve,p as h}from"./core-OMb8nkC1.js";import{QL as Ge,QM as Un,B6 as Mn,QN as zn,QO as $n,bH as Vn,QP as Ze,Da as He,QQ as Ne,eV as M,y9 as Qe,fS as we,co as se,cp as We,y3 as Gn,QR as Zn,QS as Hn,y6 as Nn,yd as ye,y0 as Qn,xZ as Wn,QT as qe,Bc as qn,Px as ue,QU as Yn,GH as Jn,MD as Kn,GJ as Xn,l7 as Re,QV as ea,rw as Ye,rk as Je,k_ as Ke,l1 as Be,ME as Oe,MF as na,QW as aa,l0 as ta,ln as sa,kR as oa,jo as ra,jn as ia,QX as ca,QY as xe,Go as la,QZ as da,Q_ as ua,Pq as Ae,Q$ as Le,R0 as pa,GU as ma,Q9 as ha,E6 as Xe,tY as en,R1 as fa,GR as ga,R2 as nn,cQ as De,Bd as an,fT as ya,fy as tn,fA as ke,GW as xa,E0 as Ca,GO as wa,R3 as sn,R4 as on,Gq as rn,GA as _e,R5 as Aa,PZ as Da,GY as ka,bs as Sa,bJ as Ia,cA as ba,bK as ja,bt as Ea,Lz as va}from"./zeni-epic-state-BZ6N8nVI.js";import{J as z,c1 as Pa,j as oe,a as H,F as P,z as I,a2 as Se,c2 as Ta,m as $,B as pe,c3 as Fa,A as X,q as cn,aq as Ra,af as Ue,d as L,c4 as Ba,at as Ie,c5 as Oa,E as me,c6 as La,f as be,aN as J,c7 as _a,W as Ua,_ as ln,ac as Ma,c8 as Me,c9 as za,s as de,ca as $a,cb as Va,cc as Ga,a9 as Za,o as Ha}from"./index-NcZU0lXl.js";import{n as R,D as ee,S as ne}from"./mui-JZY-3hhJ.js";import{a as p}from"./sentry-BLIwU6uZ.js";import{u as dn}from"./useCashManagementBanner-CtcuIjhq.js";import Z from"./NotFoundScreen-CxRYls3k.js";import{S as ze}from"./SetupPagesScreen-CPey4cOW.js";import{F as un}from"./FeaturePreviewScreen-DgqstYkZ.js";import{M as he}from"./MobileAppDrawer-B4f1me8_.js";import{A as Na,D as Qa,V as Wa}from"./DomesticWireDetailScreen-3X6dnm4U.js";import{A as qa}from"./AddressScreen-Jgfq0eWZ.js";import{u as pn}from"./useAskAiCfoHostNavButtonProps-DS5Fxq3U.js";import{Z as Ya}from"./ZeniAccountStatementScreen-3bZVHWI7.js";import"./recharts-DAM4r1-u.js";import"./analytics-BLbM2ksu.js";import"./plaid-B_OuebQv.js";import"./dnd-DVcQZAG5.js";import"./stripe-DMRn4zHo.js";import"./lottie-DDI83OWz.js";import"./lexical-CNfNgAkp.js";import"./pdf-6FZlivdz.js";import"./utils-Bia5qc4p.js";import"./analyticsHelper-BU5wlVa9.js";import"./routePaths-DZldr9mG.js";import"./BusinessVerificationPageScreen-BiV9G1-i.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new n.Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="46a1c813-0126-4636-9688-e852eaebfa09",n._sentryDebugIdIdentifier="sentry-dbid-46a1c813-0126-4636-9688-e852eaebfa09")}catch{}})();const Ja=R.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as c}from"./liveblocks-BUQfB0Zp.js";import{a as f}from"./sentry-BLIwU6uZ.js";import{h as x,u as B,g as $,i as j,j as p}from"./core-OMb8nkC1.js";import{KQ as s,KP as v,R6 as C,eV as P,R7 as T}from"./zeni-epic-state-BZ6N8nVI.js";import{J as z,at as g,m as D,z as E,B as L,cd as N,q as U}from"./index-DLAYU8mN.js";import{n as _}from"./mui-JZY-3hhJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="42547a2f-4b57-4ad5-ae1b-3575823ddbd3",e._sentryDebugIdIdentifier="sentry-dbid-42547a2f-4b57-4ad5-ae1b-3575823ddbd3")}catch{}})();const G=_.div`
1
+ import{j as c}from"./liveblocks-BUQfB0Zp.js";import{a as f}from"./sentry-BLIwU6uZ.js";import{h as x,u as B,g as $,i as j,j as p}from"./core-OMb8nkC1.js";import{KQ as s,KP as v,R6 as C,eV as P,R7 as T}from"./zeni-epic-state-BZ6N8nVI.js";import{J as z,at as g,m as D,z as E,B as L,cd as N,q as U}from"./index-NcZU0lXl.js";import{n as _}from"./mui-JZY-3hhJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="42547a2f-4b57-4ad5-ae1b-3575823ddbd3",e._sentryDebugIdIdentifier="sentry-dbid-42547a2f-4b57-4ad5-ae1b-3575823ddbd3")}catch{}})();const G=_.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1 +1 @@
1
- import{cL as m,cM as l,LK as _,LL as d}from"./zeni-epic-state-BZ6N8nVI.js";import{d as u}from"./index-DLAYU8mN.js";import"./sentry-BLIwU6uZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="84deaa35-6196-4888-be9e-38758660a660",e._sentryDebugIdIdentifier="sentry-dbid-84deaa35-6196-4888-be9e-38758660a660")}catch{}})();const h=e=>{switch(e){case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e;case"month":default:return"months";case"quarter":return"quarters";case"year":return"years"}},b=(e,a,o,c,s)=>{const r=[],i=[];let t=[];s?.forEach(n=>{r.push(n.companyId),i.push(n.companyName),t=t.concat(n.userRole)}),u.identify(e.userId,{tenant_id:a.tenantId,tenant_email_domain:a.tenantEmailDomain,company_id:a.companyId,company_name:a.companyName,user_role:a.userRole,chargebee_customer_id:c,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:s!=null?r:void 0,company_names:s!=null?i:void 0,user_roles:s!=null?t:void 0,app_type:"web",appearance:o})},g=(e,a)=>m(e,a)?"bill_pay":l(e,a)?"reimbursement":_(e,a)?"zeni_accounts":d(e,a)?"charge_cards":"bill_pay",w=e=>Object.values(e.allocation).map(String).join("-");export{w as a,b as f,g,h as t};
1
+ import{cL as m,cM as l,LK as _,LL as d}from"./zeni-epic-state-BZ6N8nVI.js";import{d as u}from"./index-NcZU0lXl.js";import"./sentry-BLIwU6uZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="84deaa35-6196-4888-be9e-38758660a660",e._sentryDebugIdIdentifier="sentry-dbid-84deaa35-6196-4888-be9e-38758660a660")}catch{}})();const h=e=>{switch(e){case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e;case"month":default:return"months";case"quarter":return"quarters";case"year":return"years"}},b=(e,a,o,c,s)=>{const r=[],i=[];let t=[];s?.forEach(n=>{r.push(n.companyId),i.push(n.companyName),t=t.concat(n.userRole)}),u.identify(e.userId,{tenant_id:a.tenantId,tenant_email_domain:a.tenantEmailDomain,company_id:a.companyId,company_name:a.companyName,user_role:a.userRole,chargebee_customer_id:c,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:s!=null?r:void 0,company_names:s!=null?i:void 0,user_roles:s!=null?t:void 0,app_type:"web",appearance:o})},g=(e,a)=>m(e,a)?"bill_pay":l(e,a)?"reimbursement":_(e,a)?"zeni_accounts":d(e,a)?"charge_cards":"bill_pay",w=e=>Object.values(e.allocation).map(String).join("-");export{w as a,b as f,g,h as t};
@@ -1 +1 @@
1
- import{n}from"./index-DLAYU8mN.js";import"./mui-JZY-3hhJ.js";import"./sentry-BLIwU6uZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="263710e7-3895-494f-a77c-27896ac645ee",e._sentryDebugIdIdentifier="sentry-dbid-263710e7-3895-494f-a77c-27896ac645ee")}catch{}})();function l(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{l as t};
1
+ import{n}from"./index-NcZU0lXl.js";import"./mui-JZY-3hhJ.js";import"./sentry-BLIwU6uZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="263710e7-3895-494f-a77c-27896ac645ee",e._sentryDebugIdIdentifier="sentry-dbid-263710e7-3895-494f-a77c-27896ac645ee")}catch{}})();function l(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{l as t};