@zeniai/web-app-ui 5.0.29-dev → 5.0.30-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.
Files changed (101) hide show
  1. package/dist/assets/AddressRoutes-DIhMzKt7.js +1 -0
  2. package/dist/assets/{AddressScreen-D33d6mlP.js → AddressScreen-xEM4e8dx.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-CjabDfue.js → AiCfoScreen-8s3wkGk3.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-CaH89ImE.js → BillPayApprovalRoutes-BIelmcgp.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-BQvAzZoU.js → BillPayRoutes-BZAN29-l.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-BUfK35_-.js → BusinessVerificationPageScreen-D8UEaBWc.js} +1 -1
  7. package/dist/assets/{ChargeCardRoutes-tobNieB2.js → ChargeCardRoutes-33yTuOO6.js} +1 -1
  8. package/dist/assets/{CompanyPassportScreen-DOSfUuo8.js → CompanyPassportScreen-SKdV-4ut.js} +1 -1
  9. package/dist/assets/{ConnectionAuthScreen-DXET9ibH.js → ConnectionAuthScreen-C-rOdlJb.js} +1 -1
  10. package/dist/assets/CustomerOnboardingAuthScreen-BN9aqlQK.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-BgeRv9b-.js → CustomerOnboardingRoutes-CCAS2Wjj.js} +1 -1
  12. package/dist/assets/{DashboardRoutes-BnT9clwd.js → DashboardRoutes-CMskDPEx.js} +1 -1
  13. package/dist/assets/{DefaultTenantHome-BuuAm5tA.js → DefaultTenantHome-C9Du56ol.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-D7x8itbF.js → DomesticWireDetailScreen-_c-gMOCw.js} +1 -1
  15. package/dist/assets/{DrawerScreen-BOmDNrND.js → DrawerScreen-CIgKcUMN.js} +1 -1
  16. package/dist/assets/{EntityDetailRoutes-DlGKn1gp.js → EntityDetailRoutes-ysvxaKXe.js} +1 -1
  17. package/dist/assets/{ExpenseAutomationRoutes-DBwfdeKL.js → ExpenseAutomationRoutes-C51x-NlB.js} +1 -1
  18. package/dist/assets/{FeaturePreviewScreen-D1hHI8kK.js → FeaturePreviewScreen-BcOKaqeh.js} +1 -1
  19. package/dist/assets/{MagicLinkRoutes-DXR_BLhc.js → MagicLinkRoutes-CqK7dsDO.js} +1 -1
  20. package/dist/assets/{MagicLinkSignInScreen-CVw2eCRn.js → MagicLinkSignInScreen-K2N_bjPn.js} +1 -1
  21. package/dist/assets/{MobileAppDrawer-51OTOFDc.js → MobileAppDrawer-BzPL_Hli.js} +1 -1
  22. package/dist/assets/NotFoundScreen-ZtSrm5hH.js +1 -0
  23. package/dist/assets/{NotificationRoutes-Hps1Ro2y.js → NotificationRoutes-CcNGuGGK.js} +1 -1
  24. package/dist/assets/{PandLWithForecastRoutes-DAxBBMAA.js → PandLWithForecastRoutes-BBvfnuEC.js} +1 -1
  25. package/dist/assets/{PeopleRoutes-CVmaMbUi.js → PeopleRoutes-Bq4Ap0mm.js} +1 -1
  26. package/dist/assets/{PerformanceRoutes-DZYFpQVC.js → PerformanceRoutes-BHxN4DBT.js} +1 -1
  27. package/dist/assets/{Preview-OrpXGnIM.js → Preview-CZ5D54Ln.js} +1 -1
  28. package/dist/assets/{QBOConnectionScreen-BpTCjjFU.js → QBOConnectionScreen-oQXXUA-M.js} +1 -1
  29. package/dist/assets/{ReferralListScreen-BrObOx9x.js → ReferralListScreen-L684ETWv.js} +1 -1
  30. package/dist/assets/{ReimbursementApprovalRoutes-CjexdFZq.js → ReimbursementApprovalRoutes-Bw7YXEEc.js} +1 -1
  31. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CK4bnMd5.js → ReimbursementApprovalRuleDetailScreen-JLznJ4x7.js} +1 -1
  32. package/dist/assets/ReimbursementRoutes-B3wPek3e.js +68 -0
  33. package/dist/assets/{ReportsRoutes-DuyyKCOa.js → ReportsRoutes-79d2l9T8.js} +1 -1
  34. package/dist/assets/{RewardsRoutes-dFjX_sQy.js → RewardsRoutes-BSor9bim.js} +1 -1
  35. package/dist/assets/{ScreenRoutes-U6YUeNK1.js → ScreenRoutes-eink4068.js} +2 -2
  36. package/dist/assets/{SettingsRoutes-CBH4oKav.js → SettingsRoutes-5W9mwIwr.js} +1 -1
  37. package/dist/assets/{SetupPagesScreen-BRWFzqZr.js → SetupPagesScreen-Cod4X1BG.js} +1 -1
  38. package/dist/assets/{SignInScreen-CO9jf9kh.js → SignInScreen-C_vnRh8m.js} +1 -1
  39. package/dist/assets/{SignOutScreen-CWn1VOUC.js → SignOutScreen-DrxJuJ-K.js} +1 -1
  40. package/dist/assets/{TaskListScreen-B6lyBlHq.js → TaskListScreen-CB09Wz9c.js} +1 -1
  41. package/dist/assets/{TaskRoutes-DWsx4_vP.js → TaskRoutes-DZdp6yMt.js} +1 -1
  42. package/dist/assets/TransactionDetailRoutes-Btxvd463.js +1 -0
  43. package/dist/assets/{TransactionDetailScreen-i-Dd7tmX.js → TransactionDetailScreen-C1JJdtdW.js} +1 -1
  44. package/dist/assets/{TransactionListRoutes-BRuytvqB.js → TransactionListRoutes-BU8dg91D.js} +1 -1
  45. package/dist/assets/{TreasuryRoutes-Ck_TGGbk.js → TreasuryRoutes-D0yLjIbj.js} +1 -1
  46. package/dist/assets/{VendorsRoutes-DQvI0THt.js → VendorsRoutes-DlJcwhNc.js} +1 -1
  47. package/dist/assets/{WiseConfirmationScreen-6mTLlRnZ.js → WiseConfirmationScreen-DVEjWIcl.js} +1 -1
  48. package/dist/assets/{ZeniAccountRoutes-Bcuic0wu.js → ZeniAccountRoutes-Baag3oju.js} +1 -1
  49. package/dist/assets/{ZeniAccountStatementScreen-BQfXeeVB.js → ZeniAccountStatementScreen-CGKYFYiM.js} +1 -1
  50. package/dist/assets/{accountMappingHelper-I87iZbOB.js → accountMappingHelper-BuBDUd0y.js} +1 -1
  51. package/dist/assets/{analytics-DYCAui-I.js → analytics-CXvxIZdi.js} +1 -1
  52. package/dist/assets/{analyticsHelper-CoCsLWxV.js → analyticsHelper-CMig1VzD.js} +1 -1
  53. package/dist/assets/{core-CrySabaB.js → core-N7CPYDYo.js} +1 -1
  54. package/dist/assets/{decodeURIComponentSafe-C37138jw.js → decodeURIComponentSafe-BRg86-e8.js} +1 -1
  55. package/dist/assets/{dnd-CV1KjQXU.js → dnd-BJdF4dAe.js} +1 -1
  56. package/dist/assets/{empty-Dqx24XYn.js → empty-Xh23Dt4V.js} +1 -1
  57. package/dist/assets/{empty-DtTDHfO2.js → empty-ivMMehqG.js} +1 -1
  58. package/dist/assets/{emptyVideoElement-BdOiM2Cn.js → emptyVideoElement-qJQU_1oZ.js} +1 -1
  59. package/dist/assets/{epic-CZ6kB5GC.js → epic-B59qfnft.js} +1 -1
  60. package/dist/assets/{getLocaleForTenant-VbDnYcxE.js → getLocaleForTenant-CKTH0N13.js} +1 -1
  61. package/dist/assets/{index-CyyHtw-M.js → index-BGYa7wM7.js} +1 -1
  62. package/dist/assets/{index-1DdC8Xj_.js → index-D4NJFPDg.js} +2 -2
  63. package/dist/assets/{index-6m3SwClh.js → index-DIpLyfXI.js} +1 -1
  64. package/dist/assets/{index-0XIgKFWx.js → index-DMAGHfZD.js} +1 -1
  65. package/dist/assets/{index-CcFsRa7B.js → index-DNA_iCEF.js} +5 -5
  66. package/dist/assets/{index-BIUM19kB.js → index-DR90_H3f.js} +1 -1
  67. package/dist/assets/{index-CPrzoRQS.js → index-DwWYOOmV.js} +1 -1
  68. package/dist/assets/{lexical-Be88TDK-.js → lexical-Bmj9x73b.js} +1 -1
  69. package/dist/assets/{liveblocks-DZsElvdD.js → liveblocks-CuuLovLj.js} +1 -1
  70. package/dist/assets/{lottie-_mjnLDz5.js → lottie-DelpYGRl.js} +1 -1
  71. package/dist/assets/{mui-CZEnMS79.js → mui-Nnsyw35G.js} +1 -1
  72. package/dist/assets/{pathToGoBack-R9qGiBS5.js → pathToGoBack-35autqzA.js} +1 -1
  73. package/dist/assets/{pdf-EBByNZKe.js → pdf-Db4tsn59.js} +4 -4
  74. package/dist/assets/{pdf-lib-BEOiPBal.js → pdf-lib-B7TmZPq8.js} +1 -1
  75. package/dist/assets/{plaid-B6RZTGXN.js → plaid-B0yrp5RU.js} +1 -1
  76. package/dist/assets/{pusher-ByEWV5_I.js → pusher-BeLUfBMc.js} +1 -1
  77. package/dist/assets/{react-dfMS-CNP.js → react-Bz6KpK1c.js} +1 -1
  78. package/dist/assets/{react-C-ASAIjO.js → react-C6xJrfdq.js} +1 -1
  79. package/dist/assets/{react-DSf2hcsZ.js → react-CH9tfNyx.js} +1 -1
  80. package/dist/assets/{react-DfJG99Vb.js → react-D8muHpk9.js} +1 -1
  81. package/dist/assets/{react-DWHoxqVx.js → react-DQuAtIGV.js} +1 -1
  82. package/dist/assets/{react-tGpJkmVx.js → react-J9UyG_3m.js} +1 -1
  83. package/dist/assets/{recharts-BHXPSy2L.js → recharts-ClL8oIl2.js} +1 -1
  84. package/dist/assets/{routePaths-D6EDB2Yc.js → routePaths-C70bfQA6.js} +1 -1
  85. package/dist/assets/{sentry--Yuj1Jyq.js → sentry-ElwAwfI4.js} +1 -1
  86. package/dist/assets/{url-Dy7h9pac.js → url-6L5KuS1P.js} +1 -1
  87. package/dist/assets/{url-DomYNp9o.js → url-CihgrT3C.js} +1 -1
  88. package/dist/assets/{useAskAiCfoHostNavButtonProps-CpK46S_s.js → useAskAiCfoHostNavButtonProps-CCoI3j4w.js} +1 -1
  89. package/dist/assets/{useDeviceId-BXvcSVDO.js → useDeviceId-B5IDPs1R.js} +1 -1
  90. package/dist/assets/{useFetchSuggestedQuestionsWhenReady-DpNVr89y.js → useFetchSuggestedQuestionsWhenReady-BRfec4ep.js} +1 -1
  91. package/dist/assets/{useInitialThreadRequest-BrXhq4yW.js → useInitialThreadRequest-CfI7Wm6s.js} +1 -1
  92. package/dist/assets/{utils-CzY-S_Ct.js → utils-BenVS2u9.js} +1 -1
  93. package/dist/assets/{withTransactionSidePanel-Dh8jH8W6.js → withTransactionSidePanel-ByuAxSMJ.js} +1 -1
  94. package/dist/assets/{zeni-epic-state-B2i4I3MD.js → zeni-epic-state-CYiHmIhw.js} +3 -3
  95. package/dist/index.html +1 -1
  96. package/package.json +1 -1
  97. package/dist/assets/AddressRoutes--6bpVyKF.js +0 -1
  98. package/dist/assets/CustomerOnboardingAuthScreen-QqJ1I7t0.js +0 -1
  99. package/dist/assets/NotFoundScreen-DHf1NG7A.js +0 -1
  100. package/dist/assets/ReimbursementRoutes-ClGFpgQk.js +0 -68
  101. package/dist/assets/TransactionDetailRoutes-B2uHT4g3.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-CcFsRa7B.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry--Yuj1Jyq.js"><link rel="modulepreload" crossorigin href="/assets/core-CrySabaB.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-B2i4I3MD.js"><link rel="modulepreload" crossorigin href="/assets/mui-CZEnMS79.js"><link rel="modulepreload" crossorigin href="/assets/analytics-DYCAui-I.js"><link rel="modulepreload" crossorigin href="/assets/utils-CzY-S_Ct.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>
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-DNA_iCEF.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-ElwAwfI4.js"><link rel="modulepreload" crossorigin href="/assets/core-N7CPYDYo.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-CYiHmIhw.js"><link rel="modulepreload" crossorigin href="/assets/mui-Nnsyw35G.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CXvxIZdi.js"><link rel="modulepreload" crossorigin href="/assets/utils-BenVS2u9.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.29-dev",
3
+ "version": "5.0.30-dev",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -1 +0,0 @@
1
- import{j as e}from"./liveblocks-DZsElvdD.js";import{A as d}from"./AddressScreen-D33d6mlP.js";import i from"./NotFoundScreen-DHf1NG7A.js";import"./sentry--Yuj1Jyq.js";import{n as s,o as r}from"./core-CrySabaB.js";import"./zeni-epic-state-B2i4I3MD.js";import"./recharts-BHXPSy2L.js";import"./index-CcFsRa7B.js";import"./mui-CZEnMS79.js";import"./analytics-DYCAui-I.js";import"./plaid-B6RZTGXN.js";import"./dnd-CV1KjQXU.js";import"./stripe-DMRn4zHo.js";import"./lottie-_mjnLDz5.js";import"./lexical-Be88TDK-.js";import"./pdf-EBByNZKe.js";import"./utils-CzY-S_Ct.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-DZsElvdD.js";import{z as n}from"./index-CcFsRa7B.js";import{g as p}from"./QBOConnectionScreen-BpTCjjFU.js";import"./sentry--Yuj1Jyq.js";import{u as a,N as i}from"./core-CrySabaB.js";import"./zeni-epic-state-B2i4I3MD.js";import"./recharts-BHXPSy2L.js";import"./mui-CZEnMS79.js";import"./analytics-DYCAui-I.js";import"./plaid-B6RZTGXN.js";import"./dnd-CV1KjQXU.js";import"./stripe-DMRn4zHo.js";import"./lottie-_mjnLDz5.js";import"./lexical-Be88TDK-.js";import"./pdf-EBByNZKe.js";import"./utils-CzY-S_Ct.js";import"./empty-Dqx24XYn.js";import"./pdf-lib-BEOiPBal.js";import"./index-CyyHtw-M.js";import"./url-DomYNp9o.js";import"./index-6m3SwClh.js";import"./decodeURIComponentSafe-C37138jw.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 e}from"./liveblocks-DZsElvdD.js";import{j as r,k as i}from"./core-CrySabaB.js";import{X as n}from"./index-CcFsRa7B.js";import"./mui-CZEnMS79.js";import"./sentry--Yuj1Jyq.js";import"./zeni-epic-state-B2i4I3MD.js";import"./recharts-BHXPSy2L.js";import"./analytics-DYCAui-I.js";import"./plaid-B6RZTGXN.js";import"./dnd-CV1KjQXU.js";import"./stripe-DMRn4zHo.js";import"./lottie-_mjnLDz5.js";import"./lexical-Be88TDK-.js";import"./pdf-EBByNZKe.js";import"./utils-CzY-S_Ct.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]="08a1fb90-c2ee-45d3-8148-a56dffb2c13c",o._sentryDebugIdIdentifier="sentry-dbid-08a1fb90-c2ee-45d3-8148-a56dffb2c13c")}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,68 +0,0 @@
1
- import{j as s}from"./liveblocks-DZsElvdD.js";import{j as J,h as le,u as W,l as Y,g as w,N as $,k as q,i as ut,n as pt,o as B}from"./core-CrySabaB.js";import{eN as V,MY as me,c0 as ce,Bt as xe,jC as bt,BG as ae,BF as se,MZ as gt,bn as de,fI as Te,M_ as ht,Jk as ft,jr as je,Jl as Se,Jm as St,il as It,Me as yt,iB as Rt,Bh as At,s6 as Ct,it as vt,C1 as De,M$ as Fe,N0 as kt,N1 as Et,N2 as Bt,N3 as wt,N4 as xt,BN as Ie,iH as Tt,Mn as jt,BH as Dt,Br as Ft,N5 as Ut,Bq as Lt,N6 as Nt,Bz as ye,BR as Mt,BQ as Pt,BM as $t,N7 as Ue,GE as _t,bo as Ot,BC as zt,Cj as Gt,N8 as Ht,N9 as Zt,BZ as Wt,BW as Re,LJ as Vt,Bo as Jt,Na as Le,CI as Ae,CQ as qt,Nb as Kt,Nc as H,Nd as Qt,Ne,Nf as Xt,Ng as Me,Nh as Pe,C9 as ie,bt as Yt,bE as ue,cz as pe,eT as $e,eR as _e,Ni as en,gD as tn,LW as nn,Nj as an,Nk as Oe,L_ as sn,MI as on,Nl as rn,MX as ln,CN as Ce,CM as mn,Nm as cn,Nn as dn,No as un,Np as pn,Nq as bn,Mt as gn,CD as hn,CH as fn,bv as Sn,bD as In,cu as yn,cO as Rn,bs as An,Il as Cn,cK as vn,cM as kn,cL as En,ct as Bn}from"./zeni-epic-state-B2i4I3MD.js";import{x as ze,K as Ge,p as ee,l as C,z as M,bJ as He,y as te,c as v,aC as ve,o as U,ao as X,H as wn,D as Ze,bK as xn,w as Z,N as We,bL as Tn,j as ne,bM as jn,O as Dn,E as Fn,B as be,f as Ve,a1 as Un,ba as Ln,T as Nn,h as Je,bN as Mn,a4 as Pn}from"./index-CcFsRa7B.js";import{n as _,S as $n}from"./mui-CZEnMS79.js";import oe from"./NotFoundScreen-DHf1NG7A.js";import{S as ke}from"./SetupPagesScreen-BRWFzqZr.js";import{F as qe}from"./FeaturePreviewScreen-D1hHI8kK.js";import{a as g}from"./sentry--Yuj1Jyq.js";import{u as Ke}from"./useInitialThreadRequest-BrXhq4yW.js";import{u as Qe}from"./useAskAiCfoHostNavButtonProps-CpK46S_s.js";import{c as Xe}from"./useFetchSuggestedQuestionsWhenReady-DpNVr89y.js";import{D as _n}from"./DrawerScreen-BOmDNrND.js";import{M as Ye}from"./MobileAppDrawer-51OTOFDc.js";import{R as On}from"./ReimbursementApprovalRoutes-CjexdFZq.js";import{FallBackRoute as zn}from"./ScreenRoutes-U6YUeNK1.js";import"./recharts-BHXPSy2L.js";import"./analytics-DYCAui-I.js";import"./plaid-B6RZTGXN.js";import"./dnd-CV1KjQXU.js";import"./stripe-DMRn4zHo.js";import"./lottie-_mjnLDz5.js";import"./lexical-Be88TDK-.js";import"./pdf-EBByNZKe.js";import"./utils-CzY-S_Ct.js";import"./analyticsHelper-CoCsLWxV.js";import"./routePaths-D6EDB2Yc.js";import"./BusinessVerificationPageScreen-BUfK35_-.js";import"./ReimbursementApprovalRuleDetailScreen-CK4bnMd5.js";import"./getLocaleForTenant-VbDnYcxE.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]="552bfcfd-a424-4dd3-b82b-817987a2990e",e._sentryDebugIdIdentifier="sentry-dbid-552bfcfd-a424-4dd3-b82b-817987a2990e")}catch{}})();const et=e=>`/${e}/reimbursements`,Gn=e=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",...e},g.createElement("path",{d:"M12.5 3.5L3.5 12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M12.5 12.5L3.5 3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{reimbursement:{reimbursementDetail:L}}}=Ze.getLocalizedStrings(),Hn=q(function(e,t){const n=t.currentTenant?.companyId,r=gt(e.plaidAccountViewState,"user_reimbursement_account"),c=M.getSignedInUser(),d=de(c),m=r.plaidConnectionDetails,o=Te(e.companyState,n),a=e.tenantState.currentTenantId,i={userId:c?.userId??"",sessionId:c?.zeniSessionId??"",tenantId:a??""},l=me(e,t.reimbursementId),p=ht(e,c?.userId??"");let I=`${c?.firstName} ${c?.lastName}`,S=!0;t.reimbursementId!=null&&(I=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,S=c?.userId===l.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,R=ft(e,"common");return{remiDetails:l,uploadInvoiceEndPoint:`${X.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:R},authParams:i,defaultCurrency:{currencySymbol:o?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:o?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:o?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:ce(t.currentTenant?.userRole??[]),isZeniUser:d,plaidConnectionDetails:m,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:p.bankAccountCreationState,bankAccounts:p.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:S,disableInternalOverlay:t.disableInternalOverlay,showSkipAutoFill:t.showSkipAutoFill,setShowSkipAutoFill:t.setShowSkipAutoFill,isAccountingClassesEnabled:je(e)}},function(e,t){const{reimbursementId:n,currentTenant:r,location:c,navigate:d,themeState:m}=t,{tenantEmailDomain:o}=r,a=M.getSignedInUser();return{onReceiptsUpload:(i,l,p)=>{i!=null&&e(se(i,l,p,n,a?.userId))},onExistingMerchantChange:(i,l)=>{e(ye(!1,l,n,i,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e($t(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Pt())},clearRemiSaveStatus:()=>{e(Mt("Not-Started",n))},onDuplicateLineClick:(i,l)=>window.open(`/${o}/reimbursement/${i}#L${l}`),onNewMerchantChange:(i,l)=>{e(ye(!1,l,n,void 0,i))},removeFileFromLine:i=>{e(Nt({lineId:i,reimbursementId:n}))},onAmountChanged:(i,l)=>{e(Lt(l,i,n))},updateReimbursementType:(i,l,p)=>{e(Ut({reimbursementId:p,lineId:l,reimbursementType:i}))},onHomeCurrencyConversionUpdate:(i,l,p)=>{e(Ft({reimbursementId:p,lineId:l,amountPayload:{amount:i.amount,currency_code:i.currencyCode,currency_symbol:i.currencySymbol}}))},onReimbursementDetailsChanged:i=>{e(Dt({remiDetailLocalData:i,reimbursementId:n}))},saveRemiDetails:i=>{e(Ie(i,!1,n))},onUserBankDetailsUpdated:i=>{const{bankAccountSection:l}=i;e(jt({data:l}))},onFetchBankName:i=>{e(Tt(i))},submitRemiDetails:()=>{e(Ie("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:i=>{e(xt({reimbursementId:i}))},updateInvoiceUploadFetchState:i=>{e(ae({reimbursementId:n,fetchState:i}))},clearTentativeNameForLine:i=>{e(wt({reimbursementId:n,lineId:i}))},removeDuplicateReimbursementForLine:i=>{e(Bt({lineId:i}))},onZeniLogoClick:()=>{m.toggle()},clearAddRemiAutoFields:i=>{e(Et({reimbursementId:n,lineId:i}))},redirectToReimbursementListScreen:()=>{e(Fe()),e(kt());const i=et(o),l=Z(c.state?.pathnameStackToGoBack,c.pathname);d(i,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(De(n)))},onSaveBankAccount:()=>{a?.userId&&e(vt(a?.userId,n))},onFetchLinkTokenClick:i=>{e(Ct("user_reimbursement_account",i))},onEstablishConnectionClick:i=>{e(At(i,r.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:i=>{e(Rt(i,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(It({fetchState:"Not-Started"})),e(yt())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(i,l)=>{i.trim().length>=2?e(St({searchString:i,entityType:l,searchOrigin:"common"})):e(Se("common"))},onCancelAutoComplete:()=>{e(Se("common"))}}}})(xn);function Ee(){const e=J(),t=le(),n=W(),{reimbursementId:r}=Y(),c=ze(),d=Ge(),[m,o]=g.useState(r==null),[a,i]=g.useState(1),{useFeatureGate:l}=ee(),{isFeatureEnabled:p}=l(C.isLimitedCategoryForReimbursement),{isFeatureEnabled:I}=l(C.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:S}=l(C.isReimbursementCommentingEnabled),x=W().pathname,R=x.includes("edit"),j=x.includes("reimbursement/new"),[b,k]=g.useState(!1),y=M.getSignedInUser(),T=w(u=>V(u)),f=w(u=>me(u,r)),D=Ke(T?.companyId,{clearParams:f.fetchState==="Completed"}),P=ce(T?.userRole??[]);g.useEffect(()=>{(j&&!b||R&&f.fetchState!="Completed"&&f.fetchState!="In-Progress")&&(k(!0),t(xe(!1,p,I,r)))});const A=w(u=>bt(u.accountState,u.accountListState,"reimbursementAccountList"));if(y==null)throw Error("Can't access address page without signing in...");const F={pathname:`../${r}`,search:n.search};return f.isDeleted===!0||f.billStage=="paid"||f.billStage=="scheduled"||f.fetchState=="Not-Started"||P&&f.billStatus==="rejected"||P===!1&&f.billStage==="pending_approval"&&f.billStatus!=="rejected"?s.jsx($,{to:F}):f.deleteStatus.fetchState==="In-Progress"||f.fetchState!=="Completed"?s.jsx(He,{isNewReimbursement:r==null}):s.jsxs(Zn,{windowSize:d,children:[s.jsx(te,{analytics:v,onLoad:u=>(N=>{r!=null&&f.deleteStatus.fetchState!=="Completed"&&N.trackReimbursementEditReimbursement(r)})(u)}),m&&d!=="small"?s.jsx(Wn,{}):null,m&&d!=="small"?s.jsx(Vn,{children:s.jsx(ve,{showAutofill:m,uploadInvoiceEndPoint:`${X.communicationAgentMicroServiceBaseUrl}`,authParams:{userId:y?.userId??"",sessionId:y?.zeniSessionId??"",tenantId:T?.tenantId??""},onSkipAutofill:()=>o(!1),onInvoiceUpload:u=>{u!=null&&t(se(u,a,!0,r,y?.userId))},updateInvoiceUploadFetchState:u=>{t(ae({reimbursementId:r,fetchState:u}))},allowMultiFiles:m,showInfoText:!1,type:"reimbursement",style:{width:"100%",paddingTop:"78px",paddingRight:U.sp3,paddingBottom:"15px",paddingLeft:U.sp5},dropFilePlaceholder:{upload:L.dropReceipt.upload,single:L.dropReceipt.single,or:L.dropReceipt.or,multiple:L.dropReceipt.multiple,receipts:L.dropReceipt.receipts}})}):null,m&&d==="small"?s.jsxs(Jn,{children:[s.jsx(qn,{onClick:()=>o(!1),children:s.jsx(Gn,{})}),s.jsx(ve,{showAutofill:m,uploadInvoiceEndPoint:`${X.communicationAgentMicroServiceBaseUrl}`,authParams:{userId:y?.userId??"",sessionId:y?.zeniSessionId??"",tenantId:T?.tenantId??""},onSkipAutofill:()=>o(!1),onInvoiceUpload:u=>{u!=null&&t(se(u,a,!0,r,y?.userId))},updateInvoiceUploadFetchState:u=>{t(ae({reimbursementId:r,fetchState:u}))},allowMultiFiles:m,showInfoText:!1,type:"reimbursement",style:{width:"100%",paddingTop:U.sp5,paddingRight:U.sp3,paddingBottom:U.sp5,paddingLeft:U.sp3},dropFilePlaceholder:{upload:L.dropReceipt.upload,single:L.dropReceipt.single,or:L.dropReceipt.or,multiple:L.dropReceipt.multiple,receipts:L.dropReceipt.receipts}})]}):null,s.jsx(Kn,{windowSize:d,children:s.jsx(Hn,{initialOpenThreadRequest:D??void 0,isReimbursementCommentingEnabled:S,location:n,navigate:e,currentTenant:T,reimbursementId:r,themeState:c,uncategorizedAccounts:A,disableInternalOverlay:!0,showSkipAutoFill:m,setShowSkipAutoFill:o,onCurrentLineIdForUploadChange:i})})]})}const Zn=_.div`
2
- display: flex;
3
- position: relative;
4
- height: 100vh;
5
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
6
- background-color: ${e=>e.theme.colors.grey4};
7
- `,Wn=_.div`
8
- position: fixed;
9
- top: 0;
10
- left: 0;
11
- right: 0;
12
- bottom: 0;
13
- background-color: ${wn.overlayBackgroundBlack};
14
- z-index: 5;
15
- `,Vn=_.div`
16
- position: absolute;
17
- top: 0;
18
- left: 0;
19
- width: 42%;
20
- height: 100%;
21
- z-index: 6;
22
- display: flex;
23
- background-color: transparent;
24
- overflow: hidden;
25
- `,Jn=_.div`
26
- position: fixed;
27
- top: 0;
28
- left: 0;
29
- right: 0;
30
- bottom: 0;
31
- z-index: 11;
32
- display: flex;
33
- flex-direction: column;
34
- overflow-y: auto;
35
- background-color: ${e=>e.theme.colors.grey4};
36
- `,qn=_.button`
37
- align-self: flex-end;
38
- background: none;
39
- border: none;
40
- cursor: pointer;
41
- padding: ${U.sp2} ${U.sp3};
42
- line-height: 1;
43
- color: ${e=>e.theme.colors.hero};
44
- &:hover {
45
- color: ${e=>e.theme.colors.primary};
46
- }
47
- svg {
48
- width: ${U.sp4};
49
- height: ${U.sp4};
50
- }
51
- `,Kn=_.div`
52
- display: flex;
53
- flex-direction: column;
54
- width: 100%;
55
- ${e=>e.windowSize!=="small"?"overflow: auto;":""}
56
- `,Qn=q(function(e,t){const n=Ue(e,t.reimbursementId),r=M.getSignedInUser(),c=de(r),d=e.tenantState.currentTenantId,m={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:d??""},o=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Ht(n.remiActivities,Zt(t.currentTenant),r));const i=ce(t.currentTenant?.userRole??[]),l=r?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${X.communicationAgentMicroServiceBaseUrl}`,authParams:m,signedInUser:r,createdBy:o,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:i,showApproveRejectBtns:a,isZeniUser:c,isSignedInUserReimbursementCreator:l,isAccountingClassesEnabled:je(e)}},function(e,t){const{reimbursementId:n,currentTenant:r,location:c,navigate:d,themeState:m}=t,{tenantEmailDomain:o}=r;return{onDuplicateLineClick:(a,i)=>window.open(`/${o}/reimbursement/${a}#L${i}`),redirectToReimbursementListScreen:()=>{e(Fe());const a=et(o),i=Z(c.state?.pathnameStackToGoBack,c.pathname);d(a,{state:{pathnameStackToGoBack:i}})},onSaveRealTimeApprovals:a=>{e(Jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Vt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(Re(n,a.type,"")):e(Re(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=Z(c.state?.pathnameStackToGoBack,c.pathname);d("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(De(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(Wt(n,a))},handleZeniLogoClick:()=>{m.toggle()}}})(Tn);function Xn(){const e=J(),t=le(),n=W(),r=n.hash.substring(1),c=ze(),{reimbursementId:d}=Y(),m=M.getSignedInUser(),o=w(E=>V(E)),a=w(E=>Ue(E,d??"")),i=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=Ke(o?.companyId,{clearParams:a.fetchState==="Completed"&&!i}),{isAiCfoOpen:p,setIsAiCfoOpen:I}=We(),{isAiCfoAccessEnabled:S,onAskAiCfoClick:x}=Qe({isAiCfoOpen:p,setIsAiCfoOpen:I,mobileExploreReferrer:"Reimbursement Details"});Xe({isDataReady:a.fetchState==="Completed"});const{useFeatureGate:R}=ee(),{isFeatureEnabled:j}=R(C.isLimitedCategoryForReimbursement),[b,k]=g.useState(!1),[y,T]=g.useState(!1),[f,D]=g.useState(!1),{isFeatureEnabled:P}=R(C.isReimbursementCommentingEnabled),{isFeatureEnabled:A}=R(C.isShowDeletedReimbursementsFeatureEnabled),F=w(E=>me(E,d??"")),u=_t(o),N=Ot(o.userRole),G=a.fetchState;if(g.useEffect(()=>{b||d==null?b==1&&G==="Error"&&e("page-not-found",{replace:!0}):(k(!0),t(zt(d,!1,A)))},[b,d,t,G]),g.useEffect(()=>{A&&a.remiDetails?.isDeleted===!0||o.isZeni===!0&&m?.userEmailDomain==="zeni.ai"&&u===!1?D(!1):D(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(N||a.allApprovers.find(E=>E.user.userId===m?.userId)!=null||a.remiDetails?.lastUpdatedBy===m?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,N,o.isZeni,u,m]),g.useEffect(()=>{y||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||F.fetchState=="Completed"||F.fetchState=="In-Progress"||(T(!0),t(xe(!1,j,A,d)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(Gt(!1,!0,!0,a.lastUpdatedByUserId)))},[y,a,d,t]),m==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&F.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?s.jsx($,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&F.fetchState!="Completed"||a.fetchState!="Completed"?s.jsx(He,{}):s.jsxs(s.Fragment,{children:[s.jsx(te,{analytics:v,onLoad:E=>(K=>{d!=null&&K.trackReimbursementReimbursementDetails(d)})(E)}),s.jsx(Qn,{initialOpenThreadRequest:l??void 0,scrollId:r,isReimbursementCommentingEnabled:P,isShowDeletedReimbursementEnabled:A,location:n,navigate:e,isRealTimeApprovalEnabled:f,currentTenant:o,reimbursementId:d??"",themeState:c,isAiCfoAccessEnabled:S,onAskAiCfoClick:x})]})}const Yn=q(function(e,t){return{remisReviewView:Le(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(H())},onCloseReviewItem:n=>{e(Kt(n))},onProceedForBulkActionClick:(n,r)=>{switch(n){case"send_for_approval":e(qt());break;case"approve":e(Ae("approved",r??""));break;case"reject":e(Ae("rejected",r??""))}}}})(jn);function ea(){const e=J(),t=w(d=>d.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=w(d=>Le(d)),r=ne(),c=r?.loggedInUserRole?.includes("admin")===!0;return g.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),s.jsx(Yn,{navigate:e,analytics:v,isAdmin:c})}const z=sn(),tt="bulk-operation-update",re="reimbursement-approval-rule-update",{spendManagement:ta,common:Be}=Ze.getLocalizedStrings(),we=ta.reimbursement.bulkActions,na=_.div`
57
- display: flex;
58
- min-height: 100%;
59
- width: 100%;
60
- flex: 1 1 auto;
61
- flex-direction: column;
62
- align-items: center;
63
- background-color: ${e=>e.theme.colors.grey4};
64
- `,aa=q(function(e,t){const n=Pe(e,z,t.isBulkActionEnabled);let r=n.allSubTabs;const c=M.getSignedInUser(),d=de(c),m=e.tenantState.currentTenantId,o=V(e),a=o?.companyName??"",i={userId:c?.userId??"",sessionId:c?.zeniSessionId??"",tenantId:m??""},l=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(r=r.filter(S=>S!=="deleted"));const p=n.fetchState,I=on(e);return{transactionList:t.isShowDeletedReimbursementEnabled?n.reimbursements:n.reimbursements.filter(S=>S.isDeleted===!1),isAdmin:t.isAdmin,isZeniUser:d,isBillPayCommentingEnabled:t.isBillPayCommentingEnabled,isReimbursementCommentingEnabled:t.isReimbursementCommentingEnabled,allSubTabs:r,isEmployee:t.isEmployee,currentTab:n.currentTab,currentSubTab:n.currentSubTab,approvalCount:n.approvalCount,fetchState:p,botEmail:n.reimbursementBotEmail,analytics:v,uiState:n.uiState,searchText:n.searchText,filters:n.filters,downloadParams:{authParams:i,companyName:a,timePeriod:z,spendManagementEndPoint:`${Nn}/spendManagement`,isShowDeletedBillsEnabled:t.isShowDeletedBillsEnabled,isShowDeletedReimbursementEnabled:t.isShowDeletedReimbursementEnabled},downloadState:l,isBulkActionAllowed:n.remiListBulkActionInfo?.isBulkActionAllowed,transactionsSelectedForBulkAction:n.remiListBulkActionInfo?.remisSelectedForBulkAction,allowedBulkActions:n.remiListBulkActionInfo?.allowedBulkActions,remiApprovalRulesAffectedEntityIds:I.affectedEntityIds}},function(e,t){const{navigate:n,currentTenant:r,location:c,period:d}=t,{tenantEmailDomain:m}=r;return{updateTabToState:o=>{e(H()),e(Ne(o))},onSubtabChange:o=>{e(H()),e(Me(o))},onTransactionClick:(o,a)=>{const i=oa(m,o,a),l=Z(c.state?.pathnameStackToGoBack,c.pathname);n(i,{state:{pathnameStackToGoBack:l}})},onClickSetupIcon:()=>{const o=ia(m),a=Z(c.state?.pathnameStackToGoBack,c.pathname);n(o,{state:{pathnameStackToGoBack:a}})},onAddTransactionClick:()=>{const{tenantEmailDomain:o}=t.currentTenant;v?.trackReimbursementNewReimbursement();const a=`/${o}/reimbursement/new`,i=Z(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(a,{state:{pathnameStackToGoBack:i}})},onColumnSortConfigChanged:(o,a)=>{e(bn({uiState:{sortKey:o,sortOrder:a},period:t.period}))},onSearchTextChanged:o=>{e(pn(o))},onFiltersChange:o=>{e(un({filters:o})),o.categories.every(a=>a.field!=null&&a.values?.length!==0)&&v.trackSpendManagmentFilterChange("reimbursement",o.categories.map(a=>`${a.field}-${JSON.stringify(a.values)}`))},updateDownloadStateHandler:o=>{o==="In-Progress"&&v.trackSpendManagementDownloadClick("reimbursement"),e(dn({uiState:{downloadState:o}}))},onReloadTransactions:()=>{e(ie(d,!0,t.isShowDeletedReimbursementEnabled,!1,!0))},onBackClick:()=>{n("../",{relative:"path"})},onNavigateToSettings:()=>{n("../reimbursements/setup")},updateBulkActionList:o=>{e(cn(o))},removeAllTransactionsFromBulkActionList:()=>{e(H())},onProceedForBulkActionClick:(o,a)=>{switch(o){case"delete":case"cancel":e(mn(o,a??""));break;case"send_for_approval":e(Ce("send_for_approval")),t.navigate("./bulk-review");break;case"review":e(Ce("approve")),t.navigate("./bulk-review")}},onReimbursementApprovalRulesEventReceived:o=>{o.endsWith(re)&&e(ln(!1))},onEventReceived:o=>{o===tt&&e(rn())}}})(Un(Ln));function sa(){const{isAiCfoOpen:e,setIsAiCfoOpen:t}=We(),n=J(),r=le(),c=W(),d=c.state,m=Ge(),[o,a]=g.useState(null),i=ut("/:tenantEmailDomain/reimbursements/bulk-review")!=null;g.useEffect(()=>{if(d?.tab!=null&&d?.subTab!=null){const h=Qt(d.tab.toString());h!=null?r(Ne(h)):console.log("Warning:Not a valid remiListTab");const O=Xt(d.subTab.toString());O!=null?r(Me(O)):console.log("Warning:Not a valid remiListSubTab")}return()=>{r(H())}},[]);const{useFeatureGate:l}=ee(),{isFeatureEnabled:p}=l(C.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:I}=l(C.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:S}=l(C.isBillPayCommentingEnabled),{isFeatureEnabled:x}=l(C.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=l(C.isReimbursementBulkActionEnabled),j=M.getSignedInUser(),b=w(h=>V(h)),[k,y]=g.useState(!1),[T,f]=g.useState(!1),D=ne(),P=D?.loggedInUserRole?.includes("admin")===!0,A=w(h=>Pe(h,z,R)),{areTenantIdsInSync:F}=Dn(),u=A.fetchState,{isAiCfoAccessEnabled:N,onAskAiCfoClick:G}=Qe({isAiCfoOpen:e,setIsAiCfoOpen:t,mobileExploreReferrer:"Reimbursement List"});if(Xe({isDataReady:u==="Completed"}),g.useEffect(()=>{!T&&F&&(f(!0),r(ie(z,!0,I,!1,!0)))},[T,z,r,F]),j==null)throw Error("Can't access address page without signing in...");const E=!!b?.userRole&&Yt(b),K=ue(D?.loggedInUserRoleMap),nt=pe(D?.loggedInUserRoleMap),at=!!b.userReimbursementInfo?.isReimbursementTOSAccepted,st=!!b.companyReimbursementInfo?.info?.isReimbursementEnabled,it=!!b.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,ot=w(h=>Te(h.companyState,b.companyId)),rt=ot?.company.featuresActivationInfo.connectedAccountProvider,ge=h=>{y(h)},{isFeatureEnabled:lt}=l(C.isDebitCardFeatureEnabled),mt=$e(lt,b),ct=_e(b),{remisProcessed:Q,remisProcessing:he}=w(h=>en(h));g.useEffect(()=>{Q===he&&o!=null&&(r(tn({messageSection:"reimbursement_bulk_processed",messageText:"success",type:"success",showStatusIcon:!0,variables:[{variableName:"_report_",variableValue:Q>1?we.reports:we.report},{variableName:"_has_",variableValue:Q>1?Be.texts.have:Be.texts.has},{variableName:"_action_",variableValue:nn(o)}]})),r(an()),setTimeout(()=>{r(ie(z,!0,I,!1,!0,!0))},3e3),a(null))},[Q,he]);const dt={events:b.companyId!=null?[`private-${b.companyId}.${tt}`,`private-${b.companyId}.${re}`]:[],eventCallback:(h,O,fe)=>{h.endsWith(re)?fe.onReimbursementApprovalRulesEventReceived?.(h):O.entity_type==="reimbursement"&&(a(O.operation_type),fe.onEventReceived(h))}};return c.pathname.endsWith("/reimbursements/")||c.pathname.endsWith("/reimbursements")||c.pathname.endsWith("/reimbursements/bulk-review")?mt===!0||ct===!0?s.jsx(qe,{}):st&&(!E||K)||nt&&at?s.jsxs(s.Fragment,{children:[u==="Completed"?s.jsx(te,{analytics:v,onLoad:h=>(O=>O.trackPageLoaded(Ve.Event.reimbursementHome))(h)}):null,s.jsx(Ye,{isAppContentDrawerOpen:k,handleDrawerToggle:ge}),s.jsxs(na,{windowSize:m,children:[s.jsx(_n,{isOpen:i,drawerLeftMargin:new Fn(0,0,300,600),onClose:()=>{n("./"),r(H())},children:s.jsx(ra,{onClick:h=>h.stopPropagation(),children:s.jsx(ea,{})})}),s.jsx(aa,{isShowDeletedBillsEnabled:p,isShowDeletedReimbursementEnabled:I,isBillPayCommentingEnabled:S,isReimbursementCommentingEnabled:x,location:c,navigate:n,currentTenant:b,period:z,isAdmin:P,isEmployee:E,entity:"reimbursement",onClickMenuIcon:()=>{ge(!0)},createdByUserList:A.createdByUserList,createdByUserListFetchState:A.createdByUserListFetchState,isDownloadEnabled:A.isDownloadEnabled,connectedAccountProvider:rt,isBulkActionEnabled:R,bulkSubmissionLimit:A.remiBulkSubmissionLimit,bulkSubmissionFetchState:A.remiListBulkActionInfo.bulkSubmissionFetchState,isAiCfoAccessEnabled:N,onAskAiCfoClick:G,...dt})]})]}):it&&K?s.jsx($,{to:"../setup"}):D!=null&&Oe(b,D.loggedInUserRoleMap)?s.jsx($,{to:"../promo"}):s.jsx(be,{fetchState:"In-Progress"}):s.jsx(oe,{})}const ia=e=>`/${e}/reimbursements/setup`,oa=(e,t,n)=>{let r=`/${e}/reimbursement/${encodeURIComponent(t)}`;return n=="draft"&&(r+="/edit"),r},ra=_($n)`
65
- display: flex;
66
- min-height: 100%;
67
- flex-direction: column;
68
- `,la=q(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:gn(e,n),analytics:v,meetingUrl:"https://meetings.hubspot.com/niharn/demo-reimbursements?embed=true",videoUrl:"https://player.vimeo.com/video/814821498?h=e7fd11e13e&badge=0&autopause=0&player_id=0&app_id=122963"}},function(e,t){const{companyId:n,navigate:r}=t;return{onSetupButtonClick:()=>{e(fn(n))},onCreateNewRemiButtonClick:()=>{e(hn(t.userRoleId))},onBackClick:()=>{r("../..",{relative:"path"})},onSetupReimbursementSuccess:()=>{t.isEmployee?r("../../reimbursement/new",{relative:"path"}):r("../reimbursements/setup",{relative:"path"})}}})(Mn),ma=()=>{const e=J(),t=W(),{tenantEmailDomain:n}=Y(),r=Je(),[c,d]=g.useState(!1),m=w(k=>V(k)),o=M.getSignedInUserTenant(n)?.companyId??m.companyId,a=M.getSignedInUser(),i=m.userRoleId,l=!!m.userRole?.includes("reimbursements_user"),p=ne(),I=ue(p?.loggedInUserRoleMap),S=pe(p?.loggedInUserRoleMap),x=!!m.userReimbursementInfo?.isReimbursementTOSAccepted,R=!!m.companyReimbursementInfo?.info?.isReimbursementEnabled,j=!!m.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,b=k=>{d(k)};if(a==null)throw Error("Can't access reimbursement promo page without signing in...");return R&&S&&x?s.jsx($,{to:"../../../reimbursements"}):j&&I?s.jsx($,{to:"../../reimbursements/setup"}):m.companyReimbursementInfo&&!j||m.userReimbursementInfo&&S&&x===!1?s.jsxs(s.Fragment,{children:[s.jsx(te,{analytics:v,onLoad:k=>(y=>y.trackPageLoaded(Ve.Event.reimbursementPromoPage))(k)}),s.jsx(Ye,{isAppContentDrawerOpen:c,handleDrawerToggle:b}),s.jsx(la,{companyId:o,navigate:e,location:t,userReimbursementInfo:m.userReimbursementInfo,userRoleId:i,isEmployee:l,onClickMenuIcon:()=>{b(!0)}})]}):s.jsx(be,{fetchState:"In-Progress",style:{backgroundColor:r.colors.grey5}})};function _a(){const e=w(E=>V(E)),t=ne(),n=!!e.company?.companyReimbursementInfo.isReimbursementEnabled,r=Je(),c=!!e.company?.companyReimbursementInfo.isReimbursementTOSAccepted,d=!!e.userReimbursementInfo?.isReimbursementTOSAccepted,{useFeatureGate:m}=ee(),{isFeatureEnabled:o}=m(C.isChargeCardFeatureEnabled),{isFeatureEnabled:a}=m(C.isDebitCardFeatureEnabled),i=$e(a,e),l=_e(e),p=e?.userRole!=null&&Sn(e?.userRole),I=(e?.company==null||e.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!p)&&In(t?.loggedInUserRoleMap),S=yn(t?.loggedInUserRoleMap),x=e?.company==null||e.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!p,R=ue(t?.loggedInUserRoleMap),j=x&&R,{isFeatureEnabled:b}=m(C.isDepositAccountsFeatureEnabled),k=b&&!p&&Rn(t?.loggedInUserRoleMap),y=Pn(e,o,a)&&!p&&An(t?.loggedInUserRoleMap),T=Cn(t?.loggedInUserRoleMap),f=vn(t?.loggedInUserRoleMap),D=kn(t?.loggedInUserRoleMap),P=En(t?.loggedInUserRoleMap),A=Bn(t?.loggedInUserRoleMap),F=pe(t?.loggedInUserRoleMap),{tenantEmailDomain:u}=Y(),N=W(),G=n===!0&&(R||F&&d);return s.jsxs(pt,{children:[N.pathname.includes("/reimbursements")?s.jsxs(s.Fragment,{children:[s.jsx(B,{path:"verification",element:s.jsx(ke,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:S,isReimbursementAdminLevelAccess:j,isZeniAccountAdminLevelAccess:k,isChargeCardAdminLevelAccess:y,isUserHasOnlyCardAccess:T,productType:"reimbursement",type:"verification"})}),s.jsx(B,{path:"setup",element:s.jsx(ke,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:S,isReimbursementAdminLevelAccess:j,isZeniAccountAdminLevelAccess:k,isChargeCardAdminLevelAccess:y,isUserHasOnlyCardAccess:T,productType:"reimbursement",type:"setup"})}),s.jsx(B,{path:"promo",element:s.jsx(ma,{})}),s.jsx(B,{path:"approval-rules/*",element:j?s.jsx(On,{}):s.jsx(zn,{isUserHasZeniAccountsAccess:f,isUserHasChargeCardAccess:P,isUserHasBillPayAccess:A,isUserHasReimbursementAccess:F,isUserHasTreasuryAccess:D,isTenantBankingOnly:i,tenantEmailDomain:u??""})}),G&&s.jsx(B,{path:"*",element:s.jsx(sa,{})}),(i===!0||l===!0)&&s.jsx(B,{path:"/*",element:s.jsx(qe,{})}),t!=null&&Oe(e,t?.loggedInUserRoleMap)&&s.jsx(B,{path:"*",element:s.jsx($,{to:"../promo"})}),c&&R&&s.jsx(B,{path:"*",element:s.jsx($,{to:"../setup"})})]}):N.pathname.includes("/reimbursement")?s.jsxs(s.Fragment,{children:[s.jsx(B,{path:"new",element:s.jsx(Ee,{})}),s.jsx(B,{path:":reimbursementId",element:s.jsx(Xn,{})}),s.jsx(B,{path:":reimbursementId/edit",element:s.jsx(Ee,{})}),s.jsx(B,{path:"*",element:s.jsx(oe,{})})]}):s.jsx(B,{path:"*",element:s.jsx(be,{fetchState:"In-Progress",style:{backgroundColor:r.colors.grey5,boxShadow:`0px 2px ${U.sp1} ${r.colors.dropShadowNormal}`}})}),s.jsx(B,{path:"*",element:s.jsx(oe,{})})]})}export{_a as default};
@@ -1 +0,0 @@
1
- import{j as t}from"./liveblocks-DZsElvdD.js";import i from"./NotFoundScreen-DHf1NG7A.js";import{T as r}from"./TransactionDetailScreen-i-Dd7tmX.js";import"./sentry--Yuj1Jyq.js";import{n as d,o as e}from"./core-CrySabaB.js";import"./zeni-epic-state-B2i4I3MD.js";import"./recharts-BHXPSy2L.js";import"./index-CcFsRa7B.js";import"./mui-CZEnMS79.js";import"./analytics-DYCAui-I.js";import"./plaid-B6RZTGXN.js";import"./dnd-CV1KjQXU.js";import"./stripe-DMRn4zHo.js";import"./lottie-_mjnLDz5.js";import"./lexical-Be88TDK-.js";import"./pdf-EBByNZKe.js";import"./utils-CzY-S_Ct.js";import"./useAskAiCfoHostNavButtonProps-CpK46S_s.js";import"./useFetchSuggestedQuestionsWhenReady-DpNVr89y.js";import"./decodeURIComponentSafe-C37138jw.js";import"./routePaths-D6EDB2Yc.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};