@zeniai/web-app-ui 5.1.15-qa → 5.1.16-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-B5vhUf_a.js +1 -0
- package/dist/assets/{AddressScreen-XfX1kp62.js → AddressScreen-DBouO1VO.js} +2 -2
- package/dist/assets/{AiCfoScreen-x5NHCHRo.js → AiCfoScreen-aXbJ6KSx.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CFQgShwe.js → BillPayApprovalRoutes-B5D_PAjl.js} +1 -1
- package/dist/assets/{BillPayRoutes-DvTUP6rq.js → BillPayRoutes-FFIKyMFm.js} +11 -11
- package/dist/assets/{BusinessVerificationPageScreen-Dj41dw8l.js → BusinessVerificationPageScreen-TnL4anaK.js} +2 -2
- package/dist/assets/{ChargeCardRoutes-BQne54x9.js → ChargeCardRoutes-BY6tS3Wb.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-CAC-cT_8.js → CompanyPassportScreen-bH4fNATt.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-tD0_PtVP.js → ConnectionAuthScreen-CMk95vCD.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-DQxGGH-q.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-D3ESAcUa.js → CustomerOnboardingRoutes-BhhCxfgh.js} +4 -4
- package/dist/assets/{DashboardRoutes-DQ1Dp9uI.js → DashboardRoutes-40IT1Z0g.js} +1 -1
- package/dist/assets/{DefaultTenantHome-jK-v7jep.js → DefaultTenantHome-B9JgziWy.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-Cbv4IV8n.js → DomesticWireDetailScreen-9HJqc589.js} +3 -3
- package/dist/assets/DrawerScreen-BybsWSA5.js +1 -0
- package/dist/assets/EntityDetailRoutes-BUvOPb-7.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-eCkx5Ut6.js → ExpenseAutomationRoutes-Brjv5P_k.js} +3 -3
- package/dist/assets/FeaturePreviewScreen-Bphl5iMx.js +1 -0
- package/dist/assets/{HubSpotOAuthCallbackScreen-D9RslBQV.js → HubSpotOAuthCallbackScreen-D-Ds4I7w.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-PvUwhqYz.js → MagicLinkRoutes-Db0vw5Xy.js} +18 -18
- package/dist/assets/{MagicLinkSignInScreen-BG8fbosP.js → MagicLinkSignInScreen-BXCAHwMh.js} +1 -1
- package/dist/assets/{MobileAppDrawer-xuap2lNE.js → MobileAppDrawer-CC3m6ocd.js} +1 -1
- package/dist/assets/NotFoundScreen-s_JkYzit.js +1 -0
- package/dist/assets/{NotificationRoutes-Di2OqF18.js → NotificationRoutes-G_I_Fqq4.js} +1 -1
- package/dist/assets/OAuthConsentScreen-B6lC7aDz.js +1 -0
- package/dist/assets/{PandLWithForecastRoutes-Db7fCkIK.js → PandLWithForecastRoutes-BebAbrxn.js} +1 -1
- package/dist/assets/{PeopleRoutes-Cy-egEbq.js → PeopleRoutes-BDcKbU9-.js} +3 -3
- package/dist/assets/PerformanceRoutes-DPRRdEyH.js +1 -0
- package/dist/assets/{Preview-CY8yGmDF.js → Preview-66XUlFvA.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-lGQVRIlH.js → QBOConnectionScreen-BKWCwccg.js} +1 -1
- package/dist/assets/ReferralListScreen-CYkdj1RR.js +5 -0
- package/dist/assets/{ReimbursementApprovalRoutes-BZFWQG9c.js → ReimbursementApprovalRoutes-Bp_J5FzR.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-De84Dj6E.js → ReimbursementApprovalRuleDetailScreen-B9EiOv54.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-xYPgAD9q.js → ReimbursementRoutes-B1Nl-zRm.js} +4 -4
- package/dist/assets/{ReportsRoutes-QDUa8Ybd.js → ReportsRoutes-C3b86U_H.js} +1 -1
- package/dist/assets/RewardsRoutes-DTPnLY3t.js +1 -0
- package/dist/assets/{ScreenRoutes-B3FC1KKK.js → ScreenRoutes-D89vz8Oi.js} +2 -2
- package/dist/assets/{SettingsRoutes-CD1kUlcH.js → SettingsRoutes-D5MRBSK0.js} +1 -1
- package/dist/assets/{SetupPagesScreen-DDSG8uf9.js → SetupPagesScreen-BoBhqmkV.js} +5 -5
- package/dist/assets/{SignInScreen-syjJmQAD.js → SignInScreen-D_bTvPFM.js} +1 -1
- package/dist/assets/{SignOutScreen-CCviEJSl.js → SignOutScreen-CpmpaRrq.js} +1 -1
- package/dist/assets/{TaskListScreen-e2ILo3-4.js → TaskListScreen-BMzL57Bz.js} +2 -2
- package/dist/assets/{TaskRoutes-Cu0lgdyi.js → TaskRoutes-C81rJJIj.js} +2 -2
- package/dist/assets/{TransactionDetailRoutes-CBSFri2k.js → TransactionDetailRoutes-BzmMWScT.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-F9A6USKI.js → TransactionDetailScreen-BJQjuEtN.js} +2 -2
- package/dist/assets/{TransactionListRoutes-DRbZmMNG.js → TransactionListRoutes-85ND4ehv.js} +1 -1
- package/dist/assets/{TreasuryRoutes-BOLsgAFV.js → TreasuryRoutes-3aQLHcRb.js} +5 -5
- package/dist/assets/{VendorsRoutes-CMthxQkB.js → VendorsRoutes-khWvhYOg.js} +1 -1
- package/dist/assets/WiseConfirmationScreen-BS1xn_5k.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-DHbpnSAQ.js → ZeniAccountRoutes-CGvM8YX_.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-FvmVdq9p.js +9 -0
- package/dist/assets/{accountMappingHelper-BXM5BmBC.js → accountMappingHelper-C4AkxjBv.js} +1 -1
- package/dist/assets/{analytics-B8luzlgO.js → analytics-BF065rkR.js} +1 -1
- package/dist/assets/{analyticsHelper-D1azBz5I.js → analyticsHelper-_j1-XtaH.js} +1 -1
- package/dist/assets/{core-hvWPs2BT.js → core-DYMASrCh.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DNWFxSVm.js → decodeURIComponentSafe-D5DqYXdU.js} +1 -1
- package/dist/assets/{dnd-o-askzEj.js → dnd-CRD-B3s8.js} +1 -1
- package/dist/assets/{empty-ljDb8rQ7.js → empty-IVFtS8fQ.js} +1 -1
- package/dist/assets/{empty-B82_IWTi.js → empty-lbtKgQje.js} +1 -1
- package/dist/assets/{emptyVideoElement-6N2QhoT0.js → emptyVideoElement-C4sSXFWP.js} +1 -1
- package/dist/assets/{epic-D-6jma-n.js → epic-06cV1AWQ.js} +1 -1
- package/dist/assets/{getLocaleForTenant-CS9Lb4sj.js → getLocaleForTenant-DpqPZP9g.js} +1 -1
- package/dist/assets/{index-DMjYSAPV.js → index-9GNLj45_.js} +1 -1
- package/dist/assets/{index-C3hO3Q77.js → index-BHo22hBN.js} +8 -9
- package/dist/assets/{index-BllzniH0.js → index-C1vSwCiO.js} +1 -1
- package/dist/assets/{index-Ddf8OgPt.js → index-C5lWaLVP.js} +1 -1
- package/dist/assets/{index-CCzAyR4f.js → index-Co30SmGl.js} +2 -2
- package/dist/assets/{index-CYY55Wnh.js → index-Deprigob.js} +1 -1
- package/dist/assets/{index-oQjFSd94.js → index-R4-cuc1t.js} +1 -1
- package/dist/assets/{index-Cwg_Y7fA.js → index-zqRFpa6m.js} +1 -1
- package/dist/assets/{lexical-DqrCfay7.js → lexical-B6vQ07gu.js} +1 -1
- package/dist/assets/{liveblocks-jYXQYs7P.js → liveblocks-C5h4gZcw.js} +1 -1
- package/dist/assets/{lottie-BLlGs_6Q.js → lottie-CB2hfJTV.js} +1 -1
- package/dist/assets/{mui-CeHC_BmF.js → mui-DU2Ylp5t.js} +1 -1
- package/dist/assets/{pathToGoBack-MsNMGBDu.js → pathToGoBack-C3wo5yar.js} +1 -1
- package/dist/assets/{pdf-Cl92kK1w.js → pdf-DkjHIM4s.js} +3 -3
- package/dist/assets/{pdf-lib-BadVnXbc.js → pdf-lib-ZvmhOCui.js} +1 -1
- package/dist/assets/{plaid-Byy7X9QI.js → plaid-C8pIAKRb.js} +1 -1
- package/dist/assets/{pusher-DYBPzr6x.js → pusher-BXx1_xap.js} +1 -1
- package/dist/assets/{react-DLttYMD6.js → react--ixl0RH1.js} +1 -1
- package/dist/assets/{react-BJJY8Rpp.js → react-BFHcVKHq.js} +1 -1
- package/dist/assets/{react-Cqi33cD_.js → react-BiPsIo7k.js} +1 -1
- package/dist/assets/{react-BTe_wt6i.js → react-CAZmN7nA.js} +1 -1
- package/dist/assets/{react-BpHZFHe_.js → react-CVMbkEJu.js} +1 -1
- package/dist/assets/{react-D9cAGMq-.js → react-DtOSzLW9.js} +1 -1
- package/dist/assets/{recharts-C4CmAqBJ.js → recharts-Bs0ZBuwz.js} +1 -1
- package/dist/assets/{routePaths-BgS6eID-.js → routePaths-BF6NDp7Z.js} +1 -1
- package/dist/assets/{sentry-BSVS1PdG.js → sentry-bxHUuQF3.js} +1 -1
- package/dist/assets/{url-CQaynP8g.js → url-DRrgCaIA.js} +1 -1
- package/dist/assets/{url-DhDn0d1t.js → url-Y9mKri7j.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-C0bGttFg.js → useAiCfoDashboardSuggestedQuestionsChips-RT4mJ366.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-6Bz-IzWM.js +1 -0
- package/dist/assets/{useDeviceId-BksjOci6.js → useDeviceId-KonxiFyE.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-DiOtjijO.js → useInitialThreadRequest-DW9MWJGL.js} +1 -1
- package/dist/assets/{utils-4kl_5TF9.js → utils-Cry9nEwK.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DT0mq7yA.js → withTransactionSidePanel-DyR_oiJH.js} +3 -3
- package/dist/assets/{zeni-epic-state-B5RvQRIo.js → zeni-epic-state-901GvRjQ.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AddressRoutes-DzAh-Dhn.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-GjLQh__S.js +0 -1
- package/dist/assets/DrawerScreen-DVdaRr3g.js +0 -1
- package/dist/assets/EntityDetailRoutes-Kipeu5Q3.js +0 -1
- package/dist/assets/FeaturePreviewScreen-DS9Qs3mU.js +0 -1
- package/dist/assets/NotFoundScreen-Meha4IJ4.js +0 -1
- package/dist/assets/OAuthConsentScreen-CU5b2HNK.js +0 -1
- package/dist/assets/PerformanceRoutes-BxAGMKVU.js +0 -1
- package/dist/assets/ReferralListScreen-CHrbkzB9.js +0 -5
- package/dist/assets/RewardsRoutes-BB6GIYJQ.js +0 -1
- package/dist/assets/WiseConfirmationScreen-BD59hJgA.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-CJf3N25S.js +0 -9
- package/dist/assets/useAskAiCfoHostNavButtonProps-DhVdwSwf.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-BHo22hBN.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-bxHUuQF3.js"><link rel="modulepreload" crossorigin href="/assets/core-DYMASrCh.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-901GvRjQ.js"><link rel="modulepreload" crossorigin href="/assets/mui-DU2Ylp5t.js"><link rel="modulepreload" crossorigin href="/assets/analytics-BF065rkR.js"><link rel="modulepreload" crossorigin href="/assets/utils-Cry9nEwK.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.1.
|
|
3
|
+
"version": "5.1.16-dev",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/**/*"
|
|
6
6
|
],
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@stripe/stripe-js": "^4.4.0",
|
|
30
30
|
"@zeniai/client-analytics": "2.0.18",
|
|
31
31
|
"@zeniai/client-epic-state": "5.0.67",
|
|
32
|
-
"@zeniai/web-components": "4.1.
|
|
32
|
+
"@zeniai/web-components": "4.1.27",
|
|
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-jYXQYs7P.js";import{A as d}from"./AddressScreen-XfX1kp62.js";import i from"./NotFoundScreen-Meha4IJ4.js";import"./sentry-BSVS1PdG.js";import{o as s,p as r}from"./core-hvWPs2BT.js";import"./zeni-epic-state-B5RvQRIo.js";import"./recharts-C4CmAqBJ.js";import"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.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]="4677917c-1bd8-4b00-9bd0-d308073173a3",t._sentryDebugIdIdentifier="sentry-dbid-4677917c-1bd8-4b00-9bd0-d308073173a3")}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 i}from"./liveblocks-jYXQYs7P.js";import{z as n}from"./index-C3hO3Q77.js";import{g as d}from"./QBOConnectionScreen-lGQVRIlH.js";import"./sentry-BSVS1PdG.js";import{g as p,N as a}from"./core-hvWPs2BT.js";import"./zeni-epic-state-B5RvQRIo.js";import"./recharts-C4CmAqBJ.js";import"./mui-CeHC_BmF.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.js";import"./empty-B82_IWTi.js";import"./pdf-lib-BadVnXbc.js";import"./index-Ddf8OgPt.js";import"./url-DhDn0d1t.js";import"./index-BllzniH0.js";import"./decodeURIComponentSafe-DNWFxSVm.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]="e53e9b9f-4e1e-4d41-afae-a46e42efc4b3",e._sentryDebugIdIdentifier="sentry-dbid-e53e9b9f-4e1e-4d41-afae-a46e42efc4b3")}catch{}})();const U=()=>{const e=p(),{code:t,realmId:o,state:r}=d(e.search),s=n.getSignedInUser()?.userId??"";if(f(t,o,r,s)===!0){const m=`../../${r}/onboarding?code=${t}&realmId=${o}&state=auth_flow`;return i.jsx(a,{to:m})}return i.jsx(a,{to:"../../"})},f=(e,t,o,r)=>e!=""&&t!=""&&o!=""&&r!=null&&r!="";export{U as default,f as hasValidParams};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./liveblocks-jYXQYs7P.js";import{J as f,x as l,h as c}from"./index-C3hO3Q77.js";import{D as p}from"./mui-CeHC_BmF.js";import"./sentry-BSVS1PdG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6914df4e-18ee-4d16-860e-ba01e5fdbcff",e._sentryDebugIdIdentifier="sentry-dbid-6914df4e-18ee-4d16-860e-ba01e5fdbcff")}catch{}})();const b={drawerLeftMargin:new l(0,0,240)};function h(e){const{isOpen:r,drawerLeftMargin:o,children:t,onClose:s}=e,n=f(),d=o?.valuePx(n)??b.drawerLeftMargin.valuePx(n),a=c();return i.jsx(p,{anchor:"right",open:r,PaperProps:{style:{width:`calc(100% - ${d})`}},slotProps:{backdrop:{style:{backgroundColor:a.colors.black,opacity:.8,cursor:"pointer"}}},onClose:s,children:t})}export{h as D};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-jYXQYs7P.js";import{a as d}from"./sentry-BSVS1PdG.js";import{h as A,u as B,g as L,i as F,j as l,N as q,n as K,o as N,p as _}from"./core-hvWPs2BT.js";import{LD as H,eP as O,L0 as R,kG as M,HC as I,LI as W,Kv as Y,jG as $,HD as S,L5 as z,L6 as V,Kx as J,Kw as Q}from"./zeni-epic-state-B5RvQRIo.js";import{aR as U,c as X,p as Z,n as tt}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import{d as k}from"./decodeURIComponentSafe-DNWFxSVm.js";import{w as et}from"./withTransactionSidePanel-DT0mq7yA.js";import{f as at,c as nt}from"./routePaths-BgS6eID-.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.js";import"./useAskAiCfoHostNavButtonProps-DhVdwSwf.js";import"./TransactionDetailScreen-F9A6USKI.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]="490a2fc2-49b2-49e9-80e9-3521b696fda7",a._sentryDebugIdIdentifier="sentry-dbid-490a2fc2-49b2-49e9-80e9-3521b696fda7")}catch{}})();const ot=K(function(a,t){const e=t.entity,o=W(a,t.entity,"EntityDetail");return{selectedEntity:e,autoCompleteData:{autoCompleteText:e.name,entityAutoCompleteView:Y(a,"common")},trendWithTransactionsReport:o,analytics:X,isAccountingClassesEnabled:$(a)}},function(a,t){return{onTransactionItemClick:e=>{if(t.openTransactionPanel)return void t.openTransactionPanel(e.id,e.type);const o=`${nt(e,t.tenantEmailDomain)}`,c=tt(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(o,{state:{pathnameStackToGoBack:c}})},autoCompleteActions:{onAutoCompleteInputChange:e=>{e.trim().length>=2?a(J({searchString:e,searchOrigin:"common"})):e.trim().length===0&&a(Q("common"))},onAutoCompleteEntity:e=>{const o=at(e,t.tenantEmailDomain);a(z()),a(V()),t.resetTrendIsFetchedStates(),t.navigate(o,{replace:!0,state:{pathnameStackToGoBack:t.location.state?.pathnameStackToGoBack}})},onCancelAutoComplete:()=>{const e=Z(t.location.state?.pathnameStackToGoBack),o=e.poppedPathname??b();t.navigate(o,{state:{pathnameStackToGoBack:e.newStack}})}},onTrendSelectedPeriodChange:e=>{if(t.closeSidePanel?.(),e==null)t.defaultTransactionTimePeriod!=null&&a(S(t.entity,"EntityDetail",{timeframe:"quarter",timePeriod:t.defaultTransactionTimePeriod}));else{const o=e.currentTimePeriod==null?e.addTimePeriod:{startDate:e.addTimePeriod.startDate,endDate:e.currentTimePeriod.endDate};a(I(t.entity,"EntityDetail",{timeframe:e.timeframe,timePeriod:e.addTimePeriod})),a(S(t.entity,"EntityDetail",{timeframe:e.timeframe,timePeriod:o}))}}}})(U),it=et(function({entityType:a,...t}){const e=A(),o=B(),c=L(),[m,T]=d.useState(!1),[h,D]=d.useState(!1),{tenantEmailDomain:C,entityIdEncoded:x,entityNameEncoded:j}=F(),r=k(x??""),p=k(j??""),f=rt(r,p),w=[r,p].filter(n=>n!=null),i={name:p,id:r,type:a,zeniId:r,qboId:r},g=l(n=>H(n.customerIncomeState,n.vendorExpenseState,n.trendState,i,"quarter")),G=l(n=>O(n).company?.companyInfo.firstMonthOfFY??1),u=l(n=>R(n.trendWithTransactionsState,i,"EntityDetail"));d.useEffect(()=>{m===!1&&f===!0&&(T(!0),o(M(i)))},[m,f,i]);const P=l(n=>n.trendState.fetchState),E=u?.selectedPeriod?.timePeriod??g,v=function(n,y){return n!=null&&y!=null?{startDate:n.startDate,endDate:y?.endDate}:y}(u?.selectedPeriod?.timePeriod,g);return d.useEffect(()=>{m===!0&&h===!1&&P==="Completed"&&(D(!0),E!=null&&o(I(i,"EntityDetail",{timeframe:u?.selectedPeriod?.timeframe??"quarter",timePeriod:E})))},[m,h,P]),f?s.jsx(ot,{firstMonthOfFY:G,tenantEmailDomain:C,location:c,navigate:e,entity:i,defaultTransactionTimePeriod:v,resetTrendIsFetchedStates:()=>{T(!1),D(!1)},...t}):s.jsx(q,{to:b(w.length)})}),rt=(a,t)=>t!=null&&t.length>0&&a!=null&&a.length>0,b=(a=2)=>{let t="../";for(let e=0;e<a;e++)t=`${t}../`;return t};function xt({entityType:a}){return s.jsx(N,{children:s.jsx(_,{path:"/:entityIdEncoded/:entityNameEncoded/*",element:s.jsx(it,{entityType:a})})})}export{xt as EntityDetailRoutes,xt as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-jYXQYs7P.js";import{a as r}from"./sentry-BSVS1PdG.js";import{a3 as f,a4 as l,a5 as p,p as m}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import c from"./NotFoundScreen-Meha4IJ4.js";import{h as u,g as b}from"./core-hvWPs2BT.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]="720da2d7-8f85-4925-8f09-ee6187521283",e._sentryDebugIdIdentifier="sentry-dbid-720da2d7-8f85-4925-8f09-ee6187521283")}catch{}})();const _=()=>{const e=u(),a=b(),t=r.useCallback(()=>{window.open("https://www.zeni.ai/demo/request","_blank")},[]),d=r.useCallback(()=>{(()=>{const n=m(a.state?.pathnameStackToGoBack),i=n.poppedPathname??k();e(i,{state:{pathnameStackToGoBack:n.newStack}})})()},[]),o=f(a.pathname);return o!=null?s.jsx(l,{menuItem:p(o),onDemoClick:t,onGoBack:d}):s.jsx(c,{})},k=(e=2)=>{let a="../";for(let t=0;t<e;t++)a=`${a}../`;return a};export{_ as F};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./liveblocks-jYXQYs7P.js";import{h as n,n as i}from"./core-hvWPs2BT.js";import{$ as e}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import"./sentry-BSVS1PdG.js";import"./zeni-epic-state-B5RvQRIo.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.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]="f0a6f69d-2c9c-4f29-8b70-8d3b4a29316a",o._sentryDebugIdIdentifier="sentry-dbid-f0a6f69d-2c9c-4f29-8b70-8d3b4a29316a")}catch{}})();const a=i(null,function(o,t){return{onGoBack:()=>{t.navigate(-1)},onGoHome:()=>{t.navigate("/")}}})(e);function _(){const o=n();return r.jsx(a,{navigate:o})}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as m}from"./liveblocks-jYXQYs7P.js";import{a as r}from"./sentry-BSVS1PdG.js";import{u as T,g as A,j as o,N as J}from"./core-hvWPs2BT.js";import{JN as j,eP as C,f7 as R,JO as x,JP as z,JQ as D,JR as M,mW as N,IJ as L}from"./zeni-epic-state-B5RvQRIo.js";import{z as h,H as I}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new n.Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="6ded39bc-a07f-4eab-9ca5-a82c101ffeed",n._sentryDebugIdIdentifier="sentry-dbid-6ded39bc-a07f-4eab-9ca5-a82c101ffeed")}catch{}})();function ee(){const n=T(),a=A(),{params:t,error:i}=r.useMemo(()=>j(a.search),[a.search]),w=r.useMemo(()=>new URLSearchParams(a.search).get("client_name")??t?.clientId??"Unknown Application",[a.search,t]),f=h.isSignedIn(),s=h.getSignedInUser(),p=o(e=>C(e)),l=o(e=>R(e)),d=o(e=>e.tenantState.fetchState),y=o(x),b=o(z),c=o(D),[v,S]=r.useState(null),[E,_]=r.useState(null);r.useEffect(()=>{document.querySelector("#app-shell-loader")?.remove()},[]),r.useEffect(()=>()=>{n(M())},[n,a.search]),r.useEffect(()=>{i!=null&&console.warn("[OAuthConsent] invalid params:",i)},[i]);const g=r.useRef(!1);r.useEffect(()=>{f&&s!=null&&!g.current&&(d!=="Not-Started"&&d!=="Error"||(g.current=!0,n(N(s.userId,s.zeniSessionId??void 0))))},[f,s,d,n]),r.useEffect(()=>{c!=null&&c!==""&&(window.location.href=c)},[c]);const U=r.useMemo(()=>{if(p?.tenantId!=null)return p.tenantId;const e=h.getActiveTenantForUser()?.tenantId;return e!=null&&l.some(P=>P.tenantId===e)?e:l.length===1?l[0].tenantId:null},[p?.tenantId,l]),u=v??U;return i!=null?m.jsx(I,{variant:"invalid_params",paramsError:i}):f?m.jsx(I,{variant:"signed_in",clientName:w,userEmail:s?.userEmail,isInitializing:d!=="Completed",tenants:l,selectedTenantId:u,onSelectTenant:S,approveError:E??b,isApproving:y==="In-Progress",showAllowButton:u!=null,onApprove:()=>{t!=null&&s!=null&&u!=null&&n(L(s.userId,s.zeniSessionId??void 0,u,t.clientId,t.redirectUri,t.codeChallenge,t.codeChallengeMethod,t.state,t.responseType))},onDeny:()=>{if(t!=null)try{const e=new URL(t.redirectUri);e.searchParams.set("error","access_denied"),e.searchParams.set("error_description","The user denied the request"),e.searchParams.set("state",t.state),window.location.href=e.toString()}catch{_("Unable to deny: redirect_uri is not a valid URL. Close this window or contact support.")}}}):m.jsx(J,{to:"/signin/auth",state:{origin:a.pathname+a.search},replace:!0})}export{ee as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-jYXQYs7P.js";import E from"./NotFoundScreen-Meha4IJ4.js";import{a as r}from"./sentry-BSVS1PdG.js";import{h as _,g as P,j as p,i as v,u as M,N as U,n as z,o as B,p as h}from"./core-hvWPs2BT.js";import{eP as O,PY as b,bo as F,bn as N,hn as V,gT as X}from"./zeni-epic-state-B5RvQRIo.js";import{r as Y,z as I,X as $,cB as q}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import{u as G}from"./useAskAiCfoHostNavButtonProps-DhVdwSwf.js";import{M as H}from"./MobileAppDrawer-xuap2lNE.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.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]="217668dc-9f15-4456-95df-742f6835ca46",e._sentryDebugIdIdentifier="sentry-dbid-217668dc-9f15-4456-95df-742f6835ca46")}catch{}})();const J=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)}}})(q),K=()=>{const e=_(),t=P(),c=Y(),o=p(a=>O(a)),{aggregatedReportViewState:n}=p(a=>b(a)),{tenantEmailDomain:m}=v(),u=M(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const f=r.useRef(!1),[w,S]=r.useState(!1),C=F(o?.userRole??[]),k=o?.userRole?.includes("bookkeeping_admin")??!1,x=N(l),y=C||k||x,d=r.useCallback((a,i,A)=>{u(V({fromMonth:a,toMonth:i,cacheOverride:A}))},[]);r.useEffect(()=>{n?.fetchState==="Completed"&&f.current&&(u(X({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),f.current=!1)},[n?.fetchState]);const D=r.useCallback((a,i)=>{n!=null&&n?.fetchState==="In-Progress"||d(a,i,!0),f.current=!0},[n?.fetchState,d]),j=r.useCallback((a,i)=>{d(a,i,!1)},[d]),g=a=>{S(a)},{isAiCfoAccessEnabled:R,onAskAiCfoClick:T}=G({mobileExploreReferrer:"Performance"});return $({isDataReady:n?.fetchState==="Completed"}),y?s.jsxs(s.Fragment,{children:[s.jsx(H,{isAppContentDrawerOpen:w,handleDrawerToggle:g}),s.jsx(J,{navigate:e,location:t,themeState:c,currentTenant:o,signedInUser:l,tenantEmailDomain:m,onReload:D,onTimeRangeSelect:j,handleDrawerToggle:g,isAiCfoAccessEnabled:R,onAskAiCfoClick:T})]}):s.jsx(U,{to:`/${m}/dashboard`,replace:!0})};function ge(){return s.jsxs(B,{children:[s.jsx(h,{path:"*",element:s.jsx(K,{})}),s.jsx(h,{path:"*",element:s.jsx(E,{})})]})}export{ge as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as s}from"./liveblocks-jYXQYs7P.js";import{a as o}from"./sentry-BSVS1PdG.js";import{j as f,h as V,u as H,g as M,n as F}from"./core-hvWPs2BT.js";import{h as N,J as W,z as R,b9 as _,x as J,V as U,X as $,G as z,c as d,e as G,a7 as K,ba as X}from"./index-C3hO3Q77.js";import{f2 as q,eP as Q,MJ as P,MK as Y,ub as Z,u1 as g,f4 as ee,bO as ae,u6 as re,ML as ne}from"./zeni-epic-state-B5RvQRIo.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CeHC_BmF.js";import{u as de}from"./useAskAiCfoHostNavButtonProps-DhVdwSwf.js";import{M as le}from"./MobileAppDrawer-xuap2lNE.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]="dac6eef6-2a8b-49d6-82cc-0cd365d3b56d",e._sentryDebugIdIdentifier="sentry-dbid-dac6eef6-2a8b-49d6-82cc-0cd365d3b56d")}catch{}})();const ce={overlayWidth:new J(100,100,30)},fe=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=N(),n=W();if(R.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},u=f(l=>q(l));return s.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(n),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:s.jsx(se,{in:e,direction:"left",children:s.jsx(ue,{onClick:l=>l.stopPropagation(),children:s.jsx(_,{onDismissClick:i,rewardsPlan:u.rewardsPlan})})})})},ue=oe(ie)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,I="refer-and-earn-status-update",we=F(function(e){const a=P(e),r=e.referralViewState.rewardsPlanFetchState,n=ae([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(ne({sortOrder:i,sortkey:n}))},onInviteClick:()=>{d.trackRewardsPageClicked("invite via email"),r("../refer")},onHowItWorksClick:()=>{d.trackRewardsPageClicked("know more"),r("../how-it-works")},onResendInviteClick:n=>{d.trackRewardsPageClicked("resend invite"),e(re(n))},onBackClick:()=>{r("../",{relative:"path"})},onReloadInvitees:()=>{e(g(!0))},onCopyReferralLink:()=>{d.trackRewardsPageClicked("copy referral link")},onClickRefer:()=>{d.trackRewardsPageClicked("refer")},onEventReceived:n=>{n===I&&e(g(!0,!0))}}})(K(X));function ve({isReferralDrawerOpen:e}){const a=V(),r=H(),n=M(),[i,u]=o.useState(!1),[l,x]=o.useState(!1),[D,E]=o.useState(!1),[k,h]=o.useState(!1),w=R.getSignedInUser(),C=f(t=>Q(t)),b=f(t=>P(t)),m=b.fetchState,p=f(t=>t.referralViewState.rewardsPlanFetchState),y=Y([b,p]),{areTenantIdsInSync:c}=U();o.useEffect(()=>{C?.rewardsLastViewedTime==null&&D===!1&&(r(Z()),E(!0))},[]),o.useEffect(()=>{!i&&m==="Not-Started"&&c&&(u(!0),r(g(!0)))},[m,r,c]),o.useEffect(()=>{!l&&p.fetchState==="Not-Started"&&c&&(x(!0),r(ee(!0)))},[p,r,c]),o.useEffect(()=>{h(e!=null&&e===!0)},[e]);const[j,A]=o.useState(!1),v=t=>{A(t)},{isAiCfoAccessEnabled:O,onAskAiCfoClick:B}=de({mobileExploreReferrer:"Rewards"});$({isDataReady:y===!0});const L={events:w?.userId!=null?[`private-encrypted-${w.userId}.${I}`]:[],eventCallback:(t,S,T)=>{T.onEventReceived(t)}};return s.jsxs(s.Fragment,{children:[y===!0?s.jsx(z,{analytics:d,onLoad:t=>(S=>{w!=null&&S.trackPageLoaded(G.Event.rewardsPageViewed)})(t)}):null,s.jsx(le,{isAppContentDrawerOpen:j,handleDrawerToggle:v}),k===!0?s.jsx(fe,{closeDrawerHandler:()=>{h(!1),a("..")},isReferralDrawerOpen:k}):null,s.jsx(we,{location:n,navigate:a,currentTenant:C,onClickMenuIcon:()=>{v(!0)},isAiCfoAccessEnabled:O,onAskAiCfoClick:B,...L})]})}export{ve as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./liveblocks-jYXQYs7P.js";import{v as w,z as j,aN as y,G as E,c as p,e as F,cL as L,I as P}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.js";import l from"./NotFoundScreen-Meha4IJ4.js";import{a as d}from"./sentry-BSVS1PdG.js";import{u as T,j as b,h as V,g as A,n as R,o as U,p as f}from"./core-hvWPs2BT.js";import{eP as z,Qv as C,Ni as Q,Qw as v,ub as G,f4 as Y,Qx as O,u9 as q}from"./zeni-epic-state-B5RvQRIo.js";import{R as x}from"./ReferralListScreen-CHrbkzB9.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.js";import"./useAskAiCfoHostNavButtonProps-DhVdwSwf.js";import"./MobileAppDrawer-xuap2lNE.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]="8f76ad66-6052-43a6-b7f2-7c5fcd93286d",a._sentryDebugIdIdentifier="sentry-dbid-8f76ad66-6052-43a6-b7f2-7c5fcd93286d")}catch{}})();const B=R(function(a,t){const n=C(a);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(a,t){const{navigate:n}=t,o=j.getSignedInUser();return{onDismissClick:()=>{a(v()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),p.trackInviteEmailClicked("send",s,r,s.length)}a(q())},onUpdateInviteFormLocalData:s=>{a(O({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&p.trackInviteEmailClicked("cancel")}}})(L),H=()=>{const a=T(),[t,n]=d.useState(!1),[o,s]=d.useState(!1),r=b(i=>z(i)),c=V(),_=A(),{useDynamicConfig:g}=w(),u=j.getSignedInUser();if(u==null)throw Error("Can't access invite referral screen without signing in...");const m=b(i=>C(i)),N=u?.firstName!=null?u.firstName:"User",{configValue:h}=g(y.zeniCardsConfig),{configValue:k}=g(y.zeniAccountsConfig),D=Q(k);d.useEffect(()=>{a(v()),r?.rewardsLastViewedTime==null&&o===!1&&(a(G()),s(!0))},[]),d.useEffect(()=>{t||m.fetchState!=="Not-Started"||(n(!0),a(Y(!0)))},[m.fetchState,a]);const I=r.company?.companyInfo.companyLegalName??r.companyName;return e.jsxs(e.Fragment,{children:[m.fetchState==="Completed"?e.jsx(E,{analytics:p,onLoad:i=>(S=>S.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,e.jsx(B,{navigate:c,location:_,currentTenant:r,companyName:I,userName:N,inviteFormCompayData:m.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:D.maxAnnualPercentageYield})]})};function fa(){const{useFeatureGate:a}=w(),{isFeatureEnabled:t}=a(P.isReferralFeatureEnabled);return e.jsxs(U,{children:[e.jsx(f,{path:"/",element:t?e.jsx(x,{}):e.jsx(l,{})}),e.jsx(f,{path:"how-it-works",element:t?e.jsx(x,{isReferralDrawerOpen:!0}):e.jsx(l,{})}),e.jsx(f,{path:"refer/*",element:t?e.jsx(H,{}):e.jsx(l,{})}),e.jsx(f,{path:"*",element:e.jsx(l,{})})]})}export{fa as default};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./liveblocks-jYXQYs7P.js";import{a as l}from"./sentry-BSVS1PdG.js";import{s as u,u as h,j as b,N as y}from"./core-hvWPs2BT.js";import{JJ as I,eW as w,zI as j}from"./zeni-epic-state-B5RvQRIo.js";import{z as f,B as x,A as S,F as D}from"./index-C3hO3Q77.js";import{n as p}from"./mui-CeHC_BmF.js";import"./recharts-C4CmAqBJ.js";import"./analytics-B8luzlgO.js";import"./plaid-Byy7X9QI.js";import"./dnd-o-askzEj.js";import"./stripe-DMRn4zHo.js";import"./lottie-BLlGs_6Q.js";import"./lexical-DqrCfay7.js";import"./pdf-Cl92kK1w.js";import"./utils-4kl_5TF9.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]="2aaab6de-e495-45e1-b679-04959ecbae13",e._sentryDebugIdIdentifier="sentry-dbid-2aaab6de-e495-45e1-b679-04959ecbae13")}catch{}})();const R=()=>{const[e]=u(),t=e.get("code")??"",i=e.get("state")??"",c=e.get("profileId")??"",[n,g]=l.useState(!1),a=h(),s=b(m=>I(m)),r=f.getSignedInUser(),d=f.getSignedInUserTenantWithId(i);if(r==null||d==null)return o.jsx(y,{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),l.useEffect(()=>{n||(g(!0),a(j(t,c,i)))},[n,a]),s.fetchState==="Error"?o.jsx(E,{children:o.jsx(_,{children:s.error?.message??""})}):(s.fetchState==="Completed"&&window.close(),o.jsx(x,{fetchState:"In-Progress"}))},E=p.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
|
-
`,_=p(D.LargeRegular)`
|
|
10
|
-
display: flex;
|
|
11
|
-
color: ${S.important};
|
|
12
|
-
`;export{R as default};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./liveblocks-jYXQYs7P.js";import{a as f}from"./sentry-BSVS1PdG.js";import{h as x,u as j,g as B,i as $,j as p}from"./core-hvWPs2BT.js";import{IG as s,IF as v,OV as C,eP as P,OW as T}from"./zeni-epic-state-B5RvQRIo.js";import{J as z,at as g,h as D,z as E,B as L,c4 as G,p as N}from"./index-C3hO3Q77.js";import{n as _}from"./mui-CeHC_BmF.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]="b5db5a59-376b-4252-ad6f-783ec1b01e0a",e._sentryDebugIdIdentifier="sentry-dbid-b5db5a59-376b-4252-ad6f-783ec1b01e0a")}catch{}})();const U=_.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
height: 100vh;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex: 1 1 auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
9
|
-
`;function W(){const e=x(),n=j(),d=z(),l=B();let{accountId:a}=$(),m=`${g.bankingMicroServiceBaseUrl}/1.0/deposit-accounts/${a}`;a==null&&l.pathname.includes(`${s}/statements`)&&(a=s,m=`${g.bankingMicroServiceBaseUrl}/1.0/${s}`);const[u,b]=f.useState(!1),y=D();f.useEffect(()=>{u||(b(!0),n(v(a??"",!1)))},[u,n]);const o=p(t=>C(t,a??"")),h=()=>{const t=N(l.state?.pathnameStackToGoBack),S=t.poppedPathname??"..";e(S,{state:{pathnameStackToGoBack:t.newStack}})},r=E.getSignedInUser(),c=p(t=>P(t)),I={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId??""},w=T(a??"")===!0?s:o.zeniAccountDetail?.accountLast4??"",k=c.company?.companyInfo.companyLegalName??c.companyName;if(r==null)throw Error("Can't access address page without signing in...");return o.fetchState!=="Completed"?i.jsx(L,{fetchState:"In-Progress",style:{backgroundColor:y.colors.grey5}}):i.jsx(U,{windowSize:d,children:i.jsx(G,{currentTenantCompanyName:k,statementListView:o,accountLast4:w,onBackClick:h,authParams:I,downloadEndPoint:m})})}export{W as Z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./sentry-BSVS1PdG.js";import{h as u,g,i as h,j as S}from"./core-hvWPs2BT.js";import{eP as y}from"./zeni-epic-state-B5RvQRIo.js";import{U as k,J as C,a as A,W as T,Z as I,n as w,a1 as D}from"./index-C3hO3Q77.js";import"./mui-CeHC_BmF.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]="e92e3c6d-03ed-4b28-b484-858f928afb0f",e._sentryDebugIdIdentifier="sentry-dbid-e92e3c6d-03ed-4b28-b484-858f928afb0f")}catch{}})();function j(e){const{mobileExploreReferrer:t}=e,{isAiCfoOpen:r,setIsAiCfoOpen:i}=k(),n=u(),o=g(),{tenantEmailDomain:s}=h(),c=C(),f=D(c),l=A(),p=T(),m=S(a=>a.tenantState.fetchState==="Completed"||a.tenantState.activeTenantFetchState.fetchState==="Completed"?y(a):void 0),d=m?.masterTOSInfo?.isMasterTOSAccepted??!1;return{isAiCfoAccessEnabled:p&&l&&!r,onAskAiCfoClick:b.useCallback(()=>{if(s!=null)if(d)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}})},[d,f,o,t,n,i,s])}}export{j as u};
|