@zeniai/web-app-ui 5.4.12-dev → 5.4.12-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-CtnQtVOI.js → AccountMappingScreen-BOfAHNyj.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-COb45lJn.js → ActualMatchingMatchDetailScreen-HMdLMl-x.js} +1 -1
- package/dist/assets/{AddressRoutes-CXRpuLt0.js → AddressRoutes-DS1ABIkS.js} +1 -1
- package/dist/assets/{AddressScreen-CiPLLpNX.js → AddressScreen-qlvMfFzX.js} +1 -1
- package/dist/assets/{AiCfoScreen-DPuJRDN-.js → AiCfoScreen-B-dU8oBQ.js} +1 -1
- package/dist/assets/{AppDrawer-Bxmzf_KR.js → AppDrawer-CwaXirb2.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-Bhwrq5tr.js → BillPayApprovalRoutes-CVRe4BnI.js} +1 -1
- package/dist/assets/{BillPayRoutes-CQCAwPWX.js → BillPayRoutes-Dey6UOVh.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-71JxUYXB.js → BusinessVerificationPageScreen-CmyM5aiK.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-Dze-_SQs.js → CardsAiCfoScreen-CiwzINTc.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-CvC_JvPH.js → ChargeCardRoutes-C0SI52V1.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-dRN2jnGn.js → CompanyPassportScreen-UkqmKRZ6.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CrQ3LZFB.js → ConnectionAuthScreen-C5Ni_IR2.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-BUiUC1A4.js → CustomerOnboardingAuthScreen-CylIwBp6.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-BMrjyYZ8.js → CustomerOnboardingRoutes-C9qnXvqe.js} +1 -1
- package/dist/assets/{DashboardRoutes-DYfRGtw5.js → DashboardRoutes-DTl-jJE0.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DmRqFqlc.js → DefaultTenantHome-Cp5JYP7n.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-YfGiQgSo.js → DomesticWireDetailScreen-ComSz_mJ.js} +1 -1
- package/dist/assets/{DrawerScreen-DH40ycW6.js → DrawerScreen-CM0jOZPM.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-BgqO6DqU.js → EntityDetailRoutes-DRAuMWRK.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-Bks-mNnn.js → ExpenseAutomationRoutes-DsUu--nU.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-B9UACzAC.js → FeaturePreviewScreen-haihqpfR.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-BjEMURaY.js → HubSpotOAuthCallbackScreen-Brb5WIYz.js} +1 -1
- package/dist/assets/{InvoicingRoutes-UHPes0q9.js → InvoicingRoutes-uho4hWhl.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-BQns5k2S.js → MagicLinkRoutes-DuZTyCp3.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-IXnuvHt3.js → MagicLinkSignInScreen-CU2tryjp.js} +1 -1
- package/dist/assets/{MobileAppDrawer-rCVKr3J3.js → MobileAppDrawer-B2B9qpTn.js} +1 -1
- package/dist/assets/{NotFoundScreen-C94S-cmy.js → NotFoundScreen-STfhZKfa.js} +1 -1
- package/dist/assets/{NotificationRoutes-h53g4kBO.js → NotificationRoutes-CzDDkOpW.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-35XPz7Vp.js → OAuthConsentScreen-DrAdklsB.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-OnVWoGgX.js → PandLWithForecastRoutes-CTUZNycs.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-BADSNyXp.js → PaymentLinkScreen-Dk9iyHvi.js} +1 -1
- package/dist/assets/{PeopleRoutes-CnmV1pW5.js → PeopleRoutes-CuyUzXux.js} +1 -1
- package/dist/assets/{PerformanceRoutes-MYTxvcMA.js → PerformanceRoutes-QRcAXT8s.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-C1Kn9y8q.js → QBOConnectionScreen-BskQZrOM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-CsG7QtOs.js → ReimbursementApprovalRoutes-CWXXs7ES.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BzhkgPjS.js → ReimbursementApprovalRuleDetailScreen-Z9fAjnKk.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-BcjYsUHB.js → ReimbursementRoutes-CMIoXSp-.js} +1 -1
- package/dist/assets/{ReportsRoutes-Bcm2EvxJ.js → ReportsRoutes-UrDvXzmA.js} +1 -1
- package/dist/assets/{RewardsRoutes-Do7moyFI.js → RewardsRoutes-BT9Z4XMx.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-v3zw3e0R.js → ScheduleDetailsPrepaidExpensesScreen-CAbE1f1F.js} +1 -1
- package/dist/assets/{ScreenRoutes-vTLuTGuW.js → ScreenRoutes-B6fp4cq_.js} +2 -2
- package/dist/assets/{SettingsRoutes-CwW3Kcyz.js → SettingsRoutes-CvBRQrOT.js} +1 -1
- package/dist/assets/{SetupPagesScreen-DPnnq4jj.js → SetupPagesScreen-CEPgtqeo.js} +1 -1
- package/dist/assets/{SignInScreen-ColMnPgQ.js → SignInScreen-dmnWMZuw.js} +1 -1
- package/dist/assets/{SignOutScreen-DILD5ueP.js → SignOutScreen-BMNH7_V5.js} +1 -1
- package/dist/assets/{TaskListScreen-aizYXFWj.js → TaskListScreen-BNnJSvkV.js} +1 -1
- package/dist/assets/{TaskRoutes-CWWa57kf.js → TaskRoutes-CZK14NzO.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-DWXM95sG.js → TransactionDetailRoutes-DXEdALzy.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-CNMo1Iyr.js → TransactionDetailScreen-7DGIHLqi.js} +1 -1
- package/dist/assets/{TransactionListRoutes-aYhnWH8H.js → TransactionListRoutes-D5zbI9lh.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DnAsQTrn.js → TreasuryRoutes-C3GqgjHM.js} +1 -1
- package/dist/assets/{VendorsRoutes-QudM99vQ.js → VendorsRoutes-DtY11cJ5.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-CkFHmO99.js → WiseConfirmationScreen-DykZVuxG.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-DeSodvmm.js → ZeniAccountRoutes-BvJwkQig.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-DKVtRt3N.js → ZeniAccountStatementScreen-Dd93OmoX.js} +1 -1
- package/dist/assets/{analyticsHelper-Cn2rORl_.js → analyticsHelper-Dm-lGwn0.js} +1 -1
- package/dist/assets/{getLocaleForTenant-BNAJG7gN.js → getLocaleForTenant-DCEgmdru.js} +1 -1
- package/dist/assets/{index-9pdMsp-M.js → index-D2npSkDz.js} +5 -5
- package/dist/assets/{routePaths--TXDBUUo.js → routePaths-CGx2E4BN.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-Mft821vz.js → useActualMatchingMatchDetail-BaZFmNrb.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-3ayut61P.js → useAiCfoDashboardSuggestedQuestionsChips-1qbL-eDo.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-E2UGdnp9.js → useAskAiCfoHostNavButtonProps-BJnb3VUQ.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-DVeqwUB9.js → useChargeCardPusherEvents-BTVGUbPQ.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-F8OBO8EU.js → useEmailConnectResultRefresh-BWW1MkMN.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Df-inltN.js → useInitialThreadRequest-CJxccRlH.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-Bq9TDvwr.js → useTaskManagerAccess-D1FHkkjz.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-Ctn5L7kn.js → useTaskManagerPusherEvents-C6J1EdxC.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DOV8YzFf.js → withTransactionSidePanel-CTldqbPN.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bn as u,dn as i}from"./zeni-epic-state-BlWDBO75.js";import{G as $}from"./index-
|
|
1
|
+
import{bn as u,dn as i}from"./zeni-epic-state-BlWDBO75.js";import{G as $}from"./index-D2npSkDz.js";import"./mui-BmHHlwSU.js";import"./sentry-bpmZUW7k.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]="254d55e2-bd14-47dc-9b7d-3eb305da3be5",e._sentryDebugIdIdentifier="sentry-dbid-254d55e2-bd14-47dc-9b7d-3eb305da3be5")}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 w(e,n,o,t,a,d,r){return`/${e}/transactions/by-project/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${d}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function x(e,n){return`/${n}/${e.type}/${encodeURIComponent(e.id)}/${encodeURIComponent(e.name)}`}const v=(e,n,o,t)=>{let a=`/${o}/vendors/summary/${encodeURIComponent(e)}/vendor_${encodeURIComponent(n)}`;return t!=null&&(a+=`/${t.balanceTimeFrame}/${t.startDate.format(s)}/${t.endDate.format(s)}`),a};function 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{h as a,w as b,C as c,Y as d,F as e,x as f,k as g,y as h,R as i,D as j,M as k,g as p,U as s,_ as t,v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./sentry-bpmZUW7k.js";import{u as C,h as p,g as k,i as g,j as r}from"./core-BWRpGVdr.js";import{XH as D,XI as S,XJ as M,XK as $,rT as h,XL as x,XM as A,sl as U,rZ as P,s1 as j,sZ as F}from"./zeni-epic-state-BlWDBO75.js";import{a as f}from"./stripSplatSuffix-Bizh1-Tx.js";import{a3 as m,n as Z}from"./index-
|
|
1
|
+
import{a as o}from"./sentry-bpmZUW7k.js";import{u as C,h as p,g as k,i as g,j as r}from"./core-BWRpGVdr.js";import{XH as D,XI as S,XJ as M,XK as $,rT as h,XL as x,XM as A,sl as U,rZ as P,s1 as j,sZ as F}from"./zeni-epic-state-BlWDBO75.js";import{a as f}from"./stripSplatSuffix-Bizh1-Tx.js";import{a3 as m,n as Z}from"./index-D2npSkDz.js";import{c as H}from"./routePaths-CGx2E4BN.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]="558940fd-29e3-41f8-8968-77019dee0adc",t._sentryDebugIdIdentifier="sentry-dbid-558940fd-29e3-41f8-8968-77019dee0adc")}catch{}})();function J(t,a,n){return{pathname:H({id:t.id,type:F(t.type)},a),state:{pathnameStackToGoBack:Z(n.state?.pathnameStackToGoBack,`${n.pathname}${n.search}`)}}}function K(){const t=p(),a=k(),{tenantEmailDomain:n}=g();return o.useCallback((s=>{if(n==null)return;const c=J(s,n,a);t(c.pathname,{state:c.state})}),[a,t,n])}function V(t){const a=C(),n=p(),s=k(),{tenantEmailDomain:c}=g(),{match:l,detailFetchState:u,refreshStatus:b,undoReversalStatus:y,ignoreStatus:I,lastMatchResults:T,lastUndoResults:v}=r((e=>D(e,t))),R=r((e=>S(e,t))),i=r(M),d=r($);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(x())}),[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(A())}),[d,a,s.pathname,s.state,t,n,c]);const _=o.useCallback((()=>{t!==""&&a(h(t,!0))}),[a,t]),w=o.useCallback((e=>{t!==""&&a(U(t,e))}),[a,t]),B=o.useCallback(((e,X)=>{t!==""&&a(P(t,e,X))}),[a,t]),E=o.useCallback((e=>{a(j(e.transactionId,e.transactionIntegrationId,e.transactionType,e.lineIds,e.transactionSyncToken,e.accrualIds))}),[a]),G=K();return{match:l,detailFetchState:u,handleOpenBill:G,handleApproveAndReverse:E,handleIgnoreMatchSuggestion:B,handleRefresh:_,handleUndoReversal:w,lastMatchResults:T,lastUndoResults:v,refreshStatus:b,ignoreStatus:I,matchAndReverseStatus:R,undoReversalStatus:y}}export{V as a,J as b,K as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bw as n}from"./index-
|
|
1
|
+
import{bw as n}from"./index-D2npSkDz.js";import"./sentry-bpmZUW7k.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]="e137dce0-98c8-4039-ab9b-ac24c3c32f9e",e._sentryDebugIdIdentifier="sentry-dbid-e137dce0-98c8-4039-ab9b-ac24c3c32f9e")}catch{}})();function f(){return n("dashboard")}export{f as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as m}from"./sentry-bpmZUW7k.js";import{h as u,g,i as h,j as S}from"./core-BWRpGVdr.js";import{fE as y}from"./zeni-epic-state-BlWDBO75.js";import{a as k,a0 as C,e as A,aq as T,D as I,n as D,at as E}from"./index-
|
|
1
|
+
import{a as m}from"./sentry-bpmZUW7k.js";import{h as u,g,i as h,j as S}from"./core-BWRpGVdr.js";import{fE as y}from"./zeni-epic-state-BlWDBO75.js";import{a as k,a0 as C,e as A,aq as T,D as I,n as D,at as E}from"./index-D2npSkDz.js";import"./mui-BmHHlwSU.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]="bba6d704-8507-40a9-86b5-067e52e4e1b5",e._sentryDebugIdIdentifier="sentry-dbid-bba6d704-8507-40a9-86b5-067e52e4e1b5")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),n=u(),o=g(),{tenantEmailDomain:s}=h(),d=C(),f=E(d),c=A(),b=T(),p=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),l=p?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:b&&c&&!r,onAskAiCfoClick:m.useCallback((()=>{if(s!=null)if(l)if(f){const a=D(o.state?.pathnameStackToGoBack,o.pathname);n(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else I({location:o,navigate:n,mergeState:{referrer:t}})}),[l,f,o,t,n,i,s])}}export{j as u};
|
package/dist/assets/{useChargeCardPusherEvents-DVeqwUB9.js → useChargeCardPusherEvents-BTVGUbPQ.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-bpmZUW7k.js";import{aJ as _,aK as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-bpmZUW7k.js";import{aJ as _,aK as m}from"./index-D2npSkDz.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]="34413bd7-4b10-4b2c-800d-04f560d4124a",e._sentryDebugIdIdentifier="sentry-dbid-34413bd7-4b10-4b2c-800d-04f560d4124a")}catch{}})();const v=e=>{const{events:n,onEvent:c,onSubscribed:h}=e,o=_(),y=r.useRef(c),p=r.useRef(h),g=r.useRef(0);r.useEffect((()=>{y.current=c}),[c]),r.useEffect((()=>{p.current=h}),[h]);const E=r.useMemo((()=>[...n].sort().join("|")),[n]);r.useEffect((()=>{if(o==null||n.length===0)return;const f=[],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[u,d]=m(t);if(d==="")return;const b=o.channel(u),a=l=>{y.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-bpmZUW7k.js";import{u as P}from"./plaid-CNV6JDhi.js";import{u as A,j as m}from"./core-BWRpGVdr.js";import{Wt as v,Gt as R,N4 as $,CA as I,Wu as N,fE as F,gL as T,Ce as U,Wv as V}from"./zeni-epic-state-BlWDBO75.js";import{aI as W,z as q}from"./index-
|
|
1
|
+
import{a}from"./sentry-bpmZUW7k.js";import{u as P}from"./plaid-CNV6JDhi.js";import{u as A,j as m}from"./core-BWRpGVdr.js";import{Wt as v,Gt as R,N4 as $,CA as I,Wu as N,fE as F,gL as T,Ce as U,Wv as V}from"./zeni-epic-state-BlWDBO75.js";import{aI as W,z as q}from"./index-D2npSkDz.js";import"./mui-BmHHlwSU.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]="b76ceafc-bc09-4eb5-b1dc-e9a410de1da9",t._sentryDebugIdIdentifier="sentry-dbid-b76ceafc-bc09-4eb5-b1dc-e9a410de1da9")}catch{}})();const j=new Set(N),K=({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,E=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:b,ready:g}=P({token:E,onSuccess:f,onExit:x});a.useEffect((()=>{c.current&&g&&(b(),c.current=!1)}),[g,b]);const h=p.fetchStatus.fetchState;a.useEffect((()=>{h==="Error"&&(c.current=!1)}),[h]);const D=a.useCallback((()=>{t!=null&&(u(void 0),c.current=!0,n(I("external_account","link_external_account")))}),[n,t]),C=a.useCallback((e=>{t!=null&&(u(e),l(!1),c.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"||r&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((e=>{const L=W(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:D,onReLoginPlaidAccount:C}},w="email_connect_result",k="onboarding_step",O=()=>{const t=A(),n=m((o=>F(o).tenantId)),i=q.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{K as a,O as u};
|
package/dist/assets/{useInitialThreadRequest-Df-inltN.js → useInitialThreadRequest-CJxccRlH.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-bpmZUW7k.js";import{ax as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-bpmZUW7k.js";import{ax as c}from"./index-D2npSkDz.js";import"./mui-BmHHlwSU.js";import{t as l}from"./core-BWRpGVdr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a4bbd7d8-7019-4c22-99ac-f719107d62e1",e._sentryDebugIdIdentifier="sentry-dbid-a4bbd7d8-7019-4c22-99ac-f719107d62e1")}catch{}})();function m(e,a){const{clearParams:d=!0}=a??{},[t,f]=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||!d||!(t.has("thread_id")||t.has("entity_type")))return;const r=new URLSearchParams(t);r.delete("thread_id"),r.delete("entity_type"),f(r,{replace:!0}),u.current=!0}),[t,f,d]),i}export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-bpmZUW7k.js";import{bj as d}from"./zeni-epic-state-BlWDBO75.js";import{p as i,c as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-bpmZUW7k.js";import{bj as d}from"./zeni-epic-state-BlWDBO75.js";import{p as i,c as t}from"./index-D2npSkDz.js";import"./mui-BmHHlwSU.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]="b4d9f904-fe1e-4da7-9d93-786468500cdf",e._sentryDebugIdIdentifier="sentry-dbid-b4d9f904-fe1e-4da7-9d93-786468500cdf")}catch{}})();const c=e=>{const{useFeatureGate:s}=i(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>d(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-bpmZUW7k.js";import{aJ as E,aK as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-bpmZUW7k.js";import{aJ as E,aK as m}from"./index-D2npSkDz.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]="6f392b10-6785-42f5-83bb-db9eab8c0393",n._sentryDebugIdIdentifier="sentry-dbid-6f392b10-6785-42f5-83bb-db9eab8c0393")}catch{}})();const v=n=>{const{events:s,onEvent:b,onSubscribed:l}=n,o=E(),g=r.useRef(b),h=r.useRef(l),_=r.useRef(0);r.useEffect((()=>{g.current=b}),[b]),r.useEffect((()=>{h.current=l}),[l]);const w=r.useMemo((()=>[...s].sort().join("|")),[s]);r.useEffect((()=>{if(o==null||s.length===0)return;const i=[],f=new Set,y=()=>{if(h.current==null)return;const t=Date.now();t-_.current<5e3||(_.current=t,h.current())};return s.forEach((t=>{const[c,d]=m(t);if(d==="")return;const a=o.channel(c),p=u=>{g.current(d,u)};let e;if(a?.subscribed===!0){if(e=a,e.bind(d,p),!f.has(c)){f.add(c),y();const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{a.unbind(d,p)}))}else{if(e=a??o.subscribe(c),e.bind(d,p),!f.has(c)){f.add(c);const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{e.unbind(d,p)}))}})),()=>{i.forEach((t=>t()))}}),[o,w])};export{v as u};
|
package/dist/assets/{withTransactionSidePanel-DOV8YzFf.js → withTransactionSidePanel-CTldqbPN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-V5YQZeeY.js";import{R as Y,a as i}from"./sentry-bpmZUW7k.js";import{V as de,p as W,c as g,b6 as me,ar as pe,bb as fe,b7 as he,b8 as be,a0 as Pe,bc as U}from"./index-
|
|
1
|
+
import{j as d}from"./liveblocks-V5YQZeeY.js";import{R as Y,a as i}from"./sentry-bpmZUW7k.js";import{V as de,p as W,c as g,b6 as me,ar as pe,bb as fe,b7 as he,b8 as be,a0 as Pe,bc as U}from"./index-D2npSkDz.js";import{c as Z,n as O}from"./mui-BmHHlwSU.js";import{u as Te}from"./useAskAiCfoHostNavButtonProps-BJnb3VUQ.js";import{a as ve,b as ye,u as xe,c as Ee,d as Ie,l as Se,C as Ce,e as ge,f as we}from"./TransactionDetailScreen-7DGIHLqi.js";import{u as Oe}from"./useInitialThreadRequest-CJxccRlH.js";import{h as $,g as F,i as k,u as $e,j as Fe}from"./core-BWRpGVdr.js";import{sZ as ke,Wz as je,Sg as De}from"./zeni-epic-state-BlWDBO75.js";import{m as Me,s as Ve}from"./stripSplatSuffix-Bizh1-Tx.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]="52281bac-ecdb-4d85-891c-4a734a19b41d",a._sentryDebugIdIdentifier="sentry-dbid-52281bac-ecdb-4d85-891c-4a734a19b41d")}catch{}})();const H=O.div`
|
|
2
2
|
${({$active:a})=>a&&Z`
|
|
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-D2npSkDz.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-bpmZUW7k.js"><link rel="modulepreload" crossorigin href="/assets/core-BWRpGVdr.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BlWDBO75.js"><link rel="modulepreload" crossorigin href="/assets/mui-BmHHlwSU.js"><link rel="modulepreload" crossorigin href="/assets/analytics-BfKlFVdJ.js"><link rel="modulepreload" crossorigin href="/assets/utils-CXFQdt3d.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>
|