@zeniai/web-app-ui 5.4.17-dev → 5.4.17-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-DIZ1qWql.js → AccountMappingScreen-DHZmGJHR.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-C6MMW6xe.js → ActualMatchingMatchDetailScreen-D4ZAhLyK.js} +1 -1
- package/dist/assets/{AddressRoutes-DneYortX.js → AddressRoutes-C_YKkQ4e.js} +1 -1
- package/dist/assets/{AddressScreen-CxRV-hrD.js → AddressScreen-pUEQ8COi.js} +1 -1
- package/dist/assets/{AiCfoScreen-Ct8ctLoM.js → AiCfoScreen-DyX5aBN4.js} +1 -1
- package/dist/assets/{AppDrawer-DDlKiLbC.js → AppDrawer-CkYod33V.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-WPV-16X0.js → BillPayApprovalRoutes-CQfZBTAZ.js} +1 -1
- package/dist/assets/{BillPayRoutes-PQbxiOB3.js → BillPayRoutes-By31GW0r.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-DaAqJAwC.js → BusinessVerificationPageScreen-OiBBITut.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-CVenT1_U.js → CardsAiCfoScreen-BoSsgURJ.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-uCAqAWIA.js → ChargeCardRoutes-D2dStQvL.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-DtXzsb3x.js → CompanyPassportScreen-uJuOpbLH.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BC1VQ6tg.js → ConnectionAuthScreen-D0ps2igv.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-DGFpytn-.js → CustomerOnboardingAuthScreen-CFNS69Ij.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-B6np-cNh.js → CustomerOnboardingRoutes-D8RHTT1V.js} +1 -1
- package/dist/assets/{DashboardRoutes-9dawbCei.js → DashboardRoutes-B12RNmas.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BgSSAKid.js → DefaultTenantHome-D3s4S2J5.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-u2HKaCWA.js → DomesticWireDetailScreen-DOR31wzU.js} +1 -1
- package/dist/assets/{DrawerScreen-BmZb1i83.js → DrawerScreen-DKNG8X_t.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-DV-gNWAZ.js → EntityDetailRoutes-Be8hUmUL.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DJyIDCG4.js → ExpenseAutomationRoutes-CpXF-ffp.js} +1 -1
- package/dist/assets/{FallBackRoute--cXyuVDR.js → FallBackRoute-CZx_of9L.js} +2 -2
- package/dist/assets/{FeaturePreviewScreen-DjPPDYKv.js → FeaturePreviewScreen-DGEYZi1x.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-DL6_G6pe.js → HubSpotOAuthCallbackScreen-D7p_5mfj.js} +1 -1
- package/dist/assets/{InvoicingRoutes-DKlu_pXq.js → InvoicingRoutes-CBp4dev1.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-BkZcOPcj.js → MagicLinkRoutes-BQs4vmOS.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-CmIZfa-U.js → MagicLinkSignInScreen-CCIyZeRr.js} +1 -1
- package/dist/assets/{MobileAppDrawer-DTqKEh3f.js → MobileAppDrawer-C4x3dJNg.js} +1 -1
- package/dist/assets/{NotFoundScreen-CY-XFa3a.js → NotFoundScreen-BcCEXL5H.js} +1 -1
- package/dist/assets/{NotificationRoutes-BwTXq37O.js → NotificationRoutes-DXmyM-jA.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-NPetpQky.js → OAuthConsentScreen-CtfrEdio.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-eI5sgFXq.js → PandLWithForecastRoutes-Cf3jCMEC.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-C3fxjzB1.js → PaymentLinkScreen-d1K-t4Mc.js} +1 -1
- package/dist/assets/{PeopleRoutes-B4kdNKMm.js → PeopleRoutes-DeQo8Nuf.js} +1 -1
- package/dist/assets/{PerformanceRoutes-CT8b6LEZ.js → PerformanceRoutes-C6yJL-6a.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BLLJy6Ug.js → QBOConnectionScreen-QnPsBaxP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-DX03V50m.js → ReimbursementApprovalRoutes-XUoT4riF.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-y6N7Iuxh.js → ReimbursementApprovalRuleDetailScreen-0f5NInzo.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-50C6Ebhr.js → ReimbursementRoutes-EHCnxcxK.js} +1 -1
- package/dist/assets/{ReportsRoutes-CPbwIPP-.js → ReportsRoutes-DFRrIwzW.js} +1 -1
- package/dist/assets/{RewardsRoutes-cADkol8X.js → RewardsRoutes-JLHb-7q6.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-Bb90T06-.js → ScheduleDetailsPrepaidExpensesScreen-a__Vn-_4.js} +1 -1
- package/dist/assets/{ScreenRoutes-BOM6GDiC.js → ScreenRoutes-C0jSfgvJ.js} +2 -2
- package/dist/assets/{SettingsRoutes-Dd8PYfpt.js → SettingsRoutes-Cmf6iMTG.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BY0N32JD.js → SetupPagesScreen-BRl0GLez.js} +1 -1
- package/dist/assets/{SignInScreen-DGgeSRO8.js → SignInScreen-BNHGudFi.js} +1 -1
- package/dist/assets/{SignOutScreen-DPsA_-Qd.js → SignOutScreen-Dzfinlle.js} +1 -1
- package/dist/assets/{TaskListScreen-yze1VNuP.js → TaskListScreen-Dv-xrypb.js} +1 -1
- package/dist/assets/{TaskRoutes-B5s7sZXk.js → TaskRoutes-CyjR61JM.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-D5llvRhv.js → TransactionDetailRoutes-DWsOShGG.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-CebcYk9B.js → TransactionDetailScreen--luG8S3o.js} +1 -1
- package/dist/assets/{TransactionListRoutes-PnEvh6qc.js → TransactionListRoutes-BNKU14jX.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DbBm2doo.js → TreasuryRoutes-GaQa32zH.js} +1 -1
- package/dist/assets/{VendorsRoutes-CQjAHjxC.js → VendorsRoutes-BRsH2Rh9.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-d0_FJyyD.js → WiseConfirmationScreen-B3oCxvNz.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CrROItmj.js → ZeniAccountRoutes-BPLC3Ev8.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-DiwM8zAQ.js → ZeniAccountStatementScreen-DY0FNhod.js} +1 -1
- package/dist/assets/{analyticsHelper-BOs1nNPv.js → analyticsHelper-Dsr2bWLK.js} +1 -1
- package/dist/assets/{getLocaleForTenant-jg4r2V28.js → getLocaleForTenant-D5JAGUa6.js} +1 -1
- package/dist/assets/{index-DZBfE5XI.js → index-CuSTzeZy.js} +6 -6
- package/dist/assets/{routePaths-CaZTJQOM.js → routePaths-BtWEtoiR.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-DglThU_y.js → useActualMatchingMatchDetail-DRlFFvE1.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-B4OxQoVy.js → useAiCfoDashboardSuggestedQuestionsChips-UMOdcnHQ.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-DV6iNvbF.js → useAskAiCfoHostNavButtonProps-BYMSeLl2.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-Gp7Qmy_v.js → useChargeCardPusherEvents-Jvp-lT2N.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-DJgvOf06.js → useEmailConnectResultRefresh-BSJMcxKk.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BpNcTGLt.js → useInitialThreadRequest-MFOjmmEg.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CP331xWN.js → useTaskManagerAccess-WdloGJhe.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-BmjCwNse.js → useTaskManagerPusherEvents-smRxU2L8.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-7NlWHlVm.js → withTransactionSidePanel-3kVG-0mE.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-j9Po26Lg.js";import{G as $}from"./index-
|
|
1
|
+
import{bv as u,d9 as i}from"./zeni-epic-state-j9Po26Lg.js";import{G as $}from"./index-CuSTzeZy.js";import"./mui-DYo6Z7Si.js";import"./sentry-CQfqw6mU.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-CQfqw6mU.js";import{u as C,h as p,g as k,i as b,j as r}from"./core-BQ6YlWys.js";import{a1D as S,a1E as $,_H as x,_J as A,s1 as f,_I as M,_K as U,sv as P,s7 as j,sb as F,t7 as H}from"./zeni-epic-state-j9Po26Lg.js";import{a as h}from"./stripSplatSuffix-TzoGXcwz.js";import{a5 as m,s as J}from"./index-
|
|
1
|
+
import{a as o}from"./sentry-CQfqw6mU.js";import{u as C,h as p,g as k,i as b,j as r}from"./core-BQ6YlWys.js";import{a1D as S,a1E as $,_H as x,_J as A,s1 as f,_I as M,_K as U,sv as P,s7 as j,sb as F,t7 as H}from"./zeni-epic-state-j9Po26Lg.js";import{a as h}from"./stripSplatSuffix-TzoGXcwz.js";import{a5 as m,s as J}from"./index-CuSTzeZy.js";import{t as K}from"./routePaths-BtWEtoiR.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]="009f4b2e-fe3a-45f0-816f-14e3dc434da8",t._sentryDebugIdIdentifier="sentry-dbid-009f4b2e-fe3a-45f0-816f-14e3dc434da8")}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}=b();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}=b(),{match:l,detailFetchState:u,refreshStatus:g,undoReversalStatus:_,ignoreStatus:y,lastMatchResults:I,lastUndoResults:v}=r((e=>S(e,t))),R=r((e=>$(e,t))),i=r(x),d=r(A);o.useEffect((()=>{t!==""&&l==null&&u.fetchState==="Not-Started"&&a(f(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(h(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(h(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(f(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:g,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-CuSTzeZy.js";import"./sentry-CQfqw6mU.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-CQfqw6mU.js";import{h as u,g as h,i as g,j as S}from"./core-BQ6YlWys.js";import{fI as y}from"./zeni-epic-state-j9Po26Lg.js";import{h as I,a2 as k,a as C,ar as A,I as T,s as w,ax as x}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-CQfqw6mU.js";import{h as u,g as h,i as g,j as S}from"./core-BQ6YlWys.js";import{fI as y}from"./zeni-epic-state-j9Po26Lg.js";import{h as I,a2 as k,a as C,ar as A,I as T,s as w,ax as x}from"./index-CuSTzeZy.js";import"./mui-DYo6Z7Si.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]="26a636e1-7bdd-43e3-9e66-d64b4f094d72",e._sentryDebugIdIdentifier="sentry-dbid-26a636e1-7bdd-43e3-9e66-d64b4f094d72")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=I(),s=u(),o=h(),{tenantEmailDomain:n}=g(),l=k(),f=x(l),c=C(),p=A(),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-Gp7Qmy_v.js → useChargeCardPusherEvents-Jvp-lT2N.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CQfqw6mU.js";import{dg as _,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-CQfqw6mU.js";import{dg as _,dh as m}from"./index-CuSTzeZy.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-CQfqw6mU.js";import{u as L}from"./plaid-BNcFec4W.js";import{u as A,j as m}from"./core-BQ6YlWys.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-j9Po26Lg.js";import{df as q,z as j}from"./index-
|
|
1
|
+
import{a}from"./sentry-CQfqw6mU.js";import{u as L}from"./plaid-BNcFec4W.js";import{u as A,j as m}from"./core-BQ6YlWys.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-j9Po26Lg.js";import{df as q,z as j}from"./index-CuSTzeZy.js";import"./mui-DYo6Z7Si.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-BpNcTGLt.js → useInitialThreadRequest-MFOjmmEg.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-CQfqw6mU.js";import{db as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-CQfqw6mU.js";import{db as c}from"./index-CuSTzeZy.js";import"./mui-DYo6Z7Si.js";import{t as l}from"./core-BQ6YlWys.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-CQfqw6mU.js";import{bm as i}from"./zeni-epic-state-j9Po26Lg.js";import{p as d,N as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-CQfqw6mU.js";import{bm as i}from"./zeni-epic-state-j9Po26Lg.js";import{p as d,N as t}from"./index-CuSTzeZy.js";import"./mui-DYo6Z7Si.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="80f08d2f-8f77-45a1-9035-f7612e43056d",e._sentryDebugIdIdentifier="sentry-dbid-80f08d2f-8f77-45a1-9035-f7612e43056d")}catch{}})();const c=e=>{const{useFeatureGate:s}=d(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CQfqw6mU.js";import{dg as E,dh as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-CQfqw6mU.js";import{dg as E,dh as m}from"./index-CuSTzeZy.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-7NlWHlVm.js → withTransactionSidePanel-3kVG-0mE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-UAxYbctH.js";import{R as Y,a as i}from"./sentry-CQfqw6mU.js";import{V as ue,p as J,N as C,cg as me,al as pe,d9 as fe,ch as he,cj as be,a2 as Te,c7 as U}from"./index-
|
|
1
|
+
import{j as u}from"./liveblocks-UAxYbctH.js";import{R as Y,a as i}from"./sentry-CQfqw6mU.js";import{V as ue,p as J,N as C,cg as me,al as pe,d9 as fe,ch as he,cj as be,a2 as Te,c7 as U}from"./index-CuSTzeZy.js";import{c as K,n as O}from"./mui-DYo6Z7Si.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-BYMSeLl2.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--luG8S3o.js";import{u as Oe}from"./useInitialThreadRequest-MFOjmmEg.js";import{h as $,g as F,i as k,u as $e,j as Fe}from"./core-BQ6YlWys.js";import{t7 as ke,$J as je,Sp as De}from"./zeni-epic-state-j9Po26Lg.js";import{m as Me,s as Ve}from"./stripSplatSuffix-TzoGXcwz.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="de7a63ac-785e-49eb-9e30-9b48259d6bd8",a._sentryDebugIdIdentifier="sentry-dbid-de7a63ac-785e-49eb-9e30-9b48259d6bd8")}catch{}})();const H=O.div`
|
|
2
2
|
${({$active:a})=>a&&K`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-CuSTzeZy.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-CQfqw6mU.js"><link rel="modulepreload" crossorigin href="/assets/core-BQ6YlWys.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-j9Po26Lg.js"><link rel="modulepreload" crossorigin href="/assets/mui-DYo6Z7Si.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CabaUa1L.js"><link rel="modulepreload" crossorigin href="/assets/utils-BpLD-La5.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>
|