@zeniai/web-app-ui 5.4.7-dev → 5.4.7-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-D6HgzjWo.js → AccountMappingScreen-CL3fetXA.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-DrT4wLj3.js → ActualMatchingMatchDetailScreen-LtkwBgoi.js} +1 -1
- package/dist/assets/{AddressRoutes-D7_KsY7f.js → AddressRoutes-BLWe8vSW.js} +1 -1
- package/dist/assets/{AddressScreen-yLBHCU8H.js → AddressScreen-B4KCPZ9-.js} +1 -1
- package/dist/assets/{AiCfoScreen-C95CmuT8.js → AiCfoScreen-BOvRjous.js} +1 -1
- package/dist/assets/{AppDrawer-wuSLq_GC.js → AppDrawer-BhSl8rV2.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-Cz4FnR8k.js → BillPayApprovalRoutes-BAqA1YZU.js} +1 -1
- package/dist/assets/{BillPayRoutes-lBcH3kG4.js → BillPayRoutes-Bz8DqQdE.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-CNBsygLT.js → BusinessVerificationPageScreen-CaSHW9Ki.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-Dnj7L-Aq.js → CardsAiCfoScreen-C3VFs4U9.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-BebvufWC.js → ChargeCardRoutes-Biiw-2qs.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CWQymYC0.js → CompanyPassportScreen-DFK56R6q.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CTDny4hz.js → ConnectionAuthScreen-CQNQ7ew_.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-CIry93lh.js → CustomerOnboardingAuthScreen-CozKN4Dq.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-07XvuYSy.js → CustomerOnboardingRoutes-BHzocQW3.js} +1 -1
- package/dist/assets/{DashboardRoutes-DtOF4t57.js → DashboardRoutes-ZyDFhTFr.js} +1 -1
- package/dist/assets/{DefaultTenantHome-CweSG_GQ.js → DefaultTenantHome-CgcNc4cC.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-jf25UFiV.js → DomesticWireDetailScreen-Cdtjf4O3.js} +1 -1
- package/dist/assets/{DrawerScreen-5p-VaDVX.js → DrawerScreen-2O6C0q7t.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-CacM-JPm.js → EntityDetailRoutes-CUtCxwR8.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-Byqo8eZZ.js → ExpenseAutomationRoutes-vwwAql85.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-CCuIxuhc.js → FeaturePreviewScreen-BN3Utv8l.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-BLlIOZQ7.js → HubSpotOAuthCallbackScreen-DFmMK3N-.js} +1 -1
- package/dist/assets/{InvoicingRoutes-D2PWzI_4.js → InvoicingRoutes-BqVSxQZF.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-CaOpn3qT.js → MagicLinkRoutes-BBXT-8iZ.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-DiZU5_QE.js → MagicLinkSignInScreen-B019I8to.js} +1 -1
- package/dist/assets/{MobileAppDrawer-BixbLTmv.js → MobileAppDrawer-Bnn0AzP6.js} +1 -1
- package/dist/assets/{NotFoundScreen-BkN7W6JR.js → NotFoundScreen-o4k1oZs0.js} +1 -1
- package/dist/assets/{NotificationRoutes-BdD13Onr.js → NotificationRoutes-MW-AfAsG.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-NFsa-sgn.js → OAuthConsentScreen-D4oumjOA.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-Bm0J5IMo.js → PandLWithForecastRoutes-BBUaqqPN.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-CVV3tuZg.js → PaymentLinkScreen-B1FuqiqS.js} +1 -1
- package/dist/assets/{PeopleRoutes-I7YtZIOQ.js → PeopleRoutes-BxNpp29N.js} +1 -1
- package/dist/assets/{PerformanceRoutes-Bh2GJMgS.js → PerformanceRoutes-Bxls-7nG.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CMu1wr6r.js → QBOConnectionScreen-BcOfN44x.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DPr_Xw2e.js → ReimbursementApprovalRoutes-nKkO8sDG.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-B-Gs9TwE.js → ReimbursementApprovalRuleDetailScreen-C8spW0I4.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-C5mKxHY0.js → ReimbursementRoutes-CbWWiC7R.js} +1 -1
- package/dist/assets/{ReportsRoutes-rLspO2bh.js → ReportsRoutes-D3z0M6Uh.js} +1 -1
- package/dist/assets/{RewardsRoutes-BAg5LFP3.js → RewardsRoutes-CxC7HLU2.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-CUlxxOT4.js → ScheduleDetailsPrepaidExpensesScreen-Bg6pEi23.js} +1 -1
- package/dist/assets/{ScreenRoutes-B27hAn5a.js → ScreenRoutes-BrcD1XL7.js} +2 -2
- package/dist/assets/{SettingsRoutes-BafV6BMK.js → SettingsRoutes-BkRV9bZk.js} +1 -1
- package/dist/assets/{SetupPagesScreen-CYo2TZ1p.js → SetupPagesScreen-CHmt8z0M.js} +1 -1
- package/dist/assets/{SignInScreen-CT-WoxFu.js → SignInScreen-C3SF8g1v.js} +1 -1
- package/dist/assets/{SignOutScreen-CUkfHzEK.js → SignOutScreen-BvBM0MiM.js} +1 -1
- package/dist/assets/{TaskListScreen-CNDqJnu1.js → TaskListScreen-DZOQifu0.js} +1 -1
- package/dist/assets/{TaskRoutes-BeXt3gMh.js → TaskRoutes-CKUKBff5.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-CSoIoyzR.js → TransactionDetailRoutes-mDSWWXnC.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-D3daFCwt.js → TransactionDetailScreen-BffoTiv1.js} +1 -1
- package/dist/assets/{TransactionListRoutes-Cp-cSB8W.js → TransactionListRoutes-BrSs0Qb8.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DnPKaz7R.js → TreasuryRoutes-BnbLPEPo.js} +1 -1
- package/dist/assets/{VendorsRoutes-CY-uooJs.js → VendorsRoutes-ERyzYzp_.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-CdXrY5Nn.js → WiseConfirmationScreen-4XYLlDr6.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CaWZaYnh.js → ZeniAccountRoutes-DWPnEswh.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-C3LaZbC9.js → ZeniAccountStatementScreen-CC738Wts.js} +1 -1
- package/dist/assets/{analyticsHelper-BNh1_jfv.js → analyticsHelper-IE74B_VH.js} +1 -1
- package/dist/assets/{getLocaleForTenant-D-baUPRb.js → getLocaleForTenant-D_p3Rwku.js} +1 -1
- package/dist/assets/{index-CtE8HnsY.js → index-CUowGd6j.js} +5 -5
- package/dist/assets/{routePaths-Dv28cYw1.js → routePaths-USkRO4rX.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-CZpCt66v.js → useActualMatchingMatchDetail-DMoInbsc.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-C7G9HKEb.js → useAiCfoDashboardSuggestedQuestionsChips-CpP4wg6i.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-JRFYPtx4.js → useAskAiCfoHostNavButtonProps-BOgkZ7Me.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-D_qYIckD.js → useChargeCardPusherEvents-DBMEFK9o.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-aPg3qWb4.js → useEmailConnectResultRefresh-CgsUvyd8.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-gQdpW0fv.js → useInitialThreadRequest-DsCX_K0Z.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-94Xv3cKO.js → useTaskManagerAccess-BqAgTSrE.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-CdVgZy4d.js → useTaskManagerPusherEvents-BUfOqW2k.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DDzMeSLR.js → withTransactionSidePanel-B6C9XIXK.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{br as u,ds as i}from"./zeni-epic-state-VmxO3Mnv.js";import{G as $}from"./index-
|
|
1
|
+
import{br as u,ds as i}from"./zeni-epic-state-VmxO3Mnv.js";import{G as $}from"./index-CUowGd6j.js";import"./mui-CUsYvTMG.js";import"./sentry-BrSPpZKf.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]="349b6203-90cf-4f65-84f3-779d3ac6af2d",e._sentryDebugIdIdentifier="sentry-dbid-349b6203-90cf-4f65-84f3-779d3ac6af2d")}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 f=["prepaid_expenses","fixed_assets","accrued_expenses","one_time_accrual"];function R(e){return e!=null&&f.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,c,r=!0){let d=`/${e}/transactions/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${a}/${c.startDate.format(s)}/${c.endDate.format(s)}/${encodeURIComponent(t)}`;return d=r===!1?`${d}/exclude_subaccounts`:`${d}/include_subaccounts`,d}const g=(e,n)=>({startDate:i(u(),n,Math.abs(e),"year"),endDate:u()});function h(e,n,o,t,a,c,r){return`/${e}/transactions/by-class/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${c}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function w(e,n,o,t,a,c,r){return`/${e}/transactions/by-project/${encodeURIComponent(o)}/${encodeURIComponent(n)}/${encodeURIComponent(t)}/${c}/${r.startDate.format(s)}/${r.endDate.format(s)}/${encodeURIComponent(a)}`}function x(e,n){return`/${n}/${e.type}/${encodeURIComponent(e.id)}/${encodeURIComponent(e.name)}`}const v=(e,n,o,t)=>{let a=`/${o}/vendors/summary/${encodeURIComponent(e)}/vendor_${encodeURIComponent(n)}`;return t!=null&&(a+=`/${t.balanceTimeFrame}/${t.startDate.format(s)}/${t.endDate.format(s)}`),a};function 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 m=["explore","new_chat","routines","skills"];function M(e){return m.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-BrSPpZKf.js";import{u as x,h as p,g as k,i as g,j as l}from"./core-Bc2mnalE.js";import{a30 as A,a31 as M,a2e as U,a2g as j,rX as b,a2f as P,a2h as F,sp as N,s1 as O,s5 as X,t1 as q}from"./zeni-epic-state-VmxO3Mnv.js";import{a as y}from"./stripSplatSuffix-wwIiiS3L.js";import{a2 as I,l as z}from"./index-
|
|
1
|
+
import{a as o}from"./sentry-BrSPpZKf.js";import{u as x,h as p,g as k,i as g,j as l}from"./core-Bc2mnalE.js";import{a30 as A,a31 as M,a2e as U,a2g as j,rX as b,a2f as P,a2h as F,sp as N,s1 as O,s5 as X,t1 as q}from"./zeni-epic-state-VmxO3Mnv.js";import{a as y}from"./stripSplatSuffix-wwIiiS3L.js";import{a2 as I,l as z}from"./index-CUowGd6j.js";import{c as H}from"./routePaths-USkRO4rX.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="892d1336-c0c2-42a3-96cb-903f19c8d976",a._sentryDebugIdIdentifier="sentry-dbid-892d1336-c0c2-42a3-96cb-903f19c8d976")}catch{}})();function J(a,e,n){return{pathname:H({id:a.id,type:q(a.type)},e),state:{pathnameStackToGoBack:z(n.state?.pathnameStackToGoBack,`${n.pathname}${n.search}`)}}}function Z(a){const e=x(),n=p(),s=k(),{tenantEmailDomain:c}=g(),{match:u,detailFetchState:i,refreshStatus:R,undoReversalStatus:v,ignoreStatus:T,lastMatchResults:_,lastUndoResults:w}=l((t=>A(t,a))),B=l((t=>M(t,a))),d=l(U),h=l(j);o.useEffect((()=>{a!==""&&u==null&&i.fetchState==="Not-Started"&&e(b(a))}),[a,u,i.fetchState,e]),o.useEffect((()=>{if(d==null||d!==a||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=I(s.state?.pathnameStackToGoBack);n(y(t.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),e(P())}),[d,e,s.pathname,s.state,a,n,c]),o.useEffect((()=>{if(h==null||h!==a||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=I(s.state?.pathnameStackToGoBack);n(y(t.poppedPathname,`/${c??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),e(F())}),[h,e,s.pathname,s.state,a,n,c]);const D=o.useCallback((()=>{a!==""&&e(b(a,!0))}),[e,a]),E=o.useCallback((t=>{a!==""&&e(N(a,t))}),[e,a]),G=o.useCallback(((t,r)=>{a!==""&&e(O(a,t,r))}),[e,a]),C=o.useCallback((t=>{e(X(t.transactionId,t.transactionIntegrationId,t.transactionType,t.lineIds,t.transactionSyncToken,t.accrualIds))}),[e]),S=(function(){const t=p(),r=k(),{tenantEmailDomain:f}=g();return o.useCallback(($=>{if(f==null)return;const m=J($,f,r);t(m.pathname,{state:m.state})}),[r,t,f])})();return{match:u,detailFetchState:i,handleOpenBill:S,handleApproveAndReverse:C,handleIgnoreMatchSuggestion:G,handleRefresh:D,handleUndoReversal:E,lastMatchResults:_,lastUndoResults:w,refreshStatus:R,ignoreStatus:T,matchAndReverseStatus:B,undoReversalStatus:v}}export{J as a,Z as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bv as f}from"./index-
|
|
1
|
+
import{bv as f}from"./index-CUowGd6j.js";import"./sentry-BrSPpZKf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2fdbb2cd-f57f-4f2b-8b86-c8b794e7ca34",e._sentryDebugIdIdentifier="sentry-dbid-2fdbb2cd-f57f-4f2b-8b86-c8b794e7ca34")}catch{}})();function r(){return f("dashboard")}export{r as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./sentry-BrSPpZKf.js";import{h as u,g,i as h,j as S}from"./core-Bc2mnalE.js";import{fI as y}from"./zeni-epic-state-VmxO3Mnv.js";import{a as k,$ as C,f as A,ap as I,x as T,l as w,as as x}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-BrSPpZKf.js";import{h as u,g,i as h,j as S}from"./core-Bc2mnalE.js";import{fI as y}from"./zeni-epic-state-VmxO3Mnv.js";import{a as k,$ as C,f as A,ap as I,x as T,l as w,as as x}from"./index-CUowGd6j.js";import"./mui-CUsYvTMG.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]="4deb532e-ba01-46c6-9d2e-72e82171b677",e._sentryDebugIdIdentifier="sentry-dbid-4deb532e-ba01-46c6-9d2e-72e82171b677")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),s=u(),o=g(),{tenantEmailDomain:n}=h(),l=C(),f=x(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=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-D_qYIckD.js → useChargeCardPusherEvents-DBMEFK9o.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BrSPpZKf.js";import{aI as I,aJ as _}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BrSPpZKf.js";import{aI as I,aJ as _}from"./index-CUowGd6j.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]="177b2c33-7bfc-4dc4-9310-c265e27b05d9",e._sentryDebugIdIdentifier="sentry-dbid-177b2c33-7bfc-4dc4-9310-c265e27b05d9")}catch{}})();const v=e=>{const{events:n,onEvent:d,onSubscribed:h}=e,o=I(),y=r.useRef(d),p=r.useRef(h),g=r.useRef(0);r.useEffect((()=>{y.current=d}),[d]),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,c]=_(t);if(c==="")return;const b=o.channel(u),a=l=>{y.current(c,l)};let s;if(b?.subscribed===!0)s=b,s.bind(c,a),i.has(u)||(i.add(u),w()),f.push((()=>{b.unbind(c,a)}));else{if(s=b??o.subscribe(u),s.bind(c,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(c,a)}))}})),()=>{f.forEach((t=>t()))}}),[o,E])};export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./sentry-BrSPpZKf.js";import{u as L}from"./plaid-Dxz6lSJz.js";import{u as k,j as m}from"./core-Bc2mnalE.js";import{Wx as v,Gx as R,N8 as $,CE as I,Wy as N,fI as F,gP as T,Ci as U,Wz as V}from"./zeni-epic-state-VmxO3Mnv.js";import{aH as W,z as q}from"./index-
|
|
1
|
+
import{a}from"./sentry-BrSPpZKf.js";import{u as L}from"./plaid-Dxz6lSJz.js";import{u as k,j as m}from"./core-Bc2mnalE.js";import{Wx as v,Gx as R,N8 as $,CE as I,Wy as N,fI as F,gP as T,Ci as U,Wz as V}from"./zeni-epic-state-VmxO3Mnv.js";import{aH as W,z as q}from"./index-CUowGd6j.js";import"./mui-CUsYvTMG.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]="9996ad8d-7c0a-4c13-941c-a5d36845c8f6",e._sentryDebugIdIdentifier="sentry-dbid-9996ad8d-7c0a-4c13-941c-a5d36845c8f6")}catch{}})();const z=new Set(N),K=({companyId:e})=>{const n=k(),i=m((t=>t.plaidAccountViewState.external_account.plaidConnectionDetails.link_external_account)),s=m((t=>t.plaidAccountViewState.external_account.plaidConnectionDetails.update_account)),d=m((t=>v(t.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((t=>{e!=null&&(n($(t,e,"external_account",void 0,o!=null?"update_account":"link_external_account")),c.current=!1,o!=null&&l(!0))}),[n,e,o]),A=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:g,ready:h}=L({token:E,onSuccess:f,onExit:A});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((()=>{e!=null&&(u(void 0),c.current=!0,n(I("external_account","link_external_account")))}),[n,e]),P=a.useCallback((t=>{e!=null&&(u(t),l(!1),c.current=!0,n(I("external_account","update_account",t)))}),[n,e]),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((t=>{const C=W(t.institutionDetails?.logo);return{accountId:t.paymentAccountId,name:t.institutionDetails?.institutionName??t.accountName,mask:t.accountLast4Digits,balanceFormatted:(S=t.balances?.current?.amount,y=t.balances?.current?.currencySymbol,S==null?"":`${y??"$"}${S.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`),isActive:z.has(t.providerVerificationStatus?.code??""),isLoginRequired:t.isLoginRequired,reLoginStatus:t.paymentAccountId===o?b:"Not-Started",institutionLogoUrl:C};var S,y}))),[d,o,b]),onAddPlaidAccount:D,onReLoginPlaidAccount:P}},w="email_connect_result",x="onboarding_step",O=()=>{const e=k(),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(x);return l||f!=null?(r.searchParams.delete(w),r.searchParams.delete(x),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&&(e(T(i,n)),c("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&e(U({step:V(u)})))}),[e,n,i]),{pendingAutoFocusTabId:d}};export{K as a,O as u};
|
package/dist/assets/{useInitialThreadRequest-gQdpW0fv.js → useInitialThreadRequest-DsCX_K0Z.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-BrSPpZKf.js";import{aw as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-BrSPpZKf.js";import{aw as c}from"./index-CUowGd6j.js";import"./mui-CUsYvTMG.js";import{t as l}from"./core-Bc2mnalE.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]="e5cade93-388e-4234-b87d-3a42bb714ade",e._sentryDebugIdIdentifier="sentry-dbid-e5cade93-388e-4234-b87d-3a42bb714ade")}catch{}})();function m(e,a){const{clearParams:d=!0}=a??{},[t,u]=l(),[f,o]=n.useState(),s=n.useRef(!1),i=n.useRef(!1);return n.useEffect((()=>{if(s.current||e==null||!(t.has("thread_id")||t.has("entity_type")))return;const r=c(t,e);r!=null&&(o(r),s.current=!0)}),[t,e]),n.useEffect((()=>{if(!s.current||i.current||!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}),i.current=!0}),[t,u,d]),f}export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BrSPpZKf.js";import{bn as i}from"./zeni-epic-state-VmxO3Mnv.js";import{p as d,d as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BrSPpZKf.js";import{bn as i}from"./zeni-epic-state-VmxO3Mnv.js";import{p as d,d as t}from"./index-CUowGd6j.js";import"./mui-CUsYvTMG.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]="9960df2d-379c-4ecc-a0b2-f9eb12c0c783",e._sentryDebugIdIdentifier="sentry-dbid-9960df2d-379c-4ecc-a0b2-f9eb12c0c783")}catch{}})();const u=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-BrSPpZKf.js";import{aI as E,aJ as I}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-BrSPpZKf.js";import{aI as E,aJ as I}from"./index-CUowGd6j.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]="7844b63b-ad94-4b80-91e5-c900603473c3",n._sentryDebugIdIdentifier="sentry-dbid-7844b63b-ad94-4b80-91e5-c900603473c3")}catch{}})();const v=n=>{const{events:s,onEvent:o,onSubscribed:l}=n,b=E(),g=r.useRef(o),h=r.useRef(l),_=r.useRef(0);r.useEffect((()=>{g.current=o}),[o]),r.useEffect((()=>{h.current=l}),[l]);const w=r.useMemo((()=>[...s].sort().join("|")),[s]);r.useEffect((()=>{if(b==null||s.length===0)return;const i=[],f=new Set,y=()=>{if(h.current==null)return;const t=Date.now();t-_.current<5e3||(_.current=t,h.current())};return s.forEach((t=>{const[c,d]=I(t);if(d==="")return;const a=b.channel(c),p=u=>{g.current(d,u)};let e;if(a?.subscribed===!0){if(e=a,e.bind(d,p),!f.has(c)){f.add(c),y();const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{a.unbind(d,p)}))}else{if(e=a??b.subscribe(c),e.bind(d,p),!f.has(c)){f.add(c);const u=()=>{y()};e.bind("pusher:subscription_succeeded",u),i.push((()=>{e.unbind("pusher:subscription_succeeded",u)}))}i.push((()=>{e.unbind(d,p)}))}})),()=>{i.forEach((t=>t()))}}),[b,w])};export{v as u};
|
package/dist/assets/{withTransactionSidePanel-DDzMeSLR.js → withTransactionSidePanel-B6C9XIXK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-CevUFagi.js";import{R as Y,a as i}from"./sentry-BrSPpZKf.js";import{J as de,p as J,d as w,b5 as me,aq as pe,ba as fe,b6 as he,b7 as be,$ as Pe,bb as U}from"./index-
|
|
1
|
+
import{j as d}from"./liveblocks-CevUFagi.js";import{R as Y,a as i}from"./sentry-BrSPpZKf.js";import{J as de,p as J,d as w,b5 as me,aq as pe,ba as fe,b6 as he,b7 as be,$ as Pe,bb as U}from"./index-CUowGd6j.js";import{c as W,n as O}from"./mui-CUsYvTMG.js";import{u as Te}from"./useAskAiCfoHostNavButtonProps-BOgkZ7Me.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 we,f as ge}from"./TransactionDetailScreen-BffoTiv1.js";import{u as Oe}from"./useInitialThreadRequest-DsCX_K0Z.js";import{h as $,g as k,i as F,u as $e,j as ke}from"./core-Bc2mnalE.js";import{t1 as Fe,WD as De,Sk as je}from"./zeni-epic-state-VmxO3Mnv.js";import{m as Me,s as Ve}from"./stripSplatSuffix-wwIiiS3L.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]="93051b0f-4994-42b1-abb6-61f295560772",a._sentryDebugIdIdentifier="sentry-dbid-93051b0f-4994-42b1-abb6-61f295560772")}catch{}})();const H=O.div`
|
|
2
2
|
${({$active:a})=>a&&W`
|
|
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-CUowGd6j.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-BrSPpZKf.js"><link rel="modulepreload" crossorigin href="/assets/core-Bc2mnalE.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-VmxO3Mnv.js"><link rel="modulepreload" crossorigin href="/assets/mui-CUsYvTMG.js"><link rel="modulepreload" crossorigin href="/assets/analytics-D7SbUCRL.js"><link rel="modulepreload" crossorigin href="/assets/utils-BKSIhN7N.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>
|