@zeniai/web-app-ui 5.0.48-prod → 5.0.49-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/AddressRoutes-BmBJQzqm.js +1 -0
- package/dist/assets/{AddressScreen-DLCFmlpD.js → AddressScreen-DRGH0nmt.js} +2 -2
- package/dist/assets/{AiCfoScreen-CoTSxU-2.js → AiCfoScreen-DO3MZ9Gt.js} +2 -2
- package/dist/assets/{BillPayApprovalRoutes-iEKd233z.js → BillPayApprovalRoutes-CMZwB76H.js} +1 -1
- package/dist/assets/{BillPayRoutes-Cltu1gUi.js → BillPayRoutes-Bsf8ADpX.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-D1vUEwVm.js → BusinessVerificationPageScreen-DvOGGDR6.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-D-Aqd55g.js → ChargeCardRoutes-BlgRk84Y.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-D5d4ibRm.js → CompanyPassportScreen-ekPGHciI.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-DT9cn7rw.js → ConnectionAuthScreen-Cl5OoRWG.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-COUhAxtm.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-CMIZYY-f.js → CustomerOnboardingRoutes-rbjwoNAv.js} +6 -6
- package/dist/assets/{DashboardRoutes-qkbn0MOg.js → DashboardRoutes-C9nPuy0J.js} +3 -3
- package/dist/assets/{DefaultTenantHome-Bcp_Qfcv.js → DefaultTenantHome-Cz3esHFl.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-CiSCpdXV.js → DomesticWireDetailScreen-OHXf0lAg.js} +1 -1
- package/dist/assets/{DrawerScreen-CzsRyOzb.js → DrawerScreen-Dx8bR0c_.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-jI4cGpp5.js → EntityDetailRoutes-DvPnytVY.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DCIk3Zpt.js → ExpenseAutomationRoutes-BkXrLExV.js} +1 -1
- package/dist/assets/FeaturePreviewScreen-BxdQOPRs.js +1 -0
- package/dist/assets/{MagicLinkRoutes-BaRKS9Cm.js → MagicLinkRoutes-DURB9SWP.js} +21 -21
- package/dist/assets/MagicLinkSignInScreen-BhiB7aDd.js +12 -0
- package/dist/assets/{MobileAppDrawer-eXadB0K7.js → MobileAppDrawer-B_jzMbIp.js} +1 -1
- package/dist/assets/NotFoundScreen-Tdm5L-r8.js +1 -0
- package/dist/assets/{NotificationRoutes-B2n8NGGJ.js → NotificationRoutes-DAJRT5dy.js} +1 -1
- package/dist/assets/PandLWithForecastRoutes-DfoD-2hh.js +1 -0
- package/dist/assets/{PeopleRoutes-BSB0UpKg.js → PeopleRoutes-C-ffXnhD.js} +3 -3
- package/dist/assets/PerformanceRoutes-B1S0Dqww.js +1 -0
- package/dist/assets/{Preview-BN3241Ik.js → Preview-DgE5RaQx.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-Bda7HGRv.js → QBOConnectionScreen-DGcZA-NS.js} +1 -1
- package/dist/assets/ReferralListScreen-D_GHHBdl.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-CnIKi1qG.js → ReimbursementApprovalRoutes-Cg0eMLTS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DYr6AfpX.js → ReimbursementApprovalRuleDetailScreen-DRo7NI8S.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-RSrv-R45.js → ReimbursementRoutes-DBntH9hp.js} +1 -1
- package/dist/assets/{ReportsRoutes-C-UOarHG.js → ReportsRoutes-C8DjH5Ho.js} +1 -1
- package/dist/assets/{RewardsRoutes-CvXUpfO3.js → RewardsRoutes-Ob0LYTs4.js} +1 -1
- package/dist/assets/{ScreenRoutes-Dj6hwSVK.js → ScreenRoutes-CNfwi52O.js} +2 -2
- package/dist/assets/{SettingsRoutes-C7kKT2Wu.js → SettingsRoutes-CfrudKWh.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BYVxUS-A.js → SetupPagesScreen-CIkOInUe.js} +1 -1
- package/dist/assets/SignInScreen-DPIOjBSW.js +1 -0
- package/dist/assets/{SignOutScreen-CiNKrr3b.js → SignOutScreen-pj4gYTc1.js} +1 -1
- package/dist/assets/{TaskListScreen-Bso0gFsA.js → TaskListScreen-DRIv083S.js} +2 -2
- package/dist/assets/TaskRoutes-MNLLpg0T.js +9 -0
- package/dist/assets/TransactionDetailRoutes-BdJ8Ulvx.js +1 -0
- package/dist/assets/{TransactionDetailScreen-B-BVFEpP.js → TransactionDetailScreen-B0frSfDq.js} +1 -1
- package/dist/assets/{TransactionListRoutes-B-weK0KR.js → TransactionListRoutes-D1A6evyz.js} +1 -1
- package/dist/assets/{TreasuryRoutes-CvtDLSYA.js → TreasuryRoutes-CQaQab-y.js} +6 -6
- package/dist/assets/{VendorsRoutes-C5pg4yYd.js → VendorsRoutes-BeYBuPJz.js} +1 -1
- package/dist/assets/WiseConfirmationScreen-COfHYgkP.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-BZfXZqff.js → ZeniAccountRoutes-DapwuqSm.js} +10 -10
- package/dist/assets/{ZeniAccountStatementScreen-BZhRsA1d.js → ZeniAccountStatementScreen-DwzVu3Si.js} +1 -1
- package/dist/assets/{accountMappingHelper-Du_UPbom.js → accountMappingHelper-d9bI5aJe.js} +1 -1
- package/dist/assets/{analytics-BYXYUYaV.js → analytics-DlMpWLtY.js} +1 -1
- package/dist/assets/{analyticsHelper-qtcJL_9E.js → analyticsHelper-Cf6O9Ih0.js} +1 -1
- package/dist/assets/{core-zBodvsmj.js → core-DK_vDmT8.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-BxqXitkH.js → decodeURIComponentSafe-D_yxDRpD.js} +1 -1
- package/dist/assets/{dnd-DXQzuHAR.js → dnd-CI1Bz-yv.js} +1 -1
- package/dist/assets/{empty-DznJ5vQ0.js → empty-Cq9cCg0f.js} +1 -1
- package/dist/assets/{empty-BYbkNusG.js → empty-DSG43sav.js} +1 -1
- package/dist/assets/{emptyVideoElement-DEfphVVC.js → emptyVideoElement-CnwvQS3j.js} +1 -1
- package/dist/assets/{epic-0Dg_EE5c.js → epic-Culj-FsH.js} +1 -1
- package/dist/assets/getLocaleForTenant-BzhpZyOL.js +1 -0
- package/dist/assets/{index-DWuYGxh2.js → index-BXVvK5HN.js} +1 -1
- package/dist/assets/{index-BEtykuxp.js → index-BllLxW2o.js} +13524 -13520
- package/dist/assets/{index-DlmJ00f5.js → index-C_rnV1Gn.js} +1 -1
- package/dist/assets/{index-ChjK0FS9.js → index-CvaLt6TZ.js} +1 -1
- package/dist/assets/{index-5cWeTq4r.js → index-DUVkAqoc.js} +1 -1
- package/dist/assets/{index-DeqScg-I.js → index-l9tW4qcS.js} +1 -1
- package/dist/assets/{index-BqKzA-Km.js → index-tcR_mP46.js} +2 -2
- package/dist/assets/{lexical-DftjmMYF.js → lexical-2V5hcKhY.js} +1 -1
- package/dist/assets/{liveblocks-BmoAyVEe.js → liveblocks-CFneZw8x.js} +1 -1
- package/dist/assets/{lottie-7jInd46q.js → lottie-DTY7lPgA.js} +1 -1
- package/dist/assets/{mui-DLJkInA_.js → mui-Cf9-_L5d.js} +1 -1
- package/dist/assets/{pathToGoBack-BiPTdTVS.js → pathToGoBack-DiGM4suv.js} +1 -1
- package/dist/assets/{pdf-D8Yl-cKT.js → pdf-DO37o4P_.js} +3 -3
- package/dist/assets/{pdf-lib-CUjCRAxG.js → pdf-lib-CtLCB8Ws.js} +1 -1
- package/dist/assets/{plaid-C7DViorD.js → plaid-COLZDQ-K.js} +1 -1
- package/dist/assets/{pusher-CRfXP-cv.js → pusher-1IRbjHv-.js} +1 -1
- package/dist/assets/{react-Dkk_ZWva.js → react-056z8_dj.js} +1 -1
- package/dist/assets/{react-Cdi_qhxI.js → react-BP8YOYb-.js} +1 -1
- package/dist/assets/{react-CdeUme6N.js → react-CTinTxki.js} +1 -1
- package/dist/assets/{react-BbNia0dG.js → react-DNcD4xIo.js} +1 -1
- package/dist/assets/{react-BiUKO3Kt.js → react-Dl0848Wb.js} +1 -1
- package/dist/assets/{react-Bs_LYL4f.js → react-DzYgOa8M.js} +1 -1
- package/dist/assets/{recharts-CBJVI15_.js → recharts-DGCFoGqb.js} +1 -1
- package/dist/assets/{routePaths-C57Y-8ts.js → routePaths-DP6g0Tqx.js} +1 -1
- package/dist/assets/{sentry-CCAVv3jj.js → sentry-Dhi05Xar.js} +1 -1
- package/dist/assets/{url-9z1lEuSX.js → url-A8mMNIgc.js} +1 -1
- package/dist/assets/{url-CBGDc-wo.js → url-Cvest_if.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-Cm6zAMRj.js +1 -0
- package/dist/assets/{useDeviceId-Dup02Wq-.js → useDeviceId-BMcpyfup.js} +1 -1
- package/dist/assets/useFetchSuggestedQuestionsWhenReady-Dw2xWQ9g.js +1 -0
- package/dist/assets/{useInitialThreadRequest-CM5l2YfA.js → useInitialThreadRequest-Dt8Aahks.js} +1 -1
- package/dist/assets/{utils-IcNZtE46.js → utils-DkqKuJOX.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BXzIWNiu.js → withTransactionSidePanel-BQfYUuvc.js} +2 -2
- package/dist/assets/{zeni-epic-state-BTJNQUbs.js → zeni-epic-state-BL_LeZIj.js} +6 -6
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AddressRoutes-CinbDYIL.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CcoGZVlz.js +0 -1
- package/dist/assets/FeaturePreviewScreen-DpwaS3B5.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-Wy-Mtwaj.js +0 -12
- package/dist/assets/NotFoundScreen-B9pJKI3W.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-prXwYS5x.js +0 -1
- package/dist/assets/PerformanceRoutes--odeFC3_.js +0 -1
- package/dist/assets/ReferralListScreen-SFqT-t-3.js +0 -5
- package/dist/assets/SignInScreen-NPPYVpUv.js +0 -1
- package/dist/assets/TaskRoutes-fdFjE-0L.js +0 -9
- package/dist/assets/TransactionDetailRoutes-CNkB5iPK.js +0 -1
- package/dist/assets/WiseConfirmationScreen-C_I1BN4x.js +0 -12
- package/dist/assets/getLocaleForTenant-kAjI6Fe2.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-gYNUsHfd.js +0 -1
- package/dist/assets/useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-BllLxW2o.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-Dhi05Xar.js"><link rel="modulepreload" crossorigin href="/assets/core-DK_vDmT8.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-BL_LeZIj.js"><link rel="modulepreload" crossorigin href="/assets/mui-Cf9-_L5d.js"><link rel="modulepreload" crossorigin href="/assets/analytics-DlMpWLtY.js"><link rel="modulepreload" crossorigin href="/assets/utils-DkqKuJOX.js"><link rel="stylesheet" crossorigin href="/assets/index-Bc34frN_.css"></head><body style="margin:0"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><div class="app-shell-loader" id="app-shell-loader"><div class="app-shell-sidebar"><div class="app-shell-sidebar-group"><div class="app-shell-bar zeni-logo" style="width:96px;height:20px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:78px;height:16px"></div><div class="app-shell-bar" style="width:46px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:110px;height:16px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div><div class="app-shell-bar" style="width:64px;height:16px"></div></div></div><div class="app-shell-main"><div class="app-shell-navbar"><div class="app-shell-bar" style="width:106px;height:27px"></div><div class="app-shell-bar" style="width:111px;height:32px"></div></div><div class="app-shell-logo"><svg width="96" height="96" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.768 0.0270284C16.571 -0.055168 16.348 0.0572476 16.2913 0.267574C16.2713 0.342517 16.2489 0.417461 16.2253 0.491196C16.0094 1.15723 15.6459 1.76645 15.148 2.27776C14.3056 3.14203 13.1847 3.61949 11.9918 3.6207H11.9883C10.7978 3.6207 9.67689 3.14565 8.83445 2.2838C8.33653 1.7737 7.97077 1.16448 7.75367 0.499657C7.73007 0.425922 7.70765 0.350979 7.68641 0.276035C7.62978 0.065709 7.40678 -0.0454978 7.20974 0.0366985C6.05463 0.522624 4.98565 1.17899 4.0323 1.97436C3.91195 2.07468 3.87301 2.24512 3.93083 2.39259C3.9792 2.51589 4.03112 2.63797 4.08539 2.75764C4.51133 3.70894 5.10364 4.5853 5.84815 5.34682C7.48937 7.0246 9.66863 7.9493 11.9871 7.9493H11.9954C14.3162 7.94689 16.4978 7.01855 18.1379 5.33595C18.8812 4.57321 19.4711 3.69564 19.8959 2.74434C19.9502 2.62347 20.0009 2.50138 20.0493 2.37809C20.1071 2.23062 20.0682 2.06018 19.9478 1.95985C18.9933 1.16569 17.9231 0.511745 16.768 0.0270284Z"/><path d="M19.9102 21.2422C19.4843 20.2933 18.8931 19.4194 18.151 18.6603C16.5086 16.9801 14.3223 16.053 12.0038 16.0578C8.50304 16.0614 5.48371 18.1961 4.11031 21.2603C4.05722 21.38 4.0053 21.5009 3.95575 21.623C3.89675 21.7704 3.93569 21.9421 4.05722 22.0436C5.01175 22.8366 6.08073 23.4893 7.23466 23.9728C7.4317 24.055 7.65352 23.9438 7.71134 23.7335C7.73139 23.6573 7.75381 23.5836 7.77859 23.5086C8.37207 21.6979 10.0416 20.3888 12.0073 20.3864H12.012C13.2025 20.3864 14.3234 20.8614 15.1659 21.7233C15.6626 22.231 16.026 22.8378 16.2431 23.5002C16.2679 23.5739 16.2903 23.6489 16.3104 23.7238C16.3682 23.9341 16.59 24.0453 16.787 23.9619C17.9422 23.476 19.01 22.8209 19.9633 22.0255C20.0837 21.9252 20.1226 21.7535 20.0648 21.606C20.0164 21.4828 19.9645 21.3631 19.9102 21.2422Z"/><path d="M0.132148 10.1666C0.158105 9.98769 0.305591 9.85352 0.482575 9.85352L23.5093 9.81726C23.6863 9.81726 23.8338 9.95022 23.8609 10.1291C23.9518 10.7347 23.999 11.3548 23.999 11.9858C24.0001 12.6131 23.9541 13.2284 23.8668 13.8292C23.8408 14.0081 23.6934 14.1422 23.5164 14.1422L0.489654 14.1773C0.312671 14.1773 0.165185 14.0443 0.138047 13.8654C0.0471956 13.2598 0 12.6397 0 12.0088C0 11.3826 0.0448358 10.7673 0.132148 10.1666Z"/></svg></div></div></div></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-app-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.49-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@sentry/core": "^9.42.1",
|
|
28
28
|
"@sentry/react": "^9.42.1",
|
|
29
29
|
"@stripe/stripe-js": "^4.4.0",
|
|
30
|
-
"@zeniai/client-analytics": "2.0.
|
|
31
|
-
"@zeniai/client-epic-state": "5.0.
|
|
32
|
-
"@zeniai/web-components": "4.0.
|
|
30
|
+
"@zeniai/client-analytics": "2.0.3",
|
|
31
|
+
"@zeniai/client-epic-state": "5.0.21",
|
|
32
|
+
"@zeniai/web-components": "4.0.57",
|
|
33
33
|
"color": "3.1.3",
|
|
34
34
|
"cross-fetch": "^4.0.0",
|
|
35
35
|
"crypto-js": "4.2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./liveblocks-BmoAyVEe.js";import{A as d}from"./AddressScreen-DLCFmlpD.js";import i from"./NotFoundScreen-B9pJKI3W.js";import"./sentry-CCAVv3jj.js";import{n as s,o as r}from"./core-zBodvsmj.js";import"./zeni-epic-state-BTJNQUbs.js";import"./recharts-CBJVI15_.js";import"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="4bd15e18-5b5f-4be1-8d33-8bd696c76da2",t._sentryDebugIdIdentifier="sentry-dbid-4bd15e18-5b5f-4be1-8d33-8bd696c76da2")}catch{}})();function _(){return e.jsxs(s,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(d,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(d,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as d}from"./liveblocks-BmoAyVEe.js";import{z as n}from"./index-BEtykuxp.js";import{g as p}from"./QBOConnectionScreen-Bda7HGRv.js";import"./sentry-CCAVv3jj.js";import{u as a,N as i}from"./core-zBodvsmj.js";import"./zeni-epic-state-BTJNQUbs.js";import"./recharts-CBJVI15_.js";import"./mui-DLJkInA_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";import"./empty-BYbkNusG.js";import"./pdf-lib-CUjCRAxG.js";import"./index-DlmJ00f5.js";import"./url-9z1lEuSX.js";import"./index-DWuYGxh2.js";import"./decodeURIComponentSafe-BxqXitkH.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="b68d0d57-e81d-4cfb-97e6-d4dd5e5b7ebd",t._sentryDebugIdIdentifier="sentry-dbid-b68d0d57-e81d-4cfb-97e6-d4dd5e5b7ebd")}catch{}})();const U=()=>{const t=a(),{code:o,realmId:r,state:e}=p(t.search),s=n.getSignedInUser()?.userId??"";if(f(o,r,e,s)===!0){const m=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return d.jsx(i,{to:m})}return d.jsx(i,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{U as default,f as hasValidParams};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-BmoAyVEe.js";import{a as r}from"./sentry-CCAVv3jj.js";import{V as i,X as c,_ as l,p}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import m from"./NotFoundScreen-B9pJKI3W.js";import{j as u,u as b}from"./core-zBodvsmj.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]="d40fc12e-7ded-4bac-88f0-a58a8bf35380",e._sentryDebugIdIdentifier="sentry-dbid-d40fc12e-7ded-4bac-88f0-a58a8bf35380")}catch{}})();const j=()=>{const e=u(),a=b(),t=r.useCallback(()=>{window.open("https://www.zeni.ai/demo/request","_blank")},[]),d=r.useCallback(()=>{(()=>{const n=p(a.state?.pathnameStackToGoBack),f=n.poppedPathname??k();e(f,{state:{pathnameStackToGoBack:n.newStack}})})()},[]),o=i(a.pathname);return o!=null?s.jsx(c,{menuItem:l(o),onDemoClick:t,onGoBack:d}):s.jsx(m,{})},k=(e=2)=>{let a="../";for(let t=0;t<e;t++)a=`${a}../`;return a};export{j as F};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-BmoAyVEe.js";import{a as f}from"./sentry-CCAVv3jj.js";import{h as O,u as _,j as w,q as M,g as l,N as T}from"./core-zBodvsmj.js";import{z as r,h as P,D as V,f as A,e as N,g as q,K as H,T as K,i as R}from"./index-BEtykuxp.js";import{eN as W,Ij as $,It as B,Ik as G,eO as J,fi as Q,Ip as X,fH as Y,cS as Z,Iu as ee,Iv as te}from"./zeni-epic-state-BTJNQUbs.js";import{n as ne}from"./mui-DLJkInA_.js";import{u as se}from"./useDeviceId-Dup02Wq-.js";import{f as ie}from"./analyticsHelper-qtcJL_9E.js";import{t as ae}from"./getLocaleForTenant-kAjI6Fe2.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="20b6e2ef-f67a-452c-a794-fc51844dec37",t._sentryDebugIdIdentifier="sentry-dbid-20b6e2ef-f67a-452c-a794-fc51844dec37")}catch{}})();const C=(t,i)=>t!=null&&t.length>0&&i==="magic_links";function Ce(){const t=O(),i=_(),m=w(),[y]=M(),n=y.get("token"),p=y.get("stytch_token_type"),g=r.getMagicLinkCodeVerifier(),a=se(),{otpChallenge:d,twoFAPhoneNumber:D,magicLinkEmail:c,verifyDeviceFetchState:x,resendVerifyDeviceOTPFetchState:z}=l(e=>e.tenantState),I=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),S=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>W(e)),k=l(e=>$(e)),E=r.getSignedInUser(),v=P().mode;f.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&C(n,p)&&a!=null&&g!=null&&(r.saveMagicLinkTriggered(n),t(B(n,a,g)))},[n,p,t,a,g,s?.zeniSessionId]),f.useEffect(()=>{S!=="In-Progress"||I!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(G(k.tenantsInOrder),s.zeniSessionId),J(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),V.updateAppLocaleID(ae(o)),ie(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=R();e!=null&&A(e)}),setTimeout(()=>{N.trackLogin(q.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[S,I,b,s,o,k,v,i.state,t]);const j=f.useCallback(()=>{m("/signin/auth")},[m]),U=f.useCallback(()=>{a!=null&&d!=null&&c!=null&&t(ee(a,c,d))},[a,d,t,c]),F=f.useCallback(e=>{a!=null&&n!=null&&c!=null&&d!=null&&t(te(e,a,c,d))},[a,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(H,{phoneNumber:D,verifyOtpFetchState:x.fetchState,resendVerifyDeviceOTPFetchState:z,onResendOtp:U,onVerifyOtp:F,onCancelVerifyDevice:j});if(S==="In-Progress"&&I==="Completed"&&s?.zeniSessionId!=null&&o!=null||E!=null){const e=i.state?.origin??"/";return u.jsx(T,{to:e,state:{...i.state,origin:""}})}if(!C(n,p)||g==null||h==="Error"){const e=i.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(T,{to:e,state:{...i.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx(K,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
top: 0;
|
|
4
|
-
left: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
z-index: 9999;
|
|
11
|
-
background-color: ${t=>t.theme.colors.background};
|
|
12
|
-
`;export{Ce as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./liveblocks-BmoAyVEe.js";import{j as r,k as i}from"./core-zBodvsmj.js";import{U as n}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import"./sentry-CCAVv3jj.js";import"./zeni-epic-state-BTJNQUbs.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="9eddbf1e-8177-43b2-add6-c91ac38fa63c",o._sentryDebugIdIdentifier="sentry-dbid-9eddbf1e-8177-43b2-add6-c91ac38fa63c")}catch{}})();const a=i(null,function(o,t){return{onGoBack:()=>{t.navigate(-1)},onGoHome:()=>{t.navigate("/")}}})(n);function h(){const o=r();return e.jsx(a,{navigate:o})}export{h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./liveblocks-BmoAyVEe.js";import{j as Z,h as K,u as H,l as Q,g as d,k as X,n as ee,o as C}from"./core-zBodvsmj.js";import{eN as M,qf as v,pP as ae,J8 as $,pK as A,bv as te,bn as se,bR as oe,pL as re,J9 as ne,IV as T,dB as ie,tC as ce,Ja as le,tZ as de,eT as fe,eR as me}from"./zeni-epic-state-BTJNQUbs.js";import{I as pe,z as ue,J as he,A as ge,a as w,d as N,x as Fe,e as B,aj as Ie,s as be}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import Ce from"./NotFoundScreen-B9pJKI3W.js";import{F as Te}from"./FeaturePreviewScreen-DpwaS3B5.js";import{a as h}from"./sentry-CCAVv3jj.js";import{u as Ae}from"./useAskAiCfoHostNavButtonProps-gYNUsHfd.js";import{c as Se}from"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";import{u as ye}from"./useInitialThreadRequest-CM5l2YfA.js";import{t as xe}from"./routePaths-C57Y-8ts.js";import{M as ke}from"./MobileAppDrawer-eXadB0K7.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="1bf7f67d-3a0a-4776-82ea-f7583d2c0d23",s._sentryDebugIdIdentifier="sentry-dbid-1bf7f67d-3a0a-4776-82ea-f7583d2c0d23")}catch{}})();const S=(s,a,e,o)=>{if(s!=a){const r=o??"";s!=null&&s.length>0?e(`../${a}${r}`,{replace:!0}):e(`${a}${r}`,{replace:!0})}},De=X(function(s){const a=ne(s),e={},o=a.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach(r=>{e[r]=o[r]===!1}),{selectedTimeframe:a.selectedTimeframe,isForecastVsActualOn:a.isForecastVsActualOn,compareMode:a.compareMode,forecastList:a.forecastList,selectedForecast:a.selectedForecast,pandLreport:a.pandLReportWithForecast,scrollPosition:a.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:e,type:"name+balances_forecast",analytics:B}},function(s,a){return{onForecastSelectionChanged:(e,o)=>{s($(e,o)),a.isPandLReportFetched(e)||s(A(e)),S(a.forecastIdFromUrlPath,e,a.navigate)},onTimeframeChanged:e=>{s(de(e))},onForecastVsActualsCompareToggle:e=>{s(le(e)),s(T({forecastId:a.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:e=>{s(ce(a.firstMonthOfFY,e,0,[]))},onAccountBalanceClick:a.hasTransactionAccess!==!0?void 0:(e,o)=>{let r,i;const g=e.accountName===""?e.accountDescription:e.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,i=ie(o)):o.balanceTimeFrame==="year"?(r="quarter",i={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),i!=null&&r!=null){const m=xe(a.tenantEmailDomain,e.accountId,e.accountType,g,r,i),p=be(a.location.state?.pathnameStackToGoBack,a.location.pathname);a.navigate(m,{state:{pathnameStackToGoBack:p,referrer:"Forecast"}})}},onNodeCollapseToggled:(e,o)=>{s(T({forecastId:a.forecastIdFromUrlPath,nodeCollapseState:{nodeId:e,isCollapsed:o===!1}}))},onTableScroll:e=>{s(T({forecastId:a.forecastIdFromUrlPath,scrollPosition:e}))},onBackClick:()=>{a.navigate("../../")}}})(Ie);function U(){const{isAiCfoOpen:s,setIsAiCfoOpen:a}=pe(),e=Z(),o=K(),r=H(),{forecastId:i,tenantEmailDomain:g}=Q(),[m,p]=h.useState(!1),[F,y]=h.useState(!1),u=ue.getSignedInUser(),x=d(t=>M(t)),q=x.company?.companyInfo.firstMonthOfFY??1,c=d(t=>v(t.forecastState,t.forecastListState)),l=d(t=>t.forecastListState.fetchState==="Completed"),k=d(t=>t.profitAndLossState),D=d(t=>t.reportUIOptionsState.selectedForecast),j=t=>k.pandLByForecastID[t]!=null&&re(t,k).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:I}=he();Se({isDataReady:l});const{isAiCfoAccessEnabled:G,onAskAiCfoClick:_}=Ae({isAiCfoOpen:s,setIsAiCfoOpen:a,mobileExploreReferrer:"Forecast"});h.useEffect(()=>{if(!m&&I)p(!0),l||o(ae());else if(l&&!F){y(!0);const t=((f,R,P)=>R!=null?f.forecasts.findIndex(b=>b.id===R):P!=null?f.forecasts.findIndex(b=>b.id===P):f.forecasts.length>0?0:-1)(c,i,D?.id);t===-1&&i!=null?e("page-not-found",{replace:!0}):t!==-1&&t!=D?.index?(o($(c.forecasts[t].id,t)),S(i,c.forecasts[t].id,e,r.search)):i==null&&t!==-1&&S(void 0,c.forecasts[t].id,e,r.search),t!==-1&&!j(c.forecasts[t].id)&&I&&o(A(c.forecasts[t].id))}},[m,p,o,l,c,F,y,v,A,I]);const L=ge(),J=L?.loggedInUserRole!=null&&te(L.loggedInUserRole),{useFeatureGate:V}=w(),{isFeatureEnabled:E}=V(N.isReportsCommentingEnabled),W=ye(E?x?.companyId:void 0,{clearParams:l&&F}),[Y,z]=h.useState(!1),O=t=>{z(t)};return n.jsxs(n.Fragment,{children:[l?n.jsx(Fe,{analytics:B,onLoad:t=>(f=>f.trackForecast())(t)}):null,n.jsx(ke,{isAppContentDrawerOpen:Y,handleDrawerToggle:O}),n.jsx(De,{firstMonthOfFY:q,tenantEmailDomain:g,forecastIdFromUrlPath:i,navigate:e,location:r,isPandLReportFetched:j,meetingUrl:oe(`https://meetings.hubspot.com/svitlana-grankovska?firstname=${u?.firstName}&lastname=${u?.lastName}&email=${u?.userEmail}`),hasTransactionAccess:J,isAiCfoAccessEnabled:G,onAskAiCfoClick:_,isReportsCommentingEnabled:E,isZeniUser:se(u),initialOpenThreadRequest:W,onClickMenuIcon:()=>{O(!0)}})]})}function Ke(){const s=d(i=>M(i)),{useFeatureGate:a}=w(),{isFeatureEnabled:e}=a(N.isDebitCardFeatureEnabled),o=fe(e,s),r=me(s);return o===!0||r===!0?n.jsx(Te,{}):n.jsxs(ee,{children:[n.jsx(C,{path:"/",element:n.jsx(U,{})}),n.jsx(C,{path:"/:forecastId",element:n.jsx(U,{})}),n.jsx(C,{path:"/:forecastId/*",element:n.jsx(Ce,{})})]})}export{Ke as PandLWithForecastRoutes,Ke as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as a}from"./liveblocks-BmoAyVEe.js";import _ from"./NotFoundScreen-B9pJKI3W.js";import{a as o}from"./sentry-CCAVv3jj.js";import{j as v,u as M,g,l as U,h as P,N as z,k as N,n as V,o as h}from"./core-zBodvsmj.js";import{eN as B,OK as b,bo as F,bn as K,h7 as H,gD as $}from"./zeni-epic-state-BTJNQUbs.js";import{w as q,z as I,I as G,cs as J}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import{u as L}from"./useAskAiCfoHostNavButtonProps-gYNUsHfd.js";import{c as Q}from"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";import{M as W}from"./MobileAppDrawer-eXadB0K7.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.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]="42cac1b1-b870-4dc3-9b6e-c3d45515da7f",e._sentryDebugIdIdentifier="sentry-dbid-42cac1b1-b870-4dc3-9b6e-c3d45515da7f")}catch{}})();const X=N(function(e){const t=I.getSignedInUser(),c=e.tenantState.currentTenantId,r={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:c??""},{aggregatedReportViewState:n}=b(e);return{authParams:r,isDisabled:!1,loggedInUser:t,aggregatedReport:n}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(J),Y=()=>{const e=v(),t=M(),c=q(),r=g(s=>B(s)),{aggregatedReportViewState:n}=g(s=>b(s)),{tenantEmailDomain:m}=U(),p=P(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const f=o.useRef(!1),[C,w]=o.useState(!1),S=F(r?.userRole??[]),k=r?.userRole?.includes("bookkeeping_admin")??!1,D=K(l),A=S||k||D,d=o.useCallback((s,i,O)=>{p(H({fromMonth:s,toMonth:i,cacheOverride:O}))},[]);o.useEffect(()=>{n?.fetchState==="Completed"&&f.current&&(p($({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),f.current=!1)},[n?.fetchState]);const x=o.useCallback((s,i)=>{n!=null&&n?.fetchState==="In-Progress"||d(s,i,!0),f.current=!0},[n?.fetchState,d]),y=o.useCallback((s,i)=>{d(s,i,!1)},[d]),u=s=>{w(s)},{isAiCfoOpen:j,setIsAiCfoOpen:R}=G(),{isAiCfoAccessEnabled:T,onAskAiCfoClick:E}=L({isAiCfoOpen:j,setIsAiCfoOpen:R,mobileExploreReferrer:"Performance"});return Q({isDataReady:n?.fetchState==="Completed"}),A?a.jsxs(a.Fragment,{children:[a.jsx(W,{isAppContentDrawerOpen:C,handleDrawerToggle:u}),a.jsx(X,{navigate:e,location:t,themeState:c,currentTenant:r,signedInUser:l,tenantEmailDomain:m,onReload:x,onTimeRangeSelect:y,handleDrawerToggle:u,isAiCfoAccessEnabled:T,onAskAiCfoClick:E})]}):a.jsx(z,{to:`/${m}/dashboard`,replace:!0})};function Ie(){return a.jsxs(V,{children:[a.jsx(h,{path:"*",element:a.jsx(Y,{})}),a.jsx(h,{path:"*",element:a.jsx(_,{})})]})}export{Ie as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-BmoAyVEe.js";import{a as o}from"./sentry-CCAVv3jj.js";import{g as f,j as N,h as V,u as W,k as M}from"./core-zBodvsmj.js";import{h as _,q as z,z as R,b2 as U,y as $,J as q,I as J,x as X,e as l,g as Z,a1 as G,b3 as Q}from"./index-BEtykuxp.js";import{eX as K,eN as Y,Ly as I,Lz as ee,ts as ae,ti as g,eZ as re,bM as ne,tn as te,LA as se}from"./zeni-epic-state-BTJNQUbs.js";import{D as oe,e as ie,n as le,S as ce}from"./mui-DLJkInA_.js";import{u as de}from"./useAskAiCfoHostNavButtonProps-gYNUsHfd.js";import{c as fe}from"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";import{M as ue}from"./MobileAppDrawer-eXadB0K7.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]="c867e796-2375-4ae0-ae24-1e13faf49f49",e._sentryDebugIdIdentifier="sentry-dbid-c867e796-2375-4ae0-ae24-1e13faf49f49")}catch{}})();const pe={overlayWidth:new $(100,100,30)},we=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),n=z();if(R.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},u=f(c=>K(c));return s.jsx(oe,{anchor:"right",open:e,PaperProps:{style:{width:pe.overlayWidth.valuePercentage(n),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:s.jsx(ie,{in:e,direction:"left",children:s.jsx(ge,{onClick:c=>c.stopPropagation(),children:s.jsx(U,{onDismissClick:i,rewardsPlan:u.rewardsPlan})})})})},ge=le(ce)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,P="refer-and-earn-status-update",ke=M(function(e){const a=I(e),r=e.referralViewState.rewardsPlanFetchState,n=ne([a,r]);return{inviteList:a.invitations,uiState:a.uiState,pendingBonus:a.pendingBonus,earnedBonus:a.earnedBonus,pendingReferrals:a.pendingReferrals,fetchState:n.fetchState,rewardsPlan:a.rewardsPlan}},function(e,a){const{navigate:r}=a;return{onColumnSortConfigChanged:(n,i)=>{e(se({sortOrder:i,sortkey:n}))},onInviteClick:()=>{l.trackRewardsPageClicked("invite via email"),r("../refer")},onHowItWorksClick:()=>{l.trackRewardsPageClicked("know more"),r("../how-it-works")},onResendInviteClick:n=>{l.trackRewardsPageClicked("resend invite"),e(te(n))},onBackClick:()=>{r("../",{relative:"path"})},onReloadInvitees:()=>{e(g(!0))},onCopyReferralLink:()=>{l.trackRewardsPageClicked("copy referral link")},onClickRefer:()=>{l.trackRewardsPageClicked("refer")},onEventReceived:n=>{n===P&&e(g(!0,!0))}}})(G(Q));function Pe({isReferralDrawerOpen:e}){const a=N(),r=V(),n=W(),[i,u]=o.useState(!1),[c,x]=o.useState(!1),[D,A]=o.useState(!1),[k,C]=o.useState(!1),p=R.getSignedInUser(),h=f(t=>Y(t)),m=f(t=>I(t)),y=m.fetchState,w=f(t=>t.referralViewState.rewardsPlanFetchState),v=ee([m,w]),{areTenantIdsInSync:d}=q();o.useEffect(()=>{h?.rewardsLastViewedTime==null&&D===!1&&(r(ae()),A(!0))},[]),o.useEffect(()=>{!i&&y==="Not-Started"&&d&&(u(!0),r(g(!0)))},[y,r,d]),o.useEffect(()=>{!c&&w.fetchState==="Not-Started"&&d&&(x(!0),r(re(!0)))},[w,r,d]),o.useEffect(()=>{C(e!=null&&e===!0)},[e]);const[E,j]=o.useState(!1),S=t=>{j(t)},{isAiCfoOpen:O,setIsAiCfoOpen:L}=J(),{isAiCfoAccessEnabled:T,onAskAiCfoClick:B}=de({isAiCfoOpen:O,setIsAiCfoOpen:L,mobileExploreReferrer:"Rewards"});fe({isDataReady:v===!0});const F={events:p?.userId!=null?[`private-${p.userId}.${P}`]:[],eventCallback:(t,b,H)=>{H.onEventReceived(t)}};return s.jsxs(s.Fragment,{children:[v===!0?s.jsx(X,{analytics:l,onLoad:t=>(b=>{p!=null&&b.trackPageLoaded(Z.Event.rewardsPageViewed)})(t)}):null,s.jsx(ue,{isAppContentDrawerOpen:E,handleDrawerToggle:S}),k===!0?s.jsx(we,{closeDrawerHandler:()=>{C(!1),a("..")},isReferralDrawerOpen:k}):null,s.jsx(ke,{location:n,navigate:a,currentTenant:h,onClickMenuIcon:()=>{S(!0)},isAiCfoAccessEnabled:T,onAskAiCfoClick:B,...F})]})}export{Pe as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as u}from"./liveblocks-BmoAyVEe.js";import{a as f,b as T,q as A}from"./sentry-CCAVv3jj.js";import{h as D,j,g as l,u as z,N as M,k as O}from"./core-zBodvsmj.js";import{u as F,z as s,h as P,e as E,D as N,f as _,g as B,Z as q,i as V,j as $,k as v}from"./index-BEtykuxp.js";import{eN as H,Ij as J,Ik as R,eO as W,fi as Z,Ip as G,fH as K,cS as Q,Iq as b,Ir as X,Is as Y,bR as y}from"./zeni-epic-state-BTJNQUbs.js";import"./mui-DLJkInA_.js";import{u as ee}from"./useDeviceId-Dup02Wq-.js";import{f as te}from"./analyticsHelper-qtcJL_9E.js";import{t as ne}from"./getLocaleForTenant-kAjI6Fe2.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="92356231-58af-433e-898e-c34a8d2da879",t._sentryDebugIdIdentifier="sentry-dbid-92356231-58af-433e-898e-c34a8d2da879")}catch{}})();const ie=O(function(t,i){const d=t.tenantState.fetchState,g=t.tenantState.sendEmailMagicLinkFetchState,{magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}=i;return{googleClientId:v.googleClientId,microsoftClientId:v.microsoftClientId,signInError:t.tenantState.error?.error,fetchState:d,sendMagicLinkStatus:g,magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:c}},function(t,i){const{location:d,navigate:g}=i;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,a)=>{A({message:`OAuth error from provider ${a} with error ${n}`,level:"error",tags:{authProvider:a,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,a)=>{const c=a==="google"?window.location.origin:window.location.origin+window.location.pathname;t(Y({authCode:n,oauthProvider:a,appType:"web",redirectUri:y(c),sourceUri:y(d.state!=null?d.state.origin:"")}))},getSignedInUser:()=>s.getSignedInUser(),onSignedInCallback:()=>{const n=d.state?.origin;n&&n!=="/"?g(n,{replace:!0}):window.open(window.location.origin,"_self")},sendMagicLink:n=>{const{deviceId:a}=i;a!=null&&(s.saveMagicLinkEmail(n),t(X(n,a)))},clearSignInError:()=>{t(b())}}})($),ae=T.memo(ie);function ve({setTenantEmailDomain:t}){const i=D(),d=j(),{clearAllLoading:g}=F(),n=s.getSignedInUser();f.useLayoutEffect(()=>{g()},[g]);const a=ee(),c=l(e=>e.tenantState.magicLinkCodeVerifier),{sendEmailMagicLinkFetchState:k,accountLocked:C,accountUnlockTime:h}=l(e=>e.tenantState),p=l(e=>e.tenantState.fetchState),L=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),o=l(e=>e.tenantState.loggedInUser),r=l(e=>H(e)),S=l(e=>J(e)),m=z(),w=P().mode,U=m.state?.magicLinkExpired,x=m.state?.magicLinkAlreadyUsed;if(f.useEffect(()=>{k.fetchState==="Completed"&&c!=null&&(E.trackSignInLinkSent(),s.saveMagicLinkCodeVerifier(c))},[k.fetchState,c]),f.useEffect(()=>{t(void 0)},[]),f.useEffect(()=>{I!=="In-Progress"||p!=="Completed"&&L!=="Completed"||o?.zeniSessionId==null||r==null||(s.savePayNowInfoTooltip(!0,o.zeniSessionId),s.saveSignedInUserWithSession(o,o.zeniSessionId),s.saveSignedInUserTenants(R(S.tenantsInOrder),o.zeniSessionId),W(o.userId,o.zeniSessionId,r.tenantId),i(Z(r.tenantId)),s.saveActiveTenantDomainForUser(r.tenantEmailDomain),i(G("Completed")),N.updateAppLocaleID(ne(r)),te(o,r,w,void 0,S.tenantsInOrder),K().then(()=>{const e=V();e!=null&&_(e)}),setTimeout(()=>{E.trackLogin(B.Event.loginSuccess,o.authProvider??"google",Q(r.productSettings))},2e3))},[I,p,L,o,r,S,w,m.state,i]),I==="In-Progress"&&p==="Completed"&&o?.zeniSessionId!=null&&r!=null||n!=null){const e=m.state?.origin??"/";return u.jsx(M,{to:e,state:{...m.state,origin:""}})}return u.jsxs(u.Fragment,{children:[u.jsx(ae,{magicLinkExpired:!!U,magicLinkAlreadyUsed:!!x,magicLinkExpiredEmail:s.getMagicLinkEmail()??void 0,location:m,navigate:d,deviceId:a??void 0,showEmailLogin:!0}),C===!0&&h!=null?u.jsx(q,{onClose:()=>i(b()),unlockDate:h}):null]})}export{ve as default};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-BmoAyVEe.js";import $ from"./NotFoundScreen-B9pJKI3W.js";import{a as m}from"./sentry-CCAVv3jj.js";import{j as A,h as V,u as M,l as R,g as f,N as _,k as z,n as O,o as u}from"./core-zBodvsmj.js";import{w as q,z as w,s as C,x as H,e as j,g as K,cD as Q,k as Z,ao as J,p as W}from"./index-BEtykuxp.js";import{eN as G,Pk as b,EQ as v,EE as X,Fg as Y,Pl as P,Pm as aa,EA as ea,Ex as ta,pF as sa,pt as na,j$ as oa,EK as ia,Pn as ra,EH as ca,EV as la,EU as da}from"./zeni-epic-state-BTJNQUbs.js";import{n as ma}from"./mui-DLJkInA_.js";import{u as pa}from"./useInitialThreadRequest-CM5l2YfA.js";import{M as ua}from"./MobileAppDrawer-eXadB0K7.js";import ka from"./TaskListScreen-Bso0gFsA.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";import"./useAskAiCfoHostNavButtonProps-gYNUsHfd.js";import"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="9da871b4-c6aa-4003-ae6f-ccc18d1e49dd",a._sentryDebugIdIdentifier="sentry-dbid-9da871b4-c6aa-4003-ae6f-ccc18d1e49dd")}catch{}})();const fa=z(function(a,t){const{location:n,taskGroupId:c}=t,d=P(a,t.taskId),l=G(a),i=c!=null?aa(a.taskGroupState,c):void 0,p=w.getSignedInUser(),e=l.tenantId,r={userId:p?.userId??"",sessionId:p?.zeniSessionId??"",tenantId:e??""},k=b(a);return{taskDetailSelectorView:d,authParams:r,isNewClicked:n.state?.message==="comingFromTaskListPage",filesEndPoint:J.fileMicroServiceBaseUrl,companyName:t.currentTenant.companyName,companyId:t.currentTenant.companyId,currentUrl:`${Z.appUrl}${t.location.pathname}`,tagListView:k,taskGroupName:c!=null&&i!=null&&i.isDefault===!1?i.name:void 0}},function(a,t){const{taskId:n,navigate:c,currentTenant:d,location:l,taskGroupId:i}=t,{tenantEmailDomain:p}=d;return{onSaveChangesToLocalStore:e=>{a(da({taskDetailLocalData:e,taskId:n}))},onSaveDetailClick:()=>{a(la(n,i))},onArchiveTaskClick:()=>{t.taskId!=null&&a(ca(t.taskId))},onDismissClick:()=>{if(l.state?.message==="triggerBackClick"){const e=W(l.state?.pathnameStackToGoBack),r=e.poppedPathname??"../../dashboard";c(r,{state:{pathnameStackToGoBack:e.newStack}})}else{const e=B(p),r=C(l.state?.pathnameStackToGoBack,l.pathname);c(e,{state:{pathnameStackToGoBack:r}})}a(ra({taskId:n}))},onDeleteTaskClick:()=>{a(ia(n))},updateFilesEntity:e=>{a(oa({files:e}))},onDeleteFile:e=>{a(na(e))},onEditFileName:(e,r)=>{a(sa(e,r.split(".")[0]))},onReloadTaskDetailPage:()=>{a(v(!1,n))},onCreateTagClick:e=>{a(ta(e,n))},onDeleteTagClick:e=>{a(ea(e,n))}}})(Q);function I(){const a=A(),t=V(),n=M(),c=q(),{taskId:d,taskGroupId:l}=R(),i=f(o=>G(o)),p=pa(i?.companyId),[e,r]=m.useState(!1),[k,F]=m.useState(!1),[S,L]=m.useState(!1),[x,N]=m.useState(!1),y=f(o=>b(o)),D=f(o=>o.taskGroupViewState.fetchState);m.useEffect(()=>{k||(F(!0),t(v(!1,d)))},[k,t]),m.useEffect(()=>{S||y.fetchState==="Completed"||(L(!0),t(X()))},[S,t,y.fetchState]),m.useEffect(()=>{x||D==="Completed"||(N(!0),t(Y()))},[x,t,D]);const E=f(o=>P(o,d)),g=E.fetchState,T=w.getSignedInUser();if(T==null)throw Error("Can't access task detail page without signing in...");if(g==="Error"&&E.error?.code===400){const{tenantEmailDomain:o}=i,h=B(o),U=C(n.state?.pathnameStackToGoBack,n.pathname);return s.jsx(_,{to:h,state:{pathnameStackToGoBack:U}})}return s.jsxs(s.Fragment,{children:[g==="Completed"?s.jsx(H,{analytics:j,onLoad:o=>(h=>h.trackPageLoaded(K.Event.taskDetailPage))(o)}):null,s.jsxs(ga,{children:[s.jsx(ua,{isAppContentDrawerOpen:e,handleDrawerToggle:o=>{r(o)}}),s.jsx(fa,{analytics:j,currentTenant:i,handleZeniLogoClick:()=>{c.toggle()},initialOpenThreadRequest:p,location:n,loggedInUser:T,navigate:a,taskGroupId:l,taskId:d,taskDetailFetchState:g})]})]})}const ga=ma.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex: 1 1 auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: ${a=>a.theme.colors.grey4};
|
|
9
|
-
`,B=a=>`/${a}/tasks`;function Aa(){return s.jsxs(O,{children:[s.jsx(u,{path:"/new",element:s.jsx(I,{})}),s.jsx(u,{path:"/new/:taskGroupId",element:s.jsx(I,{})}),s.jsx(u,{path:"/group/:taskGroupId",element:s.jsx(ka,{})}),s.jsx(u,{path:"/:taskId",element:s.jsx(I,{})}),s.jsx(u,{path:"*",element:s.jsx($,{})})]})}export{Aa as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./liveblocks-BmoAyVEe.js";import i from"./NotFoundScreen-B9pJKI3W.js";import{T as r}from"./TransactionDetailScreen-B-BVFEpP.js";import"./sentry-CCAVv3jj.js";import{n as d,o as e}from"./core-zBodvsmj.js";import"./zeni-epic-state-BTJNQUbs.js";import"./recharts-CBJVI15_.js";import"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.js";import"./useAskAiCfoHostNavButtonProps-gYNUsHfd.js";import"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";import"./decodeURIComponentSafe-BxqXitkH.js";import"./routePaths-C57Y-8ts.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new o.Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="256f287b-7a3d-4d6d-890e-a8cb9db8b86d",o._sentryDebugIdIdentifier="sentry-dbid-256f287b-7a3d-4d6d-890e-a8cb9db8b86d")}catch{}})();function q(){return t.jsxs(d,{children:[t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId",element:t.jsx(r,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/page-not-found",element:t.jsx(i,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/vendor/create",element:t.jsx(r,{})}),t.jsx(e,{path:"/*",element:t.jsx(r,{})})]})}export{q as default};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./liveblocks-BmoAyVEe.js";import{a as f}from"./sentry-CCAVv3jj.js";import{q as u,h,g as y,N as I}from"./core-zBodvsmj.js";import{IE as b,eO as w,yZ as x}from"./zeni-epic-state-BTJNQUbs.js";import{z as l,B as j,F as S,G as E}from"./index-BEtykuxp.js";import{n as g}from"./mui-DLJkInA_.js";import"./recharts-CBJVI15_.js";import"./analytics-BYXYUYaV.js";import"./plaid-C7DViorD.js";import"./dnd-DXQzuHAR.js";import"./stripe-DMRn4zHo.js";import"./lottie-7jInd46q.js";import"./lexical-DftjmMYF.js";import"./pdf-D8Yl-cKT.js";import"./utils-IcNZtE46.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]="7f13d0b5-8df2-4a44-bac3-2d4534930a24",e._sentryDebugIdIdentifier="sentry-dbid-7f13d0b5-8df2-4a44-bac3-2d4534930a24")}catch{}})();const R=()=>{const[e]=u(),t=e.get("code")??"",s=e.get("state")??"",p=e.get("profileId")??"",[n,c]=f.useState(!1),a=h(),i=y(m=>b(m)),r=l.getSignedInUser(),d=l.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(I,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return w(r.userId,r.zeniSessionId,d?.tenantId),f.useEffect(()=>{n||(c(!0),a(x(t,p,s)))},[n,a]),i.fetchState==="Error"?o.jsx(D,{children:o.jsx(_,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(j,{fetchState:"In-Progress"}))},D=g.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100vh;
|
|
5
|
-
flex-direction: row;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
9
|
-
`,_=g(E.LargeRegular)`
|
|
10
|
-
display: flex;
|
|
11
|
-
color: ${S.important};
|
|
12
|
-
`;export{R as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Q as n}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import"./sentry-CCAVv3jj.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]="d224da04-0ac6-49f8-b19e-1e582ec2873b",e._sentryDebugIdIdentifier="sentry-dbid-d224da04-0ac6-49f8-b19e-1e582ec2873b")}catch{}})();function r(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{r as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./sentry-CCAVv3jj.js";import{q as b,c as p,s as m,M as u}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import{b as y}from"./useFetchSuggestedQuestionsWhenReady-ByvvCtR-.js";import{j as k,u as g,l as h}from"./core-zBodvsmj.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]="7043bef0-d0a8-4536-89c9-6e07b896d1b5",e._sentryDebugIdIdentifier="sentry-dbid-7043bef0-d0a8-4536-89c9-6e07b896d1b5")}catch{}})();function E(e){const{isAiCfoOpen:a,setIsAiCfoOpen:t,mobileExploreReferrer:n}=e,r=k(),o=g(),{tenantEmailDomain:s}=h(),f=b(),i=u(f),l=p();return{isAiCfoAccessEnabled:y()&&l&&!a,onAskAiCfoClick:c.useCallback(()=>{if(s!=null)if(i){const d=m(o.state?.pathnameStackToGoBack,o.pathname);r(`/${s}/ai-cfo/explore`,{state:{pathnameStackToGoBack:d,referrer:n}})}else t(!0)},[i,o.pathname,o.state,n,r,t,s])}}export{E as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./sentry-CCAVv3jj.js";import{h as i,s as d}from"./core-zBodvsmj.js";import{a as y,d as h,c as g,$ as m,J as C}from"./index-BEtykuxp.js";import"./mui-DLJkInA_.js";import{eK as l,hF as p}from"./zeni-epic-state-BTJNQUbs.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]="5d177167-caf4-4507-981d-10826b646dc4",e._sentryDebugIdIdentifier="sentry-dbid-5d177167-caf4-4507-981d-10826b646dc4")}catch{}})();function x(){const{useFeatureGate:e}=y(),{isFeatureEnabled:t}=e(h.isAiCfoNavButtonEnabled),n=g();return t&&n}function b(e,t){return e!=="Completed"&&e!=="In-Progress"&&!(e==="Error"&&!t)}function I(e){const{areTenantIdsInSync:t}=C(),n=g(),s=x();return t&&e&&s&&n}function _(e){const{pageContexts:t,canFetchSuggestedQuestions:n}=e,s=i(),a=d(),o=u.useRef(null);u.useEffect(()=>{const r=o.current===!1&&n===!0;if(o.current=n,n&&t!=null&&t.length!==0)for(const c of t){const f=l(a.getState(),c)?.fetchState;b(f,r)&&s(p({pageContext:c}))}},[n,s,t,a])}function S(e){(function(t){const{pageContext:n,canFetchSuggestedQuestions:s}=t,a=i(),o=d(),r=u.useRef(null);u.useEffect(()=>{const c=r.current===!1&&s===!0;if(r.current=s,n==null||!s)return;const f=l(o.getState(),n)?.fetchState;b(f,c)&&a(p({pageContext:n}))},[s,a,n,o])})({canFetchSuggestedQuestions:I(e.isDataReady),pageContext:e.pageContext})}function Q(e){S({pageContext:m(),isDataReady:e.isDataReady})}export{_ as a,x as b,Q as c,I as u};
|