@zeniai/web-app-ui 5.3.69-dev → 5.3.69-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-CAQA7lne.js → AccountMappingScreen-_ej4z-IR.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-BifxUBTA.js → ActualMatchingMatchDetailScreen-BSTuCiFK.js} +1 -1
- package/dist/assets/{AddressRoutes-D2DM52hy.js → AddressRoutes-C517WDi1.js} +1 -1
- package/dist/assets/{AddressScreen-icxXA3w4.js → AddressScreen--Jfrmx_9.js} +1 -1
- package/dist/assets/{AiCfoScreen-BWbqBoIu.js → AiCfoScreen-BNc_vpRn.js} +1 -1
- package/dist/assets/{AppDrawer-hE6okzG9.js → AppDrawer-DNmwo9UW.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-eAwSxg7-.js → BillPayApprovalRoutes-DGYCNZA8.js} +1 -1
- package/dist/assets/{BillPayRoutes-CPSa9tRu.js → BillPayRoutes-CjVYIUwf.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-XOO4dt2W.js → BusinessVerificationPageScreen-BCj56xYx.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-oZaMLLYZ.js → CardsAiCfoScreen-CQF7LKPV.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-CR22MdW5.js → ChargeCardRoutes-D6qT0B9p.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-Cy2hV9k7.js → CompanyPassportScreen-SOXe4P3g.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BBARCtpg.js → ConnectionAuthScreen-Czc08mTJ.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-B9cNdta1.js → CustomerOnboardingAuthScreen-DHWDR-Cl.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-DaBtZTum.js → CustomerOnboardingRoutes-ByIsWpfM.js} +1 -1
- package/dist/assets/{DashboardRoutes-ksNQmz1b.js → DashboardRoutes-WoUbyotK.js} +1 -1
- package/dist/assets/{DefaultTenantHome-6h7pYNWH.js → DefaultTenantHome-Nt1b5wse.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-BYIVpvay.js → DomesticWireDetailScreen-BmflEZ_q.js} +1 -1
- package/dist/assets/{DrawerScreen-D2sNIMxZ.js → DrawerScreen-0K7kuSzC.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-DaTOqhWC.js → EntityDetailRoutes-CePCCMqT.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-WQsWVsrz.js → ExpenseAutomationRoutes-BiJEeP3A.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DrW5sKTA.js → FeaturePreviewScreen-CtNAe1_H.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-CDRkL0Tq.js → HubSpotOAuthCallbackScreen-DDXKwaXx.js} +1 -1
- package/dist/assets/{InvoicingRoutes-EwIfHCd8.js → InvoicingRoutes-Dt22Vt58.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-Df_wnLE7.js → MagicLinkRoutes-DlZzQsp9.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-CByT-Ct-.js → MagicLinkSignInScreen-_mXKvM1u.js} +1 -1
- package/dist/assets/{MobileAppDrawer-r4WOmIWX.js → MobileAppDrawer-BrOHAjwP.js} +1 -1
- package/dist/assets/{NotFoundScreen-BbJtMThz.js → NotFoundScreen-CyVGP3Vp.js} +1 -1
- package/dist/assets/{NotificationRoutes-CxCX3W_0.js → NotificationRoutes-Cmigr5ed.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-luQCTUbA.js → OAuthConsentScreen-CLk1l_3O.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-DNnwlAH1.js → PandLWithForecastRoutes-Bh5hYQzx.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-C_1-1L8E.js → PaymentLinkScreen-CMriKz_8.js} +1 -1
- package/dist/assets/{PeopleRoutes-BInCnWy4.js → PeopleRoutes-sCx80LTz.js} +1 -1
- package/dist/assets/{PerformanceRoutes-cn6KpA4Q.js → PerformanceRoutes-C99Rjk0q.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Cbteo3If.js → QBOConnectionScreen-CzL0viYI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-pw9U836q.js → ReimbursementApprovalRoutes-D9FySrGh.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bs4p5t9E.js → ReimbursementApprovalRuleDetailScreen-DsMDfZXO.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-BbvmwzbP.js → ReimbursementRoutes-BA1_AB5H.js} +1 -1
- package/dist/assets/{ReportsRoutes-DHQlYB_r.js → ReportsRoutes-ZTT__qgG.js} +1 -1
- package/dist/assets/{RewardsRoutes--4mAjEXA.js → RewardsRoutes-tAzEgpq8.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-DjYg30gm.js → ScheduleDetailsPrepaidExpensesScreen-kyZJN89C.js} +1 -1
- package/dist/assets/{ScreenRoutes-0M7Mtqep.js → ScreenRoutes-C4-I9-wk.js} +2 -2
- package/dist/assets/{SettingsRoutes-CN7GV-oe.js → SettingsRoutes-BUmZV8nU.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BJMKj009.js → SetupPagesScreen-BzFDkOVI.js} +1 -1
- package/dist/assets/{SignInScreen-atM-bsdO.js → SignInScreen-DRFey9on.js} +1 -1
- package/dist/assets/{SignOutScreen-iiZR9Vvf.js → SignOutScreen-D2m0H2Zh.js} +1 -1
- package/dist/assets/{TaskListScreen-B70VtP2u.js → TaskListScreen-CxhPrz3Y.js} +1 -1
- package/dist/assets/{TaskRoutes-Bq52Yuvt.js → TaskRoutes-C0SyfIZR.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-DliVWUyB.js → TransactionDetailRoutes-BeM7Nvfr.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-1gITEJfr.js → TransactionDetailScreen-BG6zUFU-.js} +1 -1
- package/dist/assets/{TransactionListRoutes-DoKdE5EQ.js → TransactionListRoutes-CnM0i_qu.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DWmpGaGA.js → TreasuryRoutes-U7YfCj52.js} +1 -1
- package/dist/assets/{VendorsRoutes-B0HnUIhj.js → VendorsRoutes-B66p2onP.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-CmQFx7C9.js → WiseConfirmationScreen-CJytbhsa.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-BI-IsmW_.js → ZeniAccountRoutes-DRW5DlBI.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-CoNFUylV.js → ZeniAccountStatementScreen-B-cwN_qc.js} +1 -1
- package/dist/assets/{analyticsHelper-qAafKEWE.js → analyticsHelper-DdV5jqT5.js} +1 -1
- package/dist/assets/{getLocaleForTenant-Tff_ZVu3.js → getLocaleForTenant-C8sqw5jB.js} +1 -1
- package/dist/assets/{index-CaO8T0Mn.js → index-uoDX7H4L.js} +5 -5
- package/dist/assets/{routePaths-CIClX-hy.js → routePaths-DzLOO7Om.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-03OPYHW8.js → useActualMatchingMatchDetail-CM9S8AAl.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-BdGVlzMy.js → useAiCfoDashboardSuggestedQuestionsChips-BNl2X51l.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-BeCZgIua.js → useAskAiCfoHostNavButtonProps-CsMZr2YE.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-Z8m3rGDA.js → useChargeCardPusherEvents-4gxE-aSe.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-xLk05vNk.js → useEmailConnectResultRefresh-B85Z7XsM.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Decdti18.js → useInitialThreadRequest-DGvbt9bY.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CSCgZk-0.js → useTaskManagerAccess-OjN4ZWFp.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-9oqzMu2Z.js → useTaskManagerPusherEvents-BDQMuf8L.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BKpEvUWX.js → withTransactionSidePanel-MoXr5b9J.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{br as u,dr as i}from"./zeni-epic-state-BtP47QJT.js";import{G as $}from"./index-
|
|
1
|
+
import{br as u,dr as i}from"./zeni-epic-state-BtP47QJT.js";import{G as $}from"./index-uoDX7H4L.js";import"./mui-DAOUhz91.js";import"./sentry-BWDuLt7o.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]="aa8d74ce-7bc3-4450-b9e5-d70cb0e149c6",e._sentryDebugIdIdentifier="sentry-dbid-aa8d74ce-7bc3-4450-b9e5-d70cb0e149c6")}catch{}})();const{dateFormat:{analytics:{YYYYDashMMDashDDFormat:s}}}=$.getLocalizedStrings();function C(e,n){return`/${n}/transaction/${encodeURIComponent(e.type)}/${e.id}`}const m=["prepaid_expenses","fixed_assets","accrued_expenses","one_time_accrual"];function D(e){return e!=null&&m.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,c,r=!0){let d=`/${e}/transactions/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${a}/${c.startDate.format(s)}/${c.endDate.format(s)}/${encodeURIComponent(t)}`;return d=r===!1?`${d}/exclude_subaccounts`:`${d}/include_subaccounts`,d}const _=(e,n)=>({startDate:i(u(),n,Math.abs(e),"year"),endDate:u()});function g(e,n,o,t,a,c,r){return`/${e}/transactions/by-class/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${c}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function h(e,n,o,t,a,c,r){return`/${e}/transactions/by-project/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${c}/${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 l=["explore","new_chat","routines","skills"];function M(e){return l.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 o}from"./sentry-BWDuLt7o.js";import{u as $,h as p,g as k,i as b,j as l}from"./core-Dk5JD2l2.js";import{a2c as A,a2d as M,a1u as U,a1w as j,rS as g,a1v as P,a1x as F,sk as Y,rY as N,s0 as O,sY as q}from"./zeni-epic-state-BtP47QJT.js";import{a as y}from"./stripSplatSuffix-KkY0P5Vm.js";import{a4 as v,p as z}from"./index-
|
|
1
|
+
import{a as o}from"./sentry-BWDuLt7o.js";import{u as $,h as p,g as k,i as b,j as l}from"./core-Dk5JD2l2.js";import{a2c as A,a2d as M,a1u as U,a1w as j,rS as g,a1v as P,a1x as F,sk as Y,rY as N,s0 as O,sY as q}from"./zeni-epic-state-BtP47QJT.js";import{a as y}from"./stripSplatSuffix-KkY0P5Vm.js";import{a4 as v,p as z}from"./index-uoDX7H4L.js";import{c as H}from"./routePaths-DzLOO7Om.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]="a12873fe-4674-4590-be9c-dcb71a9b777a",a._sentryDebugIdIdentifier="sentry-dbid-a12873fe-4674-4590-be9c-dcb71a9b777a")}catch{}})();function J(a,e,n){return{pathname:H({id:a.id,type:q(a.type)},e),state:{pathnameStackToGoBack:z(n.state?.pathnameStackToGoBack,`${n.pathname}${n.search}`)}}}function Z(a){const e=$(),n=p(),s=k(),{tenantEmailDomain:c}=b(),{match:u,detailFetchState:i,refreshStatus:I,undoReversalStatus:w,ignoreStatus:R,lastMatchResults:T,lastUndoResults:_}=l((t=>A(t,a))),B=l((t=>M(t,a))),d=l(U),h=l(j);o.useEffect((()=>{a!==""&&u==null&&i.fetchState==="Not-Started"&&e(g(a))}),[a,u,i.fetchState,e]),o.useEffect((()=>{if(d==null||d!==a||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=v(s.state?.pathnameStackToGoBack);n(y(t.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),e(P())}),[d,e,s.pathname,s.state,a,n,c]),o.useEffect((()=>{if(h==null||h!==a||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=v(s.state?.pathnameStackToGoBack);n(y(t.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),e(F())}),[h,e,s.pathname,s.state,a,n,c]);const D=o.useCallback((()=>{a!==""&&e(g(a,!0))}),[e,a]),E=o.useCallback((t=>{a!==""&&e(Y(a,t))}),[e,a]),G=o.useCallback(((t,r)=>{a!==""&&e(N(a,t,r))}),[e,a]),S=o.useCallback((t=>{e(O(t.transactionId,t.transactionIntegrationId,t.transactionType,t.lineIds,t.transactionSyncToken,t.accrualIds))}),[e]),C=(function(){const t=p(),r=k(),{tenantEmailDomain:f}=b();return o.useCallback((x=>{if(f==null)return;const m=J(x,f,r);t(m.pathname,{state:m.state})}),[r,t,f])})();return{match:u,detailFetchState:i,handleOpenBill:C,handleApproveAndReverse:S,handleIgnoreMatchSuggestion:G,handleRefresh:D,handleUndoReversal:E,lastMatchResults:T,lastUndoResults:_,refreshStatus:I,ignoreStatus:R,matchAndReverseStatus:B,undoReversalStatus:w}}export{J as a,Z as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bu as n}from"./index-
|
|
1
|
+
import{bu as n}from"./index-uoDX7H4L.js";import"./sentry-BWDuLt7o.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]="d1c33b31-8c90-47ac-9f00-1e2f43424666",e._sentryDebugIdIdentifier="sentry-dbid-d1c33b31-8c90-47ac-9f00-1e2f43424666")}catch{}})();function f(){return n("dashboard")}export{f as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./sentry-BWDuLt7o.js";import{h as u,g,i as h,j as S}from"./core-Dk5JD2l2.js";import{fI as y}from"./zeni-epic-state-BtP47QJT.js";import{a as k,a1 as A,f as C,ar as I,A as T,p as w,au as D}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-BWDuLt7o.js";import{h as u,g,i as h,j as S}from"./core-Dk5JD2l2.js";import{fI as y}from"./zeni-epic-state-BtP47QJT.js";import{a as k,a1 as A,f as C,ar as I,A as T,p as w,au as D}from"./index-uoDX7H4L.js";import"./mui-DAOUhz91.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]="c286dc81-c89f-47b3-936a-bed135ce3e4c",e._sentryDebugIdIdentifier="sentry-dbid-c286dc81-c89f-47b3-936a-bed135ce3e4c")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),n=u(),o=g(),{tenantEmailDomain:s}=h(),d=A(),f=D(d),l=C(),p=I(),m=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:b.useCallback((()=>{if(s!=null)if(c)if(f){const a=w(o.state?.pathnameStackToGoBack,o.pathname);n(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else T({location:o,navigate:n,mergeState:{referrer:t}})}),[c,f,o,t,n,i,s])}}export{j as u};
|
package/dist/assets/{useChargeCardPusherEvents-Z8m3rGDA.js → useChargeCardPusherEvents-4gxE-aSe.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BWDuLt7o.js";import{aK as _,aL as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BWDuLt7o.js";import{aK as _,aL as m}from"./index-uoDX7H4L.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]="d6d113d1-f575-4bfd-9cb1-c1cb87edadfc",e._sentryDebugIdIdentifier="sentry-dbid-d6d113d1-f575-4bfd-9cb1-c1cb87edadfc")}catch{}})();const v=e=>{const{events:n,onEvent:c,onSubscribed:h}=e,f=_(),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(f==null||n.length===0)return;const o=[],i=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[d,u]=m(t);if(u==="")return;const b=f.channel(d),a=l=>{y.current(u,l)};let s;if(b?.subscribed===!0)s=b,s.bind(u,a),i.has(d)||(i.add(d),w()),o.push((()=>{b.unbind(u,a)}));else{if(s=b??f.subscribe(d),s.bind(u,a),!i.has(d)){i.add(d);const l=()=>{w()};s.bind("pusher:subscription_succeeded",l),o.push((()=>{s.unbind("pusher:subscription_succeeded",l)}))}o.push((()=>{s.unbind(u,a)}))}})),()=>{o.forEach((t=>t()))}}),[f,E])};export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./sentry-BWDuLt7o.js";import{u as C}from"./plaid-DBHSfOGH.js";import{u as x,j as m}from"./core-Dk5JD2l2.js";import{VV as v,G8 as V,ML as $,Cl as I,VW as R,fI as F,gP as N,B$ as T,VX as U}from"./zeni-epic-state-BtP47QJT.js";import{aJ as q,z as M}from"./index-
|
|
1
|
+
import{a}from"./sentry-BWDuLt7o.js";import{u as C}from"./plaid-DBHSfOGH.js";import{u as x,j as m}from"./core-Dk5JD2l2.js";import{VV as v,G8 as V,ML as $,Cl as I,VW as R,fI as F,gP as N,B$ as T,VX as U}from"./zeni-epic-state-BtP47QJT.js";import{aJ as q,z as M}from"./index-uoDX7H4L.js";import"./mui-DAOUhz91.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]="63bdea1f-37e3-4e89-9feb-92569d54709b",t._sentryDebugIdIdentifier="sentry-dbid-63bdea1f-37e3-4e89-9feb-92569d54709b")}catch{}})();const j=new Set(R),H=({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(V())}),[n]);const f=a.useCallback((e=>{t!=null&&(n($(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:b}=C({token:D,onSuccess:f,onExit:A});a.useEffect((()=>{r.current&&b&&(g(),r.current=!1)}),[b,g]);const h=p.fetchStatus.fetchState;a.useEffect((()=>{h==="Error"&&(r.current=!1)}),[h]);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]),_=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 L=q(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:j.has(e.providerVerificationStatus?.code??""),isLoginRequired:e.isLoginRequired,reLoginStatus:e.paymentAccountId===o?_:"Not-Started",institutionLogoUrl:L};var S,y}))),[d,o,_]),onAddPlaidAccount:E,onReLoginPlaidAccount:P}},w="email_connect_result",k="onboarding_step",K=()=>{const t=x(),n=m((o=>F(o).tenantId)),i=M.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(N(i,n)),r("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&t(T({step:U(u)})))}),[t,n,i]),{pendingAutoFocusTabId:d}};export{H as a,K as u};
|
package/dist/assets/{useInitialThreadRequest-Decdti18.js → useInitialThreadRequest-DGvbt9bY.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-BWDuLt7o.js";import{ay as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-BWDuLt7o.js";import{ay as c}from"./index-uoDX7H4L.js";import"./mui-DAOUhz91.js";import{t as l}from"./core-Dk5JD2l2.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]="02e50011-dc27-4e0d-95d7-2d26ffe7c8b8",e._sentryDebugIdIdentifier="sentry-dbid-02e50011-dc27-4e0d-95d7-2d26ffe7c8b8")}catch{}})();function m(e,d){const{clearParams:f=!0}=d??{},[t,a]=l(),[i,o]=n.useState(),s=n.useRef(!1),u=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||u.current||!f||!(t.has("thread_id")||t.has("entity_type")))return;const r=new URLSearchParams(t);r.delete("thread_id"),r.delete("entity_type"),a(r,{replace:!0}),u.current=!0}),[t,a,f]),i}export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BWDuLt7o.js";import{bn as i}from"./zeni-epic-state-BtP47QJT.js";import{c as d,g as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BWDuLt7o.js";import{bn as i}from"./zeni-epic-state-BtP47QJT.js";import{c as d,g as t}from"./index-uoDX7H4L.js";import"./mui-DAOUhz91.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="fc235f99-b9ab-4624-935c-2f03a5c42b91",e._sentryDebugIdIdentifier="sentry-dbid-fc235f99-b9ab-4624-935c-2f03a5c42b91")}catch{}})();const u=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BWDuLt7o.js";import{aK as E,aL as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BWDuLt7o.js";import{aK as E,aL as m}from"./index-uoDX7H4L.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]="7870880b-925a-45ad-8a10-3e3fc764e923",n._sentryDebugIdIdentifier="sentry-dbid-7870880b-925a-45ad-8a10-3e3fc764e923")}catch{}})();const v=n=>{const{events:s,onEvent:o,onSubscribed:l}=n,f=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(f==null||s.length===0)return;const i=[],b=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=f.channel(c),p=u=>{g.current(d,u)};let e;if(a?.subscribed===!0){if(e=a,e.bind(d,p),!b.has(c)){b.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??f.subscribe(c),e.bind(d,p),!b.has(c)){b.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()))}}),[f,w])};export{v as u};
|
package/dist/assets/{withTransactionSidePanel-BKpEvUWX.js → withTransactionSidePanel-MoXr5b9J.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-DtuUpF5h.js";import{R as q,a as i}from"./sentry-BWDuLt7o.js";import{Q as de,c as Q,g,b4 as me,as as pe,b9 as fe,b5 as he,b6 as be,a1 as Pe,ba as U}from"./index-
|
|
1
|
+
import{j as d}from"./liveblocks-DtuUpF5h.js";import{R as q,a as i}from"./sentry-BWDuLt7o.js";import{Q as de,c as Q,g,b4 as me,as as pe,b9 as fe,b5 as he,b6 as be,a1 as Pe,ba as U}from"./index-uoDX7H4L.js";import{c as J,n as O}from"./mui-DAOUhz91.js";import{u as Te}from"./useAskAiCfoHostNavButtonProps-CsMZr2YE.js";import{u as ve,a as ye,b as xe,c as Ee,d as Ie,l as Se,C as Ce,e as ge,f as we}from"./TransactionDetailScreen-BG6zUFU-.js";import{u as Oe}from"./useInitialThreadRequest-DGvbt9bY.js";import{h as $,g as F,i as k,u as $e,j as Fe}from"./core-Dk5JD2l2.js";import{sY as ke,V$ as je,RL as De}from"./zeni-epic-state-BtP47QJT.js";import{m as Me,s as Re}from"./stripSplatSuffix-KkY0P5Vm.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="46c0ec43-9a8b-4f83-b9c0-a9d6d8745af0",a._sentryDebugIdIdentifier="sentry-dbid-46c0ec43-9a8b-4f83-b9c0-a9d6d8745af0")}catch{}})();const H=O.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-uoDX7H4L.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-BWDuLt7o.js"><link rel="modulepreload" crossorigin href="/assets/core-Dk5JD2l2.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BtP47QJT.js"><link rel="modulepreload" crossorigin href="/assets/mui-DAOUhz91.js"><link rel="modulepreload" crossorigin href="/assets/analytics-C6U4wpfB.js"><link rel="modulepreload" crossorigin href="/assets/utils-CWVNtCN5.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>
|