@zeniai/web-app-ui 5.3.63-dev → 5.3.64-dev-beta0KB
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-BRZHYOUR.js → AccountMappingScreen-C_GVFaoh.js} +2 -2
- package/dist/assets/ActualMatchingMatchDetailScreen-Br9CFUye.js +1 -0
- package/dist/assets/AddressRoutes-Bw_nh--O.js +1 -0
- package/dist/assets/AddressScreen-CvhZrOl1.js +9 -0
- package/dist/assets/AiCfoScreen-enlKpZc4.js +22 -0
- package/dist/assets/{AppDrawer-DZIMVdFc.js → AppDrawer-BvDyxQG-.js} +1 -1
- package/dist/assets/BillPayApprovalRoutes-D18TxHMc.js +1 -0
- package/dist/assets/{BillPayRoutes-CUUjBefv.js → BillPayRoutes-CloKoO0m.js} +6 -6
- package/dist/assets/{BusinessVerificationPageScreen-DFamYzxa.js → BusinessVerificationPageScreen-wzhfqwbN.js} +2 -2
- package/dist/assets/{CardsAiCfoScreen-Cx5KkOYw.js → CardsAiCfoScreen-CsPjsbB8.js} +2 -2
- package/dist/assets/{ChargeCardRoutes-DzIBuJeY.js → ChargeCardRoutes-CeG2_2Iv.js} +9 -9
- package/dist/assets/CompanyPassportScreen-CTdU0eT4.js +1 -0
- package/dist/assets/ConnectionAuthScreen-tQkR0Qdq.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-Cfna6QXU.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-CjmJGGJm.js → CustomerOnboardingRoutes-C2PIK8CC.js} +3 -3
- package/dist/assets/{DashboardRoutes-ByHBLKcB.js → DashboardRoutes-B6PQcDII.js} +4 -4
- package/dist/assets/DefaultTenantHome-R8lvjrth.js +1 -0
- package/dist/assets/DomesticWireDetailScreen-BOXpXEFg.js +18 -0
- package/dist/assets/{DrawerScreen-B5BqRZEJ.js → DrawerScreen-kd-vUIOU.js} +1 -1
- package/dist/assets/EntityDetailRoutes-CKVztcFF.js +1 -0
- package/dist/assets/ExpenseAutomationRoutes-CZBhc5OO.js +38 -0
- package/dist/assets/FeaturePreviewScreen-DlYWStt_.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-BiVfvVOh.js +1 -0
- package/dist/assets/{InboxNotificationsProvider-x0fdv66l.js → InboxNotificationsProvider-jZPrqdDf.js} +1 -1
- package/dist/assets/InvoicingRoutes-CTeBd6HD.js +2 -0
- package/dist/assets/{MagicLinkRoutes-C5BKMtwW.js → MagicLinkRoutes-DBawNNk_.js} +20 -20
- package/dist/assets/MagicLinkSignInScreen-CKyZ86AC.js +12 -0
- package/dist/assets/MobileAppDrawer-thURFqdR.js +1 -0
- package/dist/assets/NotFoundScreen-CjcmfT5h.js +1 -0
- package/dist/assets/{NotificationRoutes-DICT3yoM.js → NotificationRoutes-B5kGRr3c.js} +1 -1
- package/dist/assets/OAuthConsentScreen-DKPtywIw.js +1 -0
- package/dist/assets/PandLWithForecastRoutes-DuKFzXpp.js +1 -0
- package/dist/assets/{PaymentLinkScreen-Cz1wlNqO.js → PaymentLinkScreen-DgjfMeF_.js} +9 -9
- package/dist/assets/PeopleRoutes-BFFXxsrW.js +22 -0
- package/dist/assets/PerformanceRoutes-DlDpAJN4.js +1 -0
- package/dist/assets/{Preview-Dz6yJNce.js → Preview-CFep9b6s.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-D8eeXRWb.js → QBOConnectionScreen-zn7s2M2b.js} +1 -1
- package/dist/assets/ReimbursementApprovalRoutes-h6pN24Dd.js +1 -0
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-La5bMk76.js +1 -0
- package/dist/assets/ReimbursementRoutes-DpjqJ1j9.js +68 -0
- package/dist/assets/{ReportsRoutes-CqUKv9Uh.js → ReportsRoutes-Tu97hQPr.js} +1 -1
- package/dist/assets/RewardsRoutes-C7-L_VuA.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-CLEogplJ.js → ScheduleDetailsPrepaidExpensesScreen-BNVCc0tE.js} +5 -5
- package/dist/assets/ScreenRoutes-DUiJb0LC.js +2 -0
- package/dist/assets/{SettingsRoutes-QcMcR-j3.js → SettingsRoutes-BVrPYY3-.js} +6 -6
- package/dist/assets/{SetupPagesScreen-fuvb0IYd.js → SetupPagesScreen-Cx3OOUGr.js} +4 -4
- package/dist/assets/SignInScreen-BXBlASFY.js +1 -0
- package/dist/assets/SignOutScreen-BN1O2qGb.js +9 -0
- package/dist/assets/{TaskListScreen-C2urPjKT.js → TaskListScreen-DrflApgr.js} +2 -2
- package/dist/assets/{TaskRoutes-BuzkCbPW.js → TaskRoutes-BxW92Ol2.js} +2 -2
- package/dist/assets/TransactionDetailRoutes-CUdtnWL8.js +1 -0
- package/dist/assets/{TransactionDetailScreen-CQr1YyP0.js → TransactionDetailScreen-C2qhnA5b.js} +2 -2
- package/dist/assets/TransactionListRoutes-Bt_C_073.js +1 -0
- package/dist/assets/{TreasuryRoutes-CbD79DO8.js → TreasuryRoutes-DJK_7z5t.js} +5 -5
- package/dist/assets/{VendorsRoutes-CCYu89Uf.js → VendorsRoutes-dr-KQ_Nk.js} +13 -13
- package/dist/assets/WiseConfirmationScreen-BjSMumPA.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-CoRmS3Mc.js → ZeniAccountRoutes-mpb2ppPH.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-C6P6WNnP.js +9 -0
- package/dist/assets/{accountMappingHelper-tmyjt9rr.js → accountMappingHelper-D5I8xPpR.js} +1 -1
- package/dist/assets/analytics-CVpLIXYS.js +68 -0
- package/dist/assets/{analyticsHelper-BEL0ra9X.js → analyticsHelper-DIAaX2E9.js} +1 -1
- package/dist/assets/{core-CHD8T-IM.js → core-BmXpopk3.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-p_nrn8Pg.js → decodeURIComponentSafe-CmNiiSLm.js} +1 -1
- package/dist/assets/{dnd-Dwi6R-ey.js → dnd-CFbFq_On.js} +1 -1
- package/dist/assets/{empty-CeRjDJvl.js → empty-0E71-pkh.js} +1 -1
- package/dist/assets/{empty-CZC5CrVC.js → empty-IUpx8pFE.js} +1 -1
- package/dist/assets/{emptyVideoElement-BQ5qxpg6.js → emptyVideoElement-DvAsJwe7.js} +1 -1
- package/dist/assets/epic-Dp0UOOW0.js +2 -0
- package/dist/assets/expenseAutomationHelper-wsi-w_Qs.js +1 -0
- package/dist/assets/{getLocaleForTenant-D-or0iZO.js → getLocaleForTenant-CLcFXXBi.js} +1 -1
- package/dist/assets/{index-DKH4PK2B.js → index-BH7Z90Ry.js} +16554 -16011
- package/dist/assets/{index-BMy5YH8G.js → index-BwG9RDJd.js} +1 -1
- package/dist/assets/{index-yiW1aZfy.js → index-DaYn0dIv.js} +2 -2
- package/dist/assets/{index-CKiMoeFX.js → index-Diiw4rJ6.js} +1 -1
- package/dist/assets/{index-BVHBHjSe.js → index-_EB0AYfG.js} +1 -1
- package/dist/assets/{index-XRUedCJ0.js → index-n9iskFtR.js} +1 -1
- package/dist/assets/{index-C1KaIuMT.js → index-nMXCGK26.js} +1 -1
- package/dist/assets/{index-w09kaOHP.js → index-xAn5v5dB.js} +1 -1
- package/dist/assets/{lexical-CMNdypK6.js → lexical-CUqOWG_f.js} +1 -1
- package/dist/assets/{liveblocks-e6rGc1UF.js → liveblocks-2F3ER8H4.js} +1 -1
- package/dist/assets/{lottie-B778bt56.js → lottie-Do5BYuHO.js} +1 -1
- package/dist/assets/{mui-NTaF3UaY.js → mui-DpZKsKJ-.js} +1 -1
- package/dist/assets/{pathToGoBack-3T3qt1CN.js → pathToGoBack-IYhrTF3T.js} +1 -1
- package/dist/assets/{pdf-Bx92ZlM_.js → pdf-CaVqV5T4.js} +3 -3
- package/dist/assets/{pdf-lib-CSbJ_JNk.js → pdf-lib-DgpGz3__.js} +1 -1
- package/dist/assets/{plaid-DdTo7m1-.js → plaid-B0sfsJHV.js} +1 -1
- package/dist/assets/{pusher-TnSBrmnt.js → pusher-BZ4RRfso.js} +1 -1
- package/dist/assets/{react-BRi8TcMI.js → react-B40uyjvd.js} +1 -1
- package/dist/assets/{react-COkaiBQo.js → react-BlQV6oEC.js} +1 -1
- package/dist/assets/{react-Ba46BK4D.js → react-CM6JlJfX.js} +1 -1
- package/dist/assets/{react-Ci1ltUcy.js → react-CVdpmzlC.js} +1 -1
- package/dist/assets/{react-DJOUavGZ.js → react-Cx2vmGsH.js} +1 -1
- package/dist/assets/{react-B75Gnqob.js → react-cC2pOmRW.js} +1 -1
- package/dist/assets/{recharts-C6xUtcdL.js → recharts-lgPPofcu.js} +1 -1
- package/dist/assets/routePaths-DuFLBwyX.js +1 -0
- package/dist/assets/{sentry-DsyKtMW2.js → sentry-Dwi3Xpu2.js} +1 -1
- package/dist/assets/{stripSplatSuffix-CKrdD9MQ.js → stripSplatSuffix-Cm_Bj9mb.js} +1 -1
- package/dist/assets/{url-Zl9uXQ4e.js → url-B3IdPeRD.js} +1 -1
- package/dist/assets/{url-ClJewK9Y.js → url-CuCw2GYz.js} +1 -1
- package/dist/assets/useActualMatchingMatchDetail-CTL9QRWv.js +1 -0
- package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-B1hI9_5p.js +1 -0
- package/dist/assets/useAskAiCfoHostNavButtonProps-B82QOIYm.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-BWi4_PP5.js → useChargeCardPusherEvents-CNgbxhoK.js} +1 -1
- package/dist/assets/{useDeviceId-VsdzmSZI.js → useDeviceId-Dklpg4lb.js} +1 -1
- package/dist/assets/useEmailConnectResultRefresh-BfOhSDOo.js +1 -0
- package/dist/assets/useEnsureVendorListLoaded-BtOYIHPo.js +1 -0
- package/dist/assets/{useInitialThreadRequest-DDr_z_RH.js → useInitialThreadRequest-DagpMHc1.js} +1 -1
- package/dist/assets/useTaskManagerAccess-DvrYqbN3.js +1 -0
- package/dist/assets/{useTaskManagerPusherEvents-DCIopLVZ.js → useTaskManagerPusherEvents-Be2DL4pK.js} +1 -1
- package/dist/assets/{utils-CCA3F0sZ.js → utils-DAgs23EZ.js} +1 -1
- package/dist/assets/withTransactionSidePanel-Dn8x-lme.js +25 -0
- package/dist/assets/{zeni-epic-state-BO3zdDfL.js → zeni-epic-state-DtY6MD5C.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ActualMatchingMatchDetailScreen-CT_TfQgQ.js +0 -1
- package/dist/assets/AddressRoutes-CisWqyoC.js +0 -1
- package/dist/assets/AddressScreen-CrINuapd.js +0 -9
- package/dist/assets/AiCfoScreen-BXw0LDjo.js +0 -22
- package/dist/assets/BillPayApprovalRoutes-Dp_PkbIk.js +0 -1
- package/dist/assets/CompanyPassportScreen-CENbDnLW.js +0 -1
- package/dist/assets/ConnectionAuthScreen-DTyZxcME.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-zLmHJyqv.js +0 -1
- package/dist/assets/DefaultTenantHome-Dm9FOXup.js +0 -1
- package/dist/assets/DomesticWireDetailScreen-086WQWRB.js +0 -18
- package/dist/assets/EntityDetailRoutes-BuN3sXNp.js +0 -1
- package/dist/assets/ExpenseAutomationRoutes-Ce3IicTe.js +0 -38
- package/dist/assets/FeaturePreviewScreen-D54Nwanb.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-BRUwb2B6.js +0 -1
- package/dist/assets/InvoicingRoutes-IQsFojD0.js +0 -2
- package/dist/assets/MagicLinkSignInScreen-9LYlxmop.js +0 -12
- package/dist/assets/MobileAppDrawer-DX2JnkbM.js +0 -1
- package/dist/assets/NotFoundScreen-CtgFRYZy.js +0 -1
- package/dist/assets/OAuthConsentScreen-BmiLDdxn.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-DAq9XRB1.js +0 -1
- package/dist/assets/PeopleRoutes-DgYtveDU.js +0 -22
- package/dist/assets/PerformanceRoutes-B6iTINLg.js +0 -1
- package/dist/assets/ReimbursementApprovalRoutes-CE6y6IwA.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-BT_O_PEv.js +0 -1
- package/dist/assets/ReimbursementRoutes-BmOT-3C-.js +0 -68
- package/dist/assets/RewardsRoutes-D5CR9NnI.js +0 -1
- package/dist/assets/ScreenRoutes-xDjhbdP1.js +0 -2
- package/dist/assets/SignInScreen-ekGlkjLH.js +0 -1
- package/dist/assets/SignOutScreen-9NJIr2hr.js +0 -9
- package/dist/assets/TransactionDetailRoutes-D99Yv6kv.js +0 -1
- package/dist/assets/TransactionListRoutes-BTidVr9Z.js +0 -1
- package/dist/assets/WiseConfirmationScreen-B0HeU8Sh.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-BnpFJ5jB.js +0 -9
- package/dist/assets/analytics-C3e3An3a.js +0 -68
- package/dist/assets/epic-BW8jUHg5.js +0 -2
- package/dist/assets/expenseAutomationHelper-kGR6VZFG.js +0 -1
- package/dist/assets/routePaths-CGyE-cU7.js +0 -1
- package/dist/assets/useActualMatchingMatchDetail-Cc17Q5Tv.js +0 -1
- package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-CHbHmZzx.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BcCbRGDK.js +0 -1
- package/dist/assets/useEmailConnectResultRefresh-ClXdZp-6.js +0 -1
- package/dist/assets/useTaskManagerAccess-CUv6a62x.js +0 -1
- package/dist/assets/withTransactionSidePanel-B_xgLNm6.js +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{UJ as c}from"./zeni-epic-state-BO3zdDfL.js";import"./sentry-DsyKtMW2.js";import{q as d,g as i}from"./core-CHD8T-IM.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]="c022f259-22b9-44c4-960d-dab1c3893633",e._sentryDebugIdIdentifier="sentry-dbid-c022f259-22b9-44c4-960d-dab1c3893633")}catch{}})();const a=/^(0?[1-9]|1[0-2])-\d{4}$/;function l(e){if(e!=null&&e!=="")return c(e)}function g(e){const{selectedPeriod:n,selectedTab:s,tenantEmailDomain:t}=e,o=l(s);if(t!=null&&t!==""&&o!=null&&(function(r){return r!=null&&a.test(r)})(n))return`/${t}/month_end_close_checks/review/${o}/${n}`}const y=()=>{const e=u();return d("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*")!=null||e},u=()=>i().state?.message==="expenseAutomation";export{l as a,g as m,y as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{br as u,dq as i}from"./zeni-epic-state-BO3zdDfL.js";import{G as $}from"./index-DKH4PK2B.js";import"./mui-NTaF3UaY.js";import"./sentry-DsyKtMW2.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 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./sentry-DsyKtMW2.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-CHD8T-IM.js";import{a1_ as B,a1i as C,rP as d,a1j as I,se as D,s8 as E,sS as G}from"./zeni-epic-state-BO3zdDfL.js";import{a as M}from"./stripSplatSuffix-CKrdD9MQ.js";import{a5 as O,p as $}from"./index-DKH4PK2B.js";import{c as A}from"./routePaths-CGyE-cU7.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]="ed27f90d-6c72-43c5-8495-9c7b8a94a901",e._sentryDebugIdIdentifier="sentry-dbid-ed27f90d-6c72-43c5-8495-9c7b8a94a901")}catch{}})();function m(e){return"jeOneTimeAccrualKey"in e&&e.jeOneTimeAccrualKey!=null?e:{...e,jeOneTimeAccrualKey:`${e.accrualId}_one_time_accrual`}}function q(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(d(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(m),members:t.members.map(m)}})(l)),[l]),y=n.useCallback((()=>{e!==""&&a(d(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{q as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bv as f}from"./index-DKH4PK2B.js";import"./sentry-DsyKtMW2.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 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./sentry-DsyKtMW2.js";import{h as b,g,i as h,j as y}from"./core-CHD8T-IM.js";import{fF as S}from"./zeni-epic-state-BO3zdDfL.js";import{a as k,a2 as C,d as A,as as T,y as I,p as v,av as w}from"./index-DKH4PK2B.js";import"./mui-NTaF3UaY.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]="0c54d5a0-2ccf-44cd-9c68-9effd2640356",e._sentryDebugIdIdentifier="sentry-dbid-0c54d5a0-2ccf-44cd-9c68-9effd2640356")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:f}=k(),s=b(),o=g(),{tenantEmailDomain:n}=h(),d=C(),i=w(d),l=A(),p=T(),m=y((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?S(a):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:u.useCallback((()=>{if(n!=null)if(c)if(i){const a=v(o.state?.pathnameStackToGoBack,o.pathname);s(`/${n}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else f(!0);else I({location:o,navigate:s,mergeState:{referrer:t}})}),[c,i,o,t,s,f,n])}}export{j as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./sentry-DsyKtMW2.js";import{u as C}from"./plaid-DdTo7m1-.js";import{u as A,j as m}from"./core-CHD8T-IM.js";import{VK as v,G0 as R,MA as V,Cd as w,VL as $,fF as F,gM as T,BT as M,VM as N}from"./zeni-epic-state-BO3zdDfL.js";import{aK as U,z as q}from"./index-DKH4PK2B.js";import"./mui-NTaF3UaY.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]="a50d6e96-6a94-4200-8b39-5f2072c13910",e._sentryDebugIdIdentifier="sentry-dbid-a50d6e96-6a94-4200-8b39-5f2072c13910")}catch{}})();const K=new Set($),O=({companyId:e})=>{const n=A(),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))),r=a.useRef(!1),[o,u]=a.useState(void 0),[c,l]=a.useState(!1);a.useEffect((()=>{n(R())}),[n]);const f=a.useCallback((t=>{e!=null&&(n(V(t,e,"external_account",void 0,o!=null?"update_account":"link_external_account")),r.current=!1,o!=null&&l(!0))}),[n,e,o]),x=a.useCallback((()=>{r.current=!1,u(void 0),l(!1)}),[]),p=o!=null?s:i,D=p.fetchStatus.fetchState==="Completed"?p.linkToken??null:null,{open:g,ready:h}=C({token:D,onSuccess:f,onExit:x});a.useEffect((()=>{r.current&&h&&(g(),r.current=!1)}),[h,g]);const b=p.fetchStatus.fetchState;a.useEffect((()=>{b==="Error"&&(r.current=!1)}),[b]);const E=a.useCallback((()=>{e!=null&&(u(void 0),r.current=!0,n(w("external_account","link_external_account")))}),[n,e]),L=a.useCallback((t=>{e!=null&&(u(t),l(!1),r.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"||c&&s.updateStatus.fetchState==="Error"?"Error":"Not-Started";return{plaidAccounts:a.useMemo((()=>d.map((t=>{const P=U(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:K.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=A(),n=m((o=>F(o).tenantId)),i=q.getSignedInUser()?.userId,s=a.useRef(!1),[d,r]=a.useState(null);return a.useEffect((()=>{if(s.current||i==null||i===""||n==null||n==="")return;const{consumed:o,onboardingStep:u}=(()=>{const c=new URL(window.location.href),l=c.searchParams.has(I),f=c.searchParams.get(k);return l||f!=null?(c.searchParams.delete(I),c.searchParams.delete(k),window.history.replaceState(window.history.state,"",`${c.pathname}${c.search}${c.hash}`),{consumed:l,onboardingStep:f}):{consumed:!1,onboardingStep:null}})();!o&&u==null||(s.current=!0,o&&(e(T(i,n)),r("email")),u!=null&&new Set(["connect_data_source"]).has(u)&&e(M({step:N(u)})))}),[e,n,i]),{pendingAutoFocusTabId:d}};export{O as a,Q as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./sentry-DsyKtMW2.js";import{bn as i}from"./zeni-epic-state-BO3zdDfL.js";import{N as d,f as t}from"./index-DKH4PK2B.js";import"./mui-NTaF3UaY.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]="baf3eb15-096e-49bc-8715-48a3e6f43dde",e._sentryDebugIdIdentifier="sentry-dbid-baf3eb15-096e-49bc-8715-48a3e6f43dde")}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,25 +0,0 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-e6rGc1UF.js";import{R as Q,a as i}from"./sentry-DsyKtMW2.js";import{W as ue,N as W,f as w,b5 as de,at as me,ba as pe,b6 as fe,b7 as he,a2 as be,bb as U}from"./index-DKH4PK2B.js";import{c as q,n as O}from"./mui-NTaF3UaY.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-BcCbRGDK.js";import{u as Te,a as ve,b as ye,c as xe,d as Ee,l as Ie,C as Se,e as Ce,f as we}from"./TransactionDetailScreen-CQr1YyP0.js";import{h as $,g as F,i as k,u as ge,j as Oe}from"./core-CHD8T-IM.js";import{sS as $e,VQ as Fe,RA as ke}from"./zeni-epic-state-BO3zdDfL.js";import{m as je,s as De}from"./stripSplatSuffix-CKrdD9MQ.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]="3ca6163f-32a8-4e56-b3ae-aa5de8cc80be",a._sentryDebugIdIdentifier="sentry-dbid-3ca6163f-32a8-4e56-b3ae-aa5de8cc80be")}catch{}})();const H=O.div`
|
|
2
|
-
${({$active:a})=>a&&q`
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 100%;
|
|
6
|
-
`}
|
|
7
|
-
`,_=O.div`
|
|
8
|
-
${({$active:a})=>a&&q`
|
|
9
|
-
flex: 1;
|
|
10
|
-
min-height: 0;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
min-width: 0;
|
|
15
|
-
overflow-x: hidden;
|
|
16
|
-
overflow-y: auto;
|
|
17
|
-
`}
|
|
18
|
-
`,Me=O.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
flex: 1;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
min-height: 0;
|
|
23
|
-
min-width: 0;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
`,Ve=Q.memo((({isFullView:a,transactionId:n,transactionType:h,onBackToList:r,onClose:l})=>{const f=$(),o=F(),{tenantEmailDomain:T}=k(),e=ue(),{useFeatureGate:c}=W(),{isFeatureEnabled:u}=c(w.isCreateTransferEntryFromExpenseEnabled),s=l!=null&&a!==!0,v=e?.currentTenant?.companyId,I=e?.currentTenant?.companyName,{isFeatureEnabled:b}=c(w.isProjectsTransactionsEnabled),{isFeatureEnabled:y}=c(w.isTransactionSplitEnabled),{selectedTransaction:S,transactionDetail:t,tranEntity:m,isChainOfThoughtEnabled:p,defaultTrendTransactionTimePeriod:C,resetTrendIsFetchedStates:P,uncategorizedAccounts:x,vendorSaveStatus:j,isVendorBulkUpdateOnTransactionEnabled:J,isExpenseAutomationEnabled:K,firstMonthOfFY:X,isCreateVendorDrawerOpen:D,rawDetailSaveStatus:Z,rawDetailLineItemById:M}=Te(n,h),{isFeatureEnabled:ee}=c(w.isRecommendationFeedbackEnabled),V=de(),{onRecommendationSelection:A,popup:ne}=ve({isEnabled:ee,fallbackTransactionId:n}),ae=i.useMemo((()=>({...V,onRecommendationSelection:A})),[V,A]);ye(a===!0);const R=i.useRef(M);R.current=M;const E=xe(Z,(()=>{const g=[],G=R.current;if(G!=null)for(const le of Object.values(G)){const B=le.account;B?.accountId!=null&&g.push(B.accountId)}return g})),{transactionId:N,onSaveVendor:te,onSaveSuccess:se,onCancel:ie}=Ee({closeDrawerHandler:()=>{},overrideTransactionId:n,overrideTransactionType:h}),{isAiCfoAccessEnabled:oe,onAskAiCfoClick:re}=Pe({mobileExploreReferrer:"Transaction Details"}),L=a===!0&&oe;me({isDataReady:a===!0&&t?.fetchState==="Completed"});const z=i.useRef(null);if(i.useEffect((()=>{if(z.current!==n&&t?.fetchState==="Completed"){z.current=n;const g=o.state?.searchContext;Ie(t.transaction,g)}}),[o.state,t,n]),t==null)return d.jsx(H,{$active:s,children:d.jsx(_,{$active:s,children:d.jsx(pe,{})})});const ce=d.jsxs(d.Fragment,{children:[N!=null&&D?d.jsx(Se,{isOpen:D,transactionId:N,onSaveVendor:te,onSaveSuccess:se,onCancel:ie}):null,d.jsx(Me,{children:d.jsx(fe,{toolkit:ae,children:d.jsx(Ce,{hideDeleteAttachment:!0,firstMonthOfFY:X,isDisabled:t?.transaction?.type==="transfer"&&e?.connectionName==="netsuite"?"readonly":void 0,isNavBarVisible:!s,tenantEmailDomain:T??"",location:o,navigate:f,selectedTransaction:S,entity:m,isCOTEnabled:p,isCreateTransferEntryFromExpenseEnabled:u,defaultTrendTransactionTimePeriod:C,resetTrendIsFetchedStates:P,transaction:t?.transaction,uncategorizedAccounts:x,vendorSaveStatus:j,isVendorBulkUpdateOnTransactionEnabled:J,isExpenseAutomationEnabled:K,isAiCfoAccessEnabled:L,onAskAiCfoClick:L?re:void 0,isProjectsTransactionsEnabled:b,isTransactionSplitEnabled:y,companyId:v,companyName:I,onBackClick:r})})}),ne,E.showPopup&&E.popupType!=null&&d.jsx(he,{popupType:E.popupType,currencySymbol:E.currencySymbol,accountId:E.popupAccountId??"",accountName:E.popupAccountName??"",onSubmit:E.handleSubmit,onDismiss:E.handleDismiss})]});return d.jsx(H,{$active:s,children:d.jsx(_,{$active:s,children:ce})})})),Ae=[];function Re(a){const{childPathPattern:n,enabled:h=!0,listPath:r}=a,l=$(),f=k(),o=F(),T=be(),e=T==="small"||T==="medium-compact",c=f["*"]??"",u=je(n,o.pathname,c),s=h&&!e&&u!=null,v=i.useMemo((()=>new URLSearchParams(o.search).get("view")),[o.search]),I=s&&v==="full",b=u?.slice(1).join("\0"),y=i.useMemo((()=>u==null?Ae:u.slice(1)),[b]),S=i.useMemo((()=>r??De(n,o.pathname,c)),[n,r,o.pathname,c]),t=i.useRef({isOpen:s,locationState:o.state,basePath:S,pathname:o.pathname,search:o.search});t.current.isOpen=s,t.current.locationState=o.state,t.current.basePath=S,t.current.pathname=o.pathname,t.current.search=o.search;const m=i.useCallback(((P,x)=>{l(`${t.current.basePath}/${P}`,{replace:x?.replace??!1,state:x?.extraState!=null?{...t.current.locationState,...x.extraState}:t.current.locationState})}),[l]),p=i.useCallback((()=>{t.current.isOpen&&l(t.current.basePath,{replace:!0,state:t.current.locationState})}),[l]),C=i.useCallback((()=>{const P=new URLSearchParams(t.current.search);P.set("view","full"),l(`${t.current.pathname}?${P.toString()}`,{replace:!0,state:t.current.locationState})}),[l]);return i.useEffect((()=>{if(!s)return;const P=x=>{if(x.key==="Escape"){if(x.target?.closest('[role="dialog"], [role="alertdialog"]'))return;if(!I&&(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLSelectElement))return void document.activeElement.blur();p()}};return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)}),[s,I,p]),{backToList:p,basePath:S,closePanel:p,isFullView:I,isMobile:e,isOpen:s,matchGroups:y,maximize:C,navigateToChild:m}}function Y(a){try{return decodeURIComponent(a)}catch{return a}}const Ne=/^transaction\/([^/]+)\/([^/?]+)$/;function Le(a){return function(n){const h=n.displayName??n.name??"Component",r=Q.memo(n),l=f=>{const{useFeatureGate:o}=W(),{isFeatureEnabled:T}=o(a.gateName??w.isTransactionDetailSplitViewEnabled),e=a.usePanelSetup(a.gateName==null||T),c=i.useContext(U),u=i.useMemo((()=>e.selectedItemId==null?c:{closePanel:e.sidePanel.closePanel,maximize:e.sidePanel.maximize,selectedItemId:e.selectedItemId}),[c,e.sidePanel.closePanel,e.sidePanel.maximize,e.selectedItemId]);return d.jsx(U.Provider,{value:u,children:d.jsx(r,{...f,...e.injectedProps})})};return l.displayName=`${a.displayNamePrefix}(${h})`,l}}const qe=Le({displayNamePrefix:"withTransactionSidePanel",gateName:w.isTransactionDetailSplitViewEnabled,usePanelSetup:function(a){const n=(function(r=!0){const l=$(),f=F(),o=ge(),T=k(),e=Re({childPathPattern:Ne,enabled:r}),c=e.matchGroups[0]!=null&&e.matchGroups[0]!==""?$e(Y(e.matchGroups[0])):void 0,u=e.matchGroups[1]!=null&&e.matchGroups[1]!==""?Y(e.matchGroups[1]):void 0,s=i.useMemo((()=>{if(r&&u!=null&&c!=null)return{id:u,type:c}}),[r,u,c]),v=Oe((m=>{if(s!=null)return Fe(m,s)})),I=i.useMemo((()=>e.isOpen&&s!=null?v==null?"In-Progress":v.fetchState:"Not-Started"),[e.isOpen,s,v]),b=T.tenantEmailDomain??f.pathname.split("/").find(Boolean)??"";i.useEffect((()=>{e.isOpen&&s!=null&&o(ke(s,!1))}),[o,e.isOpen,s]);const y=i.useRef({isOpen:e.isOpen,transactionId:u});y.current={isOpen:e.isOpen,transactionId:u};const S=i.useCallback((m=>{const p=encodeURIComponent(m.type);return e.isMobile||!r?`/${b}/transaction/${p}/${m.id}${f.search}`:`${e.basePath}/transaction/${p}/${m.id}${f.search}`}),[e.isMobile,e.basePath,r,b,f.search]);we({currentTransactionId:s,enabled:b!=="",buildPath:S,navigate:l,navigateState:f.state});const t=i.useCallback(((m,p,C)=>{!e.isMobile&&r?y.current.isOpen&&y.current.transactionId===m?e.closePanel():e.navigateToChild(`transaction/${encodeURIComponent(p)}/${m}`,{replace:y.current.isOpen,extraState:C!=null?{searchContext:C}:void 0}):l(`/${b}/transaction/${encodeURIComponent(p)}/${m}`)}),[l,e.isMobile,e.navigateToChild,e.closePanel,r,b]);return{backToList:e.closePanel,closePanel:e.closePanel,fetchState:I,isFullView:e.isFullView,isOpen:e.isOpen,maximize:e.maximize,openPanel:t,selectedTransactionId:r?s:void 0,transactionDetail:r?v:void 0,transactionId:r?u:void 0,transactionType:r?c:void 0}})(a),h=i.useMemo((()=>{if(n.isOpen&&n.transactionId!=null&&n.transactionType!=null)return d.jsx(Ve,{isFullView:n.isFullView,transactionId:n.transactionId,transactionType:n.transactionType,onBackToList:n.closePanel,onClose:n.closePanel})}),[n.isOpen,n.isFullView,n.transactionId,n.transactionType,n.closePanel]);return{injectedProps:i.useMemo((()=>a?{closeSidePanel:n.closePanel,openTransactionPanel:n.openPanel,panelContent:h,sidePanelIsFullView:n.isFullView,sidePanelIsOpen:n.isOpen}:{}),[a,n.closePanel,n.openPanel,h,n.isFullView,n.isOpen]),selectedItemId:n.transactionId,sidePanel:n}}});export{Le as a,Re as u,qe as w};
|