@zeniai/web-app-ui 5.4.16-dev → 5.4.16-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-CDXqSiAc.js → AccountMappingScreen-Ckg0KzqS.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-CLGyk8Pf.js → ActualMatchingMatchDetailScreen-CQbBAh_e.js} +1 -1
- package/dist/assets/{AddressRoutes-BTMFaoPH.js → AddressRoutes-CN1SRIa8.js} +1 -1
- package/dist/assets/{AddressScreen-CS8bv4zo.js → AddressScreen-BKq4wBPq.js} +1 -1
- package/dist/assets/{AiCfoScreen-CLNLnVZu.js → AiCfoScreen-D1mzCWxb.js} +1 -1
- package/dist/assets/{AppDrawer-B2nKx9FM.js → AppDrawer-BvhAldmq.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DZgRuPl7.js → BillPayApprovalRoutes-dmImShhx.js} +1 -1
- package/dist/assets/{BillPayRoutes-DswppA7i.js → BillPayRoutes-BAU2Oa47.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-ByDASFk9.js → BusinessVerificationPageScreen-BI8ZMRIa.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-BcEAv9Pt.js → CardsAiCfoScreen-Dqtcf4Yl.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-DeJE6G2a.js → ChargeCardRoutes-diNtfXS5.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-u9kNx3Tg.js → CompanyPassportScreen-B5yjsWr2.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-DVi6hxMj.js → ConnectionAuthScreen-DKcCUW7d.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-cEY6ZjCp.js → CustomerOnboardingAuthScreen-HQaBjHwu.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-i8teYQ0f.js → CustomerOnboardingRoutes-CUu4xtOP.js} +1 -1
- package/dist/assets/{DashboardRoutes-CVe5_3-I.js → DashboardRoutes-9cGzKtKV.js} +1 -1
- package/dist/assets/{DefaultTenantHome-D6T8HuT3.js → DefaultTenantHome-u5VX3H1O.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-dIpkGH6g.js → DomesticWireDetailScreen-DYljhUYd.js} +1 -1
- package/dist/assets/{DrawerScreen-Bl0Kb-2-.js → DrawerScreen-BkGImsqk.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-DDHIuX8U.js → EntityDetailRoutes-4n9amGPg.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DgHZQYiA.js → ExpenseAutomationRoutes-Dy6Zi3aU.js} +1 -1
- package/dist/assets/{FallBackRoute-VU9noj8V.js → FallBackRoute-CWYl_a8c.js} +2 -2
- package/dist/assets/{FeaturePreviewScreen-e7I8ExNO.js → FeaturePreviewScreen-CF6zLPT7.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-CU5AUU74.js → HubSpotOAuthCallbackScreen-Cb1PzyG4.js} +1 -1
- package/dist/assets/{InvoicingRoutes-BsZlsusO.js → InvoicingRoutes-DJNz4n53.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-BhGsmEvC.js → MagicLinkRoutes-R83_jnYL.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-BRRvS_-g.js → MagicLinkSignInScreen-CL3967v_.js} +1 -1
- package/dist/assets/{MobileAppDrawer-BUD0j7G2.js → MobileAppDrawer-Dv0pRBXr.js} +1 -1
- package/dist/assets/{NotFoundScreen-Da0kpRnr.js → NotFoundScreen-BBLRr8ia.js} +1 -1
- package/dist/assets/{NotificationRoutes-ZaAHYFIU.js → NotificationRoutes-DZigUGOn.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-BKY_MZq1.js → OAuthConsentScreen-0rNtFd9s.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-YG8pfDPq.js → PandLWithForecastRoutes-x3WVaXjR.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-CO2Phrs3.js → PaymentLinkScreen-BSJ8UIWL.js} +1 -1
- package/dist/assets/{PeopleRoutes-B0Fd7My2.js → PeopleRoutes-DJxeyyvJ.js} +1 -1
- package/dist/assets/{PerformanceRoutes-4RVlZlPh.js → PerformanceRoutes-B0AZp5w8.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-C4tVfsJt.js → QBOConnectionScreen-CVYLJvZi.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-fl_RHS7J.js → ReimbursementApprovalRoutes-BlLe5n-s.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C-svNJCY.js → ReimbursementApprovalRuleDetailScreen-bR9jKYFF.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-D_O2yTEO.js → ReimbursementRoutes-CZe9b4pH.js} +1 -1
- package/dist/assets/{ReportsRoutes-DvldCkWE.js → ReportsRoutes-BFeHLyyw.js} +1 -1
- package/dist/assets/{RewardsRoutes-DUEA8SkB.js → RewardsRoutes-BpBqq4vK.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-Cx-76x6C.js → ScheduleDetailsPrepaidExpensesScreen-CaQr8kh1.js} +1 -1
- package/dist/assets/{ScreenRoutes-v-i1WS06.js → ScreenRoutes-BnDWNf-5.js} +2 -2
- package/dist/assets/{SettingsRoutes-B8JbWE0A.js → SettingsRoutes-DvUoJwta.js} +1 -1
- package/dist/assets/{SetupPagesScreen-QcHSEVBO.js → SetupPagesScreen-7SLoKo_g.js} +1 -1
- package/dist/assets/{SignInScreen-6YsvQGsU.js → SignInScreen-DzI005KZ.js} +1 -1
- package/dist/assets/{SignOutScreen-50K2PKll.js → SignOutScreen-CoQyrC2i.js} +1 -1
- package/dist/assets/{TaskListScreen-C4glK-a5.js → TaskListScreen-B85rADS9.js} +1 -1
- package/dist/assets/{TaskRoutes-Bm5_wmyb.js → TaskRoutes-CY98wJmu.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-Dv09esw0.js → TransactionDetailRoutes-a1J32-Jp.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-DvsztMnO.js → TransactionDetailScreen-Cv6rkIx1.js} +1 -1
- package/dist/assets/{TransactionListRoutes-B8IVQdNf.js → TransactionListRoutes-D59p7HSk.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CWptww3e.js → TreasuryRoutes-Dn9wezkD.js} +1 -1
- package/dist/assets/{VendorsRoutes-BFk85yO0.js → VendorsRoutes-4PSeMBqD.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-Do34o9lu.js → WiseConfirmationScreen-Cs75mI9j.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-DLhkkoyT.js → ZeniAccountRoutes-CwKcxshk.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-YKTGrgZ2.js → ZeniAccountStatementScreen-Dl5ZYM_Y.js} +1 -1
- package/dist/assets/{analyticsHelper-Cqab08I6.js → analyticsHelper-dH62f0x-.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DFe6xj72.js → getLocaleForTenant-Bq1shd49.js} +1 -1
- package/dist/assets/{index-BkGKDMtv.js → index-CJ5STb9-.js} +6 -6
- package/dist/assets/{routePaths-CiV55sI1.js → routePaths-BHd2HKgD.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-DY4J4jvo.js → useActualMatchingMatchDetail-D0rmHEbK.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-U0l3bFxn.js → useAiCfoDashboardSuggestedQuestionsChips-DyKCidZk.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-Ds1IYXBl.js → useAskAiCfoHostNavButtonProps-DRyHY8Wp.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-Ba7ulirt.js → useChargeCardPusherEvents-Cuv9kbyy.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-BMjAwZWL.js → useEmailConnectResultRefresh-DHDJsFXP.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-E--3OsRP.js → useInitialThreadRequest-DyMJpsaC.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-DzHDJDg5.js → useTaskManagerAccess-BrlsHMZY.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-BKgeoe5K.js → useTaskManagerPusherEvents-Bkv1JGpA.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-D8qNv0pH.js → withTransactionSidePanel-CWGkUAhT.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-DNah8dni.js";import{G as $}from"./index-
|
|
1
|
+
import{bv as u,d9 as i}from"./zeni-epic-state-DNah8dni.js";import{G as $}from"./index-CJ5STb9-.js";import"./mui-CQYR1UI4.js";import"./sentry-uvO3Tp8f.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 o}from"./sentry-uvO3Tp8f.js";import{u as C,h as p,g as k,i as g,j as r}from"./core-BQjZS2e8.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 H}from"./zeni-epic-state-DNah8dni.js";import{a as f}from"./stripSplatSuffix-C6Dmp1Fj.js";import{a5 as m,v as J}from"./index-
|
|
1
|
+
import{a as o}from"./sentry-uvO3Tp8f.js";import{u as C,h as p,g as k,i as g,j as r}from"./core-BQjZS2e8.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 H}from"./zeni-epic-state-DNah8dni.js";import{a as f}from"./stripSplatSuffix-C6Dmp1Fj.js";import{a5 as m,v as J}from"./index-CJ5STb9-.js";import{t as K}from"./routePaths-BHd2HKgD.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]="d1e4df5e-165d-49ea-989a-81e250c54cdf",t._sentryDebugIdIdentifier="sentry-dbid-d1e4df5e-165d-49ea-989a-81e250c54cdf")}catch{}})();function N(t,a,n){return{pathname:K({id:t.id,type:H(t.type)},a),state:{pathnameStackToGoBack:J(n.state?.pathnameStackToGoBack,`${n.pathname}${n.search}`)}}}function O(){const t=p(),a=k(),{tenantEmailDomain:n}=g();return o.useCallback((s=>{if(n==null)return;const c=N(s,n,a);t(c.pathname,{state:c.state})}),[a,t,n])}function X(t){const a=C(),n=p(),s=k(),{tenantEmailDomain:c}=g(),{match:l,detailFetchState:u,refreshStatus:b,undoReversalStatus:_,ignoreStatus:y,lastMatchResults:I,lastUndoResults:v}=r((e=>S(e,t))),R=r((e=>$(e,t))),i=r(x),d=r(A);o.useEffect((()=>{t!==""&&l==null&&u.fetchState==="Not-Started"&&a(h(t))}),[t,l,u.fetchState,a]),o.useEffect((()=>{if(i==null||i!==t||!s.pathname.includes("/expense-automation/actual-matching/"))return;const e=m(s.state?.pathnameStackToGoBack);n(f(e.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:e.newStack}}),a(M())}),[i,a,s.pathname,s.state,t,n,c]),o.useEffect((()=>{if(d==null||d!==t||!s.pathname.includes("/expense-automation/actual-matching/"))return;const e=m(s.state?.pathnameStackToGoBack);n(f(e.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:e.newStack}}),a(U())}),[d,a,s.pathname,s.state,t,n,c]);const T=o.useCallback((()=>{t!==""&&a(h(t,!0))}),[a,t]),w=o.useCallback((e=>{t!==""&&a(P(t,e))}),[a,t]),B=o.useCallback(((e,G)=>{t!==""&&a(j(t,e,G))}),[a,t]),D=o.useCallback((e=>{a(F(e.transactionId,e.transactionIntegrationId,e.transactionType,e.lineIds,e.transactionSyncToken,e.accrualIds))}),[a]),E=O();return{match:l,detailFetchState:u,handleOpenBill:E,handleApproveAndReverse:D,handleIgnoreMatchSuggestion:B,handleRefresh:T,handleUndoReversal:w,lastMatchResults:I,lastUndoResults:v,refreshStatus:b,ignoreStatus:y,matchAndReverseStatus:R,undoReversalStatus:_}}export{O as a,N as b,X as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{da as n}from"./index-
|
|
1
|
+
import{da as n}from"./index-CJ5STb9-.js";import"./sentry-uvO3Tp8f.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 b}from"./sentry-uvO3Tp8f.js";import{h as u,g,i as h,j as S}from"./core-BQjZS2e8.js";import{fI as y}from"./zeni-epic-state-DNah8dni.js";import{j as k,a2 as C,a as A,ar as I,J as T,v,ax as w}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-uvO3Tp8f.js";import{h as u,g,i as h,j as S}from"./core-BQjZS2e8.js";import{fI as y}from"./zeni-epic-state-DNah8dni.js";import{j as k,a2 as C,a as A,ar as I,J as T,v,ax as w}from"./index-CJ5STb9-.js";import"./mui-CQYR1UI4.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]="f841527d-d16e-4762-b276-44690e349379",e._sentryDebugIdIdentifier="sentry-dbid-f841527d-d16e-4762-b276-44690e349379")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),l=C(),f=w(l),c=A(),p=I(),m=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),d=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&c&&!r,onAskAiCfoClick:b.useCallback((()=>{if(n!=null)if(d)if(f){const a=v(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-Ba7ulirt.js → useChargeCardPusherEvents-Cuv9kbyy.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-uvO3Tp8f.js";import{dg as _,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-uvO3Tp8f.js";import{dg as _,dh as m}from"./index-CJ5STb9-.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-uvO3Tp8f.js";import{u as L}from"./plaid-Db_iti-b.js";import{u as A,j as m}from"./core-BQjZS2e8.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-DNah8dni.js";import{df as q,z as j}from"./index-
|
|
1
|
+
import{a}from"./sentry-uvO3Tp8f.js";import{u as L}from"./plaid-Db_iti-b.js";import{u as A,j as m}from"./core-BQjZS2e8.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-DNah8dni.js";import{df as q,z as j}from"./index-CJ5STb9-.js";import"./mui-CQYR1UI4.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-E--3OsRP.js → useInitialThreadRequest-DyMJpsaC.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-uvO3Tp8f.js";import{db as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-uvO3Tp8f.js";import{db as c}from"./index-CJ5STb9-.js";import"./mui-CQYR1UI4.js";import{t as l}from"./core-BQjZS2e8.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-uvO3Tp8f.js";import{bm as i}from"./zeni-epic-state-DNah8dni.js";import{p as d,b as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-uvO3Tp8f.js";import{bm as i}from"./zeni-epic-state-DNah8dni.js";import{p as d,b as t}from"./index-CJ5STb9-.js";import"./mui-CQYR1UI4.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]="b055466d-4c11-47c0-81a2-2b2d940905be",e._sentryDebugIdIdentifier="sentry-dbid-b055466d-4c11-47c0-81a2-2b2d940905be")}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-uvO3Tp8f.js";import{dg as E,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-uvO3Tp8f.js";import{dg as E,dh as m}from"./index-CJ5STb9-.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-D8qNv0pH.js → withTransactionSidePanel-CWGkUAhT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-CueKZN6-.js";import{R as Y,a as i}from"./sentry-uvO3Tp8f.js";import{V as ue,p as J,b 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-CueKZN6-.js";import{R as Y,a as i}from"./sentry-uvO3Tp8f.js";import{V as ue,p as J,b 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-CJ5STb9-.js";import{c as K,n as O}from"./mui-CQYR1UI4.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-DRyHY8Wp.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-Cv6rkIx1.js";import{u as Oe}from"./useInitialThreadRequest-DyMJpsaC.js";import{h as $,g as F,i as k,u as $e,j as Fe}from"./core-BQjZS2e8.js";import{t7 as ke,$J as je,Sp as De}from"./zeni-epic-state-DNah8dni.js";import{m as Me,s as Ve}from"./stripSplatSuffix-C6Dmp1Fj.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]="28d7ee91-d9fd-4a40-a349-cc038e7947f0",a._sentryDebugIdIdentifier="sentry-dbid-28d7ee91-d9fd-4a40-a349-cc038e7947f0")}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-CJ5STb9-.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-uvO3Tp8f.js"><link rel="modulepreload" crossorigin href="/assets/core-BQjZS2e8.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-DNah8dni.js"><link rel="modulepreload" crossorigin href="/assets/mui-CQYR1UI4.js"><link rel="modulepreload" crossorigin href="/assets/analytics-Dt3suRsK.js"><link rel="modulepreload" crossorigin href="/assets/utils-BUB23Z37.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>
|