@zeniai/web-app-ui 5.3.56-dev → 5.3.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.
- package/dist/assets/{AccountMappingScreen-BJKuQUQK.js → AccountMappingScreen-lCCsdddb.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-CkH9aaHO.js → ActualMatchingMatchDetailScreen-BacEJjWx.js} +1 -1
- package/dist/assets/{AddressRoutes-CHBmN4QX.js → AddressRoutes-B6tEU932.js} +1 -1
- package/dist/assets/{AddressScreen-DVcm6rtP.js → AddressScreen-MugNTUQN.js} +1 -1
- package/dist/assets/{AiCfoScreen-DLhxVK3m.js → AiCfoScreen-eLMR3UOf.js} +1 -1
- package/dist/assets/{AppDrawer-DFw9ygHT.js → AppDrawer-clWlGOjP.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CrSvpjTF.js → BillPayApprovalRoutes-Dbk7Y24s.js} +1 -1
- package/dist/assets/{BillPayRoutes-D25IkCRG.js → BillPayRoutes-BtdQLqKt.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-C3i585S_.js → BusinessVerificationPageScreen-TQO8LD4K.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-CGVXrGo3.js → CardsAiCfoScreen-Ck1QRRJU.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-Be1yd7vs.js → ChargeCardRoutes-GyAZvGbK.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-BbxvKQ4h.js → CompanyPassportScreen-2jMavKQz.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-DW_RpnUG.js → ConnectionAuthScreen-AXukMUj1.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-B9oqAEpw.js → CustomerOnboardingAuthScreen-_LDVNTpd.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DZPhXsuR.js → CustomerOnboardingRoutes-C1OFU7eR.js} +1 -1
- package/dist/assets/{DashboardRoutes-BNQ_G2Ja.js → DashboardRoutes-sID4RBmv.js} +1 -1
- package/dist/assets/{DefaultTenantHome-CQb3BNY_.js → DefaultTenantHome-DdLGZGI-.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-B1WqjoYC.js → DomesticWireDetailScreen-BHVEhcDi.js} +1 -1
- package/dist/assets/{DrawerScreen-BjVCvYOx.js → DrawerScreen-CafG26MO.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-DPPxLcP3.js → EntityDetailRoutes-B8kK6g4X.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-Beqj_B98.js → ExpenseAutomationRoutes-CtGpjaz6.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DrZBk8z9.js → FeaturePreviewScreen-Cxg43n9j.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-uMS-Wn41.js → HubSpotOAuthCallbackScreen-wG7V8GGr.js} +1 -1
- package/dist/assets/{InvoicingRoutes-B7hVOPnd.js → InvoicingRoutes-DFN0Rx6F.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-0XNlBf8h.js → MagicLinkRoutes-Mtj_tMLd.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-CmEuq8yZ.js → MagicLinkSignInScreen-CpCtrH1A.js} +1 -1
- package/dist/assets/{MobileAppDrawer-C4BbqfYY.js → MobileAppDrawer-CM7t-ZvL.js} +1 -1
- package/dist/assets/{NotFoundScreen-BudPMncf.js → NotFoundScreen-D6I6Wsee.js} +1 -1
- package/dist/assets/{NotificationRoutes-ui3la9Pl.js → NotificationRoutes-DVU6vblh.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-BxSGmmYb.js → OAuthConsentScreen-BoSOwZdg.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CQxitPGl.js → PandLWithForecastRoutes-BBlFCOcU.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-DZFH9-Dr.js → PaymentLinkScreen-CWqNCKyv.js} +1 -1
- package/dist/assets/{PeopleRoutes-CTbqr9KR.js → PeopleRoutes-CBQUaiY2.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DqqsTiLL.js → PerformanceRoutes-Bj5_Gk3V.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-83wGiY1-.js → QBOConnectionScreen-CSqa-l0H.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-CefdRKJA.js → ReimbursementApprovalRoutes-D0jGkzqM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DVIQ0iGz.js → ReimbursementApprovalRuleDetailScreen-CCOn4kZU.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-CYSobdK2.js → ReimbursementRoutes-BrXDZflp.js} +1 -1
- package/dist/assets/{ReportsRoutes-C0_U8cPe.js → ReportsRoutes-9hHKJQNP.js} +1 -1
- package/dist/assets/{RewardsRoutes-Cuv6zmgH.js → RewardsRoutes-BdVi-__F.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-BQ_Jeykv.js → ScheduleDetailsPrepaidExpensesScreen-CmKsiN11.js} +1 -1
- package/dist/assets/{ScreenRoutes-CWs8sPE7.js → ScreenRoutes-BfFuT3Am.js} +2 -2
- package/dist/assets/{SettingsRoutes-tupY8NX6.js → SettingsRoutes-BRXtJ_i3.js} +1 -1
- package/dist/assets/{SetupPagesScreen-IP9GnMvD.js → SetupPagesScreen-CF8rN7nl.js} +1 -1
- package/dist/assets/{SignInScreen-C_QB0DLT.js → SignInScreen-DrQomfpD.js} +1 -1
- package/dist/assets/{SignOutScreen-Dlg2jHAz.js → SignOutScreen-DD07J9n2.js} +1 -1
- package/dist/assets/{TaskListScreen-BLrDzaze.js → TaskListScreen-CETWRLY0.js} +1 -1
- package/dist/assets/{TaskRoutes-D1AnOebo.js → TaskRoutes-Cqhy8GTh.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-aJqQLpSX.js → TransactionDetailRoutes-DXMnE9Ej.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DVTW16A1.js → TransactionDetailScreen-D-_ejGlb.js} +1 -1
- package/dist/assets/{TransactionListRoutes-7PO54jHW.js → TransactionListRoutes-C61f2Hs7.js} +1 -1
- package/dist/assets/{TreasuryRoutes-BLoMlu93.js → TreasuryRoutes-Epfy4sq_.js} +1 -1
- package/dist/assets/{VendorsRoutes-u3UbdNbB.js → VendorsRoutes-D0D2AK1y.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-BwqpmX8S.js → WiseConfirmationScreen-BBcs-b0M.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CDbRnTrg.js → ZeniAccountRoutes-xPKKMrma.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-lhzrOeGm.js → ZeniAccountStatementScreen-BYeqmNu8.js} +1 -1
- package/dist/assets/{analyticsHelper-DvdruwkE.js → analyticsHelper-okAQXWGL.js} +1 -1
- package/dist/assets/{getLocaleForTenant-omtGYMrM.js → getLocaleForTenant-DbdT0Ypo.js} +1 -1
- package/dist/assets/{index-BdE3bEFg.js → index-BA9wY0HE.js} +5 -5
- package/dist/assets/{routePaths-znAFGC3M.js → routePaths-CQGkjOU4.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-BATx-hw7.js → useActualMatchingMatchDetail-CjMeDmY7.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-RBwji9iv.js → useAiCfoDashboardSuggestedQuestionsChips-Bcnkzeqc.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-yiVAQfVL.js → useAskAiCfoHostNavButtonProps-DCXPTpvr.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-D6w93u1p.js → useChargeCardPusherEvents-CojGt5Ev.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-BuXXdg7d.js → useEmailConnectResultRefresh-BMz8xUDh.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CRJTlzEQ.js → useInitialThreadRequest-DX25oqkA.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CtzHb9vx.js → useTaskManagerAccess-DTWsCdjC.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-BsdLgh09.js → useTaskManagerPusherEvents-CkYHu9co.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BrwXnQ2x.js → withTransactionSidePanel-Bkj9vjb3.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{br as u,dq as i}from"./zeni-epic-state-xhG_euwn.js";import{G as $}from"./index-
|
|
1
|
+
import{br as u,dq as i}from"./zeni-epic-state-xhG_euwn.js";import{G as $}from"./index-BA9wY0HE.js";import"./mui-DdZ2UeI1.js";import"./sentry-BzkfMVrG.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]="26d56fb4-9d1f-4736-9a4d-30672f544d40",e._sentryDebugIdIdentifier="sentry-dbid-26d56fb4-9d1f-4736-9a4d-30672f544d40")}catch{}})();const{dateFormat:{analytics:{YYYYDashMMDashDDFormat:s}}}=$.getLocalizedStrings();function C(e,n){return`/${n}/transaction/${encodeURIComponent(e.type)}/${e.id}`}const f=["prepaid_expenses","fixed_assets","accrued_expenses","one_time_accrual"];function D(e){return e!=null&&f.includes(e)}function R(e,n,o){return`${o.trim()===""?"":`/${o}`}/vendors/schedules/${e}/details/${n}`}const U=(e,n)=>e!=null&&e.length>0&&n!=null&&n.length>0;function y(e,n,o,t,a,d,r=!0){let c=`/${e}/transactions/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${a}/${d.startDate.format(s)}/${d.endDate.format(s)}/${encodeURIComponent(t)}`;return c=r===!1?`${c}/exclude_subaccounts`:`${c}/include_subaccounts`,c}const _=(e,n)=>({startDate:i(u(),n,Math.abs(e),"year"),endDate:u()});function g(e,n,o,t,a,d,r){return`/${e}/transactions/by-class/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${d}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function h(e,n,o,t,a,d,r){return`/${e}/transactions/by-project/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${d}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function x(e,n){return`/${n}/${e.type}/${encodeURIComponent(e.id)}/${encodeURIComponent(e.name)}`}const v=(e,n,o,t)=>{let a=`/${o}/vendors/summary/${encodeURIComponent(e)}/vendor_${encodeURIComponent(n)}`;return t!=null&&(a+=`/${t.balanceTimeFrame}/${t.startDate.format(s)}/${t.endDate.format(s)}`),a};function w(e,n,o){let t=`/${e}/address`;return t=o!=null?t.concat(`/edit/${n}/${encodeURIComponent(o)}`):t.concat(`/new/${n}`),t}function Y(e){return`/${e}/vendors/schedules/prepaid_expenses`}function F(e){return`/${e}/vendors/schedules/fixed_assets`}const m=["explore","new_chat","routines","skills"];function M(e){return m.some((n=>n===e))}export{g as a,h as b,C as c,w as d,F as e,x as f,Y as g,U as h,D as i,M as j,_ as p,R as s,y as t,v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-BzkfMVrG.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-BtMsWhj9.js";import{a1X as B,a1f as C,rP as d,a1g as I,se as D,s8 as E,sS as G}from"./zeni-epic-state-xhG_euwn.js";import{a as M}from"./stripSplatSuffix-BORWr7jN.js";import{a5 as O,p as $}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-BzkfMVrG.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-BtMsWhj9.js";import{a1X as B,a1f as C,rP as d,a1g as I,se as D,s8 as E,sS as G}from"./zeni-epic-state-xhG_euwn.js";import{a as M}from"./stripSplatSuffix-BORWr7jN.js";import{a5 as O,p as $}from"./index-BA9wY0HE.js";import{c as A}from"./routePaths-CQGkjOU4.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]="ae7692e7-5e14-4699-af2b-d1e6002e6b2d",e._sentryDebugIdIdentifier="sentry-dbid-ae7692e7-5e14-4699-af2b-d1e6002e6b2d")}catch{}})();function m(e){return"jeOneTimeAccrualKey"in e&&e.jeOneTimeAccrualKey!=null?e:{...e,jeOneTimeAccrualKey:`${e.accrualId}_one_time_accrual`}}function X(e){const a=T(),o=v(),s=R(),{tenantEmailDomain:l}=w(),{match:r,detailFetchState:c,refreshStatus:f,undoReversalStatus:h,lastMatchResults:p,lastUndoResults:b}=i((t=>B(t,e))),u=i(C);n.useEffect((()=>{e!==""&&r==null&&c.fetchState==="Not-Started"&&a(d(e))}),[e,r,c.fetchState,a]),n.useEffect((()=>{if(u!==!0||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=O(s.state?.pathnameStackToGoBack);o(M(t.poppedPathname,`/${l??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),a(I())}),[u,a,s.pathname,s.state,o,l]);const k=n.useMemo((()=>r==null?void 0:(function(t){return{...t,leftovers:t.leftovers?.map(m),members:t.members.map(m)}})(r)),[r]),y=n.useCallback((()=>{e!==""&&a(d(e,!0))}),[a,e]),S=n.useCallback((t=>{e!==""&&a(D(e,t))}),[a,e]),g=n.useCallback((()=>{e!==""&&a(E(e))}),[a,e]),_=n.useCallback((t=>{l!=null&&o(A({id:t.id,type:G(t.type)},l),{state:{pathnameStackToGoBack:$(s.state?.pathnameStackToGoBack,`${s.pathname}${s.search}`)}})}),[s.pathname,s.search,s.state,o,l]);return{match:k,detailFetchState:c,handleOpenBill:_,handleContinueMatch:g,handleRefresh:y,handleUndoReversal:S,lastMatchResults:p,lastUndoResults:b,refreshStatus:f,undoReversalStatus:h}}export{X as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bv as f}from"./index-
|
|
1
|
+
import{bv as f}from"./index-BA9wY0HE.js";import"./sentry-BzkfMVrG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2fdbb2cd-f57f-4f2b-8b86-c8b794e7ca34",e._sentryDebugIdIdentifier="sentry-dbid-2fdbb2cd-f57f-4f2b-8b86-c8b794e7ca34")}catch{}})();function r(){return f("dashboard")}export{r as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./sentry-BzkfMVrG.js";import{h as u,g,i as h,j as S}from"./core-BtMsWhj9.js";import{fF as y}from"./zeni-epic-state-xhG_euwn.js";import{a as k,a2 as C,e as A,as as T,s as I,p as v,av as w}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-BzkfMVrG.js";import{h as u,g,i as h,j as S}from"./core-BtMsWhj9.js";import{fF as y}from"./zeni-epic-state-xhG_euwn.js";import{a as k,a2 as C,e as A,as as T,s as I,p as v,av as w}from"./index-BA9wY0HE.js";import"./mui-DdZ2UeI1.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]="ea401d8a-c815-4b86-b7d4-3cdb427c432a",e._sentryDebugIdIdentifier="sentry-dbid-ea401d8a-c815-4b86-b7d4-3cdb427c432a")}catch{}})();function j(e){const{mobileExploreReferrer:a}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),d=C(),f=w(d),l=A(),p=T(),m=S((t=>t.tenantState.fetchState==="Completed"||t.tenantState.activeTenantFetchState.fetchState==="Completed"?y(t):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:b.useCallback((()=>{if(n!=null)if(c)if(f){const t=v(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:t,referrer:a}})}else i(!0);else I({location:o,navigate:s,mergeState:{referrer:a}})}),[c,f,o,a,s,i,n])}}export{j as u};
|
package/dist/assets/{useChargeCardPusherEvents-D6w93u1p.js → useChargeCardPusherEvents-CojGt5Ev.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BzkfMVrG.js";import{aL as _,aM as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BzkfMVrG.js";import{aL as _,aM as m}from"./index-BA9wY0HE.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]="9c5717a5-79d4-424c-9d70-62014a5b59d4",e._sentryDebugIdIdentifier="sentry-dbid-9c5717a5-79d4-424c-9d70-62014a5b59d4")}catch{}})();const v=e=>{const{events:n,onEvent:c,onSubscribed:h}=e,o=_(),y=r.useRef(c),p=r.useRef(h),g=r.useRef(0);r.useEffect((()=>{y.current=c}),[c]),r.useEffect((()=>{p.current=h}),[h]);const E=r.useMemo((()=>[...n].sort().join("|")),[n]);r.useEffect((()=>{if(o==null||n.length===0)return;const i=[],f=new Set,w=()=>{if(p.current==null)return;const t=Date.now();t-g.current<5e3||(g.current=t,p.current())};return n.forEach((t=>{const[u,d]=m(t);if(d==="")return;const a=o.channel(u),b=l=>{y.current(d,l)};let s;if(a?.subscribed===!0)s=a,s.bind(d,b),f.has(u)||(f.add(u),w()),i.push((()=>{a.unbind(d,b)}));else{if(s=a??o.subscribe(u),s.bind(d,b),!f.has(u)){f.add(u);const l=()=>{w()};s.bind("pusher:subscription_succeeded",l),i.push((()=>{s.unbind("pusher:subscription_succeeded",l)}))}i.push((()=>{s.unbind(d,b)}))}})),()=>{i.forEach((t=>t()))}}),[o,E])};export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./sentry-BzkfMVrG.js";import{u as L}from"./plaid-nsaMWH8B.js";import{u as x,j as m}from"./core-BtMsWhj9.js";import{VI as v,F_ as F,My as R,Cd as I,VJ as V,fF as $,gM as T,BT as N,VK as U}from"./zeni-epic-state-xhG_euwn.js";import{aK as M,z as q}from"./index-
|
|
1
|
+
import{a}from"./sentry-BzkfMVrG.js";import{u as L}from"./plaid-nsaMWH8B.js";import{u as x,j as m}from"./core-BtMsWhj9.js";import{VI as v,F_ as F,My as R,Cd as I,VJ as V,fF as $,gM as T,BT as N,VK as U}from"./zeni-epic-state-xhG_euwn.js";import{aK as M,z as q}from"./index-BA9wY0HE.js";import"./mui-DdZ2UeI1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="84ef7059-4d6a-43a8-9c93-6efd49f42f0f",t._sentryDebugIdIdentifier="sentry-dbid-84ef7059-4d6a-43a8-9c93-6efd49f42f0f")}catch{}})();const K=new Set(V),O=({companyId:t})=>{const n=x(),i=m((e=>e.plaidAccountViewState.external_account.plaidConnectionDetails.link_external_account)),s=m((e=>e.plaidAccountViewState.external_account.plaidConnectionDetails.update_account)),d=m((e=>v(e.paymentAccountState))),r=a.useRef(!1),[o,u]=a.useState(void 0),[c,l]=a.useState(!1);a.useEffect((()=>{n(F())}),[n]);const f=a.useCallback((e=>{t!=null&&(n(R(e,t,"external_account",void 0,o!=null?"update_account":"link_external_account")),r.current=!1,o!=null&&l(!0))}),[n,t,o]),A=a.useCallback((()=>{r.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,D=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:h}=L({token:D,onSuccess:f,onExit:A});a.useEffect((()=>{r.current&&h&&(g(),r.current=!1)}),[h,g]);const _=p.fetchStatus.fetchState;a.useEffect((()=>{_==="Error"&&(r.current=!1)}),[_]);const E=a.useCallback((()=>{t!=null&&(u(void 0),r.current=!0,n(I("external_account","link_external_account")))}),[n,t]),P=a.useCallback((e=>{t!=null&&(u(e),l(!1),r.current=!0,n(I("external_account","update_account",e)))}),[n,t]),b=s.fetchStatus.fetchState==="In-Progress"||s.updateStatus.fetchState==="In-Progress"?"In-Progress":s.fetchStatus.fetchState==="Error"||c&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((e=>{const C=M(e.institutionDetails?.logo);return{accountId:e.paymentAccountId,name:e.institutionDetails?.institutionName??e.accountName,mask:e.accountLast4Digits,balanceFormatted:(S=e.balances?.current?.amount,y=e.balances?.current?.currencySymbol,S==null?"":`${y??"$"}${S.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`),isActive:K.has(e.providerVerificationStatus?.code??""),isLoginRequired:e.isLoginRequired,reLoginStatus:e.paymentAccountId===o?b:"Not-Started",institutionLogoUrl:C};var S,y}))),[d,o,b]),onAddPlaidAccount:E,onReLoginPlaidAccount:P}},w="email_connect_result",k="onboarding_step",Q=()=>{const t=x(),n=m((o=>$(o).tenantId)),i=q.getSignedInUser()?.userId,s=a.useRef(!1),[d,r]=a.useState(null);return a.useEffect((()=>{if(s.current||i==null||i===""||n==null||n==="")return;const{consumed:o,onboardingStep:u}=(()=>{const c=new URL(window.location.href),l=c.searchParams.has(w),f=c.searchParams.get(k);return l||f!=null?(c.searchParams.delete(w),c.searchParams.delete(k),window.history.replaceState(window.history.state,"",`${c.pathname}${c.search}${c.hash}`),{consumed:l,onboardingStep:f}):{consumed:!1,onboardingStep:null}})();!o&&u==null||(s.current=!0,o&&(t(T(i,n)),r("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&t(N({step:U(u)})))}),[t,n,i]),{pendingAutoFocusTabId:d}};export{O as a,Q as u};
|
package/dist/assets/{useInitialThreadRequest-CRJTlzEQ.js → useInitialThreadRequest-DX25oqkA.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-BzkfMVrG.js";import{az as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-BzkfMVrG.js";import{az as c}from"./index-BA9wY0HE.js";import"./mui-DdZ2UeI1.js";import{t as l}from"./core-BtMsWhj9.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]="e54632a9-998a-4ee2-9b88-a7b1bf26f251",e._sentryDebugIdIdentifier="sentry-dbid-e54632a9-998a-4ee2-9b88-a7b1bf26f251")}catch{}})();function m(e,a){const{clearParams:f=!0}=a??{},[t,u]=l(),[d,o]=n.useState(),s=n.useRef(!1),i=n.useRef(!1);return n.useEffect((()=>{if(s.current||e==null||!(t.has("thread_id")||t.has("entity_type")))return;const r=c(t,e);r!=null&&(o(r),s.current=!0)}),[t,e]),n.useEffect((()=>{if(!s.current||i.current||!f||!(t.has("thread_id")||t.has("entity_type")))return;const r=new URLSearchParams(t);r.delete("thread_id"),r.delete("entity_type"),u(r,{replace:!0}),i.current=!0}),[t,u,f]),d}export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BzkfMVrG.js";import{bn as i}from"./zeni-epic-state-xhG_euwn.js";import{c as d,v as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BzkfMVrG.js";import{bn as i}from"./zeni-epic-state-xhG_euwn.js";import{c as d,v as t}from"./index-BA9wY0HE.js";import"./mui-DdZ2UeI1.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]="f50a41aa-773c-43a6-a5c9-192de267d749",e._sentryDebugIdIdentifier="sentry-dbid-f50a41aa-773c-43a6-a5c9-192de267d749")}catch{}})();const b=e=>{const{useFeatureGate:a}=d(),{isFeatureEnabled:n}=a(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=a(t.isTaskManagerNotificationControlsEnabled),s=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:s||o,isTaskManagerAccessEnabled:s||n,isZeniUser:s}};export{b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BzkfMVrG.js";import{aL as E,aM as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BzkfMVrG.js";import{aL as E,aM as m}from"./index-BA9wY0HE.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="abb71895-5262-4e2b-90a6-1e2ac6956b60",n._sentryDebugIdIdentifier="sentry-dbid-abb71895-5262-4e2b-90a6-1e2ac6956b60")}catch{}})();const v=n=>{const{events:s,onEvent:o,onSubscribed:l}=n,b=E(),g=r.useRef(o),h=r.useRef(l),_=r.useRef(0);r.useEffect((()=>{g.current=o}),[o]),r.useEffect((()=>{h.current=l}),[l]);const w=r.useMemo((()=>[...s].sort().join("|")),[s]);r.useEffect((()=>{if(b==null||s.length===0)return;const i=[],f=new Set,y=()=>{if(h.current==null)return;const t=Date.now();t-_.current<5e3||(_.current=t,h.current())};return s.forEach((t=>{const[c,d]=m(t);if(d==="")return;const a=b.channel(c),p=u=>{g.current(d,u)};let e;if(a?.subscribed===!0){if(e=a,e.bind(d,p),!f.has(c)){f.add(c),y();const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{a.unbind(d,p)}))}else{if(e=a??b.subscribe(c),e.bind(d,p),!f.has(c)){f.add(c);const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{e.unbind(d,p)}))}})),()=>{i.forEach((t=>t()))}}),[b,w])};export{v as u};
|
package/dist/assets/{withTransactionSidePanel-BrwXnQ2x.js → withTransactionSidePanel-Bkj9vjb3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-CVtnm86a.js";import{R as q,a as t}from"./sentry-BzkfMVrG.js";import{Q as de,c as O,v as C,b5 as me,at as pe,ba as fe,b6 as be,b7 as he,a2 as Te,bb as H}from"./index-
|
|
1
|
+
import{j as u}from"./liveblocks-CVtnm86a.js";import{R as q,a as t}from"./sentry-BzkfMVrG.js";import{Q as de,c as O,v as C,b5 as me,at as pe,ba as fe,b6 as be,b7 as he,a2 as Te,bb as H}from"./index-BA9wY0HE.js";import{c as J,n as $}from"./mui-DdZ2UeI1.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-DCXPTpvr.js";import{u as ve,a as Ee,b as ye,c as xe,d as Ie,l as Se,C as Ce,e as ge,f as we}from"./TransactionDetailScreen-D-_ejGlb.js";import{h as F,g as k,i as j,u as Oe,j as $e}from"./core-BtMsWhj9.js";import{sS as Fe,VO as ke,Ry as je}from"./zeni-epic-state-xhG_euwn.js";import{m as De,s as Me}from"./stripSplatSuffix-BORWr7jN.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="3a4f1362-b362-466d-8957-b24e90100e13",a._sentryDebugIdIdentifier="sentry-dbid-3a4f1362-b362-466d-8957-b24e90100e13")}catch{}})();const _=$.div`
|
|
2
2
|
${({$active:a})=>a&&J`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-BA9wY0HE.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-BzkfMVrG.js"><link rel="modulepreload" crossorigin href="/assets/core-BtMsWhj9.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-xhG_euwn.js"><link rel="modulepreload" crossorigin href="/assets/mui-DdZ2UeI1.js"><link rel="modulepreload" crossorigin href="/assets/analytics-B3pE_Rhv.js"><link rel="modulepreload" crossorigin href="/assets/utils-BrzWPNCR.js"><link rel="stylesheet" crossorigin href="/assets/index-BhC2LNQw.css"></head><body style="margin:0"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><div class="app-shell-loader" id="app-shell-loader"><div class="app-shell-sidebar"><div class="app-shell-sidebar-group"><div class="app-shell-bar zeni-logo" style="width:96px;height:20px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:78px;height:16px"></div><div class="app-shell-bar" style="width:46px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:110px;height:16px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div><div class="app-shell-bar" style="width:64px;height:16px"></div></div></div><div class="app-shell-main"><div class="app-shell-navbar"><div class="app-shell-bar" style="width:106px;height:27px"></div><div class="app-shell-bar" style="width:111px;height:32px"></div></div><div class="app-shell-logo"><svg width="96" height="96" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.768 0.0270284C16.571 -0.055168 16.348 0.0572476 16.2913 0.267574C16.2713 0.342517 16.2489 0.417461 16.2253 0.491196C16.0094 1.15723 15.6459 1.76645 15.148 2.27776C14.3056 3.14203 13.1847 3.61949 11.9918 3.6207H11.9883C10.7978 3.6207 9.67689 3.14565 8.83445 2.2838C8.33653 1.7737 7.97077 1.16448 7.75367 0.499657C7.73007 0.425922 7.70765 0.350979 7.68641 0.276035C7.62978 0.065709 7.40678 -0.0454978 7.20974 0.0366985C6.05463 0.522624 4.98565 1.17899 4.0323 1.97436C3.91195 2.07468 3.87301 2.24512 3.93083 2.39259C3.9792 2.51589 4.03112 2.63797 4.08539 2.75764C4.51133 3.70894 5.10364 4.5853 5.84815 5.34682C7.48937 7.0246 9.66863 7.9493 11.9871 7.9493H11.9954C14.3162 7.94689 16.4978 7.01855 18.1379 5.33595C18.8812 4.57321 19.4711 3.69564 19.8959 2.74434C19.9502 2.62347 20.0009 2.50138 20.0493 2.37809C20.1071 2.23062 20.0682 2.06018 19.9478 1.95985C18.9933 1.16569 17.9231 0.511745 16.768 0.0270284Z"/><path d="M19.9102 21.2422C19.4843 20.2933 18.8931 19.4194 18.151 18.6603C16.5086 16.9801 14.3223 16.053 12.0038 16.0578C8.50304 16.0614 5.48371 18.1961 4.11031 21.2603C4.05722 21.38 4.0053 21.5009 3.95575 21.623C3.89675 21.7704 3.93569 21.9421 4.05722 22.0436C5.01175 22.8366 6.08073 23.4893 7.23466 23.9728C7.4317 24.055 7.65352 23.9438 7.71134 23.7335C7.73139 23.6573 7.75381 23.5836 7.77859 23.5086C8.37207 21.6979 10.0416 20.3888 12.0073 20.3864H12.012C13.2025 20.3864 14.3234 20.8614 15.1659 21.7233C15.6626 22.231 16.026 22.8378 16.2431 23.5002C16.2679 23.5739 16.2903 23.6489 16.3104 23.7238C16.3682 23.9341 16.59 24.0453 16.787 23.9619C17.9422 23.476 19.01 22.8209 19.9633 22.0255C20.0837 21.9252 20.1226 21.7535 20.0648 21.606C20.0164 21.4828 19.9645 21.3631 19.9102 21.2422Z"/><path d="M0.132148 10.1666C0.158105 9.98769 0.305591 9.85352 0.482575 9.85352L23.5093 9.81726C23.6863 9.81726 23.8338 9.95022 23.8609 10.1291C23.9518 10.7347 23.999 11.3548 23.999 11.9858C24.0001 12.6131 23.9541 13.2284 23.8668 13.8292C23.8408 14.0081 23.6934 14.1422 23.5164 14.1422L0.489654 14.1773C0.312671 14.1773 0.165185 14.0443 0.138047 13.8654C0.0471956 13.2598 0 12.6397 0 12.0088C0 11.3826 0.0448358 10.7673 0.132148 10.1666Z"/></svg></div></div></div></body></html>
|