@zeniai/web-app-ui 5.4.18-dev → 5.4.18-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-4Zeu95kU.js → AccountMappingScreen-C1mI6FhI.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-B6pl-MVl.js → ActualMatchingMatchDetailScreen-447MeFRj.js} +1 -1
- package/dist/assets/{AddressRoutes-zjWkB0xf.js → AddressRoutes-DEt8pBse.js} +1 -1
- package/dist/assets/{AddressScreen-Czlolp2X.js → AddressScreen-xJe-BUcq.js} +1 -1
- package/dist/assets/{AiCfoScreen-BhfmD__h.js → AiCfoScreen-BlVb80p-.js} +1 -1
- package/dist/assets/{AppDrawer-B7GEeTxi.js → AppDrawer-CccwR_1X.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-B4dh4WxY.js → BillPayApprovalRoutes-CRcK-ghX.js} +1 -1
- package/dist/assets/{BillPayRoutes-DZx-x_-P.js → BillPayRoutes-C5bJ-Ydp.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-je1np7-9.js → BusinessVerificationPageScreen-l4hZrFSW.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-abedaxWu.js → CardsAiCfoScreen-I8vZAgcM.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-Db9V9An_.js → ChargeCardRoutes-6PoTVCBp.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-Db20J8Yl.js → CompanyPassportScreen-bYWzgq92.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BmJpUHtJ.js → ConnectionAuthScreen-Bc0bdA8g.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-Deo-LVYJ.js → CustomerOnboardingAuthScreen-BPJoOlEP.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-De4sHn4O.js → CustomerOnboardingRoutes-BibF5HDF.js} +1 -1
- package/dist/assets/{DashboardRoutes-CCGs4e1_.js → DashboardRoutes-DQ0XZ18a.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BN__AQ5l.js → DefaultTenantHome-C285BI3q.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-6W-Er5_q.js → DomesticWireDetailScreen-wA009aP8.js} +1 -1
- package/dist/assets/{DrawerScreen-DUhkZI2Z.js → DrawerScreen-DWyOpsL-.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-BrJAd36h.js → EntityDetailRoutes-BHa_BFuf.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DcjeaHHd.js → ExpenseAutomationRoutes-VmcQKEm0.js} +1 -1
- package/dist/assets/{FallBackRoute-orqRsHMl.js → FallBackRoute-CNIZrbgT.js} +2 -2
- package/dist/assets/{FeaturePreviewScreen-Dcu53_tf.js → FeaturePreviewScreen-kqfOCE7B.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-ClZsPGpZ.js → HubSpotOAuthCallbackScreen-Dkd5R4Ez.js} +1 -1
- package/dist/assets/{InvoicingRoutes-BTvzZ8JV.js → InvoicingRoutes-GvDq092q.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-V1DxaNiW.js → MagicLinkRoutes-BXTLhc2H.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-DnCx8Y6G.js → MagicLinkSignInScreen-D8ETsYEy.js} +1 -1
- package/dist/assets/{MobileAppDrawer-Bql3K6nh.js → MobileAppDrawer-BLB42Sqj.js} +1 -1
- package/dist/assets/{NotFoundScreen-CTik05r2.js → NotFoundScreen-CkbqMgGf.js} +1 -1
- package/dist/assets/{NotificationRoutes-wSm6mA8N.js → NotificationRoutes-BaJBiFUm.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-BELrcqAy.js → OAuthConsentScreen-Bv0KWQUL.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-Dpao8SIb.js → PandLWithForecastRoutes-BSSYGmP3.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-vbM_NtP3.js → PaymentLinkScreen-DgO8So9o.js} +1 -1
- package/dist/assets/{PeopleRoutes-CJeBX2Ca.js → PeopleRoutes-DmSlJQMt.js} +1 -1
- package/dist/assets/{PerformanceRoutes-W4NxEUmH.js → PerformanceRoutes-DxEXbNyB.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BEn_CddB.js → QBOConnectionScreen-CmO2Xstu.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-CSZJghRB.js → ReimbursementApprovalRoutes-JJBD0eaW.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-kqCAU4nf.js → ReimbursementApprovalRuleDetailScreen-DzH249hg.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-BUZKWvJ7.js → ReimbursementRoutes-Q4fU9Mae.js} +1 -1
- package/dist/assets/{ReportsRoutes-BUZ4r7hx.js → ReportsRoutes-WEPMG0Rg.js} +1 -1
- package/dist/assets/{RewardsRoutes-DuYZ4TXP.js → RewardsRoutes-BlNDw5yu.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-DN2DZsFw.js → ScheduleDetailsPrepaidExpensesScreen-CU1XLAAM.js} +1 -1
- package/dist/assets/{ScreenRoutes-CxP9HSCe.js → ScreenRoutes-qYSXLfX4.js} +2 -2
- package/dist/assets/{SettingsRoutes-CCWla9X1.js → SettingsRoutes-DyzUa1Sw.js} +1 -1
- package/dist/assets/{SetupPagesScreen-C5PRNruc.js → SetupPagesScreen-U6sa8lUC.js} +1 -1
- package/dist/assets/{SignInScreen-BScZ138a.js → SignInScreen-Cd7wqB4D.js} +1 -1
- package/dist/assets/{SignOutScreen-Bk-Y8Sbv.js → SignOutScreen-C1ZT_zLl.js} +1 -1
- package/dist/assets/{TaskListScreen-C7smUYFP.js → TaskListScreen-CuUJPMlJ.js} +1 -1
- package/dist/assets/{TaskRoutes-DPcu4NRR.js → TaskRoutes-DLg5TYuo.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-yEwix446.js → TransactionDetailRoutes-cCcvjic8.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-CHzsnTr9.js → TransactionDetailScreen-tgGXyDPF.js} +1 -1
- package/dist/assets/{TransactionListRoutes-ChJOrV96.js → TransactionListRoutes-CQa6--Ev.js} +1 -1
- package/dist/assets/{TreasuryRoutes-C24SAGLB.js → TreasuryRoutes-_PhXEmag.js} +1 -1
- package/dist/assets/{VendorsRoutes-CVu8jS5h.js → VendorsRoutes-CmjdKNhT.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-Dt6hB5m-.js → WiseConfirmationScreen-DEg3EFIb.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-D3ONSR9y.js → ZeniAccountRoutes-DDQJM_hy.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-CmfHt6Wr.js → ZeniAccountStatementScreen-B7PCif1X.js} +1 -1
- package/dist/assets/{analyticsHelper-DkNc3mKz.js → analyticsHelper-D6_ANm__.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DTPcYF0O.js → getLocaleForTenant-2khEt-Ua.js} +1 -1
- package/dist/assets/{index-ClwW47Zs.js → index-DdfNajYr.js} +6 -6
- package/dist/assets/{routePaths-D0jOibXk.js → routePaths-Bt11blZQ.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-nJ3hpXEY.js → useActualMatchingMatchDetail-Cvov37bY.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-usJW6KKQ.js → useAiCfoDashboardSuggestedQuestionsChips-1xqNBc2H.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-CWWQxV2L.js → useAskAiCfoHostNavButtonProps-Dbd_alyv.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-DPfHk-vM.js → useChargeCardPusherEvents-eplpnku9.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-B6j7j1rG.js → useEmailConnectResultRefresh-CIWk93Du.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DmfmyzKI.js → useInitialThreadRequest-SDz0QMSn.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-DrmpkeUw.js → useTaskManagerAccess-Byl1eBb6.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-CHhZ2DRZ.js → useTaskManagerPusherEvents-B9IdLCbV.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CKC1_4cy.js → withTransactionSidePanel-CTsbYdVH.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bv as u,d9 as i}from"./zeni-epic-state-aUBx6G2Q.js";import{G as $}from"./index-
|
|
1
|
+
import{bv as u,d9 as i}from"./zeni-epic-state-aUBx6G2Q.js";import{G as $}from"./index-DdfNajYr.js";import"./mui--aGBnNu2.js";import"./sentry-D0lP5-8e.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]="1b0f09a1-b396-437b-9ced-e125336b5d99",e._sentryDebugIdIdentifier="sentry-dbid-1b0f09a1-b396-437b-9ced-e125336b5d99")}catch{}})();const{dateFormat:{analytics:{YYYYDashMMDashDDFormat:s}}}=$.getLocalizedStrings();function C(e,n){return`/${n}/transaction/${encodeURIComponent(e.type)}/${e.id}`}function D(e,n){return`/${e}/transaction/new/${encodeURIComponent(n)}`}const m=["prepaid_expenses","fixed_assets","accrued_expenses","one_time_accrual"];function R(e){return e!=null&&m.includes(e)}function U(e,n,o){return`${o.trim()===""?"":`/${o}`}/vendors/schedules/${e}/details/${n}`}const y=(e,n)=>e!=null&&e.length>0&&n!=null&&n.length>0;function _(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 g=(e,n)=>({startDate:i(u(),n,Math.abs(e),"year"),endDate:u()});function h(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 v(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 w(e,n){return`/${n}/${e.type}/${encodeURIComponent(e.id)}/${encodeURIComponent(e.name)}`}const x=(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 Y(e,n,o){let t=`/${e}/address`;return t=o!=null?t.concat(`/edit/${n}/${encodeURIComponent(o)}`):t.concat(`/new/${n}`),t}function k(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{_ as a,v as b,h as c,Y as d,w as e,D as f,k as g,y as h,R as i,F as j,M as k,g as p,U as s,C as t,x as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"./sentry-D0lP5-8e.js";import{u as C,h as p,g as b,i as k,j as r}from"./core-BBlQ3ArL.js";import{a1D as S,a1E as $,_H as x,_J as A,s1 as h,_I as M,_K as U,sv as P,s7 as j,sb as F,t7 as q}from"./zeni-epic-state-aUBx6G2Q.js";import{a as f}from"./stripSplatSuffix-CFosfir7.js";import{a5 as m,q as H}from"./index-
|
|
1
|
+
import{a as c}from"./sentry-D0lP5-8e.js";import{u as C,h as p,g as b,i as k,j as r}from"./core-BBlQ3ArL.js";import{a1D as S,a1E as $,_H as x,_J as A,s1 as h,_I as M,_K as U,sv as P,s7 as j,sb as F,t7 as q}from"./zeni-epic-state-aUBx6G2Q.js";import{a as f}from"./stripSplatSuffix-CFosfir7.js";import{a5 as m,q as H}from"./index-DdfNajYr.js";import{t as J}from"./routePaths-Bt11blZQ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="8f435cb9-cec8-4c17-807e-36535b6714cb",t._sentryDebugIdIdentifier="sentry-dbid-8f435cb9-cec8-4c17-807e-36535b6714cb")}catch{}})();function K(t,a,n){return{pathname:J({id:t.id,type:q(t.type)},a),state:{pathnameStackToGoBack:H(n.state?.pathnameStackToGoBack,`${n.pathname}${n.search}`)}}}function N(){const t=p(),a=b(),{tenantEmailDomain:n}=k();return c.useCallback((s=>{if(n==null)return;const o=K(s,n,a);t(o.pathname,{state:o.state})}),[a,t,n])}function X(t){const a=C(),n=p(),s=b(),{tenantEmailDomain:o}=k(),{match:l,detailFetchState:u,refreshStatus:g,undoReversalStatus:_,ignoreStatus:y,lastMatchResults:I,lastUndoResults:v}=r((e=>S(e,t))),R=r((e=>$(e,t))),i=r(x),d=r(A);c.useEffect((()=>{t!==""&&l==null&&u.fetchState==="Not-Started"&&a(h(t))}),[t,l,u.fetchState,a]),c.useEffect((()=>{if(i==null||i!==t||!s.pathname.includes("/expense-automation/actual-matching/"))return;const e=m(s.state?.pathnameStackToGoBack);n(f(e.poppedPathname,`/${o??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:e.newStack}}),a(M())}),[i,a,s.pathname,s.state,t,n,o]),c.useEffect((()=>{if(d==null||d!==t||!s.pathname.includes("/expense-automation/actual-matching/"))return;const e=m(s.state?.pathnameStackToGoBack);n(f(e.poppedPathname,`/${o??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:e.newStack}}),a(U())}),[d,a,s.pathname,s.state,t,n,o]);const T=c.useCallback((()=>{t!==""&&a(h(t,!0))}),[a,t]),w=c.useCallback((e=>{t!==""&&a(P(t,e))}),[a,t]),B=c.useCallback(((e,G)=>{t!==""&&a(j(t,e,G))}),[a,t]),D=c.useCallback((e=>{a(F(e.transactionId,e.transactionIntegrationId,e.transactionType,e.lineIds,e.transactionSyncToken,e.accrualIds))}),[a]),E=N();return{match:l,detailFetchState:u,handleOpenBill:E,handleApproveAndReverse:D,handleIgnoreMatchSuggestion:B,handleRefresh:T,handleUndoReversal:w,lastMatchResults:I,lastUndoResults:v,refreshStatus:g,ignoreStatus:y,matchAndReverseStatus:R,undoReversalStatus:_}}export{N as a,K as b,X as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{da as n}from"./index-
|
|
1
|
+
import{da as n}from"./index-DdfNajYr.js";import"./sentry-D0lP5-8e.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]="b3128737-482b-40f1-b0a8-0c1d0c14147a",e._sentryDebugIdIdentifier="sentry-dbid-b3128737-482b-40f1-b0a8-0c1d0c14147a")}catch{}})();function a(){return n("dashboard")}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./sentry-D0lP5-8e.js";import{h as u,g,i as h,j as S}from"./core-BBlQ3ArL.js";import{fI as y}from"./zeni-epic-state-aUBx6G2Q.js";import{g as I,a2 as k,a as C,ar as A,I as T,q as w,ax as x}from"./index-
|
|
1
|
+
import{a as m}from"./sentry-D0lP5-8e.js";import{h as u,g,i as h,j as S}from"./core-BBlQ3ArL.js";import{fI as y}from"./zeni-epic-state-aUBx6G2Q.js";import{g as I,a2 as k,a as C,ar as A,I as T,q as w,ax as x}from"./index-DdfNajYr.js";import"./mui--aGBnNu2.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]="4790fbb4-88ce-4d01-a89b-8b7818dfe015",e._sentryDebugIdIdentifier="sentry-dbid-4790fbb4-88ce-4d01-a89b-8b7818dfe015")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=I(),s=u(),o=g(),{tenantEmailDomain:n}=h(),c=k(),f=x(c),l=C(),p=A(),b=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),d=b?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:m.useCallback((()=>{if(n!=null)if(d)if(f){const a=w(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else T({location:o,navigate:s,mergeState:{referrer:t}})}),[d,f,o,t,s,i,n])}}export{j as u};
|
package/dist/assets/{useChargeCardPusherEvents-DPfHk-vM.js → useChargeCardPusherEvents-eplpnku9.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-D0lP5-8e.js";import{dg as _,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-D0lP5-8e.js";import{dg as _,dh as m}from"./index-DdfNajYr.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]="b16dace8-a004-4576-a2e4-540347efd8c6",e._sentryDebugIdIdentifier="sentry-dbid-b16dace8-a004-4576-a2e4-540347efd8c6")}catch{}})();const v=e=>{const{events:n,onEvent:c,onSubscribed:h}=e,o=_(),g=r.useRef(c),p=r.useRef(h),y=r.useRef(0);r.useEffect((()=>{g.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 f=[],i=new Set,w=()=>{if(p.current==null)return;const t=Date.now();t-y.current<5e3||(y.current=t,p.current())};return n.forEach((t=>{const[u,d]=m(t);if(d==="")return;const b=o.channel(u),a=l=>{g.current(d,l)};let s;if(b?.subscribed===!0)s=b,s.bind(d,a),i.has(u)||(i.add(u),w()),f.push((()=>{b.unbind(d,a)}));else{if(s=b??o.subscribe(u),s.bind(d,a),!i.has(u)){i.add(u);const l=()=>{w()};s.bind("pusher:subscription_succeeded",l),f.push((()=>{s.unbind("pusher:subscription_succeeded",l)}))}f.push((()=>{s.unbind(d,a)}))}})),()=>{f.forEach((t=>t()))}}),[o,E])};export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./sentry-D0lP5-8e.js";import{u as L}from"./plaid-7P9b69CP.js";import{u as A,j as m}from"./core-BBlQ3ArL.js";import{a1A as v,GC as R,Nd as $,CJ as I,a1B as N,fI as F,gP as T,Cn as U,a1C as V}from"./zeni-epic-state-aUBx6G2Q.js";import{df as q,z as j}from"./index-
|
|
1
|
+
import{a}from"./sentry-D0lP5-8e.js";import{u as L}from"./plaid-7P9b69CP.js";import{u as A,j as m}from"./core-BBlQ3ArL.js";import{a1A as v,GC as R,Nd as $,CJ as I,a1B as N,fI as F,gP as T,Cn as U,a1C as V}from"./zeni-epic-state-aUBx6G2Q.js";import{df as q,z as j}from"./index-DdfNajYr.js";import"./mui--aGBnNu2.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]="6c371724-17e6-49c3-83d2-f28dae7a04d7",t._sentryDebugIdIdentifier="sentry-dbid-6c371724-17e6-49c3-83d2-f28dae7a04d7")}catch{}})();const z=new Set(N),O=({companyId:t})=>{const n=A(),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))),c=a.useRef(!1),[o,u]=a.useState(void 0),[r,l]=a.useState(!1);a.useEffect((()=>{n(R())}),[n]);const f=a.useCallback((e=>{t!=null&&(n($(e,t,"external_account",void 0,o!=null?"update_account":"link_external_account")),c.current=!1,o!=null&&l(!0))}),[n,t,o]),x=a.useCallback((()=>{c.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,C=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:h}=L({token:C,onSuccess:f,onExit:x});a.useEffect((()=>{c.current&&h&&(g(),c.current=!1)}),[h,g]);const _=p.fetchStatus.fetchState;a.useEffect((()=>{_==="Error"&&(c.current=!1)}),[_]);const D=a.useCallback((()=>{t!=null&&(u(void 0),c.current=!0,n(I("external_account","link_external_account")))}),[n,t]),E=a.useCallback((e=>{t!=null&&(u(e),l(!1),c.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"||r&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((e=>{const P=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:z.has(e.providerVerificationStatus?.code??""),isLoginRequired:e.isLoginRequired,reLoginStatus:e.paymentAccountId===o?b:"Not-Started",institutionLogoUrl:P};var S,y}))),[d,o,b]),onAddPlaidAccount:D,onReLoginPlaidAccount:E}},w="email_connect_result",k="onboarding_step",Q=()=>{const t=A(),n=m((o=>F(o).tenantId)),i=j.getSignedInUser()?.userId,s=a.useRef(!1),[d,c]=a.useState(null);return a.useEffect((()=>{if(s.current||i==null||i===""||n==null||n==="")return;const{consumed:o,onboardingStep:u}=(()=>{const r=new URL(window.location.href),l=r.searchParams.has(w),f=r.searchParams.get(k);return l||f!=null?(r.searchParams.delete(w),r.searchParams.delete(k),window.history.replaceState(window.history.state,"",`${r.pathname}${r.search}${r.hash}`),{consumed:l,onboardingStep:f}):{consumed:!1,onboardingStep:null}})();!o&&u==null||(s.current=!0,o&&(t(T(i,n)),c("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&t(U({step:V(u)})))}),[t,n,i]),{pendingAutoFocusTabId:d}};export{O as a,Q as u};
|
package/dist/assets/{useInitialThreadRequest-DmfmyzKI.js → useInitialThreadRequest-SDz0QMSn.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-D0lP5-8e.js";import{db as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-D0lP5-8e.js";import{db as c}from"./index-DdfNajYr.js";import"./mui--aGBnNu2.js";import{t as l}from"./core-BBlQ3ArL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="e3f0ffe3-1d73-47e0-9b4f-b3c0be13dd05",e._sentryDebugIdIdentifier="sentry-dbid-e3f0ffe3-1d73-47e0-9b4f-b3c0be13dd05")}catch{}})();function _(e,f){const{clearParams:d=!0}=f??{},[t,u]=l(),[i,o]=n.useState(),s=n.useRef(!1),a=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||a.current||!d||!(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}),a.current=!0}),[t,u,d]),i}export{_ as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-D0lP5-8e.js";import{bm as i}from"./zeni-epic-state-aUBx6G2Q.js";import{p as d,N as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-D0lP5-8e.js";import{bm as i}from"./zeni-epic-state-aUBx6G2Q.js";import{p as d,N as t}from"./index-DdfNajYr.js";import"./mui--aGBnNu2.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]="80f08d2f-8f77-45a1-9035-f7612e43056d",e._sentryDebugIdIdentifier="sentry-dbid-80f08d2f-8f77-45a1-9035-f7612e43056d")}catch{}})();const c=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{c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-D0lP5-8e.js";import{dg as E,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-D0lP5-8e.js";import{dg as E,dh as m}from"./index-DdfNajYr.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]="e34e4866-72c0-4110-84da-c218e1ffc704",n._sentryDebugIdIdentifier="sentry-dbid-e34e4866-72c0-4110-84da-c218e1ffc704")}catch{}})();const v=n=>{const{events:s,onEvent:o,onSubscribed:h}=n,f=E(),y=r.useRef(o),l=r.useRef(h),_=r.useRef(0);r.useEffect((()=>{y.current=o}),[o]),r.useEffect((()=>{l.current=h}),[h]);const w=r.useMemo((()=>[...s].sort().join("|")),[s]);r.useEffect((()=>{if(f==null||s.length===0)return;const i=[],b=new Set,g=()=>{if(l.current==null)return;const t=Date.now();t-_.current<5e3||(_.current=t,l.current())};return s.forEach((t=>{const[c,d]=m(t);if(d==="")return;const a=f.channel(c),p=u=>{y.current(d,u)};let e;if(a?.subscribed===!0){if(e=a,e.bind(d,p),!b.has(c)){b.add(c),g();const u=()=>{g()};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=()=>{g()};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-CKC1_4cy.js → withTransactionSidePanel-CTsbYdVH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-CuUK5O_2.js";import{R as Y,a as i}from"./sentry-D0lP5-8e.js";import{V as ue,p as J,N as C,cg as me,al as pe,d9 as fe,ch as he,cj as be,a2 as Te,c7 as U}from"./index-
|
|
1
|
+
import{j as u}from"./liveblocks-CuUK5O_2.js";import{R as Y,a as i}from"./sentry-D0lP5-8e.js";import{V as ue,p as J,N as C,cg as me,al as pe,d9 as fe,ch as he,cj as be,a2 as Te,c7 as U}from"./index-DdfNajYr.js";import{c as K,n as O}from"./mui--aGBnNu2.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-Dbd_alyv.js";import{f as ve,c as ye,a as xe,b as Ee,g as Ie,l as Se,C as ge,T as Ce,h as we}from"./TransactionDetailScreen-tgGXyDPF.js";import{u as Oe}from"./useInitialThreadRequest-SDz0QMSn.js";import{h as $,g as F,i as k,u as $e,j as Fe}from"./core-BBlQ3ArL.js";import{t7 as ke,$J as je,Sp as De}from"./zeni-epic-state-aUBx6G2Q.js";import{m as Me,s as Ve}from"./stripSplatSuffix-CFosfir7.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]="de7a63ac-785e-49eb-9e30-9b48259d6bd8",a._sentryDebugIdIdentifier="sentry-dbid-de7a63ac-785e-49eb-9e30-9b48259d6bd8")}catch{}})();const H=O.div`
|
|
2
2
|
${({$active:a})=>a&&K`
|
|
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-DdfNajYr.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-D0lP5-8e.js"><link rel="modulepreload" crossorigin href="/assets/core-BBlQ3ArL.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-aUBx6G2Q.js"><link rel="modulepreload" crossorigin href="/assets/mui--aGBnNu2.js"><link rel="modulepreload" crossorigin href="/assets/analytics-D051O7ML.js"><link rel="modulepreload" crossorigin href="/assets/utils-Ctp9Zfhk.js"><link rel="stylesheet" crossorigin href="/assets/index-BQ3cXEYt.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>
|