@zeniai/web-app-ui 5.3.46-qa → 5.3.47-dev
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-BT617fFT.js → AccountMappingScreen-Euit4Ttk.js} +2 -2
- package/dist/assets/{ActualMatchingMatchDetailScreen-B8f2yDaP.js → ActualMatchingMatchDetailScreen-BBYzjOqh.js} +1 -1
- package/dist/assets/AddressRoutes-PvYGzHCA.js +1 -0
- package/dist/assets/AddressScreen-DsGvV3N8.js +9 -0
- package/dist/assets/{AiCfoScreen-CW5K1JhC.js → AiCfoScreen-DAEPn0_B.js} +1 -1
- package/dist/assets/{AppDrawer-D5UtqVeE.js → AppDrawer-D4O6tn5i.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DwyJret-.js → BillPayApprovalRoutes-BY4P9AKu.js} +1 -1
- package/dist/assets/BillPayRoutes-CWc4tAqm.js +119 -0
- package/dist/assets/{BusinessVerificationPageScreen-BL6H7JF-.js → BusinessVerificationPageScreen-CSruI1nV.js} +2 -2
- package/dist/assets/CardsAiCfoScreen-COoYscKz.js +14 -0
- package/dist/assets/{ChargeCardRoutes-Brg8E0b9.js → ChargeCardRoutes-BU6-pfJv.js} +1 -1
- package/dist/assets/CompanyPassportScreen-BxoatMVb.js +1 -0
- package/dist/assets/ConnectionAuthScreen-zbcvhPbz.js +11 -0
- package/dist/assets/CustomerOnboardingAuthScreen-8IwDeKdF.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-BffNdH_l.js → CustomerOnboardingRoutes-DV3rYEiJ.js} +3 -3
- package/dist/assets/{DashboardRoutes-CdQzvjb3.js → DashboardRoutes-D5hdkebN.js} +1 -1
- package/dist/assets/{DefaultTenantHome-Bve2xDaJ.js → DefaultTenantHome-DCPi_wXC.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-Dj3JCDGh.js → DomesticWireDetailScreen-DgE28aJN.js} +4 -4
- package/dist/assets/{DrawerScreen-CxKP-6Rf.js → DrawerScreen-BihZ_PpN.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-CRL6OrqO.js → EntityDetailRoutes-BqX-J3vM.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-BYSJ88to.js → ExpenseAutomationRoutes-DK-U-YTd.js} +1 -1
- package/dist/assets/FeaturePreviewScreen-5SleVFKv.js +1 -0
- package/dist/assets/{HubSpotOAuthCallbackScreen-DAHGdPOy.js → HubSpotOAuthCallbackScreen-2RxbRDTZ.js} +1 -1
- package/dist/assets/{InboxNotificationsProvider-gj6fT2eX.js → InboxNotificationsProvider-BmF5-_KA.js} +1 -1
- package/dist/assets/InvoicingRoutes-D0S6fDxY.js +2 -0
- package/dist/assets/{MagicLinkRoutes-CC75kCuL.js → MagicLinkRoutes-C22EnpRm.js} +8 -8
- package/dist/assets/MagicLinkSignInScreen-BVf-rLEH.js +12 -0
- package/dist/assets/MobileAppDrawer-0YtWXA3B.js +1 -0
- package/dist/assets/NotFoundScreen-BkYIKPgh.js +1 -0
- package/dist/assets/{NotificationRoutes-njgUFBoj.js → NotificationRoutes-CZQRvVbE.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-BCgV9bma.js → OAuthConsentScreen-Q7ZDvc1F.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CZ27RjQE.js → PandLWithForecastRoutes-BzO_OgSq.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-BrTP8y76.js → PaymentLinkScreen-B8bPleIr.js} +4 -4
- package/dist/assets/{PeopleRoutes-CulbMsz3.js → PeopleRoutes-D_nqmuPM.js} +9 -9
- package/dist/assets/PerformanceRoutes-BW6dixVF.js +1 -0
- package/dist/assets/{Preview-j2_daqeV.js → Preview-DMLQokX_.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CbxnK800.js → QBOConnectionScreen-CWU6DFJl.js} +23 -23
- package/dist/assets/{ReimbursementApprovalRoutes-DeN7vJtz.js → ReimbursementApprovalRoutes-DAusugdf.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DTKS2oJ9.js → ReimbursementApprovalRuleDetailScreen-phJuB98f.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-_NvdZWfU.js → ReimbursementRoutes-BdJ3oqBf.js} +1 -1
- package/dist/assets/{ReportsRoutes-BAGPRsE0.js → ReportsRoutes-CDSCG28G.js} +1 -1
- package/dist/assets/RewardsRoutes-CHkOPz1g.js +1 -0
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-B5q5sAGy.js → ScheduleDetailsPrepaidExpensesScreen-DnVEpQsK.js} +5 -5
- package/dist/assets/{ScreenRoutes-BHHy1uXx.js → ScreenRoutes-BYAPWka6.js} +2 -2
- package/dist/assets/{SettingsRoutes-BtUbt9zq.js → SettingsRoutes-BGCz0_nd.js} +3 -3
- package/dist/assets/{SetupPagesScreen-D0fdMGb4.js → SetupPagesScreen-DzNRL7Y-.js} +1 -1
- package/dist/assets/SignInScreen-BREpWd6T.js +1 -0
- package/dist/assets/SignOutScreen-BNCpbut8.js +9 -0
- package/dist/assets/TaskListScreen-Br-mxkKM.js +9 -0
- package/dist/assets/{TaskRoutes-DpYRDMWP.js → TaskRoutes-CDuiJExM.js} +1 -1
- package/dist/assets/TransactionDetailRoutes-CYb-4jKQ.js +1 -0
- package/dist/assets/{TransactionDetailScreen-CjwF3ORf.js → TransactionDetailScreen-Bp7IFDK0.js} +2 -2
- package/dist/assets/{TransactionListRoutes-2fGCqEq5.js → TransactionListRoutes-B6NIJUWk.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CuPpvoic.js → TreasuryRoutes-BvvMozYl.js} +5 -5
- package/dist/assets/{VendorsRoutes-B_Yg40bd.js → VendorsRoutes-DsJ_lcDO.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-ChaM_jYJ.js → WiseConfirmationScreen-Bg5_g49N.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-CfMUrMqe.js → ZeniAccountRoutes-C3fDjuMG.js} +7 -7
- package/dist/assets/{ZeniAccountStatementScreen-BgdXcTdx.js → ZeniAccountStatementScreen-CbdRQI0p.js} +1 -1
- package/dist/assets/{accountMappingHelper-DWzrp9Pr.js → accountMappingHelper-DqBiQF6x.js} +1 -1
- package/dist/assets/{analytics-wktvfErl.js → analytics-D6GpUSOP.js} +1 -1
- package/dist/assets/{analyticsHelper-DcvdGte-.js → analyticsHelper-CwB3kQvw.js} +1 -1
- package/dist/assets/{core-D6EV-11Y.js → core-B5mDy9pu.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-MQV5aj_5.js → decodeURIComponentSafe-DANuhXnG.js} +1 -1
- package/dist/assets/{dnd-CkchuQYc.js → dnd-CGWe1ZMP.js} +1 -1
- package/dist/assets/{empty-PZV8n_Ql.js → empty-D0y6rZ_X.js} +1 -1
- package/dist/assets/{empty-DQLKD1Hp.js → empty-Dj4ZMRNZ.js} +1 -1
- package/dist/assets/{emptyVideoElement-CnlqukSR.js → emptyVideoElement-BbYSqu6F.js} +1 -1
- package/dist/assets/epic-mSW644GG.js +2 -0
- package/dist/assets/{expenseAutomationHelper-DEOPVtcg.js → expenseAutomationHelper-DBDpSggk.js} +1 -1
- package/dist/assets/{getLocaleForTenant-C3wVeXiS.js → getLocaleForTenant-DH5Avx3x.js} +1 -1
- package/dist/assets/{index-DvW7BRlL.js → index-6nH5LMe4.js} +27459 -27459
- package/dist/assets/{index-EnAqWoDC.js → index-6yt3BfRL.js} +1 -1
- package/dist/assets/{index-BlnK23AJ.js → index-8s12XWuB.js} +1 -1
- package/dist/assets/{index-CBlRXIxp.js → index-BQBXaLiB.js} +1 -1
- package/dist/assets/{index-B5kf_qFj.js → index-CI8tXM3D.js} +1 -1
- package/dist/assets/{index-CKDPlCKN.js → index-G6Wb7pfX.js} +2 -2
- package/dist/assets/{index-qI_nnuux.js → index-fq0DUtem.js} +1 -1
- package/dist/assets/{index-8ioAZPP6.js → index-k1-Pd2Ki.js} +1 -1
- package/dist/assets/{lexical-C6tQwGBF.js → lexical-DW4lC8Zx.js} +1 -1
- package/dist/assets/{liveblocks-DKqwsBQp.js → liveblocks-UOzcPsHa.js} +1 -1
- package/dist/assets/{lottie-BwhdO6jl.js → lottie-C5eNvt0I.js} +1 -1
- package/dist/assets/{mui-qouWiIWk.js → mui-Do6nLzGb.js} +1 -1
- package/dist/assets/{pathToGoBack-DMRqTTJ7.js → pathToGoBack-DP_bGWF-.js} +1 -1
- package/dist/assets/{pdf-DcGn_mX8.js → pdf-DjwvAC2g.js} +4 -4
- package/dist/assets/{pdf-lib-DndwkHl6.js → pdf-lib-CZXOqgb4.js} +1 -1
- package/dist/assets/{plaid-deRHM6gT.js → plaid-0g_vwjSd.js} +1 -1
- package/dist/assets/{pusher-BmM2v3Ys.js → pusher-BwlPp2s7.js} +1 -1
- package/dist/assets/{react-DZ82GBCj.js → react-Bja4MeVO.js} +1 -1
- package/dist/assets/{react-DFunsRdI.js → react-BsXfT48C.js} +1 -1
- package/dist/assets/{react-1c5WrJsc.js → react-CU01hiuh.js} +1 -1
- package/dist/assets/{react-D6U1M1pt.js → react-Dex3foBA.js} +1 -1
- package/dist/assets/{react-DiQLb4cq.js → react-DkYBVdJJ.js} +1 -1
- package/dist/assets/{react-QkGRtVkE.js → react-RZilWHYG.js} +1 -1
- package/dist/assets/{recharts-C9zWmt1W.js → recharts-uFX1dZS-.js} +1 -1
- package/dist/assets/{routePaths-GYFjoelZ.js → routePaths-uBvxqlLY.js} +1 -1
- package/dist/assets/{sentry-CxSdF_rC.js → sentry-DHDsO12F.js} +1 -1
- package/dist/assets/{stripSplatSuffix-CYVrHv_0.js → stripSplatSuffix-CQQXAy0N.js} +1 -1
- package/dist/assets/{url-Ej5v3O6d.js → url-BxiN6LKq.js} +1 -1
- package/dist/assets/{url-BSgCM0lM.js → url-CLCy7GPP.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-BkDnJbPg.js → useActualMatchingMatchDetail-OCZsPxr6.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-D_Ro-9Tt.js → useAiCfoDashboardSuggestedQuestionsChips-D8KJqvT7.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BsP5fVhq.js +1 -0
- package/dist/assets/{useChargeCardPusherEvents-1X1JYShz.js → useChargeCardPusherEvents-BnH8_thb.js} +1 -1
- package/dist/assets/{useDeviceId-RToKfM0O.js → useDeviceId-Bi38IJl0.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-dVylO6qh.js → useEmailConnectResultRefresh-Ba8t-BuL.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BwX5Js6P.js → useInitialThreadRequest-7Q8HJAH2.js} +1 -1
- package/dist/assets/useTaskManagerAccess-BG0Fkj9k.js +1 -0
- package/dist/assets/{utils-D8aAQJhF.js → utils-BsODCDYR.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-CPG02lKM.js → withTransactionSidePanel-DK-Ex27L.js} +2 -2
- package/dist/assets/{zeni-epic-state-CZbm731W.js → zeni-epic-state-7eY0g-Bc.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AddressRoutes-kiur36N3.js +0 -1
- package/dist/assets/AddressScreen-5ZLJ7_Lf.js +0 -9
- package/dist/assets/BillPayRoutes-DFm7lkFc.js +0 -119
- package/dist/assets/CardsAiCfoScreen-C-_PDYQc.js +0 -14
- package/dist/assets/CompanyPassportScreen-CEuR94fF.js +0 -1
- package/dist/assets/ConnectionAuthScreen-uvgGU2za.js +0 -11
- package/dist/assets/CustomerOnboardingAuthScreen-C-d3MNce.js +0 -1
- package/dist/assets/FeaturePreviewScreen-LeLfD5pA.js +0 -1
- package/dist/assets/InvoicingRoutes-CvkWcLdT.js +0 -2
- package/dist/assets/MagicLinkSignInScreen-CWvMyhrQ.js +0 -12
- package/dist/assets/MobileAppDrawer-DExJFFmi.js +0 -1
- package/dist/assets/NotFoundScreen-sryCVGSu.js +0 -1
- package/dist/assets/PerformanceRoutes-BYcI02aB.js +0 -1
- package/dist/assets/RewardsRoutes-BUOCW-CT.js +0 -1
- package/dist/assets/SignInScreen-5_sPhLr0.js +0 -1
- package/dist/assets/SignOutScreen-DrcdcbqC.js +0 -9
- package/dist/assets/TaskListScreen-OEgAVE9M.js +0 -9
- package/dist/assets/TransactionDetailRoutes-eA90CTkf.js +0 -1
- package/dist/assets/epic-CVdAQuh9.js +0 -2
- package/dist/assets/useAskAiCfoHostNavButtonProps-DV4bjx-y.js +0 -1
- package/dist/assets/useTaskManagerAccess-daSMnBbA.js +0 -1
package/dist/assets/{PandLWithForecastRoutes-CZ27RjQE.js → PandLWithForecastRoutes-BzO_OgSq.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as n}from"./liveblocks-
|
|
1
|
+
import{j as n}from"./liveblocks-UOzcPsHa.js";import{h as H,u as J,g as K,i as Q,j as d,l as X,n as ee,o as C}from"./core-B5mDy9pu.js";import{fF as M,A4 as O,v1 as ae,Vi as w,uY as T,bq as te,b$ as se,uZ as oe,Vj as re,V0 as S,ei as ne,DS as ce,Vk as ie,Ee as le,d_ as de,dZ as me}from"./zeni-epic-state-7eY0g-Bc.js";import{ai as fe,z as pe,aq as ue,as as he,U as Fe,N as _,c as N,a8 as ge,j as V,aD as be,p as Ie}from"./index-6nH5LMe4.js";import"./mui-Do6nLzGb.js";import Ce from"./NotFoundScreen-BkYIKPgh.js";import{F as Se}from"./FeaturePreviewScreen-5SleVFKv.js";import{a as F}from"./sentry-DHDsO12F.js";import{u as Te}from"./useAskAiCfoHostNavButtonProps-BsP5fVhq.js";import{u as ye}from"./useInitialThreadRequest-7Q8HJAH2.js";import{t as Ae}from"./routePaths-uBvxqlLY.js";import{M as De}from"./MobileAppDrawer-0YtWXA3B.js";import"./recharts-uFX1dZS-.js";import"./analytics-D6GpUSOP.js";import"./plaid-0g_vwjSd.js";import"./dnd-CGWe1ZMP.js";import"./stripe-cKAAJElX.js";import"./lottie-C5eNvt0I.js";import"./lexical-DW4lC8Zx.js";import"./pdf-DjwvAC2g.js";import"./utils-BsODCDYR.js";import"./InboxNotificationsProvider-BmF5-_KA.js";import"./useTaskManagerAccess-BG0Fkj9k.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="ea553612-3a41-4de0-a7e8-ab0c0b75e35b",s._sentryDebugIdIdentifier="sentry-dbid-ea553612-3a41-4de0-a7e8-ab0c0b75e35b")}catch{}})();const y=(s,e,a,o)=>{if(s!=e){const r=o??"";s!=null&&s.length>0?a(`../${e}${r}`,{replace:!0}):a(`${e}${r}`,{replace:!0})}},je=X((function(s){const e=re(s),a={},o=e.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach((r=>{a[r]=o[r]===!1})),{selectedTimeframe:e.selectedTimeframe,isForecastVsActualOn:e.isForecastVsActualOn,compareMode:e.compareMode,forecastList:e.forecastList,selectedForecast:e.selectedForecast,pandLreport:e.pandLReportWithForecast,scrollPosition:e.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:a,type:"name+balances_forecast",analytics:V}}),(function(s,e){return{onForecastSelectionChanged:(a,o)=>{s(w(a,o)),e.isPandLReportFetched(a)||s(T(a)),y(e.forecastIdFromUrlPath,a,e.navigate)},onTimeframeChanged:a=>{s(le(a))},onForecastVsActualsCompareToggle:a=>{s(ie(a)),s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:a=>{s(ce(e.firstMonthOfFY,a,0,[]))},onAccountBalanceClick:e.hasTransactionAccess!==!0?void 0:(a,o)=>{let r,c;const p=a.accountName===""?a.accountDescription:a.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,c=ne(o)):o.balanceTimeFrame==="year"?(r="quarter",c={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),c!=null&&r!=null){const u=Ae(e.tenantEmailDomain,a.accountId,a.accountType,p,r,c),m=Ie(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(u,{state:{pathnameStackToGoBack:m,referrer:"Forecast"}})}},onNodeCollapseToggled:(a,o)=>{s(S({forecastId:e.forecastIdFromUrlPath,nodeCollapseState:{nodeId:a,isCollapsed:o===!1}}))},onTableScroll:a=>{s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:a}))},onBackClick:()=>{e.navigate("../../")}}}))(be);function v(){const s=fe(),e=H(),a=J(),o=K(),{forecastId:r,tenantEmailDomain:c}=Q(),[p,u]=F.useState(!1),[m,A]=F.useState(!1),g=pe.getSignedInUser(),D=d((t=>M(t))),$=D.company?.companyInfo.firstMonthOfFY??1,i=d((t=>O(t.forecastState,t.forecastListState))),l=d((t=>t.forecastListState.fetchState==="Completed")),j=d((t=>t.profitAndLossState)),x=d((t=>t.reportUIOptionsState.selectedForecast)),k=t=>j.pandLByForecastID[t]!=null&&oe(t,j).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:b}=ue();he({isDataReady:l});const{isAiCfoAccessEnabled:q,onAskAiCfoClick:B}=Te({mobileExploreReferrer:"Forecast"});F.useEffect((()=>{if(!p&&b)u(!0),l||a(ae());else if(l&&!m){A(!0);const t=((f,R,U)=>R!=null?f.forecasts.findIndex((I=>I.id===R)):U!=null?f.forecasts.findIndex((I=>I.id===U)):f.forecasts.length>0?0:-1)(i,r,x?.id);t===-1&&r!=null?e("page-not-found",{replace:!0}):t!==-1&&t!=x?.index?(a(w(i.forecasts[t].id,t)),y(r,i.forecasts[t].id,e,o.search)):r==null&&t!==-1&&y(void 0,i.forecasts[t].id,e,o.search),t!==-1&&!k(i.forecasts[t].id)&&b&&a(T(i.forecasts[t].id))}}),[p,u,a,l,i,m,A,O,T,b]);const E=Fe(),G=E?.loggedInUserRole!=null&&te(E.loggedInUserRole),{useFeatureGate:W}=_(),{isFeatureEnabled:L}=W(N.isReportsCommentingEnabled),Y=ye(L?D?.companyId:void 0,{clearParams:l&&m}),[Z,z]=F.useState(!1),h=new URL(s("forecast_pandl"));h.searchParams.set("firstname",g?.firstName??""),h.searchParams.set("lastname",g?.lastName??""),h.searchParams.set("email",g?.userEmail??"");const P=t=>{z(t)};return n.jsxs(n.Fragment,{children:[l?n.jsx(ge,{analytics:V,onLoad:t=>(f=>f.trackForecast())(t)}):null,n.jsx(De,{isAppContentDrawerOpen:Z,handleDrawerToggle:P}),n.jsx(je,{firstMonthOfFY:$,tenantEmailDomain:c,forecastIdFromUrlPath:r,navigate:e,location:o,isPandLReportFetched:k,meetingUrl:se(h.toString()),hasTransactionAccess:G,isAiCfoAccessEnabled:q,onAskAiCfoClick:B,isReportsCommentingEnabled:L,initialOpenThreadRequest:Y,onClickMenuIcon:()=>{P(!0)}})]})}function Je(){const s=d((c=>M(c))),{useFeatureGate:e}=_(),{isFeatureEnabled:a}=e(N.isDebitCardFeatureEnabled),o=de(a,s),r=me(s);return o===!0||r===!0?n.jsx(Se,{}):n.jsxs(ee,{children:[n.jsx(C,{path:"/",element:n.jsx(v,{})}),n.jsx(C,{path:"/:forecastId",element:n.jsx(v,{})}),n.jsx(C,{path:"/:forecastId/*",element:n.jsx(Ce,{})})]})}export{Je as default};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{j as a}from"./liveblocks-
|
|
1
|
+
import{j as a}from"./liveblocks-UOzcPsHa.js";import{a as p}from"./sentry-DHDsO12F.js";import{F as c,H as r,a9 as m,ad as f,ae as h}from"./index-6nH5LMe4.js";import"./mui-Do6nLzGb.js";import{i as y}from"./core-B5mDy9pu.js";import"./zeni-epic-state-7eY0g-Bc.js";import"./recharts-uFX1dZS-.js";import"./analytics-D6GpUSOP.js";import"./plaid-0g_vwjSd.js";import"./dnd-CGWe1ZMP.js";import"./stripe-cKAAJElX.js";import"./lottie-C5eNvt0I.js";import"./lexical-DW4lC8Zx.js";import"./pdf-DjwvAC2g.js";import"./utils-BsODCDYR.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]="c843409e-76f1-4a2e-a664-bbeb91a05d58",e._sentryDebugIdIdentifier="sentry-dbid-c843409e-76f1-4a2e-a664-bbeb91a05d58")}catch{}})();const g=c("div")`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
5
5
|
min-height: 100vh;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,
|
|
7
|
+
`,b=c("header")`
|
|
8
8
|
flex-shrink: 0;
|
|
9
9
|
padding: ${r.sp3} ${r.sp4};
|
|
10
|
-
`,
|
|
10
|
+
`,k=c(m)`
|
|
11
11
|
width: ${r.sp4};
|
|
12
12
|
height: ${r.sp4};
|
|
13
13
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
@@ -18,4 +18,4 @@ import{j as a}from"./liveblocks-DKqwsBQp.js";import{a as p}from"./sentry-CxSdF_r
|
|
|
18
18
|
align-items: center;
|
|
19
19
|
justify-content: center;
|
|
20
20
|
padding: ${r.sp4};
|
|
21
|
-
`;function j({children:e}){return a.jsxs(g,{"data-testid":"invoicing-collect-payment-layout",children:[a.jsx(
|
|
21
|
+
`;function j({children:e}){return a.jsxs(g,{"data-testid":"invoicing-collect-payment-layout",children:[a.jsx(b,{children:a.jsx(k,{"aria-label":"Zeni",role:"img"})}),a.jsx(x,{children:e})]})}class w extends Error{statusCode;constructor(t,o){super(t),this.name="PortalRequestError",this.statusCode=o}}function $(e,t){const o=(function(){const n=h?.invoicingMicroServiceBaseUrl;return`${n!=null&&n.length>0?n:""}/1.0`})(),s={namespace:e,token:t};async function i(n,u){const l=await fetch(`${o}${n}`,{body:JSON.stringify(u),headers:{"Content-Type":"application/json"},method:"POST"}),d=await l.json();if(!l.ok)throw new w(d.status?.message??`Request failed (${l.status}).`,l.status);return d.data}return{checkoutSession:()=>i("/portal/payment-link/checkout-session",s),plaidLinkToken:()=>i("/portal/payment-link/plaid-link-token",s),requestAccess:()=>i("/portal/payment-link/request-access",s),savePaymentMethod:n=>i("/portal/payment-link/payment-methods",{...s,...n}),session:()=>i("/portal/payment-link/session",s),setupIntent:()=>i("/portal/payment-link/setup-intent",s)}}function B(){const{namespace:e="",token:t=""}=y();p.useEffect((()=>{document.querySelector("#app-shell-loader")?.remove()}),[]);const o=p.useMemo((()=>$(e,t)),[e,t]);return a.jsx(j,{children:a.jsx(f,{portal:o})})}export{B as default};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{j as a}from"./liveblocks-
|
|
1
|
+
import{j as a}from"./liveblocks-UOzcPsHa.js";import{Ve as re,fF as N,l$ as G,d_ as Y,dZ as le,S5 as X,UD as de,CP as Pe,Vf as J,CE as je,CZ as Le,CT as ce,CI as pe,CX as Te,CU as ve,Vg as ue,sl as Ve,g6 as Ae,gD as Fe,Vh as H,CM as me,CL as ge,D0 as Re,c8 as Oe}from"./zeni-epic-state-7eY0g-Bc.js";import{a1 as fe,N as Q,c as _,z as K,g as Ce,J as he,af as ye,az as be,aA as Ze,ab as Se,H as R,ag as we,G as M,aB as Ue,aq as Be,as as $e,a8 as ze,j as De,S as He,p as _e,aC as Ge,U as Ke}from"./index-6nH5LMe4.js";import{D as xe,n as W,S as Ie}from"./mui-Do6nLzGb.js";import ae from"./NotFoundScreen-BkYIKPgh.js";import{a as d}from"./sentry-DHDsO12F.js";import{u as ee,i as Me,j as g,h as We,g as qe,l as Je,n as se,o as z}from"./core-B5mDy9pu.js";import{u as Ne}from"./useAskAiCfoHostNavButtonProps-BsP5fVhq.js";import{M as Ye}from"./MobileAppDrawer-0YtWXA3B.js";import"./recharts-uFX1dZS-.js";import"./analytics-D6GpUSOP.js";import"./plaid-0g_vwjSd.js";import"./dnd-CGWe1ZMP.js";import"./stripe-cKAAJElX.js";import"./lottie-C5eNvt0I.js";import"./lexical-DW4lC8Zx.js";import"./pdf-DjwvAC2g.js";import"./utils-BsODCDYR.js";import"./InboxNotificationsProvider-BmF5-_KA.js";import"./useTaskManagerAccess-BG0Fkj9k.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]="6af8fbdf-2ca3-4d6a-a3ae-6df76ef33904",e._sentryDebugIdIdentifier="sentry-dbid-6af8fbdf-2ca3-4d6a-a3ae-6df76ef33904")}catch{}})();const Xe={overlayWidth:new Se(100,100,48)},te=M.getLocalizedStrings().peoplePage.invitePage,ne=M.getLocalizedStrings().common,Qe=({companyId:e,managersListView:t,companyPassportView:c,classListView:n,mode:f,isEditPeopleDrawerOpen:i,closeDrawerHandler:b})=>{const C=fe(),m=ee(),[O,Z]=d.useState(!1),[k,S]=d.useState(!1),{userId:w}=Me(),r=g((l=>re(l))),p=g((l=>N(l))),E=g((l=>G(l))),{useFeatureGate:x}=Q(),{isFeatureEnabled:I}=x(_.isDebitCardFeatureEnabled),P=Y(I,p),T=le(p),v=X(p),U=de(p),B=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,D=!P&&E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||c.fetchState!=="Completed"||e==null;if(K.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const h=()=>{m(J()),b()},V=()=>{O===!0?S(!0):h()},$=c.companyView?.controllers?.map((l=>l.user)),u=!!p.company?.companyZeniAccountInfo?.isZeniAccountEnabled,{isFeatureEnabled:j}=x(_.isChargeCardFeatureEnabled),L=Ce(p,j,I),{isCardsHidden:A}=he(p?.tenantId),y=!L||A,F=p.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",s={peopleDetails:r,classList:n.classes,managersList:t.users,controllersList:$,mode:f,isZeniTenant:v,isAccountingClassesEnabled:E,isReimbursementDisabled:B===!1,isZeniAccountsDisabled:u===!1,isChargeCardDisabled:y,isTreasuryDisabled:F===!1,isLiteRoleDisabled:U===!1,isBankingOnlyTenant:P,isCardsOnlyTenant:T,onResetClick:h,onDeleteUser:l=>{m(pe(l.userId,l.userRole.userRoleId))},onPeopleLocalDataUpdated:l=>{m(ce({peopleLocalData:l})),Z(!0)},onSaveClick:()=>{m(f==="zeni_only"?je(e):Le(v))},onCloseClick:V,isLoading:D||r.person==null},o={onOkClick:()=>{S(!1),h()},onCancelClick:()=>{S(!1)}};return d.useEffect((()=>{D===!1&&w!=null&&m(Pe(w))}),[D,w]),d.useEffect((()=>{r.updatePersonState.fetchState==="Completed"&&h()}),[r.updatePersonState.fetchState]),a.jsx(xe,{anchor:"right",open:i,PaperProps:{style:{width:Xe.overlayWidth.valuePercentage(C),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ye.overlayDark,cursor:"pointer"}}},onClose:V,children:a.jsxs(ea,{onClick:l=>l.stopPropagation(),children:[k===!0?a.jsx(be,{titleComponent:a.jsx(ke,{children:te.discardTitle}),descriptionComponent:a.jsx(Ee,{children:te.discardDescription}),primaryButtonText:ne.yes,secondaryButtonText:ne.no,action:o,isEditPopup:!0}):null,a.jsx(Ze,{...s})]})})},ea=W(Ie)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
`,ke=W(we.H6Regular)`
|
|
6
|
-
margin-top: ${
|
|
7
|
-
padding-left: ${
|
|
8
|
-
padding-right: ${
|
|
6
|
+
margin-top: ${R.sp7};
|
|
7
|
+
padding-left: ${R.sp8};
|
|
8
|
+
padding-right: ${R.sp8};
|
|
9
9
|
color: ${e=>e.theme.colors.primary};
|
|
10
10
|
word-break: break-word;
|
|
11
11
|
`,Ee=W(we.LargeRegularSp)`
|
|
12
12
|
color: ${e=>e.theme.colors.hero};
|
|
13
|
-
padding-left: ${
|
|
14
|
-
padding-right: ${
|
|
13
|
+
padding-left: ${R.sp8};
|
|
14
|
+
padding-right: ${R.sp8};
|
|
15
15
|
margin-bottom: 30px;
|
|
16
|
-
margin-top: ${
|
|
16
|
+
margin-top: ${R.sp4};
|
|
17
17
|
white-space: pre-line;
|
|
18
|
-
`,aa={overlayWidth:new Se(100,100,48)},oe=M.getLocalizedStrings().peoplePage.invitePage,ie=M.getLocalizedStrings().common,sa=({companyId:e,managersListView:t,companyPassportView:
|
|
18
|
+
`,aa={overlayWidth:new Se(100,100,48)},oe=M.getLocalizedStrings().peoplePage.invitePage,ie=M.getLocalizedStrings().common,sa=({companyId:e,managersListView:t,companyPassportView:c,classListView:n,mode:f,isInvitePeopleDrawerOpen:i,closeDrawerHandler:b})=>{const C=fe(),m=ee(),[O,Z]=d.useState(!1),[k,S]=d.useState(!1),w=g((o=>re(o))),r=g((o=>N(o))),p=g((o=>G(o))),{useFeatureGate:E}=Q(),{isFeatureEnabled:x}=E(_.isDebitCardFeatureEnabled),I=Y(x,r),P=le(r),T=X(r),v=de(r),U=!!r.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,B=!I&&p&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||c.fetchState!=="Completed"||e==null;if(K.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const D=()=>{b(),m(J())},h=()=>{O===!0?S(!0):D()},V={onOkClick:()=>{S(!1),D()},onCancelClick:()=>{S(!1)}},$=c.companyView?.controllers.map((o=>o.user)),u=!!r.company?.companyZeniAccountInfo?.isZeniAccountEnabled,{isFeatureEnabled:j}=E(_.isChargeCardFeatureEnabled),L=Ce(r,j,x),{isCardsHidden:A}=he(r?.tenantId),y=!L||A,F=r.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",s={classList:n.classes,managersList:t.users,controllersList:$,mode:f,isZeniTenant:T,onPeopleLocalDataUpdated:o=>{m(ce({peopleLocalData:o})),Z(!0)},onResetClick:D,onSaveClick:()=>{m(f==="zeni_only"?Te(e):ve())},onCloseClick:h,peopleDetails:w,isAccountingClassesEnabled:p,isReimbursementDisabled:U===!1,isLiteRoleDisabled:v===!1,isZeniAccountsDisabled:u===!1,isChargeCardDisabled:y,isTreasuryDisabled:F===!1,isBankingOnlyTenant:I,isCardsOnlyTenant:P,isLoading:B};return d.useEffect((()=>{w.invitePersonState.fetchState==="Completed"&&(b(),m(J()))}),[w.invitePersonState.fetchState]),a.jsx(xe,{anchor:"right",open:i,PaperProps:{style:{width:aa.overlayWidth.valuePercentage(C),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ye.overlayDark,cursor:"pointer"}}},onClose:h,children:a.jsxs(ta,{onClick:o=>o.stopPropagation(),children:[k===!0?a.jsx(be,{titleComponent:a.jsx(ke,{children:oe.discardTitle}),descriptionComponent:a.jsx(Ee,{children:oe.discardDescription}),primaryButtonText:ie.yes,secondaryButtonText:ie.no,action:V}):null,a.jsx(Ue,{...s})]})})},ta=W(Ie)`
|
|
19
19
|
display: flex;
|
|
20
20
|
min-height: 100%;
|
|
21
21
|
flex-direction: column;
|
|
22
|
-
`,na=
|
|
22
|
+
`,na=Je((function(e,t){const c=ue(e),n=K.getSignedInUser();return{data:c,loggedinUserId:n?.userId??"",isZeniTenant:t.isZeniTenant===!0,shouldFetchClasses:t.shouldFetchClasses,isZeniAdminUser:n?.userEmailDomain==="zeni.ai"&&t.isZeni===!0,isAccountingClassesEnabled:G(e),analytics:De}}),(function(e,t){const{navigate:c,companyId:n,shouldFetchClasses:f}=t;return{personAction:{onPersonDelete:(i,b)=>{e(pe(i,b))},onResendInvite:i=>{e(Re(i))},onReloadPeople:()=>{e(me()),e(ge(n,f))},onBackClick:()=>{c("../../")},onModeChange:i=>{e(H({mode:i,searchText:"",sortKey:"name",sortOrder:"ascending"}))},onSearchTextChanged:i=>{e(H({searchText:i}))}}}}))(Ge);function q({isInvitePeopleDrawerOpen:e,isEditPeopleDrawerOpen:t}){const c=We(),n=ee(),f=qe(),{areTenantIdsInSync:i}=Be(),b=K.getSignedInUser(),C=g((s=>N(s))),{useFeatureGate:m}=Q(),{isFeatureEnabled:O}=m(_.isDebitCardFeatureEnabled),Z=g((s=>G(s))),k=!Y(O,C)&&Z,S=X(C),w=C?.tenantId,{tenantEmailDomain:r}=C,[p,E]=d.useState(!1),[x,I]=d.useState(!1),[P,T]=d.useState(!1),[v,U]=d.useState("off"),[B,D]=d.useState(!1),h=s=>{D(s)},{isAiCfoAccessEnabled:V,onAskAiCfoClick:$}=Ne({mobileExploreReferrer:"People"}),u=g((s=>ue(s)));$e({isDataReady:u.fetchState==="Completed"});const j=g((s=>Ve(s.classState,s.classListState))),L=g((s=>Ae(s.userState,s.userRoleState,s.userListViewState,"manager"))),A=g((s=>Fe(s))),y=C?.companyId;d.useEffect((()=>{p&&v===u.uiState.mode||!i||(n(H({searchText:"",sortKey:"name",sortOrder:"ascending"})),U(u.uiState.mode),E(!0),n(me()))}),[p,b,w,n,u.uiState.mode,i]),d.useEffect((()=>{y!=null&&i&&n(ge(y,k))}),[y,k,i]),d.useEffect((()=>{I(e!=null&&e===!0),T(t!=null&&t===!0&&t)}),[e,t]),d.useEffect((()=>{n(H({searchText:"",sortKey:"name",sortOrder:"ascending"}))}),[]);const F=()=>{I(!1),T(!1),c("../")};return a.jsxs(a.Fragment,{children:[u.fetchState==="Completed"?a.jsx(ze,{analytics:De,onLoad:s=>s.trackPageLoaded(He.Event.members)}):null,x===!0?a.jsx(sa,{closeDrawerHandler:F,isInvitePeopleDrawerOpen:x,managersListView:L,companyPassportView:A,classListView:j,companyId:y,mode:u.uiState.mode}):null,P===!0?a.jsx(Qe,{closeDrawerHandler:F,isEditPeopleDrawerOpen:P,managersListView:L,companyPassportView:A,classListView:j,companyId:y,mode:u.uiState.mode}):null,a.jsx(Ye,{isAppContentDrawerOpen:B,handleDrawerToggle:h}),a.jsx(na,{navigate:c,signedInUser:b,isZeni:C.isZeni,isZeniTenant:S,peopleUIState:u.uiState,companyId:y,shouldFetchClasses:k,classList:j,managersView:L,peopleView:u,onInvitePeopleClick:()=>{c("./new")},onColumnSortConfigChanged:(s,o)=>{n(H({sortKey:s,sortOrder:o}))},onRowClick:s=>{const o=`/${r}/people/${encodeURIComponent(s)}/edit`,l=_e(f.state?.pathnameStackToGoBack,f.pathname);c(o,{state:{pathnameStackToGoBack:l}})},onClickMenuIcon:()=>{h(!0)},isAiCfoAccessEnabled:V,onAskAiCfoClick:$})]})}function ka(){const e=Ke();return Oe(e?.loggedInUserRole??[])?a.jsxs(se,{children:[a.jsx(z,{path:"/",element:a.jsx(q,{})}),a.jsx(z,{path:"new",element:a.jsx(q,{isInvitePeopleDrawerOpen:!0})}),a.jsx(z,{path:":userId/edit",element:a.jsx(q,{isEditPeopleDrawerOpen:!0})}),a.jsx(z,{path:"*",element:a.jsx(ae,{})})]}):a.jsx(se,{children:a.jsx(z,{path:"*",element:a.jsx(ae,{})})})}export{ka as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as s}from"./liveblocks-UOzcPsHa.js";import E from"./NotFoundScreen-BkYIKPgh.js";import{a as r}from"./sentry-DHDsO12F.js";import{h as _,g as M,j as p,i as v,u as P,N as U,l as z,n as F,o as h}from"./core-B5mDy9pu.js";import{fF as O,a0R as b,bo as B,bn as N,iL as V,gh as L}from"./zeni-epic-state-7eY0g-Bc.js";import{M as $,z as I,as as q,dP as G}from"./index-6nH5LMe4.js";import"./mui-Do6nLzGb.js";import{u as H}from"./useAskAiCfoHostNavButtonProps-BsP5fVhq.js";import{M as J}from"./MobileAppDrawer-0YtWXA3B.js";import"./recharts-uFX1dZS-.js";import"./analytics-D6GpUSOP.js";import"./plaid-0g_vwjSd.js";import"./dnd-CGWe1ZMP.js";import"./stripe-cKAAJElX.js";import"./lottie-C5eNvt0I.js";import"./lexical-DW4lC8Zx.js";import"./pdf-DjwvAC2g.js";import"./utils-BsODCDYR.js";import"./InboxNotificationsProvider-BmF5-_KA.js";import"./useTaskManagerAccess-BG0Fkj9k.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]="ac31c028-1c4f-4264-a4df-59b0dc391a96",e._sentryDebugIdIdentifier="sentry-dbid-ac31c028-1c4f-4264-a4df-59b0dc391a96")}catch{}})();const K=z((function(e){const t=I.getSignedInUser(),c=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:c??""},{aggregatedReportViewState:n}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:n}}),(function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}}))(G),Q=()=>{const e=_(),t=M(),c=$(),o=p((a=>O(a))),{aggregatedReportViewState:n}=p((a=>b(a))),{tenantEmailDomain:f}=v(),u=P(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const m=r.useRef(!1),[w,S]=r.useState(!1),C=B(o?.userRole??[]),k=o?.userRole?.includes("bookkeeping_admin")??!1,x=N(l),y=C||k||x,d=r.useCallback(((a,i,T)=>{u(V({fromMonth:a,toMonth:i,cacheOverride:T}))}),[]);r.useEffect((()=>{n?.fetchState==="Completed"&&m.current&&(u(L({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),m.current=!1)}),[n?.fetchState]);const D=r.useCallback(((a,i)=>{n!=null&&n?.fetchState==="In-Progress"||d(a,i,!0),m.current=!0}),[n?.fetchState,d]),R=r.useCallback(((a,i)=>{d(a,i,!1)}),[d]),g=a=>{S(a)},{isAiCfoAccessEnabled:j,onAskAiCfoClick:A}=H({mobileExploreReferrer:"Performance"});return q({isDataReady:n?.fetchState==="Completed"}),y?s.jsxs(s.Fragment,{children:[s.jsx(J,{isAppContentDrawerOpen:w,handleDrawerToggle:g}),s.jsx(K,{navigate:e,location:t,themeState:c,currentTenant:o,signedInUser:l,tenantEmailDomain:f,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:g,isAiCfoAccessEnabled:j,onAskAiCfoClick:A})]}):s.jsx(U,{to:`/${f}/dashboard`,replace:!0})};function he(){return s.jsxs(F,{children:[s.jsx(h,{path:"*",element:s.jsx(Q,{})}),s.jsx(h,{path:"*",element:s.jsx(E,{})})]})}export{he as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,R as a}from"./sentry-
|
|
1
|
+
import{a as h,R as a}from"./sentry-DHDsO12F.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="1e16de4c-304f-4e91-a86b-dc86bcc8d8a2",r._sentryDebugIdIdentifier="sentry-dbid-1e16de4c-304f-4e91-a86b-dc86bcc8d8a2")}catch{}})();const c="64px",u={};var k=({src:r,light:t,oEmbedUrl:n,onClickPreview:l,playIcon:w,previewTabIndex:m,previewAriaLabel:b})=>{const[p,i]=h.useState(null);h.useEffect((()=>{r&&t&&n&&v({src:r,light:t,oEmbedUrl:n})}),[r,t,n]);const v=async({src:e,light:s,oEmbedUrl:I})=>{if(a.isValidElement(s))return;if(typeof s=="string")return void i(s);if(u[e])return void i(u[e]);i(null);const E=await fetch(I.replace("{url}",e)),f=await E.json();if(f.thumbnail_url){const g=f.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");i(g),u[e]=g}},d=a.isValidElement(t),y={display:"flex",alignItems:"center",justifyContent:"center"},o={preview:{width:"100%",height:"100%",backgroundImage:p&&!d?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:d?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},_=a.createElement("div",{style:o.shadow,className:"react-player__shadow"},a.createElement("div",{style:o.playIcon,className:"react-player__play-icon"}));return a.createElement("div",{style:o.preview,className:"react-player__preview",tabIndex:m,onClick:e=>{l?.(e)},onKeyDown:e=>{e.key!=="Enter"&&e.key!==" "||l==null||l(e)},...b?{"aria-label":b}:{}},d?t:null,w||_)};export{k as default};
|