@zeniai/web-app-ui 5.3.47-qa → 5.3.48-next
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-1SU95X1g.js +9 -0
- package/dist/assets/AddressRoutes-BzeJ2Hf7.js +1 -0
- package/dist/assets/AddressScreen-Cdr2j35I.js +9 -0
- package/dist/assets/AiCfoScreen-C1eHEeeP.js +22 -0
- package/dist/assets/{AppDrawer-C7L5LQYC.js → AppDrawer-BfXOcVEt.js} +3 -3
- package/dist/assets/{BillPayApprovalRoutes-Bu8vaB46.js → BillPayApprovalRoutes-C7TITJQ6.js} +1 -1
- package/dist/assets/BillPayRoutes-CHaqaYck.js +119 -0
- package/dist/assets/BusinessVerificationPageScreen-BVwrIVJv.js +9 -0
- package/dist/assets/CardsAiCfoScreen-DsJn0glf.js +14 -0
- package/dist/assets/ChargeCardRoutes-RNz9qxOv.js +71 -0
- package/dist/assets/CompanyPassportScreen-DmzRkUq5.js +1 -0
- package/dist/assets/ConnectionAuthScreen-C3vG4r21.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-Br9ARp7V.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-BivxymAu.js → CustomerOnboardingRoutes-BmY616w2.js} +3 -3
- package/dist/assets/{DashboardRoutes-CZNxS99K.js → DashboardRoutes-2DTr4aUf.js} +4 -4
- package/dist/assets/{DefaultTenantHome-BWCll08J.js → DefaultTenantHome-C8wEik5q.js} +1 -1
- package/dist/assets/DomesticWireDetailScreen-BeAYwvC9.js +18 -0
- package/dist/assets/{DrawerScreen-0c_ealW2.js → DrawerScreen-DXPlivfx.js} +1 -1
- package/dist/assets/EntityDetailRoutes-CrqgSMlQ.js +1 -0
- package/dist/assets/ExpenseAutomationRoutes-DLgzaZBu.js +38 -0
- package/dist/assets/FeaturePreviewScreen-B11vFkOV.js +1 -0
- package/dist/assets/HubSpotOAuthCallbackScreen-BQ4MRYuh.js +1 -0
- package/dist/assets/InboxNotificationsProvider-BY8P-Ihr.js +1 -0
- package/dist/assets/InvoicingRoutes-CNNRUv3E.js +2 -0
- package/dist/assets/MagicLinkRoutes-DINiJQI8.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-CVGSZaKv.js +12 -0
- package/dist/assets/MobileAppDrawer-D8KSGZ8t.js +1 -0
- package/dist/assets/NotFoundScreen-DbwVF9lB.js +1 -0
- package/dist/assets/NotificationRoutes-M_Lup9qB.js +1 -0
- package/dist/assets/OAuthConsentScreen-BuReFHDV.js +1 -0
- package/dist/assets/PandLWithForecastRoutes-BAkRFF5q.js +1 -0
- package/dist/assets/{PaymentLinkScreen-B2QO2fQL.js → PaymentLinkScreen-BIPFJD1g.js} +7 -7
- package/dist/assets/PeopleRoutes-DADu3Zhb.js +22 -0
- package/dist/assets/PerformanceRoutes-CX8yTPzt.js +1 -0
- package/dist/assets/{Preview-DMLQokX_.js → Preview-Cafq3h7X.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CvbLmaBz.js → QBOConnectionScreen-DXBj5LWG.js} +1 -1
- package/dist/assets/ReimbursementApprovalRoutes-CPaJiiXV.js +1 -0
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-zx_YxbPw.js +1 -0
- package/dist/assets/{ReimbursementRoutes-G7JKpwJT.js → ReimbursementRoutes-B1ZeqUVg.js} +9 -9
- package/dist/assets/ReportsRoutes-zdmkyXCJ.js +1 -0
- package/dist/assets/RewardsRoutes-Blcm9sjt.js +1 -0
- package/dist/assets/ScheduleDetailsPrepaidExpensesScreen-CDQYjn75.js +25 -0
- package/dist/assets/ScreenRoutes-BnBOn0fY.js +2 -0
- package/dist/assets/{SettingsRoutes-BrsZS6Xg.js → SettingsRoutes-C-hSgwDw.js} +6 -6
- package/dist/assets/{SetupPagesScreen-DL_o3Z3i.js → SetupPagesScreen-CEG9qkFk.js} +5 -5
- package/dist/assets/SignInScreen-Dh3vWk5H.js +1 -0
- package/dist/assets/SignOutScreen-DiaROWN6.js +9 -0
- package/dist/assets/{TaskListScreen-W52vNP7m.js → TaskListScreen-Qo2CFMii.js} +2 -2
- package/dist/assets/TaskRoutes-CJ89fi5N.js +9 -0
- package/dist/assets/TransactionDetailRoutes-CdcbF-DT.js +1 -0
- package/dist/assets/{TransactionDetailScreen-CcO0FUjf.js → TransactionDetailScreen-CLcV-jRc.js} +2 -2
- package/dist/assets/TransactionListRoutes-BPNmT8kF.js +1 -0
- package/dist/assets/{TreasuryRoutes-D_yTnBTc.js → TreasuryRoutes-DvD-DWnN.js} +6 -6
- package/dist/assets/{VendorsRoutes-BVvoooN6.js → VendorsRoutes-DbSolQnQ.js} +17 -17
- package/dist/assets/WiseConfirmationScreen-i6t2NQeo.js +12 -0
- package/dist/assets/ZeniAccountRoutes-BAzrGiFl.js +57 -0
- package/dist/assets/ZeniAccountStatementScreen-CILP6MbP.js +9 -0
- package/dist/assets/{accountMappingHelper-DqBiQF6x.js → accountMappingHelper-DCRT8uBQ.js} +1 -1
- package/dist/assets/{analytics-D6GpUSOP.js → analytics-DCG-BJ2B.js} +1 -1
- package/dist/assets/{analyticsHelper-H1Xp9Uyk.js → analyticsHelper-DFvWpT7U.js} +1 -1
- package/dist/assets/{core-B5mDy9pu.js → core-BomyDm3r.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DANuhXnG.js → decodeURIComponentSafe-BrV-0DZb.js} +1 -1
- package/dist/assets/{dnd-CGWe1ZMP.js → dnd-I9CGHlPV.js} +1 -1
- package/dist/assets/{empty-Dj4ZMRNZ.js → empty-CgcXQukc.js} +1 -1
- package/dist/assets/{empty-D0y6rZ_X.js → empty-DZpTY4GY.js} +1 -1
- package/dist/assets/{emptyVideoElement-BbYSqu6F.js → emptyVideoElement-CXDZcpYA.js} +1 -1
- package/dist/assets/epic-CaRC9CI2.js +2 -0
- package/dist/assets/expenseAutomationHelper-Bla5A-j_.js +1 -0
- package/dist/assets/{getLocaleForTenant-xZFgPOZu.js → getLocaleForTenant-CdcSWjO0.js} +1 -1
- package/dist/assets/{index-k1-Pd2Ki.js → index-7l3psPwp.js} +1 -1
- package/dist/assets/{index-CrBk11WI.js → index-B9ZeVIAQ.js} +30661 -31464
- package/dist/assets/{index-BQBXaLiB.js → index-Bo4EoZt1.js} +1 -1
- package/dist/assets/{index-8s12XWuB.js → index-ByxVb88B.js} +1 -1
- package/dist/assets/index-D0WIHul0.js +1 -0
- package/dist/assets/{index-CI8tXM3D.js → index-DXY4DpFj.js} +1 -1
- package/dist/assets/{index-G6Wb7pfX.js → index-Dtcx6iOp.js} +2 -2
- package/dist/assets/{index-fq0DUtem.js → index-IJef17q5.js} +1 -1
- package/dist/assets/{lexical-DW4lC8Zx.js → lexical-CYgmazu1.js} +1 -1
- package/dist/assets/{liveblocks-UOzcPsHa.js → liveblocks-D9xsLz4C.js} +2 -2
- package/dist/assets/{lottie-C5eNvt0I.js → lottie-DZ7H5U6k.js} +1 -1
- package/dist/assets/{mui-Do6nLzGb.js → mui-CsJ_uybP.js} +1 -1
- package/dist/assets/{pathToGoBack-DP_bGWF-.js → pathToGoBack-Bk1syfU7.js} +1 -1
- package/dist/assets/{pdf-DjwvAC2g.js → pdf-BcamkVED.js} +3 -3
- package/dist/assets/{pdf-lib-CZXOqgb4.js → pdf-lib-H_eegAHa.js} +1 -1
- package/dist/assets/{plaid-0g_vwjSd.js → plaid-Bs9WL7ZA.js} +1 -1
- package/dist/assets/{pusher-BwlPp2s7.js → pusher-BiXDawCL.js} +1 -1
- package/dist/assets/{react-BsXfT48C.js → react-BszTkffz.js} +1 -1
- package/dist/assets/{react-CU01hiuh.js → react-CnZloJMh.js} +1 -1
- package/dist/assets/{react-RZilWHYG.js → react-Cp_3CHK0.js} +1 -1
- package/dist/assets/{react-Bja4MeVO.js → react-D0IREB0P.js} +1 -1
- package/dist/assets/{react-DkYBVdJJ.js → react-Di6q_3ld.js} +1 -1
- package/dist/assets/{react-Dex3foBA.js → react-Dn9xz1wp.js} +1 -1
- package/dist/assets/{recharts-uFX1dZS-.js → recharts-CkiZYv6b.js} +1 -1
- package/dist/assets/{routePaths-CeCPwkIf.js → routePaths-B7kYeIqd.js} +1 -1
- package/dist/assets/{sentry-DHDsO12F.js → sentry-BMvyJSqc.js} +1 -1
- package/dist/assets/{url-BxiN6LKq.js → url-BfDVlhyh.js} +1 -1
- package/dist/assets/{url-CLCy7GPP.js → url-CmcLvJyo.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-CSs_vZyp.js → useAiCfoDashboardSuggestedQuestionsChips-BSgtWLpu.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-DkXoRZ45.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents--oeBBRmO.js → useChargeCardPusherEvents-B9vV64BE.js} +1 -1
- package/dist/assets/{useDeviceId-Bi38IJl0.js → useDeviceId-CpSKwPZ4.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-C-cGd7Tb.js → useEmailConnectResultRefresh-CAYfUMY-.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-Bwvu8W79.js → useInitialThreadRequest-Pe6lvpTh.js} +1 -1
- package/dist/assets/useTaskManagerAccess-fnX1J0jB.js +1 -0
- package/dist/assets/{utils-BsODCDYR.js → utils-CZJ3iF9S.js} +1 -1
- package/dist/assets/withTransactionSidePanel-mCp4nNUj.js +25 -0
- package/dist/assets/{zeni-epic-state-7eY0g-Bc.js → zeni-epic-state-C6RT9e71.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/dist/assets/AccountMappingScreen-BPRZHuGA.js +0 -9
- package/dist/assets/ActualMatchingMatchDetailScreen-CoU3K4PM.js +0 -1
- package/dist/assets/AddressRoutes-3x6JmFfR.js +0 -1
- package/dist/assets/AddressScreen-DhOzuvLT.js +0 -9
- package/dist/assets/AiCfoScreen-Blx6lCnY.js +0 -22
- package/dist/assets/BillPayRoutes-T-Lct0sH.js +0 -119
- package/dist/assets/BusinessVerificationPageScreen-CPnmoF6z.js +0 -9
- package/dist/assets/CardsAiCfoScreen-CIq15Z-M.js +0 -14
- package/dist/assets/ChargeCardRoutes-BKDstMtL.js +0 -71
- package/dist/assets/CompanyPassportScreen-D3aXSi-v.js +0 -1
- package/dist/assets/ConnectionAuthScreen-1A7_ld_X.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-7T0XvKs6.js +0 -1
- package/dist/assets/DomesticWireDetailScreen-DGMYJzFE.js +0 -18
- package/dist/assets/EntityDetailRoutes-Db8C6L2J.js +0 -1
- package/dist/assets/ExpenseAutomationRoutes-Cjko15u2.js +0 -38
- package/dist/assets/FeaturePreviewScreen-B5Hq_fA2.js +0 -1
- package/dist/assets/HubSpotOAuthCallbackScreen-B6Nn-XMl.js +0 -1
- package/dist/assets/InboxNotificationsProvider-BmF5-_KA.js +0 -1
- package/dist/assets/InvoicingRoutes-0xj-PlaS.js +0 -2
- package/dist/assets/MagicLinkRoutes-B9y3UF8M.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-vHrJm7dw.js +0 -12
- package/dist/assets/MobileAppDrawer-CjKRvtSN.js +0 -1
- package/dist/assets/NotFoundScreen-MJal1hew.js +0 -1
- package/dist/assets/NotificationRoutes-CT24D8Uv.js +0 -1
- package/dist/assets/OAuthConsentScreen-CFMLbvn8.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-ByUQV7tm.js +0 -1
- package/dist/assets/PeopleRoutes-DOJEhG7S.js +0 -22
- package/dist/assets/PerformanceRoutes-CdWAF5sI.js +0 -1
- package/dist/assets/ReimbursementApprovalRoutes-CEEFZS8r.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-5MNnVAqy.js +0 -1
- package/dist/assets/ReportsRoutes-Bgz_pVpt.js +0 -1
- package/dist/assets/RewardsRoutes-Bcb3M70b.js +0 -1
- package/dist/assets/ScheduleDetailsPrepaidExpensesScreen-luC81eat.js +0 -33
- package/dist/assets/ScreenRoutes-DA06Fnfd.js +0 -2
- package/dist/assets/SignInScreen-NP6vHITl.js +0 -1
- package/dist/assets/SignOutScreen-D28SfRtf.js +0 -9
- package/dist/assets/TaskRoutes-DLlKeXMA.js +0 -9
- package/dist/assets/TransactionDetailRoutes-BszvDFhJ.js +0 -1
- package/dist/assets/TransactionListRoutes-C1dcOuNI.js +0 -1
- package/dist/assets/WiseConfirmationScreen-l0eeo939.js +0 -12
- package/dist/assets/ZeniAccountRoutes-DImTioOs.js +0 -57
- package/dist/assets/ZeniAccountStatementScreen-wUD7vElb.js +0 -9
- package/dist/assets/epic-mSW644GG.js +0 -2
- package/dist/assets/expenseAutomationHelper-DBDpSggk.js +0 -1
- package/dist/assets/index-6yt3BfRL.js +0 -1
- package/dist/assets/stripSplatSuffix-CQQXAy0N.js +0 -1
- package/dist/assets/useActualMatchingMatchDetail-CAkhwxRr.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BamKKcjy.js +0 -1
- package/dist/assets/useTaskManagerAccess-CdPkYUw1.js +0 -1
- package/dist/assets/withTransactionSidePanel-Co9xwJi4.js +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Uv as d}from"./zeni-epic-state-7eY0g-Bc.js";import"./sentry-DHDsO12F.js";import{q as i,g as a}from"./core-B5mDy9pu.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]="700840e4-fc7f-4890-9c3d-a912fe9d8063",e._sentryDebugIdIdentifier="sentry-dbid-700840e4-fc7f-4890-9c3d-a912fe9d8063")}catch{}})();const c=/^(0?[1-9]|1[0-2])-\d{4}$/;function l(e){if(e!=null&&e!=="")return d(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&&c.test(r)})(n))return`/${t}/month_end_close_checks/review/${o}/${n}`}const y=()=>{const e=f();return i("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*")!=null||e},f=()=>a().state?.message==="expenseAutomation";export{l as a,g as m,y as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./sentry-DHDsO12F.js";import{r as d}from"./index-k1-Pd2Ki.js";import{r as u}from"./url-BxiN6LKq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="28b0cba1-b250-472e-830d-bc1c322a89b2",e._sentryDebugIdIdentifier="sentry-dbid-28b0cba1-b250-472e-830d-bc1c322a89b2")}catch{}})();var f,p={exports:{}};function y(){return f||(f=1,(function(e){var o=d(),i=u(),r=e.exports;for(var n in o)o.hasOwnProperty(n)&&(r[n]=o[n]);function c(t){if(typeof t=="string"&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),t.protocol!=="https:")throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}r.request=function(t,s){return t=c(t),o.request.call(this,t,s)},r.get=function(t,s){return t=c(t),o.get.call(this,t,s)}})(p)),p.exports}export{y as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as f}from"./decodeURIComponentSafe-DANuhXnG.js";import"./sentry-DHDsO12F.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="9bec9df4-88a9-4bea-874b-d2f9099ad5ca",n._sentryDebugIdIdentifier="sentry-dbid-9bec9df4-88a9-4bea-874b-d2f9099ad5ca")}catch{}})();function y(n){return n.split("/").map((t=>encodeURIComponent(f(t)))).join("/")}function a(n,t){return n===""?null:t.exec(n)}function x(n,t,r){const o=a(r,n)??a(f(r),n);if(o!=null)return o;const e=[t,f(t)];for(const s of e){const l=s.replace(/^\//,"").split("/");for(let c=l.length-1;c>=0;c--){const i=a(l.slice(c).join("/"),n);if(i!=null)return i}}return null}function D(n,t,r){const o=x(n,t,r);return(function(e,s){if(s==="")return e;const l=[s,y(s),f(s)],c=[e,f(e)];for(const i of c)for(const d of l){const b=`/${d}`,u=i.lastIndexOf(b);if(u>=0){if(i===e)return e.slice(0,u);const p=e.lastIndexOf(b);if(p>=0)return e.slice(0,p);const I=`/${y(d)}`,g=e.lastIndexOf(I);return g>=0?e.slice(0,g):e.slice(0,u)}}return e})(t,o?.[0]??"")}const m=/\/match\/[^/?]+$/i,h=/\/expense-automation\/actual-matching\/[^/?]+$/i;function O(n,t){if(n==null||n==="")return t;const r=n.indexOf("?"),o=r<0?n:n.slice(0,r),e=r<0?"":n.slice(r);if(h.test(o))return t;if(m.test(o)){const s=o.replace(m,"");return s===""?t:`${s}${e}`}return n}export{O as a,x as m,D as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./sentry-DHDsO12F.js";import{u as T,h as v,g as R,i as w,j as i}from"./core-B5mDy9pu.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-7eY0g-Bc.js";import{a as M}from"./stripSplatSuffix-CQQXAy0N.js";import{a4 as O,p as $}from"./index-CrBk11WI.js";import{c as A}from"./routePaths-CeCPwkIf.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 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./sentry-DHDsO12F.js";import{h as u,g,i as h,j as S}from"./core-B5mDy9pu.js";import{fF as y}from"./zeni-epic-state-7eY0g-Bc.js";import{a as k,a1 as C,e as A,ar as T,x as I,p as w,au as x}from"./index-CrBk11WI.js";import"./mui-Do6nLzGb.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]="64db22e7-7b92-4635-978c-a68b44389c83",e._sentryDebugIdIdentifier="sentry-dbid-64db22e7-7b92-4635-978c-a68b44389c83")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),n=u(),o=g(),{tenantEmailDomain:s}=h(),l=C(),f=x(l),d=A(),p=T(),m=S((a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0)),c=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&d&&!r,onAskAiCfoClick:b.useCallback((()=>{if(s!=null)if(c)if(f){const a=w(o.state?.pathnameStackToGoBack,o.pathname);n(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:a,referrer:t}})}else i(!0);else I({location:o,navigate:n,mergeState:{referrer:t}})}),[c,f,o,t,n,i,s])}}export{j as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./sentry-DHDsO12F.js";import{bn as d}from"./zeni-epic-state-7eY0g-Bc.js";import{N as i,c as t}from"./index-CrBk11WI.js";import"./mui-Do6nLzGb.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]="720d3548-96b2-4bde-84e7-0897335dd46a",e._sentryDebugIdIdentifier="sentry-dbid-720d3548-96b2-4bde-84e7-0897335dd46a")}catch{}})();const c=e=>{const{useFeatureGate:s}=i(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>d(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{c as u};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-UOzcPsHa.js";import{R as J,a as t}from"./sentry-DHDsO12F.js";import{U as ue,N as O,c as C,b4 as me,as as pe,b9 as fe,b5 as be,b6 as he,a1 as Te,ba as H}from"./index-CrBk11WI.js";import{c as K,n as $}from"./mui-Do6nLzGb.js";import{u as Pe}from"./useAskAiCfoHostNavButtonProps-BamKKcjy.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-CcO0FUjf.js";import{h as F,g as k,i as j,u as Oe,j as $e}from"./core-B5mDy9pu.js";import{sP as Fe,VC as ke,Rm as je}from"./zeni-epic-state-7eY0g-Bc.js";import{m as De,s as Me}from"./stripSplatSuffix-CQQXAy0N.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]="c1cbd9ab-dca4-46f0-9782-7622762eec63",a._sentryDebugIdIdentifier="sentry-dbid-c1cbd9ab-dca4-46f0-9782-7622762eec63")}catch{}})();const _=$.div`
|
|
2
|
-
${({$active:a})=>a&&K`
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
height: 100%;
|
|
6
|
-
`}
|
|
7
|
-
`,Y=$.div`
|
|
8
|
-
${({$active:a})=>a&&K`
|
|
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
|
-
`,Ve=$.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
|
-
`,Ae=J.memo((({isFullView:a,transactionId:e,transactionType:v,isTransactionCommentingEnabled:y,onBackToList:u,onClose:o})=>{const i=F(),m=k(),{tenantEmailDomain:r}=j(),h=ue(),{useFeatureGate:n}=O(),{isFeatureEnabled:f}=n(C.isCreateTransferEntryFromExpenseEnabled),p=o!=null&&a!==!0,c=h?.currentTenant?.companyId,x=h?.currentTenant?.companyName,{isFeatureEnabled:g}=n(C.isProjectsTransactionsEnabled),{isFeatureEnabled:T}=n(C.isTransactionSplitEnabled),{selectedTransaction:s,transactionDetail:P,tranEntity:I,isChainOfThoughtEnabled:b,defaultTrendTransactionTimePeriod:l,resetTrendIsFetchedStates:E,uncategorizedAccounts:D,vendorSaveStatus:Q,isVendorBulkUpdateOnTransactionEnabled:W,isExpenseAutomationEnabled:X,firstMonthOfFY:Z,isCreateVendorDrawerOpen:M,rawDetailSaveStatus:ee,rawDetailLineItemById:V}=Ee(e,v),{isFeatureEnabled:ne}=n(C.isRecommendationFeedbackEnabled),A=me(),{onRecommendationSelection:R,popup:ae}=ve({isEnabled:ne,fallbackTransactionId:e}),te=t.useMemo((()=>({...A,onRecommendationSelection:R})),[A,R]);ye(a===!0);const N=t.useRef(V);N.current=V;const S=xe(ee,(()=>{const w=[],U=N.current;if(U!=null)for(const de of Object.values(U)){const B=de.account;B?.accountId!=null&&w.push(B.accountId)}return w})),{transactionId:L,onSaveVendor:se,onSaveSuccess:ie,onCancel:oe}=Ie({closeDrawerHandler:()=>{},overrideTransactionId:e,overrideTransactionType:v}),{isAiCfoAccessEnabled:re,onAskAiCfoClick:ce}=Pe({mobileExploreReferrer:"Transaction Details"}),z=a===!0&&re;pe({isDataReady:a===!0&&P?.fetchState==="Completed"});const G=t.useRef(null);if(t.useEffect((()=>{if(G.current!==e&&P?.fetchState==="Completed"){G.current=e;const w=m.state?.searchContext;Se(P.transaction,w)}}),[m.state,P,e]),P==null)return d.jsx(_,{$active:p,children:d.jsx(Y,{$active:p,children:d.jsx(fe,{})})});const le=d.jsxs(d.Fragment,{children:[L!=null&&M?d.jsx(Ce,{isOpen:M,transactionId:L,onSaveVendor:se,onSaveSuccess:ie,onCancel:oe}):null,d.jsx(Ve,{children:d.jsx(be,{toolkit:te,children:d.jsx(ge,{hideDeleteAttachment:!0,firstMonthOfFY:Z,isDisabled:P?.transaction?.type==="transfer"&&h?.connectionName==="netsuite"?"readonly":void 0,isNavBarVisible:!p,tenantEmailDomain:r??"",location:m,navigate:i,selectedTransaction:s,entity:I,isCOTEnabled:b,isCreateTransferEntryFromExpenseEnabled:f,defaultTrendTransactionTimePeriod:l,resetTrendIsFetchedStates:E,transaction:P?.transaction,uncategorizedAccounts:D,vendorSaveStatus:Q,isVendorBulkUpdateOnTransactionEnabled:W,isExpenseAutomationEnabled:X,isAiCfoAccessEnabled:z,onAskAiCfoClick:z?ce:void 0,isTransactionCommentingEnabled:y,isProjectsTransactionsEnabled:g,isTransactionSplitEnabled:T,companyId:c,companyName:x,onBackClick:u})})}),ae,S.showPopup&&S.popupType!=null&&d.jsx(he,{popupType:S.popupType,currencySymbol:S.currencySymbol,accountId:S.popupAccountId??"",accountName:S.popupAccountName??"",onSubmit:S.handleSubmit,onDismiss:S.handleDismiss})]});return d.jsx(_,{$active:p,children:d.jsx(Y,{$active:p,children:le})})})),Re=[];function Ne(a){const{childPathPattern:e,enabled:v=!0,listPath:y}=a,u=F(),o=j(),i=k(),m=Te(),r=m==="small"||m==="medium-compact",h=o["*"]??"",n=De(e,i.pathname,h),f=v&&!r&&n!=null,p=t.useMemo((()=>new URLSearchParams(i.search).get("view")),[i.search]),c=f&&p==="full",x=n?.slice(1).join("\0"),g=t.useMemo((()=>n==null?Re:n.slice(1)),[x]),T=t.useMemo((()=>y??Me(e,i.pathname,h)),[e,y,i.pathname,h]),s=t.useRef({isOpen:f,locationState:i.state,basePath:T,pathname:i.pathname,search:i.search});s.current.isOpen=f,s.current.locationState=i.state,s.current.basePath=T,s.current.pathname=i.pathname,s.current.search=i.search;const P=t.useCallback(((l,E)=>{u(`${s.current.basePath}/${l}`,{replace:E?.replace??!1,state:E?.extraState!=null?{...s.current.locationState,...E.extraState}:s.current.locationState})}),[u]),I=t.useCallback((()=>{s.current.isOpen&&u(s.current.basePath,{replace:!0,state:s.current.locationState})}),[u]),b=t.useCallback((()=>{const l=new URLSearchParams(s.current.search);l.set("view","full"),u(`${s.current.pathname}?${l.toString()}`,{replace:!0,state:s.current.locationState})}),[u]);return t.useEffect((()=>{if(!f)return;const l=E=>{if(E.key==="Escape"){if(E.target?.closest('[role="dialog"], [role="alertdialog"]'))return;if(!c&&(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement instanceof HTMLSelectElement))return void document.activeElement.blur();I()}};return document.addEventListener("keydown",l),()=>document.removeEventListener("keydown",l)}),[f,c,I]),{backToList:I,basePath:T,closePanel:I,isFullView:c,isMobile:r,isOpen:f,matchGroups:g,maximize:b,navigateToChild:P}}function q(a){try{return decodeURIComponent(a)}catch{return a}}const Le=/^transaction\/([^/]+)\/([^/?]+)$/;function ze(a){return function(e){const v=e.displayName??e.name??"Component",y=J.memo(e),u=o=>{const{useFeatureGate:i}=O(),{isFeatureEnabled:m}=i(a.gateName??C.isTransactionDetailSplitViewEnabled),r=a.usePanelSetup(a.gateName==null||m),h=t.useContext(H),n=t.useMemo((()=>r.selectedItemId==null?h:{closePanel:r.sidePanel.closePanel,maximize:r.sidePanel.maximize,selectedItemId:r.selectedItemId}),[h,r.sidePanel.closePanel,r.sidePanel.maximize,r.selectedItemId]);return d.jsx(H.Provider,{value:n,children:d.jsx(y,{...o,...r.injectedProps})})};return u.displayName=`${a.displayNamePrefix}(${v})`,u}}const Qe=ze({displayNamePrefix:"withTransactionSidePanel",gateName:C.isTransactionDetailSplitViewEnabled,usePanelSetup:function(a){const e=(function(o=!0){const i=F(),m=k(),r=Oe(),h=j(),n=Ne({childPathPattern:Le,enabled:o}),f=n.matchGroups[0]!=null&&n.matchGroups[0]!==""?Fe(q(n.matchGroups[0])):void 0,p=n.matchGroups[1]!=null&&n.matchGroups[1]!==""?q(n.matchGroups[1]):void 0,c=t.useMemo((()=>{if(o&&p!=null&&f!=null)return{id:p,type:f}}),[o,p,f]),x=$e((b=>{if(c!=null)return ke(b,c)})),g=t.useMemo((()=>n.isOpen&&c!=null?x==null?"In-Progress":x.fetchState:"Not-Started"),[n.isOpen,c,x]),T=h.tenantEmailDomain??m.pathname.split("/").find(Boolean)??"";t.useEffect((()=>{n.isOpen&&c!=null&&r(je(c,!1))}),[r,n.isOpen,c]);const s=t.useRef({isOpen:n.isOpen,transactionId:p});s.current={isOpen:n.isOpen,transactionId:p};const P=t.useCallback((b=>{const l=encodeURIComponent(b.type);return n.isMobile||!o?`/${T}/transaction/${l}/${b.id}${m.search}`:`${n.basePath}/transaction/${l}/${b.id}${m.search}`}),[n.isMobile,n.basePath,o,T,m.search]);we({currentTransactionId:c,enabled:T!=="",buildPath:P,navigate:i,navigateState:m.state});const I=t.useCallback(((b,l,E)=>{!n.isMobile&&o?s.current.isOpen&&s.current.transactionId===b?n.closePanel():n.navigateToChild(`transaction/${encodeURIComponent(l)}/${b}`,{replace:s.current.isOpen,extraState:E!=null?{searchContext:E}:void 0}):i(`/${T}/transaction/${encodeURIComponent(l)}/${b}`)}),[i,n.isMobile,n.navigateToChild,n.closePanel,o,T]);return{backToList:n.closePanel,closePanel:n.closePanel,fetchState:g,isFullView:n.isFullView,isOpen:n.isOpen,maximize:n.maximize,openPanel:I,selectedTransactionId:o?c:void 0,transactionDetail:o?x:void 0,transactionId:o?p:void 0,transactionType:o?f:void 0}})(a),{useFeatureGate:v}=O(),{isFeatureEnabled:y}=v(C.isTransactionCommentingEnabled),u=t.useMemo((()=>{if(e.isOpen&&e.transactionId!=null&&e.transactionType!=null)return d.jsx(Ae,{isFullView:e.isFullView,isTransactionCommentingEnabled:y,transactionId:e.transactionId,transactionType:e.transactionType,onBackToList:e.closePanel,onClose:e.closePanel})}),[e.isOpen,e.isFullView,e.transactionId,e.transactionType,e.closePanel,y]);return{injectedProps:t.useMemo((()=>a?{closeSidePanel:e.closePanel,openTransactionPanel:e.openPanel,panelContent:u,sidePanelIsFullView:e.isFullView,sidePanelIsOpen:e.isOpen}:{}),[a,e.closePanel,e.openPanel,u,e.isFullView,e.isOpen]),selectedItemId:e.transactionId,sidePanel:e}}});export{ze as a,Ne as u,Qe as w};
|