@zeniai/web-app-ui 5.3.46-dev → 5.3.46-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-CfueHDEF.js → AccountMappingScreen-BT617fFT.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-fiSieMf_.js → ActualMatchingMatchDetailScreen-B8f2yDaP.js} +1 -1
- package/dist/assets/{AddressRoutes-nZx4HWhJ.js → AddressRoutes-kiur36N3.js} +1 -1
- package/dist/assets/{AddressScreen-D06QouT5.js → AddressScreen-5ZLJ7_Lf.js} +1 -1
- package/dist/assets/{AiCfoScreen-V8xy8p4b.js → AiCfoScreen-CW5K1JhC.js} +1 -1
- package/dist/assets/{AppDrawer-CyBGsFud.js → AppDrawer-D5UtqVeE.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-C1N-qtHk.js → BillPayApprovalRoutes-DwyJret-.js} +1 -1
- package/dist/assets/{BillPayRoutes-CdYxJOPQ.js → BillPayRoutes-DFm7lkFc.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-BScFHNdu.js → BusinessVerificationPageScreen-BL6H7JF-.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-BQ4Zn40f.js → CardsAiCfoScreen-C-_PDYQc.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-tPmmU_fw.js → ChargeCardRoutes-Brg8E0b9.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CMIjHc5k.js → CompanyPassportScreen-CEuR94fF.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BdMANdwF.js → ConnectionAuthScreen-uvgGU2za.js} +1 -1
- package/dist/assets/{CustomerOnboardingAuthScreen-BjVB3FB2.js → CustomerOnboardingAuthScreen-C-d3MNce.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-BqAwy1Go.js → CustomerOnboardingRoutes-BffNdH_l.js} +1 -1
- package/dist/assets/{DashboardRoutes-C3Q7vlXr.js → DashboardRoutes-CdQzvjb3.js} +1 -1
- package/dist/assets/{DefaultTenantHome-CPPof4Nd.js → DefaultTenantHome-Bve2xDaJ.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-Bo5pk1NL.js → DomesticWireDetailScreen-Dj3JCDGh.js} +1 -1
- package/dist/assets/{DrawerScreen-DYwMLd1Q.js → DrawerScreen-CxKP-6Rf.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-_eEqLjSQ.js → EntityDetailRoutes-CRL6OrqO.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-D17PZLn2.js → ExpenseAutomationRoutes-BYSJ88to.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-BE9pWqir.js → FeaturePreviewScreen-LeLfD5pA.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-CDOpB-J7.js → HubSpotOAuthCallbackScreen-DAHGdPOy.js} +1 -1
- package/dist/assets/{InvoicingRoutes-rYerhkHV.js → InvoicingRoutes-CvkWcLdT.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-D8pvaYpW.js → MagicLinkRoutes-CC75kCuL.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-CW3gjVTf.js → MagicLinkSignInScreen-CWvMyhrQ.js} +1 -1
- package/dist/assets/{MobileAppDrawer-Dubbrc5R.js → MobileAppDrawer-DExJFFmi.js} +1 -1
- package/dist/assets/{NotFoundScreen-r2t5kGnd.js → NotFoundScreen-sryCVGSu.js} +1 -1
- package/dist/assets/{NotificationRoutes-C0XszwDJ.js → NotificationRoutes-njgUFBoj.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-CS66Nuk1.js → OAuthConsentScreen-BCgV9bma.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-tEXmnuYa.js → PandLWithForecastRoutes-CZ27RjQE.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-Ba8XuIED.js → PaymentLinkScreen-BrTP8y76.js} +1 -1
- package/dist/assets/{PeopleRoutes-MPpefoB8.js → PeopleRoutes-CulbMsz3.js} +1 -1
- package/dist/assets/{PerformanceRoutes-v3vPCjna.js → PerformanceRoutes-BYcI02aB.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CAoS33ZU.js → QBOConnectionScreen-CbxnK800.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-BqXyuFCU.js → ReimbursementApprovalRoutes-DeN7vJtz.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-B9f-fas4.js → ReimbursementApprovalRuleDetailScreen-DTKS2oJ9.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-IZQbGrfA.js → ReimbursementRoutes-_NvdZWfU.js} +1 -1
- package/dist/assets/{ReportsRoutes-R5Ca0XU-.js → ReportsRoutes-BAGPRsE0.js} +1 -1
- package/dist/assets/{RewardsRoutes-CRQWx3J1.js → RewardsRoutes-BUOCW-CT.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-BMDMlpQa.js → ScheduleDetailsPrepaidExpensesScreen-B5q5sAGy.js} +1 -1
- package/dist/assets/{ScreenRoutes-Cwhq-96H.js → ScreenRoutes-BHHy1uXx.js} +2 -2
- package/dist/assets/{SettingsRoutes-CMH4A66d.js → SettingsRoutes-BtUbt9zq.js} +1 -1
- package/dist/assets/{SetupPagesScreen-BzKWg1IS.js → SetupPagesScreen-D0fdMGb4.js} +1 -1
- package/dist/assets/{SignInScreen-Niy78Kvo.js → SignInScreen-5_sPhLr0.js} +1 -1
- package/dist/assets/{SignOutScreen-z5R4ARFQ.js → SignOutScreen-DrcdcbqC.js} +1 -1
- package/dist/assets/{TaskListScreen-CQ5GSVtZ.js → TaskListScreen-OEgAVE9M.js} +1 -1
- package/dist/assets/{TaskRoutes-BLHPB9C2.js → TaskRoutes-DpYRDMWP.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-DWH8l2BY.js → TransactionDetailRoutes-eA90CTkf.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-Cyr21RUS.js → TransactionDetailScreen-CjwF3ORf.js} +1 -1
- package/dist/assets/{TransactionListRoutes-DeHnVgrc.js → TransactionListRoutes-2fGCqEq5.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CH1V36gd.js → TreasuryRoutes-CuPpvoic.js} +1 -1
- package/dist/assets/{VendorsRoutes-D5fLbpGk.js → VendorsRoutes-B_Yg40bd.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-B4K2TMeC.js → WiseConfirmationScreen-ChaM_jYJ.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-B_-Cub3b.js → ZeniAccountRoutes-CfMUrMqe.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-Cg7a4ZMC.js → ZeniAccountStatementScreen-BgdXcTdx.js} +1 -1
- package/dist/assets/{analyticsHelper-BZsIqD3O.js → analyticsHelper-DcvdGte-.js} +1 -1
- package/dist/assets/{getLocaleForTenant-DffZrhDN.js → getLocaleForTenant-C3wVeXiS.js} +1 -1
- package/dist/assets/{index-lv0eG9-7.js → index-DvW7BRlL.js} +939 -939
- package/dist/assets/{routePaths-BxLZuqJn.js → routePaths-GYFjoelZ.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-Bq60hvvx.js → useActualMatchingMatchDetail-BkDnJbPg.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-sigyClkp.js → useAiCfoDashboardSuggestedQuestionsChips-D_Ro-9Tt.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-Cgk5vvuH.js → useAskAiCfoHostNavButtonProps-DV4bjx-y.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-gKhYa0T8.js → useChargeCardPusherEvents-1X1JYShz.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-DefipxZh.js → useEmailConnectResultRefresh-dVylO6qh.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BXjZ5prE.js → useInitialThreadRequest-BwX5Js6P.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-CncuT8wV.js → useTaskManagerAccess-daSMnBbA.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BY_v_z2c.js → withTransactionSidePanel-CPG02lKM.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{br as u,dq as i}from"./zeni-epic-state-CZbm731W.js";import{G as $}from"./index-
|
|
1
|
+
import{br as u,dq as i}from"./zeni-epic-state-CZbm731W.js";import{G as $}from"./index-DvW7BRlL.js";import"./mui-qouWiIWk.js";import"./sentry-CxSdF_rC.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]="26d56fb4-9d1f-4736-9a4d-30672f544d40",e._sentryDebugIdIdentifier="sentry-dbid-26d56fb4-9d1f-4736-9a4d-30672f544d40")}catch{}})();const{dateFormat:{analytics:{YYYYDashMMDashDDFormat:s}}}=$.getLocalizedStrings();function C(e,n){return`/${n}/transaction/${encodeURIComponent(e.type)}/${e.id}`}const f=["prepaid_expenses","fixed_assets","accrued_expenses","one_time_accrual"];function D(e){return e!=null&&f.includes(e)}function R(e,n,o){return`${o.trim()===""?"":`/${o}`}/vendors/schedules/${e}/details/${n}`}const U=(e,n)=>e!=null&&e.length>0&&n!=null&&n.length>0;function y(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 _=(e,n)=>({startDate:i(u(),n,Math.abs(e),"year"),endDate:u()});function g(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 h(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 w(e,n,o){let t=`/${e}/address`;return t=o!=null?t.concat(`/edit/${n}/${encodeURIComponent(o)}`):t.concat(`/new/${n}`),t}function Y(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{g as a,h as b,C as c,w as d,F as e,x as f,Y as g,U as h,D as i,M as j,_ as p,R as s,y as t,v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-CxSdF_rC.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-D6EV-11Y.js";import{a1L as B,a14 as C,rP as m,a15 as I,se as D,s8 as E,sP as G}from"./zeni-epic-state-CZbm731W.js";import{a as M}from"./stripSplatSuffix-CYVrHv_0.js";import{a4 as O,p as $}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-CxSdF_rC.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-D6EV-11Y.js";import{a1L as B,a14 as C,rP as m,a15 as I,se as D,s8 as E,sP as G}from"./zeni-epic-state-CZbm731W.js";import{a as M}from"./stripSplatSuffix-CYVrHv_0.js";import{a4 as O,p as $}from"./index-DvW7BRlL.js";import{c as A}from"./routePaths-GYFjoelZ.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]="b01209a8-f44e-40dc-82c4-8ca07aab74a7",e._sentryDebugIdIdentifier="sentry-dbid-b01209a8-f44e-40dc-82c4-8ca07aab74a7")}catch{}})();function d(e){return"jeOneTimeAccrualKey"in e&&e.jeOneTimeAccrualKey!=null?e:{...e,jeOneTimeAccrualKey:`${e.accrualId}_one_time_accrual`}}function N(e){const a=T(),c=v(),s=R(),{tenantEmailDomain:o}=w(),{match:l,detailFetchState:r,refreshStatus:f,undoReversalStatus:h,lastMatchResults:p,lastUndoResults:b}=i((t=>B(t,e))),u=i(C);n.useEffect((()=>{e!==""&&l==null&&r.fetchState==="Not-Started"&&a(m(e))}),[e,l,r.fetchState,a]),n.useEffect((()=>{if(u!==!0||!s.pathname.includes("/expense-automation/actual-matching/"))return;const t=O(s.state?.pathnameStackToGoBack);c(M(t.poppedPathname,`/${o??""}/month_end_close_checks/review`),{state:{pathnameStackToGoBack:t.newStack}}),a(I())}),[u,a,s.pathname,s.state,c,o]);const k=n.useMemo((()=>l==null?void 0:(function(t){return{...t,leftovers:t.leftovers?.map(d),members:t.members.map(d)}})(l)),[l]),y=n.useCallback((()=>{e!==""&&a(m(e,!0))}),[a,e]),S=n.useCallback((t=>{e!==""&&a(D(e,t))}),[a,e]),_=n.useCallback((()=>{e!==""&&a(E(e))}),[a,e]),g=n.useCallback((t=>{o!=null&&c(A({id:t.id,type:G(t.type)},o),{state:{pathnameStackToGoBack:$(s.state?.pathnameStackToGoBack,`${s.pathname}${s.search}`)}})}),[s.pathname,s.search,s.state,c,o]);return{match:k,detailFetchState:r,handleOpenBill:g,handleContinueMatch:_,handleRefresh:y,handleUndoReversal:S,lastMatchResults:p,lastUndoResults:b,refreshStatus:f,undoReversalStatus:h}}export{N as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bt as n}from"./index-
|
|
1
|
+
import{bt as n}from"./index-DvW7BRlL.js";import"./sentry-CxSdF_rC.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]="4d67b72c-e724-47af-9238-03e07a44517b",e._sentryDebugIdIdentifier="sentry-dbid-4d67b72c-e724-47af-9238-03e07a44517b")}catch{}})();function f(){return n("dashboard")}export{f as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b}from"./sentry-CxSdF_rC.js";import{h as u,g,i as h,j as y}from"./core-D6EV-11Y.js";import{fF as S}from"./zeni-epic-state-CZbm731W.js";import{a as k,a1 as C,f as A,ar as T,y as I,p as w,au as D}from"./index-
|
|
1
|
+
import{a as b}from"./sentry-CxSdF_rC.js";import{h as u,g,i as h,j as y}from"./core-D6EV-11Y.js";import{fF as S}from"./zeni-epic-state-CZbm731W.js";import{a as k,a1 as C,f as A,ar as T,y as I,p as w,au as D}from"./index-DvW7BRlL.js";import"./mui-qouWiIWk.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]="fb03f434-e603-48a6-8f10-c08be8aaf780",e._sentryDebugIdIdentifier="sentry-dbid-fb03f434-e603-48a6-8f10-c08be8aaf780")}catch{}})();function j(e){const{mobileExploreReferrer:a}=e,{isAiCfoOpen:f,setIsAiCfoOpen:r}=k(),n=u(),o=g(),{tenantEmailDomain:s}=h(),l=C(),i=D(l),d=A(),p=T(),m=y((t=>t.tenantState.fetchState==="Completed"||t.tenantState.activeTenantFetchState.fetchState==="Completed"?S(t):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&d&&!f,onAskAiCfoClick:b.useCallback((()=>{if(s!=null)if(c)if(i){const t=w(o.state?.pathnameStackToGoBack,o.pathname);n(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:t,referrer:a}})}else r(!0);else I({location:o,navigate:n,mergeState:{referrer:a}})}),[c,i,o,a,n,r,s])}}export{j as u};
|
package/dist/assets/{useChargeCardPusherEvents-gKhYa0T8.js → useChargeCardPusherEvents-1X1JYShz.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CxSdF_rC.js";import{aK as _,aL as m}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-CxSdF_rC.js";import{aK as _,aL as m}from"./index-DvW7BRlL.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]="d6d113d1-f575-4bfd-9cb1-c1cb87edadfc",e._sentryDebugIdIdentifier="sentry-dbid-d6d113d1-f575-4bfd-9cb1-c1cb87edadfc")}catch{}})();const v=e=>{const{events:n,onEvent:c,onSubscribed:h}=e,f=_(),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(f==null||n.length===0)return;const o=[],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[d,u]=m(t);if(u==="")return;const b=f.channel(d),a=l=>{y.current(u,l)};let s;if(b?.subscribed===!0)s=b,s.bind(u,a),i.has(d)||(i.add(d),w()),o.push((()=>{b.unbind(u,a)}));else{if(s=b??f.subscribe(d),s.bind(u,a),!i.has(d)){i.add(d);const l=()=>{w()};s.bind("pusher:subscription_succeeded",l),o.push((()=>{s.unbind("pusher:subscription_succeeded",l)}))}o.push((()=>{s.unbind(u,a)}))}})),()=>{o.forEach((t=>t()))}}),[f,E])};export{v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./sentry-CxSdF_rC.js";import{u as C}from"./plaid-deRHM6gT.js";import{u as x,j as m}from"./core-D6EV-11Y.js";import{Vw as v,FS as F,Mm as R,C5 as w,Vx as V,fF as $,gM as N,BL as T,Vy as U}from"./zeni-epic-state-CZbm731W.js";import{aJ as M,z as q}from"./index-
|
|
1
|
+
import{a}from"./sentry-CxSdF_rC.js";import{u as C}from"./plaid-deRHM6gT.js";import{u as x,j as m}from"./core-D6EV-11Y.js";import{Vw as v,FS as F,Mm as R,C5 as w,Vx as V,fF as $,gM as N,BL as T,Vy as U}from"./zeni-epic-state-CZbm731W.js";import{aJ as M,z as q}from"./index-DvW7BRlL.js";import"./mui-qouWiIWk.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]="3cc0dd37-f82b-4b2a-94fd-e22bb1a3f904",e._sentryDebugIdIdentifier="sentry-dbid-3cc0dd37-f82b-4b2a-94fd-e22bb1a3f904")}catch{}})();const j=new Set(V),O=({companyId:e})=>{const n=x(),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(F())}),[n]);const f=a.useCallback((t=>{e!=null&&(n(R(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,D=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:b,ready:g}=C({token:D,onSuccess:f,onExit:A});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 E=a.useCallback((()=>{e!=null&&(u(void 0),c.current=!0,n(w("external_account","link_external_account")))}),[n,e]),L=a.useCallback((t=>{e!=null&&(u(t),l(!1),c.current=!0,n(w("external_account","update_account",t)))}),[n,e]),_=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 P=M(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:j.has(t.providerVerificationStatus?.code??""),isLoginRequired:t.isLoginRequired,reLoginStatus:t.paymentAccountId===o?_:"Not-Started",institutionLogoUrl:P};var S,y}))),[d,o,_]),onAddPlaidAccount:E,onReLoginPlaidAccount:L}},I="email_connect_result",k="onboarding_step",Q=()=>{const e=x(),n=m((o=>$(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(I),f=r.searchParams.get(k);return l||f!=null?(r.searchParams.delete(I),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&&(e(N(i,n)),c("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&e(T({step:U(u)})))}),[e,n,i]),{pendingAutoFocusTabId:d}};export{O as a,Q as u};
|
package/dist/assets/{useInitialThreadRequest-BXjZ5prE.js → useInitialThreadRequest-BwX5Js6P.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./sentry-CxSdF_rC.js";import{ay as c}from"./index-
|
|
1
|
+
import{a as n}from"./sentry-CxSdF_rC.js";import{ay as c}from"./index-DvW7BRlL.js";import"./mui-qouWiIWk.js";import{t as l}from"./core-D6EV-11Y.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]="02e50011-dc27-4e0d-95d7-2d26ffe7c8b8",e._sentryDebugIdIdentifier="sentry-dbid-02e50011-dc27-4e0d-95d7-2d26ffe7c8b8")}catch{}})();function m(e,d){const{clearParams:f=!0}=d??{},[t,a]=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||!f||!(t.has("thread_id")||t.has("entity_type")))return;const r=new URLSearchParams(t);r.delete("thread_id"),r.delete("entity_type"),a(r,{replace:!0}),u.current=!0}),[t,a,f]),i}export{m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./sentry-CxSdF_rC.js";import{bn as i}from"./zeni-epic-state-CZbm731W.js";import{N as d,d as t}from"./index-
|
|
1
|
+
import{a as r}from"./sentry-CxSdF_rC.js";import{bn as i}from"./zeni-epic-state-CZbm731W.js";import{N as d,d as t}from"./index-DvW7BRlL.js";import"./mui-qouWiIWk.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]="7adb35e6-a2fa-4a4b-b439-d3ab6f31c7aa",e._sentryDebugIdIdentifier="sentry-dbid-7adb35e6-a2fa-4a4b-b439-d3ab6f31c7aa")}catch{}})();const c=e=>{const{useFeatureGate:a}=d(),{isFeatureEnabled:n}=a(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=a(t.isTaskManagerNotificationControlsEnabled),s=r.useMemo((()=>i(e)),[e]);return{isNotificationControlsEnabled:s||o,isTaskManagerAccessEnabled:s||n,isZeniUser:s}};export{c as u};
|
package/dist/assets/{withTransactionSidePanel-BY_v_z2c.js → withTransactionSidePanel-CPG02lKM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-DKqwsBQp.js";import{R as J,a as t}from"./sentry-CxSdF_rC.js";import{U as de,N as O,d as C,b4 as me,as as pe,b9 as fe,b5 as he,b6 as be,a1 as Te,ba as H}from"./index-
|
|
1
|
+
import{j as u}from"./liveblocks-DKqwsBQp.js";import{R as J,a as t}from"./sentry-CxSdF_rC.js";import{U as de,N as O,d as C,b4 as me,as as pe,b9 as fe,b5 as he,b6 as be,a1 as Te,ba as H}from"./index-DvW7BRlL.js";import{c as K,n as $}from"./mui-qouWiIWk.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-DV4bjx-y.js";import{u as Ee,a as ve,b as ye,c as xe,d as Ie,l as Se,C as Ce,e as ge,f as we}from"./TransactionDetailScreen-CjwF3ORf.js";import{h as F,g as k,i as j,u as Oe,j as $e}from"./core-D6EV-11Y.js";import{sP as Fe,VC as ke,Rm as je}from"./zeni-epic-state-CZbm731W.js";import{m as De,s as Me}from"./stripSplatSuffix-CYVrHv_0.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]="a25976f3-ea31-4031-b8ac-e005723a3223",a._sentryDebugIdIdentifier="sentry-dbid-a25976f3-ea31-4031-b8ac-e005723a3223")}catch{}})();const _=$.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-DvW7BRlL.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-CxSdF_rC.js"><link rel="modulepreload" crossorigin href="/assets/core-D6EV-11Y.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-CZbm731W.js"><link rel="modulepreload" crossorigin href="/assets/mui-qouWiIWk.js"><link rel="modulepreload" crossorigin href="/assets/analytics-wktvfErl.js"><link rel="modulepreload" crossorigin href="/assets/utils-D8aAQJhF.js"><link rel="stylesheet" crossorigin href="/assets/index-BhC2LNQw.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>
|