@zeniai/web-app-ui 4.14.28-qa → 4.14.29-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 (494) hide show
  1. package/dist/assets/{ACHDetailsPage-URcYg-_E-Cgyaw_bU.js → ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-VILPvNCr-Cwwj6J5d.js → AIPerformancePage-BCxF5hNI-DwsSzcsx.js} +15 -15
  3. package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-g_X840C3-qxu9MQ5W.js → AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-DDNvWMEQ-C_ICPJ-z.js → AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js} +8 -8
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CydLoK6D-CMDZeEvJ.js → AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js} +17 -17
  7. package/dist/assets/AccountRow-G9Hw9KCo-CT1w9ZhF.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-D8mOW1Wp-BglIlica.js → AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js} +17 -17
  9. package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BMCgd2A5-jP1yYMeJ.js → AddToWalletPage-BLdfTvYw-1DCwK82d.js} +15 -15
  11. package/dist/assets/AddressRoutes-BQkJFfvp.js +1 -0
  12. package/dist/assets/AddressScreen-Dl895CZ9.js +9 -0
  13. package/dist/assets/{AgingReportsPage-BL_aBNzL-BMEhVDXZ.js → AgingReportsPage-C6aasTzQ-C63SyJmI.js} +7 -7
  14. package/dist/assets/AiCfoScreen-IdwAAJXG.js +11 -0
  15. package/dist/assets/{AllUserItems-b0wgd0Wz-CZ891kMU.js → AllUserItems-CjeF5SWi-CeRsiH4z.js} +13 -13
  16. package/dist/assets/{ApAgingDetailPage-CD2EkZkg-CoiRS4ai.js → ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js} +4 -4
  17. package/dist/assets/AppBasePage-MKRsDpmx-DMLcxkrr.js +71 -0
  18. package/dist/assets/AppDrawerContent-DN2hf6ff-5NhbUBos.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js +47 -0
  20. package/dist/assets/ArAgingChart-DSx_E9ZM-RnIrRkZm.js +24 -0
  21. package/dist/assets/ArAgingDetailPage-C8h1id5v-HwBRgj9f.js +46 -0
  22. package/dist/assets/{AttachmentView-ENg9Osic-CFLP9uHu.js → AttachmentView-CqKnI6Xt-AOGCu7iZ.js} +7 -7
  23. package/dist/assets/BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js +38 -0
  24. package/dist/assets/{BankAccountSection-oL-aN0I_-tuaETO0_.js → BankAccountSection-Dhp7GLZA-FNVqovjK.js} +5 -5
  25. package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +51 -0
  26. package/dist/assets/{BankConnectionsSettingsPage-B848OGHq-DAs4lJR2.js → BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js} +21 -21
  27. package/dist/assets/BillDetailPage-BWBGE0pg-CYoOWtCP.js +266 -0
  28. package/dist/assets/{BillPayApprovalRoutes-BHVZ8537.js → BillPayApprovalRoutes-BvnC9SqN.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-DtAj6RxA-C9r_i-YB.js → BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-DLHvMgeY-C_BMrvHA.js → BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js} +12 -12
  31. package/dist/assets/{BillPayPromoPage-DQJAZi1a-BdT-embc.js → BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-CTbVCMt9.js → BillPayRoutes-DqZf2rOO.js} +13 -13
  33. package/dist/assets/BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js +42 -0
  34. package/dist/assets/{BillingSettingsPage-Cfe4Vmza-13uWqRc_.js → BillingSettingsPage-AjSQYumd-GqgYiFI4.js} +10 -10
  35. package/dist/assets/{BillsBulkReviewDrawerPage-7y9q0HF_-ClMItAU3.js → BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js} +1 -1
  36. package/dist/assets/{BoxItem-CTEOx6Nh-BFlNqqzJ.js → BoxItem-BWNurtfc-J9WJ61G4.js} +3 -3
  37. package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +138 -0
  38. package/dist/assets/BusinessVerificationPageScreen-CJ17INUy.js +9 -0
  39. package/dist/assets/BusyIndication-H_iNZOWd-BNmJKxof.js +9 -0
  40. package/dist/assets/{CardNumberSubText-DijJqFXC-CsY-4Pix.js → CardNumberSubText-BAWc12F9-CekGLfjU.js} +5 -5
  41. package/dist/assets/{CashbackDetailPage-BxIWU0z2-SGhDWItl.js → CashbackDetailPage-BhCHvGxj-nllESilf.js} +21 -21
  42. package/dist/assets/{ChargeCardDetailPage-ClyQPqJf-DiYand-n.js → ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js} +64 -64
  43. package/dist/assets/{ChargeCardListPage-CYhY6c52-By-D4GaU.js → ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js} +21 -21
  44. package/dist/assets/ChargeCardListTable-DiJUp9-c-hw3gHlrw.js +711 -0
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-wt6arCEL-mnUI1wBw.js → ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js} +11 -11
  46. package/dist/assets/ChargeCardPromoPage-CiZDV925-B7JK6cJL.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CnifKuME.js → ChargeCardRoutes-BumOjc7r.js} +12 -12
  48. package/dist/assets/{ChargeCardSetupPage-C59WR7nm-B7_BDfgy.js → ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js} +3 -3
  49. package/dist/assets/{ChargeCardStatementsPage-DF5rt4B5-BSFQBDIJ.js → ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js} +3 -3
  50. package/dist/assets/CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js +206 -0
  51. package/dist/assets/CollapsableReportTable-BhbPzkAB-C83Y_pXv.js +2972 -0
  52. package/dist/assets/{CompanyOfficerDetailsSection-BNSHkrC4-BohcManJ.js → CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js} +34 -34
  53. package/dist/assets/CompanyPassportCard-DImW2Dm8-pP6x_qCR.js +42 -0
  54. package/dist/assets/{CompanyPassportPage-DqhT6YL_-9fmBJGak.js → CompanyPassportPage-DT2W9QE1-DJLwOOR3.js} +18 -18
  55. package/dist/assets/{CompanyPassportScreen-CRe5P-th.js → CompanyPassportScreen-Ckk3Aa0n.js} +1 -1
  56. package/dist/assets/{CompleteProfile-DdA-FkwG-BiHuwAkX.js → CompleteProfile-BOabRQRQ-Cdf3T9vg.js} +1 -1
  57. package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +1 -0
  58. package/dist/assets/ConnectionAuthScreen-CJIuvxwT.js +11 -0
  59. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-KpARPyfe.js → ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CODInbfe-DiFVD6Qj.js → CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js} +21 -21
  61. package/dist/assets/{CreditCardPaymentDrawerPage-DZNUIDa0-Bhxy7Srv.js → CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js} +21 -21
  62. package/dist/assets/CurrencySelectField-BsuzTGXR-DG4V_Nis.js +139 -0
  63. package/dist/assets/{CustomerOnboardingActivationPage-CBlyvq0r-DsKfu_6g.js → CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js} +5 -5
  64. package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-D-qu4kro.js → CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js} +9 -9
  67. package/dist/assets/CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js +66 -0
  68. package/dist/assets/{CustomerOnboardingPage-BJGDpI-d-z5jUKu6P.js → CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-DmgQGvpp-MaxHOFlf.js → CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js} +6 -6
  70. package/dist/assets/CustomerOnboardingRoutes-GPk7JXLd.js +23 -0
  71. package/dist/assets/{Dashboard-Cvmg-DzK-B4C3yfRb.js → Dashboard-DdAePVSx-CyfCOyra.js} +26 -26
  72. package/dist/assets/{DashboardReportPage-C7bT-gmW-CnABTNc-.js → DashboardReportPage-ccn0JYfk-DfPZgIh7.js} +40 -40
  73. package/dist/assets/DashboardRoutes-DbCVxvoA.js +21 -0
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CcTStx9W-PqRgrLcG.js → DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-Cnbh-hLO.js → DefaultTenantHome-DnjlKX8o.js} +1 -1
  76. package/dist/assets/DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js +76 -0
  77. package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +66 -0
  78. package/dist/assets/DomesticWireDetailScreen-CMHXbUdU.js +18 -0
  79. package/dist/assets/DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js +21 -0
  80. package/dist/assets/DownloadOverlay-BiIbEvq6-DkggD5hU.js +439 -0
  81. package/dist/assets/{DrawerPage-DGuh6P-6-vbiOWCGQ.js → DrawerPage-4aE01eRo-CbGkLlgW.js} +14 -14
  82. package/dist/assets/DrawerScreen-Bqlol_ka.js +1 -0
  83. package/dist/assets/EditPeoplePage-BWjOJqch-DMjcjWgK.js +55 -0
  84. package/dist/assets/EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js +865 -0
  85. package/dist/assets/{EntityDetailPage-BbeHCNGS-D-w0bQjx.js → EntityDetailPage-DseDMalq-D030AWbJ.js} +1 -1
  86. package/dist/assets/EntityDetailRoutes-DKPg6KvF.js +1 -0
  87. package/dist/assets/{EntitySummarySection-BgjWn9vX-LOppYcen.js → EntitySummarySection-D1o-WKT9-B4D8PhFo.js} +26 -26
  88. package/dist/assets/{ExpenseAutomationOverviewPage-V2cvYWxH-DgccKeRs.js → ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js} +52 -52
  89. package/dist/assets/ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js +3614 -0
  90. package/dist/assets/ExpenseAutomationRoutes-CFAuM0iq.js +20 -0
  91. package/dist/assets/{ExpressPayPage-5VdASApP-Bbb90acR.js → ExpressPayPage-BKpxo5VW-BeZ2tWeR.js} +14 -14
  92. package/dist/assets/{FeaturePreviewPage-CA_fxOHn-lBAw00-n.js → FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js} +2 -2
  93. package/dist/assets/FeaturePreviewScreen-Ctx49exK.js +1 -0
  94. package/dist/assets/{FollowStepsSection-CTSjTKjT-CfO_mWmk.js → FollowStepsSection-CJzIGe2N-q0pn7uac.js} +11 -11
  95. package/dist/assets/GlobalReviewListPage-B4qWm75N-BekP71Yj.js +291 -0
  96. package/dist/assets/{InformationCardStack-D_Z7Ebe0-CdzcV8l3.js → InformationCardStack-BXWxFJnm-DZneOpmz.js} +3 -3
  97. package/dist/assets/InsightsCardStack-iUppdWya-IGcayZ6m.js +79 -0
  98. package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-4OV7HFwe-BkdxTWi0.js → IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js} +5 -5
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-B1nvNamF-D8dvELa5.js → InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js} +19 -19
  101. package/dist/assets/InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js +65 -0
  102. package/dist/assets/{InviteFormPage-C5mS-6c8-B0IN7EaK.js → InviteFormPage-BC1PH63r-DAB3gVVK.js} +7 -7
  103. package/dist/assets/{InvitePageListView-Yj83_lDA-CRdOQu_U.js → InvitePageListView-BJDfCvno-Sk3rc3V-.js} +65 -65
  104. package/dist/assets/InvitePeoplePage-Bl-WUfXO-DagADS45.js +12 -0
  105. package/dist/assets/InvoiceUploadSection-BgVvYytR-DjoTneQr.js +140 -0
  106. package/dist/assets/{IssueChargeCardPage-BIOTVOMR-v1cJqLjo.js → IssueChargeCardPage-0JEZpfCu-DLK0riSj.js} +29 -29
  107. package/dist/assets/{LabeledAddressValue-Bb1x9jR--BEbVa18t.js → LabeledAddressValue-BCsadhSu-lscFDQOa.js} +2 -2
  108. package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +45 -0
  109. package/dist/assets/LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js +16 -0
  110. package/dist/assets/{LabeledCountryMultiSelectField-LeubJT8b-COwPVYGE.js → LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js} +4 -4
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CzrPLo-T-Cy0xU_nR.js → LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js} +7 -7
  112. package/dist/assets/LabeledDocumentField-DxUq-7nr-DAyGmAsR.js +41 -0
  113. package/dist/assets/LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js +59 -0
  114. package/dist/assets/{LabeledEmailInputField-BOEHGgHy-BnfP78Li.js → LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js} +11 -11
  115. package/dist/assets/{LabeledNameField-DWKoivcI-CNclT5Xy.js → LabeledNameField-364jsrFK-CaN5hIDf.js} +5 -5
  116. package/dist/assets/{LabeledSingleSelectField-BkGsnV9P-DEP7xmaE.js → LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js} +3 -3
  117. package/dist/assets/LabeledText-uFTi1qOo-Dh31QRqg.js +42 -0
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-BHV3CQzI.js → LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js} +15 -15
  119. package/dist/assets/{LabeledZeniRolesDropDownField-C3LoYUh_-C0QgGm5O.js → LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js} +20 -20
  120. package/dist/assets/{LinkJETransactionPage-BbpybbwD-C4x4kUF5.js → LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js} +12 -12
  121. package/dist/assets/{LockCardPage-C0XjGES8-COA53Q9C.js → LockCardPage-DN2dvQA9-ptj6YCPt.js} +34 -34
  122. package/dist/assets/{LowBalancePopup-CkO97HGX-roXJtnln.js → LowBalancePopup-CXTWwEyb-DHi-7FjF.js} +6 -6
  123. package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-BGp-m3tE.js → MagicLinkRoutes-0gOcNpgv.js} +10 -10
  127. package/dist/assets/MagicLinkSignInScreen-hqZFIhM7.js +12 -0
  128. package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +31 -0
  129. package/dist/assets/{MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.js → MagicLinkTitleSection-BnzImXCX-DsNqMADc.js} +9 -9
  130. package/dist/assets/MailingDetailsSection-aNMVpaF0-Mi3ceriD.js +21 -0
  131. package/dist/assets/MobileAppDrawer-CXepfp6e.js +1 -0
  132. package/dist/assets/{MoreMenuButton-BWNCapgP-DzMadVuo.js → MoreMenuButton-C_jqM-Ix-D5fFt93A.js} +23 -23
  133. package/dist/assets/{MyBankConnectionsSettingsPage-C6p5J_f5-BgARv7Gs.js → MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js} +7 -7
  134. package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +6 -0
  135. package/dist/assets/{MyProfileSettingsPage-Ctkx_sAQ-TcUoiri6.js → MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js} +6 -6
  136. package/dist/assets/NavBarWithPicker-BYosIzfk-CHzZbup1.js +30 -0
  137. package/dist/assets/{NavigationArrow-CUPvxfZv-s1L-Z7hs.js → NavigationArrow-CMLkPq47-BPg7he64.js} +7 -7
  138. package/dist/assets/NavigationDots-maxhYltq-IyF42HyI.js +15 -0
  139. package/dist/assets/{NewGlobalMerchantPage-g9JuX6MR-BZjrX0Tw.js → NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js} +4 -4
  140. package/dist/assets/NoDataChart-CKqR_T30-DZpYrIq4.js +26 -0
  141. package/dist/assets/{NoDataTable-D1v085Vv-WRE6ppwn.js → NoDataTable-BQLSA76V-CA1kwcWh.js} +1 -1
  142. package/dist/assets/{NotFoundPage-Bf-EPtU9-Dix88l92.js → NotFoundPage-rtS33FV3-CW80Ae7U.js} +4 -4
  143. package/dist/assets/NotFoundScreen-86VjMapP.js +1 -0
  144. package/dist/assets/NotificationRoutes-WpVyAd3n.js +1 -0
  145. package/dist/assets/{NotificationSettingsPage-Zv4-2vEl-DMc4wF7J.js → NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js} +15 -15
  146. package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +1 -0
  147. package/dist/assets/NotificationsPage-9vgLoVxJ-CqhoB5mC.js +685 -0
  148. package/dist/assets/OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js +100 -0
  149. package/dist/assets/{OverlayContainerPage-D4QU0p4o-DuZLyKjH.js → OverlayContainerPage-BG9y5C0t-o9B6MYdd.js} +1 -1
  150. package/dist/assets/PandLWithForecastPage-D-V3dD71-2GY3G9_S.js +123 -0
  151. package/dist/assets/PandLWithForecastRoutes-NKWly9at.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CqavirRU-DY_xWf64.js → PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js} +9 -9
  153. package/dist/assets/PeoplePage-B9bxxtaC-BUc8a2C6.js +772 -0
  154. package/dist/assets/PeopleRoutes-LIAWa-ry.js +22 -0
  155. package/dist/assets/PerformanceRoutes-647LNvtJ.js +1 -0
  156. package/dist/assets/{Preview-f_rz4qOg.js → Preview-C63MOKlS.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-Dx8bStwI-5WXVKcMh.js → ProductsCarousel-BnezAuLA-CWNs-1wI.js} +8 -8
  158. package/dist/assets/{PromoBaseCards-Bauxzwzt-CEuKIUTF.js → PromoBaseCards-B5vRjrOp-DZnXvun2.js} +3 -3
  159. package/dist/assets/{QBOConnectionDialog-COlHLDTh-CZNls81U.js → QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js} +4 -4
  160. package/dist/assets/{QBOConnectionScreen-DHVNs-vu.js → QBOConnectionScreen-DPXluGT3.js} +4 -22
  161. package/dist/assets/{QBOSetupSection-Cb4AlHU9-BwUUouj5.js → QBOSetupSection-Co4tc3sO-UEf5y5yj.js} +14 -14
  162. package/dist/assets/ReferralListScreen-C9t9-uma.js +5 -0
  163. package/dist/assets/ReimbursementApprovalRoutes-DBPigEkQ.js +1 -0
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cb4wyiiA-OE1Rk5kC.js → ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js} +6 -6
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C0xqudkd.js → ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BEid42KU-DOok7S1u.js → ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js} +3 -3
  167. package/dist/assets/ReimbursementDetailPage-oD88KyGk-Z26luXjw.js +314 -0
  168. package/dist/assets/{ReimbursementPromoPage-fvIAhNdR-BvbfNbzp.js → ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js} +11 -11
  169. package/dist/assets/ReimbursementRoutes-DP3Zyw9z.js +13 -0
  170. package/dist/assets/{ReimbursementSetUpPage-CBKANstD-DthsR-eI.js → ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js} +5 -5
  171. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js +1 -0
  172. package/dist/assets/ReloadCard-DcyZqZO5-CwUMwJXU.js +26 -0
  173. package/dist/assets/ReportTableViewSelector-Be_385i6-D1d1hisQ.js +151 -0
  174. package/dist/assets/ReportsPage-Dp_uEJ2H-DsQqyldd.js +258 -0
  175. package/dist/assets/ReportsRoutes-CQDTEzwi.js +1 -0
  176. package/dist/assets/{RevenueChart-BHrj8Dy9-DkPntOZK.js → RevenueChart-B-iMe_PD-Bi6Ok69j.js} +12 -12
  177. package/dist/assets/ReviewDetailsPage--0ZUpEVp-CQmlT2je.js +290 -0
  178. package/dist/assets/{ReviewOverlay-Be_F1hd--DTVVFQpK.js → ReviewOverlay-D_JI48L0-CyNlOwFh.js} +8 -8
  179. package/dist/assets/RewardsRoutes-BiuOGirU.js +1 -0
  180. package/dist/assets/RoleWithToolTip-Bqdsc31P-CNmkPW05.js +22 -0
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-h1Ewtn5T-BwfadKPa.js → ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js} +8 -8
  182. package/dist/assets/{ScheduleDetailsPage-Cr-KaH2D-BVZeWx8N.js → ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js} +3 -3
  183. package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +324 -0
  184. package/dist/assets/ScreenRoutes-IYIFGbR5.js +2 -0
  185. package/dist/assets/{SetUpAccountSection-ULABF-Md-6cmPJvyE.js → SetUpAccountSection-Bk3RGJCY-2x7H96z3.js} +32 -32
  186. package/dist/assets/{SettingsRoutes-_v8Kd5Pc.js → SettingsRoutes-CEWrZV9M.js} +7 -7
  187. package/dist/assets/{SetupPagesScreen-DwKZajDO.js → SetupPagesScreen-BFZeWYvZ.js} +6 -6
  188. package/dist/assets/SignIn-DbvYG8OW-DIGSru0r.js +491 -0
  189. package/dist/assets/SignInScreen-B27QEE_5.js +1 -0
  190. package/dist/assets/SignOutScreen-DfH6txYx.js +9 -0
  191. package/dist/assets/SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js +134 -0
  192. package/dist/assets/SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js +754 -0
  193. package/dist/assets/SpendManagementSection-CZ_i360S-BWGL8ndc.js +375 -0
  194. package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +31 -0
  195. package/dist/assets/StatementsPage-BMFYpAPA-D3BvQu9P.js +58 -0
  196. package/dist/assets/{StatusSwitcher-CgzMvf5t-BwsAKxQf.js → StatusSwitcher-CDnarHSf-meshGWkH.js} +6 -6
  197. package/dist/assets/{SubTabSwitcher-gc5g6vV0-Cc389X5o.js → SubTabSwitcher-DhIXVTVI-Dm-A1aML.js} +9 -9
  198. package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +13 -0
  199. package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +1 -0
  200. package/dist/assets/{TaskDetailPage-Brq3l5Lm-CTeGSq5Z.js → TaskDetailPage-rWt-QUEv-DH6XgxNN.js} +45 -45
  201. package/dist/assets/TaskListScreen-CWIPHTTl.js +9 -0
  202. package/dist/assets/TaskManagementPage-D3YvKWVJ-DM0xoyo4.js +1067 -0
  203. package/dist/assets/TaskRoutes-CgARLANx.js +9 -0
  204. package/dist/assets/TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js +64 -0
  205. package/dist/assets/TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js +31 -0
  206. package/dist/assets/TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js +53 -0
  207. package/dist/assets/{TopExCard-CRxFMC50-DMFErWO2.js → TopExCard-ByF-svYM-Ctw9EYS9.js} +6 -6
  208. package/dist/assets/{TopExDetailPage-D7dCJGpQ-CMGX79Ma.js → TopExDetailPage-ABVezwCx-DzhDJZA8.js} +16 -16
  209. package/dist/assets/{TransactionActivityLogPage-ByyxovGE-srnxYFyd.js → TransactionActivityLogPage-B8ytNODX-DVytAoU9.js} +9 -9
  210. package/dist/assets/TransactionDetailPage-CunkyIXB-CNc17TsU.js +903 -0
  211. package/dist/assets/TransactionDetailRoutes-CK-34SUt.js +1 -0
  212. package/dist/assets/{TransactionDetailScreen-Cf5V0oOT.js → TransactionDetailScreen-DDeYMLmN.js} +2 -2
  213. package/dist/assets/TransactionList-CEPVnfZD-ClBHZqTs.js +153 -0
  214. package/dist/assets/{TransactionListBig-BOKPby7d-DtBWL-yV.js → TransactionListBig-BYFv0irc-pAbEVbC_.js} +24 -24
  215. package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-FXzof8yS.js → TransactionListRoutes-DCJ5Lweu.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-BK4zpJ1F-CDApXn9_.js → TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js} +4 -4
  218. package/dist/assets/{TransferDrawerPage-B5ofYt0y-DEB7bAJ_.js → TransferDrawerPage-gDUiIE-g-Bvvjaklx.js} +25 -25
  219. package/dist/assets/TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js +725 -0
  220. package/dist/assets/{TreasuryPromoPage-ofZQDboF-9WAzeWsO.js → TreasuryPromoPage-oERSujnm-ClN1OTf6.js} +24 -24
  221. package/dist/assets/TreasuryRoutes-BjolvDGd.js +45 -0
  222. package/dist/assets/TreasuryStatementsPage-GWCCDPvf-_h3417p3.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-4aV14kQe-iwLPWGPo.js → TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js} +4 -4
  224. package/dist/assets/TrendChart-B2oLQN05-BkrG4BVH.js +16 -0
  225. package/dist/assets/TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js +116 -0
  226. package/dist/assets/{UncategorizedAccountsMappingPage-mYSXtdgK-O1FdgaEf.js → UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js} +5 -5
  227. package/dist/assets/{UnitIntegrationPage-C44UiDRH-BgZ2EdVh.js → UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js} +4 -4
  228. package/dist/assets/UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js +38 -0
  229. package/dist/assets/Vendor2FAPopup-DwTNfggI-QO3FNLHc.js +1 -0
  230. package/dist/assets/{VendorACHDetailsPage-CxlQSWGZ-Dbr0vyn-.js → VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js} +1 -1
  231. package/dist/assets/VendorDetailPage-k42A_Pv1-C-eMTgO6.js +257 -0
  232. package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-DIyS2YV_-BTWZ-u7c.js → VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js} +16 -16
  234. package/dist/assets/VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js +730 -0
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DOYmaAmB-DTnVoiG2.js → VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js} +11 -11
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-D6DinIAj-D7Ln9yoe.js → VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js} +2 -2
  238. package/dist/assets/{VendorsRoutes-DoHaVaFK.js → VendorsRoutes-Dh458IQK.js} +21 -21
  239. package/dist/assets/VerifyDevice-VPfuXUzH-AU1zuQlS.js +112 -0
  240. package/dist/assets/{VideoPlayer-BuOlZW0M-SyXdcn2w.js → VideoPlayer-2MQyZqi6-DqklpbYT.js} +1 -1
  241. package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +31 -0
  242. package/dist/assets/WiseConfirmationScreen-Bat277PD.js +12 -0
  243. package/dist/assets/ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js +300 -0
  244. package/dist/assets/ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js +443 -0
  245. package/dist/assets/ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-iELT-FzW-DKlKFYZl.js → ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js} +22 -22
  247. package/dist/assets/ZeniAccountRoutes-CAAxW9JY.js +58 -0
  248. package/dist/assets/{ZeniAccountSetupPage-feqonZIV-CVuTGOWG.js → ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js} +4 -4
  249. package/dist/assets/ZeniAccountStatementScreen-BaoiJX5h.js +9 -0
  250. package/dist/assets/{ZeniAvatar-CHmpyZc4-CgFMIt8E.js → ZeniAvatar-C2LxBTZ4-YOmVMm4j.js} +3 -3
  251. package/dist/assets/{ZeniCopyright-Cy7xQhak-XXB-MVSK.js → ZeniCopyright-BTIaEGE9-Di2RxJTA.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker--Wk1Y9-b-ILzjIY8q.js → ZeniDatePicker-9JxwH7J5-CcV9D7gC.js} +5 -5
  253. package/dist/assets/ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js +63 -0
  254. package/dist/assets/{accountMappingHelper-B_bqtQmE.js → accountMappingHelper-CZHlLVR_.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BJTVCmjO.js → add-to-wallet-DgdBD8_G-BgQLRlhS.js} +1 -1
  256. package/dist/assets/{analytics-BwviiuqB.js → analytics-CDQ7tGpV.js} +1 -1
  257. package/dist/assets/{analyticsHelper-MsboCQcB-BLnXrwhy.js → analyticsHelper-CYp9h-KW-6KJErEZC.js} +1 -1
  258. package/dist/assets/{analyticsHelper-cKb29Ct6.js → analyticsHelper-jTnRtCKB.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-BLBs8ugU.js → arrow-south-east-round-PEovUgvH-CvfiHTRY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BZd_9SiP.js → auto-transfer-rule-mbafm5D3-8rMpx5do.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-BFq-rVXj.js → avatar-Dz7aEm3d-BdKWS97a.js} +1 -1
  262. package/dist/assets/bank-letter-BOcVjN6J-ydWr7ZOI.js +1 -0
  263. package/dist/assets/{calculateSize-DtEgyuiA-BxRureQo.js → calculateSize-DecSvt-d-CIfCbqel.js} +1 -1
  264. package/dist/assets/{chartTypes-BZL6U2-d-6ZTLkQO6.js → chartTypes-D2s_Hwo9-BbhqSw8p.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-D86aDGgx.js → clock-CJkylEKt-CjcyjUt4.js} +1 -1
  266. package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +1 -0
  267. package/dist/assets/commonDimensions-u85vL09f-D9VH5FSj.js +1 -0
  268. package/dist/assets/{commonTypes-lunwFIdl-DX_CuL_U.js → commonTypes-DKKiPW4t-BlYaUk1n.js} +1 -1
  269. package/dist/assets/{core-tQbf9q8c.js → core-B0nKoasK.js} +3 -38
  270. package/dist/assets/{dash.all.min-BrwO-Juz.js → dash.all.min-CXMi5GlA.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-DvIz9TKf.js → decodeURIComponentSafe-CHDtTf3Z.js} +1 -1
  272. package/dist/assets/{dnd-C4z4yHh0.js → dnd-NNN-4w0O.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-DZNtiKOk.js → dollar-round-D18u7nlm-CQw1tD8J.js} +1 -1
  274. package/dist/assets/downloadPdf-CnXPMbwm-BjEW_jtg.js +1 -0
  275. package/dist/assets/empty-CVZTZ-q9.js +1 -0
  276. package/dist/assets/{empty-D8sw2kbY.js → empty-DA-JSLu3.js} +1 -1
  277. package/dist/assets/epic-D0yDPv8O.js +2 -0
  278. package/dist/assets/{filter-cZIFUNvj-CE5zJJJ0.js → filter-cZIFUNvj-DAakc3sS.js} +1 -1
  279. package/dist/assets/getLocaleForTenant-DGG0tVFT.js +1 -0
  280. package/dist/assets/{gift-box-Cmt9OgIZ-DP-9tFF0.js → gift-box-Cmt9OgIZ-C6pLHK0s.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-OTAmLtfp.js → graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C1xtOjga.js → graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-BLfSpPLa.js → handshake-BPg58FML-C47iPdmd.js} +1 -1
  284. package/dist/assets/{helper-2Z01-P8G-4I-xsv8A.js → helper-C7sZs2qJ-DE63clA9.js} +2 -2
  285. package/dist/assets/{hyperlink-DQyCeXx2-B5DTBQjH.js → hyperlink-DQyCeXx2-BOSMM7uX.js} +1 -1
  286. package/dist/assets/{empty-OIMWR8Ju.js → index-BIjZljJR.js} +1 -1
  287. package/dist/assets/{index-BVjkKCLf.js → index-ByxsQZNo.js} +4237 -4301
  288. package/dist/assets/{index-14QtSMKx.js → index-CEBFS-eA.js} +1 -1
  289. package/dist/assets/{index-7BmdvSTY.js → index-CQJQXzZY.js} +1 -1
  290. package/dist/assets/{index-C4KA_rsP.js → index-DrsMeyfs.js} +2 -8
  291. package/dist/assets/index-zhMcpxMF.js +1 -0
  292. package/dist/assets/{lexical-Cxv_EhfG.js → lexical-Fl-AogKa.js} +1 -1
  293. package/dist/assets/{liveblocks-ClmZMiZG.js → liveblocks-DskTqGyX.js} +3 -8
  294. package/dist/assets/{lottie-C1jDoN6L.js → lottie-BzV8yd9z.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--0eoufeA-D7gRkuwi.js → mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js +1 -0
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js +1 -0
  301. package/dist/assets/{media-player-CixAJJd1.js → media-player-eLGyvMHZ.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-Bg567PNs.js → money-2cg1MuG4-rv31fLm6.js} +1 -1
  303. package/dist/assets/{mui-Bjwhey0L.js → mui-40xepic5.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BjxkU9bj.js → page-detail-CWX5S47F-BrbO3gtI.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-B63O8toS.js → page-summary-D7_VQHwN-bNTaLAow.js} +1 -1
  306. package/dist/assets/panelSelectedMixin-Cddsb26L-DgahycaC.js +3 -0
  307. package/dist/assets/{pathToGoBack-C0-y9K8A.js → pathToGoBack-D0UTUGlT.js} +1 -1
  308. package/dist/assets/{pdf-DJ-oF9-h.js → pdf-A8jRKyoC.js} +3 -3
  309. package/dist/assets/{pdf-lib-CRmnAdOL.js → pdf-lib-mQnebn-k.js} +1 -1
  310. package/dist/assets/{plaid-CFQSLZ5I.js → plaid-cfgjTkr8.js} +1 -1
  311. package/dist/assets/{pusher-BBjghr5u.js → pusher-1O2fsDZq.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-D0C1Nxwy.js → radio-default-CiSgisfh-Cy5-Jl8l.js} +1 -1
  313. package/dist/assets/{react-2Ejhu-dV.js → react-BEcUyG01.js} +2 -12
  314. package/dist/assets/{react-By0Yo34B.js → react-BEctO-ia.js} +2 -12
  315. package/dist/assets/{react-BXiKrbq0.js → react-C6o6ScF5.js} +2 -12
  316. package/dist/assets/react-CQm7lU_-.js +19 -0
  317. package/dist/assets/{react-BV8b3CRD.js → react-CidUU4N9.js} +2 -12
  318. package/dist/assets/{react-C5-2CZ_j.js → react-D8s_m7Vn.js} +2 -12
  319. package/dist/assets/{react-BGKYEK8M.js → react-DcRcFJEU.js} +3 -13
  320. package/dist/assets/{react-CInUMAlk.js → react-QF7HiPHo.js} +2 -12
  321. package/dist/assets/{recharts-DxWcXnAv.js → recharts-Bbdho9Pi.js} +1 -1
  322. package/dist/assets/{routePaths-nQF_3DXR.js → routePaths-CpPoI1xs.js} +1 -1
  323. package/dist/assets/{sentry-Bsfq8iFp.js → sentry-COYnhuxW.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-BK5y8PC1.js → shield-DOlUxcFf-wVomU2ew.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BMKkrJ-o.js → spend-limit-D6SyboD4-BruIkKZj.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +1 -0
  327. package/dist/assets/toChartData-DrYGpr_j-D2GR-55Z.js +1 -0
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-PFo9FUbu.js → transaction-placeholder-CpOwZAMG-C-J0dsgn.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-BAh3h0-i.js → undo-b_3XZ5CX-Chu3klyO.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-DEd9hnmz.js → unlock-BPWn2I5L-BGatCFPm.js} +1 -1
  331. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js +1 -0
  332. package/dist/assets/{uploadAttachment-DtJo5Tp4-DeK-C7ju.js → uploadAttachment-DPYv4udq-CXZc-rXm.js} +29 -29
  333. package/dist/assets/{uploadReceipts-Dge0cNF1-D7Fo4MnD.js → uploadReceipts-CIgkuVpu-Mr0MhYx1.js} +1 -1
  334. package/dist/assets/{url-BaJJd1my.js → url-C27bOf0k.js} +1 -1
  335. package/dist/assets/{url-gf9VSr2b.js → url-XCmE-JaB.js} +1 -1
  336. package/dist/assets/{useDeviceId-C7oMV5vx.js → useDeviceId-UXlBHXyB.js} +1 -1
  337. package/dist/assets/useInitialThreadRequest-BIFRjZze.js +1 -0
  338. package/dist/assets/{useLongPress-GCK2COYQ-_KCebyG-.js → useLongPress-GCK2COYQ-CqE4OIEm.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-Ce0bTbAT.js → usp-line-BBd1wKwW-vz296XX2.js} +1 -1
  340. package/dist/assets/{utils-BxRS7J8i.js → utils-DMEPgX6w.js} +7 -20
  341. package/dist/assets/withTransactionSidePanel-BDgDxNYJ.js +8 -0
  342. package/dist/assets/zeni-epic-state-DCforPdM.js +14 -0
  343. package/dist/assets/{zeni-icon-only-CYgNDWlk.js → zeni-icon-only-BkUYNged.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/dist/service-worker.js +16 -8
  346. package/package.json +4 -4
  347. package/dist/assets/AccountInfoPage-BTogpO7M-D_v0KOJI.js +0 -18
  348. package/dist/assets/AccountRow-Zjkju8uM-CGaR_v-A.js +0 -298
  349. package/dist/assets/AddAddressForCardDrawer-BvGnuIf6-e2c4M17b.js +0 -6
  350. package/dist/assets/AddressRoutes-zoF4RBjS.js +0 -1
  351. package/dist/assets/AddressScreen-BGSyJ4PZ.js +0 -9
  352. package/dist/assets/AiCfoScreen-CFoKGkjU.js +0 -11
  353. package/dist/assets/AppBasePage-BM1NMPdI-CHojPGrn.js +0 -71
  354. package/dist/assets/AppDrawerContent-XR9dBd-C-BWr9bkjA.js +0 -92
  355. package/dist/assets/ApprovalRulesSettingsPage-6unABLlP-YLoMFZPp.js +0 -47
  356. package/dist/assets/ArAgingChart-DePiNxcV-Byuo2Avb.js +0 -24
  357. package/dist/assets/ArAgingDetailPage-DiJ6PePf-_AIaQwgF.js +0 -46
  358. package/dist/assets/BankAccountWarningSection-CtRFcHTv-DFmiiX69.js +0 -51
  359. package/dist/assets/BillDetailPage-CPxVWXx6-C9i2mOHw.js +0 -266
  360. package/dist/assets/BillPaySetUpPage-BVOLWF1M-B3PsvONS.js +0 -42
  361. package/dist/assets/BusinessVerificationPage-D05hRyo1-aQRofHCL.js +0 -138
  362. package/dist/assets/BusinessVerificationPageScreen-pyooLZWt.js +0 -9
  363. package/dist/assets/BusyIndication-Nz8htndZ-DK3qiNAN.js +0 -9
  364. package/dist/assets/ChargeCardListTable-Dblodw9X-xnf7vtTY.js +0 -711
  365. package/dist/assets/ChargeCardPromoPage-AihUlwys-Do4EWC8a.js +0 -222
  366. package/dist/assets/CheckDepositDrawerPage-B9-ktuL_-Ck0uGpSM.js +0 -206
  367. package/dist/assets/CollapsableReportTable-BAz0DbFh-BcvkKcP6.js +0 -2844
  368. package/dist/assets/CompanyPassportCard-DTfKmcGv-CHazCsBK.js +0 -42
  369. package/dist/assets/ConfettiBurst-Dc0iIaw3-BJexFSkA.js +0 -1
  370. package/dist/assets/ConnectionAuthScreen-CdkXEtyU.js +0 -11
  371. package/dist/assets/CurrencySelectField-D_D8AUqS-CMSYPUvM.js +0 -139
  372. package/dist/assets/CustomerOnboardingAuthScreen-B9h5R6h7.js +0 -1
  373. package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-Djr78RES.js +0 -1
  374. package/dist/assets/CustomerOnboardingNoStepsPage-CLFh9K94-C-IOhhJS.js +0 -66
  375. package/dist/assets/CustomerOnboardingRoutes-CTvxPGQo.js +0 -23
  376. package/dist/assets/DashboardRoutes-BJYzpoZN.js +0 -21
  377. package/dist/assets/DepositAccTransactionItem-XZgomj7v-DIzmHak6.js +0 -76
  378. package/dist/assets/DepositAccTransactionListPage-B11lcuip-EcEiN_CO.js +0 -66
  379. package/dist/assets/DomesticWireDetailScreen-C2_h3QsH.js +0 -18
  380. package/dist/assets/DomesticWireDetailsPage-Cw4aq8Ar-BB4UsO3F.js +0 -21
  381. package/dist/assets/DownloadOverlay-DE63RFQe-Crn2Ieq2.js +0 -439
  382. package/dist/assets/DrawerScreen-CCgZ71G-.js +0 -1
  383. package/dist/assets/EditPeoplePage-Dmz2l8uY-BViOrN91.js +0 -55
  384. package/dist/assets/EditReimbursementDetailPage-BrQ60mqq-CiiPaBXi.js +0 -865
  385. package/dist/assets/EntityDetailRoutes-CDn_Sj24.js +0 -1
  386. package/dist/assets/ExpenseAutomationPage-BDZ6aX0q-DsIPZFRk.js +0 -2323
  387. package/dist/assets/ExpenseAutomationRoutes-DGeHwe0Y.js +0 -20
  388. package/dist/assets/FeaturePreviewScreen-mO_J_upF.js +0 -1
  389. package/dist/assets/GlobalReviewListPage-DmrnXFgW-BY6NnEtn.js +0 -291
  390. package/dist/assets/InsightsCardStack-Dbpzjgf4-RDSpnan7.js +0 -79
  391. package/dist/assets/InsightsSection-DgViiL7e-DSerJB8L.js +0 -27
  392. package/dist/assets/InternationalWireVerificationPage-HZgqUkj4-CGNhvpQ2.js +0 -65
  393. package/dist/assets/InvitePeoplePage-C7DlxHsy-BebMBIo7.js +0 -12
  394. package/dist/assets/InvoiceUploadSection-DdIQCBkC-Cl8PEl5w.js +0 -140
  395. package/dist/assets/LabeledAddressValueField-D3_DsNPu-736YXF_H.js +0 -45
  396. package/dist/assets/LabeledControlledCheckBoxField-DdHmj0q2-DW5E7xm-.js +0 -16
  397. package/dist/assets/LabeledDocumentField-CFtFroDl-CMnHYN21.js +0 -41
  398. package/dist/assets/LabeledDropDownFormattedTextField-CFsuVVp3-BZagwxlS.js +0 -59
  399. package/dist/assets/LabeledText-CZMUFsPf-CD_2e2aX.js +0 -42
  400. package/dist/assets/MagicLinkACHDetailsPage-CcaWGIEm-tnKPve8j.js +0 -1
  401. package/dist/assets/MagicLinkDomesticWireDetailsPage-6V37rCS5-FOh6a44O.js +0 -1
  402. package/dist/assets/MagicLinkInternationalWireDetailsPage-BKWBDCxr-BhDtlKOU.js +0 -1
  403. package/dist/assets/MagicLinkSignInScreen-D2ieCdvR.js +0 -12
  404. package/dist/assets/MagicLinkSuccessPage-L5UJIvTe-CWVlYB8D.js +0 -31
  405. package/dist/assets/MailingDetailsSection-CRsQVOYi-UNrx0RmS.js +0 -21
  406. package/dist/assets/MobileAppDrawer-C0MjRK8u.js +0 -1
  407. package/dist/assets/MyPendingActivationChargeCardListPage-CluWS3nS-28_T6_I6.js +0 -6
  408. package/dist/assets/NavBarWithPicker-ClP6LCUF-DkWJWEu4.js +0 -30
  409. package/dist/assets/NavigationDots-Cu9LZj7T-Dck-bGwO.js +0 -15
  410. package/dist/assets/NoDataChart-DcMRzXHU-D7_5REKF.js +0 -26
  411. package/dist/assets/NotFoundScreen-OFT7uJSm.js +0 -1
  412. package/dist/assets/NotificationRoutes-CHaXDc9a.js +0 -1
  413. package/dist/assets/NotificationsListConfig-CO5uOSs7-DsPdEX8y.js +0 -1
  414. package/dist/assets/NotificationsPage-BH6B4Q8b-boFjpwya.js +0 -685
  415. package/dist/assets/OpExByVendorPage-EjyJRLhn-CQJtKQn8.js +0 -100
  416. package/dist/assets/PandLWithForecastPage-UpDz4Qqu-amIAlSUm.js +0 -107
  417. package/dist/assets/PandLWithForecastRoutes-CnIh_V-S.js +0 -1
  418. package/dist/assets/PeoplePage-D2N1XP-O-CJwoERS5.js +0 -720
  419. package/dist/assets/PeopleRoutes-BhDCeLPU.js +0 -22
  420. package/dist/assets/PerformanceRoutes-BuAZi3MY.js +0 -1
  421. package/dist/assets/ReferralListScreen-C3cSD6GP.js +0 -5
  422. package/dist/assets/ReimbursementApprovalRoutes-BR5Pg3Il.js +0 -1
  423. package/dist/assets/ReimbursementDetailPage-CuuOsKPv-D_7TSHrP.js +0 -314
  424. package/dist/assets/ReimbursementRoutes-CqJXKBBa.js +0 -13
  425. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BXO46shT-BZFw04rn.js +0 -1
  426. package/dist/assets/ReloadCard-BKHKE8Pu-DDzNv6xf.js +0 -26
  427. package/dist/assets/ReportTableViewSelector-gYxUii1M-CddF7tJN.js +0 -150
  428. package/dist/assets/ReportsPage-D7rEPLAa-CzmUwcBX.js +0 -121
  429. package/dist/assets/ReportsRoutes-CYQKfAgF.js +0 -1
  430. package/dist/assets/ReviewDetailsPage-B9SMV_va-Dz7Rn666.js +0 -290
  431. package/dist/assets/RewardsRoutes-DCITkj5z.js +0 -1
  432. package/dist/assets/RoleWithToolTip-D9DCHaph-nKJIR_IN.js +0 -22
  433. package/dist/assets/ScheduleSequenceTable-BBbLa0gA-Btbrm5JR.js +0 -324
  434. package/dist/assets/ScreenRoutes-cViWFW2H.js +0 -2
  435. package/dist/assets/SignIn-6YH_riJW-Cbh0GUA9.js +0 -491
  436. package/dist/assets/SignInScreen-CQ0tPRGx.js +0 -1
  437. package/dist/assets/SignOutScreen-DnZtVxxQ.js +0 -9
  438. package/dist/assets/SpendManagementListViewPage-D_RrkezV-DBINRHHC.js +0 -134
  439. package/dist/assets/SpendManagementPerTabPage-BnugLA94-B0bXgpZd.js +0 -754
  440. package/dist/assets/SpendManagementSection-DCk1isQq-Ctg203qT.js +0 -375
  441. package/dist/assets/StatementItem-BWKA6BsE-j_qG9rDI.js +0 -31
  442. package/dist/assets/StatementsPage-C5KuiVH4-xnkoQRuk.js +0 -58
  443. package/dist/assets/SuccessAnimation-CcFXT4sg-BdtQuwgP.js +0 -13
  444. package/dist/assets/SummaryCard-DgPg2oPm-2d3grF3d.js +0 -1
  445. package/dist/assets/TaskListScreen-BEZfxkT_.js +0 -9
  446. package/dist/assets/TaskManagementPage-Dyy-A0ij-BjtjsR1V.js +0 -1063
  447. package/dist/assets/TaskRoutes-CmFMqx0S.js +0 -9
  448. package/dist/assets/TimeRangeSwitcher-PcHPZNOq-BoIkN8Yn.js +0 -64
  449. package/dist/assets/TimeframeSwitcher-XZjkUS_W-BbzICW0F.js +0 -31
  450. package/dist/assets/TimeframeSwitcherWithToggle-KxCdrFMS-CZUmEkN6.js +0 -31
  451. package/dist/assets/TransactionDetailPage-D0_Tjv5D-CTxa80yD.js +0 -903
  452. package/dist/assets/TransactionDetailRoutes-CJny34aF.js +0 -1
  453. package/dist/assets/TransactionList-DoYieHoy-BgtAc9_H.js +0 -153
  454. package/dist/assets/TransactionListPage-Bfx0PW2V-CJeBc1uC.js +0 -35
  455. package/dist/assets/TreasuryOverviewPage-D4LuhPMd-CuGu_xGc.js +0 -708
  456. package/dist/assets/TreasuryRoutes-DAJ1nuDy.js +0 -45
  457. package/dist/assets/TreasuryStatementsPage-D4bGPC_n-CT-z0lr5.js +0 -58
  458. package/dist/assets/TrendChart-BJLik8fK-DKQC7WiX.js +0 -16
  459. package/dist/assets/TrendWithTransactions-R1FCSydB-BqoO14_s.js +0 -116
  460. package/dist/assets/UploadAdditionalDocumentOverlay-CJmvE3y6-OjNfOtyQ.js +0 -38
  461. package/dist/assets/Vendor2FAPopup-Bt_phaZI-Dci0tpRN.js +0 -1
  462. package/dist/assets/VendorDetailPage-BixXt95H-Cvkoy_Y0.js +0 -257
  463. package/dist/assets/VendorDomesticWireDetailsPage-BmFZeCgu-BrnPFu_g.js +0 -1
  464. package/dist/assets/VendorFirstReviewPage-DZ00XYRi-DOa-NUD4.js +0 -730
  465. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BCafZBL5-a5ZNRrE7.js +0 -1
  466. package/dist/assets/VerifyDevice-DFug_o82-Cp_iN918.js +0 -112
  467. package/dist/assets/VideoPopup-B03SM83j-Bz8522QR.js +0 -31
  468. package/dist/assets/WiseConfirmationScreen-BSiQio9j.js +0 -12
  469. package/dist/assets/ZeniAccountDetailPage-BJQvxY7D-CD6_hnPE.js +0 -300
  470. package/dist/assets/ZeniAccountListViewPage-CvwGdUPT-Dfa2vteS.js +0 -441
  471. package/dist/assets/ZeniAccountNavBarPieces-OGXEdZmI-DYGQS9LW.js +0 -14
  472. package/dist/assets/ZeniAccountRoutes-XOuwsxr4.js +0 -58
  473. package/dist/assets/ZeniAccountStatementScreen-xw2x-Y_T.js +0 -9
  474. package/dist/assets/ZeniTransferAmountSlider-BGK6jY7c-BOtVC5lY.js +0 -63
  475. package/dist/assets/common-DspMM85g-D8gXTZ7G.js +0 -1
  476. package/dist/assets/commonDimensions-RZ10geET-D7qPZRI_.js +0 -1
  477. package/dist/assets/detailCommon-CxEOrtjx-DMWr3OWb.js +0 -38
  478. package/dist/assets/downloadPdf-BpxrRqLr-CgsZPCp9.js +0 -1
  479. package/dist/assets/epic-CtBuyKa-.js +0 -2
  480. package/dist/assets/getLocaleForTenant-x-_ZsHih.js +0 -1
  481. package/dist/assets/index-Ch36miPU.js +0 -1
  482. package/dist/assets/index-DztUk-4t.js +0 -1
  483. package/dist/assets/mapLoadingInProgressToTreeNode-BJRnX8Ir-CWTptJHk.js +0 -1
  484. package/dist/assets/mapSpacerToTreeNode-CQvnRjWo-DwJKT6-z.js +0 -1
  485. package/dist/assets/mapTimeframeBalancesToTreeNode-CY0Vs8kK-VBbq9rDC.js +0 -1
  486. package/dist/assets/mapTimeframeBalancesToTreeNode-Cytg0KxN-XJ0C0lAw.js +0 -1
  487. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-OlNigbrb.js +0 -1
  488. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C8dW-sTb.js +0 -4
  489. package/dist/assets/react-D1LHkJvC.js +0 -37
  490. package/dist/assets/toCOABalancesWithID-DzAIFjHl-CpHF0N9N.js +0 -1
  491. package/dist/assets/toChartData-BurvmO_S-BSey2eFY.js +0 -1
  492. package/dist/assets/useInitialThreadRequest-BFyDtASP.js +0 -1
  493. package/dist/assets/withTransactionSidePanel-D5JSDlfI.js +0 -8
  494. package/dist/assets/zeni-epic-state-CjVTQ4J3.js +0 -122
@@ -1,23 +1,23 @@
1
- import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W,e_ as B,ad as w,x as f,u as t}from"./index-BVjkKCLf.js";import{n as s}from"./mui-Bjwhey0L.js";import{D as E,V as _}from"./QBOConnectionDialog-COlHLDTh-CZNls81U.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]="e0767b45-5a19-4bd0-9f13-a6a05fd41411",e._sentryDebugIdIdentifier="sentry-dbid-e0767b45-5a19-4bd0-9f13-a6a05fd41411")}catch{}})();const d={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},G={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=k(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:O}=j;return i.jsxs(H,{windowSize:n,children:[i.jsxs(A,{windowSize:n,children:[n==="small"?i.jsx(J,{children:l?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(C,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},H=s.div`
1
+ import{e as C,O as u,V as i,a as O,o,x as a,d as c,fh as I,N as T,c as D,aT as W,f8 as B,ad as w,C as $,k as t}from"./index-ByxsQZNo.js";import{n as s}from"./mui-40xepic5.js";import{D as E,V as N}from"./QBOConnectionDialog-mVAyONiQ-BFw_Aijs.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]="6854c53a-2e71-4fc2-bcc8-dc10016ee065",e._sentryDebugIdIdentifier="sentry-dbid-6854c53a-2e71-4fc2-bcc8-dc10016ee065")}catch{}})();const l={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},_={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:f,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=C(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:k}=j;return i.jsxs(A,{windowSize:n,children:[i.jsxs(G,{windowSize:n,children:[n==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(Q,{windowSize:n,children:S})]}),i.jsxs(H,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),d?n!=="small"?i.jsx(m,{}):null:i.jsx(O,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:k})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:f,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},A=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  justify-content: center;
6
- `,A=s.div`
6
+ `,G=s.div`
7
7
  display: flex;
8
8
  align-items: center;
9
9
  padding-top: ${o.sp3};
10
10
  padding-bottom: ${o.sp3};
11
- width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
12
- `,N=s.div`
11
+ width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
12
+ `,Q=s.div`
13
13
  display: flex;
14
14
  align-items: center;
15
15
  color: ${e=>e.theme.colors.primary};
16
- ${e=>`${G.title.style(e.windowSize)}`};
17
- `,Q=s.div`
16
+ ${e=>`${_.title.style(e.windowSize)}`};
17
+ `,H=s.div`
18
18
  display: flex;
19
19
  flex-direction: column;
20
- width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
20
+ width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
21
21
  background-color: ${e=>e.theme.colors.grey5};
22
22
  border: 1px solid ${e=>e.theme.colors.grey3};
23
23
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
@@ -25,7 +25,7 @@ import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W
25
25
  fill: ${e=>e.theme.colors.grey1};
26
26
  justify-content: space-between;
27
27
  box-sizing: border-box;
28
- padding: ${e=>d.containerPadding.valuePx(e.windowSize)};
28
+ padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
29
29
  &:hover {
30
30
  border: 1px solid ${e=>e.theme.colors.primary};
31
31
  fill: ${e=>e.theme.colors.primary};
@@ -34,16 +34,16 @@ import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W
34
34
  width: 100%;
35
35
  display: flex;
36
36
  margin-top: ${o.sp4};
37
- `,g=s(f)`
37
+ `,g=s($)`
38
38
  display: flex;
39
39
  color: ${c.important};
40
40
  `,V=s.div`
41
41
  width: 100%;
42
42
  display: flex;
43
43
  justify-content: space-between;
44
- row-gap: ${e=>d.topElementsRowGap.valuePx(e.windowSize)};
44
+ row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
45
45
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
- `,q=s(f)`
46
+ `,q=s($)`
47
47
  display: flex;
48
48
  margin-top: ${o.sp2};
49
49
  color: ${e=>e.theme.colors.hero};
@@ -59,10 +59,10 @@ import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  cursor: pointer;
61
61
  `,R=s(W)`
62
- height: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
63
- width: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
62
+ height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
63
+ width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
64
64
  color: ${e=>e.theme.colors.hero};
65
- `,F=s(_)`
65
+ `,F=s(N)`
66
66
  height: ${o.sp4};
67
67
  color: ${e=>e.theme.colors.primary};
68
68
  `,J=s.div`
@@ -0,0 +1,5 @@
1
+ import{j as t}from"./pdf-A8jRKyoC.js";import{a as o}from"./sentry-COYnhuxW.js";import{u,j as O,i as H,h as V,k as W}from"./core-B0nKoasK.js";import{y as _,e as F,js as S,l0 as M,x as N,k2 as U,jQ as $,bj as z,jz as l,I as A,k9 as G,l1 as Q}from"./index-ByxsQZNo.js";import{cE as J,ct as X,Kn as I,Ko as Y,Kp as Z,qu as ee,qk as h,cG as ae,qp as re,Kq as ne}from"./zeni-epic-state-DCforPdM.js";import{D as te,e as se,n as oe,S as ie}from"./mui-40xepic5.js";import{M as le}from"./MobileAppDrawer-CXepfp6e.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]="9236b4ab-a83d-4413-82eb-736518703eff",e._sentryDebugIdIdentifier="sentry-dbid-9236b4ab-a83d-4413-82eb-736518703eff")}catch{}})();const de={overlayWidth:new N(100,100,30)},ce=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),s=F();if(S.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(d=>J(d));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:de.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:d=>d.stopPropagation(),children:t.jsx(M,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
2
+ display: flex;
3
+ min-height: 100%;
4
+ flex-direction: column;
5
+ `,R="refer-and-earn-status-update",ue=W(function(e){const a=I(e);return{inviteList:a.invitations,uiState:a.uiState,pendingBonus:a.pendingBonus,earnedBonus:a.earnedBonus,pendingReferrals:a.pendingReferrals,fetchState:a.fetchState,rewardsPlan:a.rewardsPlan}},function(e,a){const{navigate:r}=a;return{onColumnSortConfigChanged:(s,i)=>{e(ne({sortOrder:i,sortkey:s}))},onInviteClick:()=>{l.trackRewardsPageClicked("invite via email"),r("../refer")},onHowItWorksClick:()=>{l.trackRewardsPageClicked("know more"),r("../how-it-works")},onResendInviteClick:s=>{l.trackRewardsPageClicked("resend invite"),e(re(s))},onBackClick:()=>{r("../",{relative:"path"})},onReloadInvitees:()=>{e(h(!0))},onCopyReferralLink:()=>{l.trackRewardsPageClicked("copy referral link")},onClickRefer:()=>{l.trackRewardsPageClicked("refer")},onEventReceived:s=>{s===R&&e(h(!0,!0))}}})(G(Q));function be({isReferralDrawerOpen:e}){const a=O(),r=H(),s=V(),[i,p]=o.useState(!1),[d,j]=o.useState(!1),[P,x]=o.useState(!1),[m,v]=o.useState(!1),w=S.getSignedInUser(),b=u(n=>X(n)),g=u(n=>I(n)),k=g.fetchState,c=u(n=>n.referralViewState.rewardsPlanFetchState),D=()=>{v(!1),a("..")},E=Y([g,c]),B=Z([g,c]),{areTenantIdsInSync:f}=U();o.useEffect(()=>{b?.rewardsLastViewedTime==null&&P===!1&&(r(ee()),x(!0))},[]),o.useEffect(()=>{!i&&k==="Not-Started"&&f&&(p(!0),r(h(!0)))},[k,r,f]),o.useEffect(()=>{!d&&c.fetchState==="Not-Started"&&f&&(j(!0),r(ae(!0)))},[c,r,f]),o.useEffect(()=>{v(e!=null&&e===!0)},[e]);const[L,T]=o.useState(!1),y=n=>{T(n)},q={events:w?.userId!=null?[`private-${w.userId}.${R}`]:[],eventCallback:(n,C,K)=>{K.onEventReceived(n)}};return B===!0?t.jsx($,{fetchState:k}):E===!0?t.jsxs(t.Fragment,{children:[t.jsx(z,{analytics:l,onLoad:n=>(C=>{w!=null&&C.trackPageLoaded(A.Event.rewardsPageViewed)})(n)}),t.jsx(le,{isAppContentDrawerOpen:L,handleDrawerToggle:y}),m===!0?t.jsx(ce,{closeDrawerHandler:D,isReferralDrawerOpen:m}):null,t.jsx(ue,{location:s,navigate:a,currentTenant:b,onClickMenuIcon:()=>{y(!0)},...q})]}):null}export{be as R};
@@ -0,0 +1 @@
1
+ import{j as t}from"./pdf-A8jRKyoC.js";import x from"./NotFoundScreen-86VjMapP.js";import{a as p}from"./sentry-COYnhuxW.js";import{j as I,h as k,i as A,u,N as E,k as C,R as D,m as c}from"./core-B0nKoasK.js";import{ct as z,Li as g,Ly as S,za as T,yj as V,z9 as d,z0 as U,LN as _}from"./zeni-epic-state-DCforPdM.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-ByxsQZNo.js";import"./mui-40xepic5.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-iL2FRiSL.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]="9181a707-f436-459d-8ed7-46dc57454770",e._sentryDebugIdIdentifier="sentry-dbid-9181a707-f436-459d-8ed7-46dc57454770")}catch{}})();const m="reimbursement-approval-rule-update",P=C(function(e){return{approvalView:g(e),remiSetupApproverViewUpdateData:S(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(m)&&e(_(!1))},onBackClick:()=>{B(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(d(n)),a(`./${n}/edit`)):(e(d()),a("./new"))}}})(O(W)),Q=()=>{const e=I(),r=k(),a=A(),[l,n]=p.useState(!1),[f,b]=p.useState(!1),h=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>z(s)),j=L(),i=u(s=>g(s)),v=u(s=>S(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{v?.updateStatus.fetchState==="Completed"&&a(T())},[v]),p.useEffect(()=>{l||h!=="Not-Started"||(n(!0),a(V(!0)))},[l,h,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(b(!0),a(d())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${m}`]:[],eventCallback:(s,q,R)=>{s.endsWith(m)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx($,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(P,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(Q,{})}),t.jsx(c,{path:"/new",element:t.jsx(y,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(y,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
@@ -1,20 +1,20 @@
1
- import{b as M,u as D,y as W,J as G,O as U,T as J,a7 as X,a0 as H,b$ as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fo as ee}from"./index-BVjkKCLf.js";import{a as L}from"./sentry-Bsfq8iFp.js";import{n as u}from"./mui-Bjwhey0L.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-CTSjTKjT-CfO_mWmk.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.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]="6953c252-eaa3-4ce7-80a6-c4f6268410bc",e._sentryDebugIdIdentifier="sentry-dbid-6953c252-eaa3-4ce7-80a6-c4f6268410bc")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:$,onSaveRuleClick:N,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=J({mode:"all",reValidateMode:"onChange",defaultValues:x}),d=e.remiSetupApproverViewUpdateData?.updateStatus,R=X(d?.fetchState),{upperBound:P}=x,{allApprovalRules:p,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=p.findIndex(f=>f.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{N()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=H(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&d?.fetchState==="Completed"&&A()},[R,d?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(pe,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(de,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:d?.fetchState==="In-Progress",isDisabled:d?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&p.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:$},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
1
+ import{x as M,k as U,y as W,e as G,O as D,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as h,fy as ee}from"./index-ByxsQZNo.js";import{a as L}from"./sentry-COYnhuxW.js";import{n as u}from"./mui-40xepic5.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-CJzIGe2N-q0pn7uac.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.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]="1ca1e43e-670c-4f57-abf5-c524554fd533",e._sentryDebugIdIdentifier="sentry-dbid-1ca1e43e-670c-4f57-abf5-c524554fd533")}catch{}})();const _="reimbursementApprovalRuleDetailPage",k="lowerBound",C="upperBound",I="steps",b="applyToExistingReimbursements",le={footerPadding:new M(U[2],U[3])};function De({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=D.getLocalizedStrings().commonSetUp.approval,S=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:k,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:C,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&d.length===0?null:r.jsx(ee,{name:b,mode:"always_on",checkBoxes:[{value:b,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:h.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[k]:t?void 0:a!=null?a.range.min.amount??0:0,[C]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
5
5
  width: 100%;
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
- `,pe=u.div`
7
+ `,de=u.div`
8
8
  display: flex;
9
9
  flex: 1;
10
10
  flex-direction: column;
11
11
  min-height: 0;
12
- `,de=u.div`
12
+ `,pe=u.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  border: 1px solid ${e=>e.theme.colors.grey3};
16
- box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
17
- border-radius: ${b.sp2};
16
+ box-shadow: ${e=>`${h.sp0} 2px ${h.sp1} ${e.theme.colors.dropShadowNormal}`};
17
+ border-radius: ${h.sp2};
18
18
  `,ue=u.div`
19
19
  display: flex;
20
20
  justify-content: flex-start;
@@ -29,4 +29,4 @@ import{b as M,u as D,y as W,J as G,O as U,T as J,a7 as X,a0 as H,b$ as K,V as r,
29
29
  background-color: ${e=>e.theme.colors.grey3};
30
30
  min-height: 1px;
31
31
  max-height: 1px;
32
- `;export{le as D,Ue as default,j as uniqueFormName,Le as uniqueName};
32
+ `;export{le as D,De as default,j as uniqueFormName,Le as uniqueName};
@@ -1 +1 @@
1
- import{j as g}from"./pdf-DJ-oF9-h.js";import{a as y}from"./sentry-Bsfq8iFp.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-tQbf9q8c.js";import{KL as R,Kv as C,yj as x,ys as _,yq as S,yr as h,KM as k}from"./zeni-epic-state-CjVTQ4J3.js";import{je as j,y as B,jC as V,lc as F,k3 as O}from"./index-BVjkKCLf.js";import"./mui-Bjwhey0L.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]="cd0530f0-7394-4100-97c0-0b6177252dcc",e._sentryDebugIdIdentifier="sentry-dbid-cd0530f0-7394-4100-97c0-0b6177252dcc")}catch{}})();function $(e){return k(e)==null}const K=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=O(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const m=!!$(d.value);return{type:m?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!m}}),f=D.concat(I);v.push({action:u.stepType.selectedOption,actors:f,operator:f.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(F);function G(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=j.getSignedInUser(),l=B(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(K,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{G as R,$ as i};
1
+ import{j as g}from"./pdf-A8jRKyoC.js";import{a as y}from"./sentry-COYnhuxW.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-B0nKoasK.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-DCforPdM.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-ByxsQZNo.js";import"./mui-40xepic5.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]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
@@ -1,4 +1,4 @@
1
- import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as P,bg as k,bK as V,bL as q,bM as O,ch as J,u as l,at as K,H as T,as as Q,e as z,cg as X,aR as Y,j as Z}from"./index-BVjkKCLf.js";import{n as i}from"./mui-Bjwhey0L.js";import{a as ee}from"./sentry-Bsfq8iFp.js";import"./pdf-DJ-oF9-h.js";import"./zeni-epic-state-CjVTQ4J3.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e5bb42f7-1d63-4ed5-9444-45d4c8d6137c",e._sentryDebugIdIdentifier="sentry-dbid-e5bb42f7-1d63-4ed5-9444-45d4c8d6137c")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:u}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),u.max==null?t.jsx(ue,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${_}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},H))})}),w?t.jsx(V,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=i.div`
1
+ import{y as H,e as N,O as j,V as t,a_ as G,L as q,P as u,o,x as r,l as M,a5 as P,bn as k,bR as F,bS as V,bT as O,cq as J,k as l,at as K,N as T,as as Q,d as z,cp as X,aR as Y,w as Z}from"./index-ByxsQZNo.js";import{n as i}from"./mui-40xepic5.js";import{a as ee}from"./sentry-COYnhuxW.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="dbf80af5-dc78-4f95-91b0-e482672843d8",e._sentryDebugIdIdentifier="sentry-dbid-dbf80af5-dc78-4f95-91b0-e482672843d8")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),m.max==null?t.jsx(me,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?t.jsx(F,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -162,7 +162,7 @@ import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as
162
162
  &:hover {
163
163
  color: ${e=>e.isDisabled===!0?e.theme.colors.grey2:e.theme.colors.primary};
164
164
  }
165
- `,ue=i(Q)`
165
+ `,me=i(Q)`
166
166
  width: ${o.sp4};
167
167
  height: ${o.sp4};
168
168
  color: ${e=>e.theme.colors.hero};
@@ -175,7 +175,7 @@ import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as
175
175
  ${e=>`${U.amount.style(e.windowSize)}`};
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  word-break: break-word;
178
- `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Le=({approvalView:e,onBackClick:c,onEditRuleClick:g,onDeleteRuleClick:f})=>{const S=E(),y=N(),{fetchState:w,deleteStatus:x}=e,n=j.getLocalizedStrings().commonSetUp.approval,u=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=x.fetchState,p=e.listeningToPusherEvent;return t.jsxs(me,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx(xe,{windowSize:y,children:u.approvalPageSubTitle}),w==="In-Progress"||w==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(F,{size:"ExtraLarge",start:!0})}):w==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(te,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:g,onDeleteRuleClick:f},a.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{g()},"data-testid":m("add-approval-rule"),children:[t.jsx(be,{}),t.jsx(fe,{children:n.addApprovalText})]})]}):null]})]})},me=i.div`
178
+ `,b={width:new r(343,580,726),titleWidth:new r(343,580,780),addApprovalGap:new r(6,l[2]),subTitlePaddingTop:new r(12,l[3]),subTitlePaddingBottom:new r(28,l[7])},Le=({approvalView:e,onBackClick:c,onEditRuleClick:g,onDeleteRuleClick:f})=>{const S=H(),y=N(),{fetchState:w,deleteStatus:x}=e,n=j.getLocalizedStrings().commonSetUp.approval,m=j.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,$=x.fetchState,p=e.listeningToPusherEvent;return t.jsxs(ue,{children:[t.jsx(G,{title:n.approvalPageHeader,backgroundColor:S.colors.grey4,style:{zIndex:4},onBackClick:()=>{c()},source:"ReimbursementApprovalRulesPage"}),t.jsxs(ge,{children:[t.jsx(xe,{windowSize:y,children:m.approvalPageSubTitle}),w==="In-Progress"||w==="Not-Started"||$==="In-Progress"?t.jsx(we,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):w==="Completed"?t.jsxs(t.Fragment,{children:[e.allApprovalRules.map((a,v)=>t.jsx(te,{showDeleteBtn:v!==0,disableButtons:p===!0&&a.approvalRuleId===e.newApprovalRuleId,approvalRule:a,isLastSection:v===e.allApprovalRules.length-1,onEditRuleClick:g,onDeleteRuleClick:f},a.approvalRuleId)),t.jsxs($e,{windowSize:y,onClick:()=>{g()},"data-testid":u("add-approval-rule"),children:[t.jsx(be,{}),t.jsx(fe,{children:n.addApprovalText})]})]}):null]})]})},ue=i.div`
179
179
  display: flex;
180
180
  min-height: 100%;
181
181
  flex-direction: column;
@@ -0,0 +1,314 @@
1
+ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,P as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,j as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,N as Gt,M as Ht,l as rt,at,d as Y,H as Yt,bp as qt,C as Jt,gc as Zt,g7 as Qt,k as c,bH as Xt,co as ei}from"./index-ByxsQZNo.js";import{a as u}from"./sentry-COYnhuxW.js";import{n as a}from"./mui-40xepic5.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-DCforPdM.js";import ai from"./InvoiceUploadSection-BgVvYytR-DjoTneQr.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./AttachmentView-CqKnI6Xt-AOGCu7iZ.js";import"./uploadReceipts-CIgkuVpu-Mr0MhYx1.js";import"./upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="d6d6d0d0-cba3-4db0-89a1-80ac59572c25",e._sentryDebugIdIdentifier="sentry-dbid-d6d6d0d0-cba3-4db0-89a1-80ac59572c25")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,Q]=u.useState(!1),[X,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{Q(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Q(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Qe,{windowSize:n,children:[t.jsx(Xe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:X==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||X==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),Q(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:X==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
5
+ `,ci=a.div`
6
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
7
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
8
+ margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
9
+ `,mi=a(Yt)`
10
+ padding: ${r.sp2} ${r.sp0} ${r.sp2} ${r.sp4};
11
+ background-color: ${Y.alertLight};
12
+ color: ${Y.brandColorGoldDark};
13
+ border-top-left-radius: inherit;
14
+ border-top-right-radius: inherit;
15
+ `,pi=a.span`
16
+ border-bottom: 1px solid currentColor;
17
+ cursor: pointer;
18
+ `,Oe=a.div`
19
+ display: flex;
20
+ gap: ${r.sp2};
21
+ padding: ${r.sp3};
22
+ border-radius: ${r.sp2};
23
+ align-items: start;
24
+ margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
25
+ margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
26
+ margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
27
+ margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
+ background-color: ${Y.alertLight};
29
+ border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
+ `,Fe=a(Xt)`
31
+ color: ${e=>e.theme.colors.brandColorGoldDark};
32
+ `,Ke=a.div`
33
+ width: 100%;
34
+ `,Ue=a(rt)`
35
+ color: ${e=>e.theme.colors.brandColorGoldDark};
36
+ `,Ve=a(ei)`
37
+ width: ${r.sp4};
38
+ height: ${r.sp4};
39
+ color: ${Y.brandColorGoldDark};
40
+ `,Ge=a(rt)`
41
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
42
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
43
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
44
+ color: ${e=>e.theme.colors.primary};
45
+ `,ui=a.div`
46
+ display: flex;
47
+ justify-content: space-between;
48
+ `,hi=a.div`
49
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
50
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
51
+ `,yi=a(at)`
52
+ color: ${e=>e.theme.colors.primary};
53
+ margin-bottom: ${r.sp3};
54
+ `,bi=a.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ background-color: ${e=>e.theme.colors.grey5};
58
+ border: 1px solid ${e=>e.theme.colors.grey3};
59
+ box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ border-radius: ${r.sp2};
61
+ margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
62
+ z-index: 3;
63
+ `,gi=a.div`
64
+ display: flex;
65
+ justify-content: flex-end;
66
+ `,wi=a.div`
67
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
68
+ `,xi=a(Qt)`
69
+ cursor: pointer;
70
+ color: ${e=>e.theme.colors.hero};
71
+ width: ${r.sp5};
72
+ height: ${r.sp5};
73
+ &:hover {
74
+ color: ${e=>e.theme.colors.primary};
75
+ }
76
+ `,fi=a.div`
77
+ display: flex;
78
+ margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?r.sp3:r.sp4:r.sp5};
79
+ cursor: pointer;
80
+ color: ${e=>e.theme.colors.grey1};
81
+ &:hover {
82
+ color: ${e=>e.theme.colors.primary};
83
+ }
84
+ `,vi=a(Zt)`
85
+ cursor: pointer;
86
+ color: ${e=>e.theme.colors.hero};
87
+ width: ${r.sp5};
88
+ height: ${r.sp5};
89
+ &:hover {
90
+ color: ${e=>e.theme.colors.primary};
91
+ }
92
+ `,$i=a.div`
93
+ display: flex;
94
+ cursor: pointer;
95
+ color: ${e=>e.theme.colors.grey1};
96
+ margin-left: ${r.sp4};
97
+ &:hover {
98
+ color: ${e=>e.theme.colors.primary};
99
+ }
100
+ `,He=a(at)`
101
+ display: flex;
102
+ color: ${e=>e.borderColor};
103
+ align-items: center;
104
+ justify-content: flex-end;
105
+ margin-left: ${r.sp3};
106
+ padding: 1px 6px 1px 6px;
107
+ border: ${e=>`1px solid ${e.borderColor}`};
108
+ border-radius: ${r.sp1};
109
+ min-width: fit-content;
110
+ max-width: fit-content;
111
+ `,Ti=a.div`
112
+ display: flex;
113
+ justify-content: center;
114
+ align-items: center;
115
+ `,ji=a.div`
116
+ display: flex;
117
+ width: max-content;
118
+ align-items: center;
119
+ justify-content: center;
120
+ flex-direction: column;
121
+ background-color: ${e=>e.theme.colors.grey5};
122
+ color: ${e=>e.theme.colors.hero};
123
+ cursor: pointer;
124
+ padding-top: ${r.sp1};
125
+ padding-bottom: ${r.sp1};
126
+ position: absolute;
127
+ bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
128
+ z-index: 3;
129
+ border: ${e=>`1px solid ${e.theme.colors.grey3}`};
130
+ border-radius: ${r.sp1};
131
+ right: ${e=>s.right.valuePx(e.windowSize)};
132
+ box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.grey1} 3D`};
133
+ `,Si=a.div`
134
+ position: fixed;
135
+ top: 0;
136
+ left: 42vw;
137
+ width: 100%;
138
+ height: 100vh;
139
+ background: transparent;
140
+ box-shadow: 0 2px ${r.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
141
+ pointer-events: none;
142
+ z-index: 1;
143
+ `,Ii=a.div`
144
+ width: auto;
145
+ justify-content: flex-end;
146
+ position: ${e=>e.windowSize==="small"?"static":"relative"};
147
+ right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
148
+ height: 100%;
149
+ display: flex;
150
+ `,le=a(Jt)`
151
+ display: flex;
152
+ align-items: center;
153
+ width: 100%;
154
+ padding-left: ${r.sp3};
155
+ padding-right: ${r.sp3};
156
+ height: ${r.sp6};
157
+ box-sizing: border-box;
158
+ &:hover {
159
+ background-color: ${e=>e.theme.colors.background};
160
+ }
161
+ `,Di=a.div`
162
+ display: flex;
163
+ width: 100%;
164
+ position: sticky;
165
+ bottom: 0;
166
+ z-index: 2;
167
+ `,Ci=a.div`
168
+ min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
169
+ height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
170
+ display: flex;
171
+ align-items: center;
172
+ width: 100%;
173
+ justify-content: space-between;
174
+ position: fixed;
175
+ z-index: 4;
176
+ `,ki=a(Kt)`
177
+ color: ${e=>e.theme.colors.brandColorJade};
178
+ cursor: pointer;
179
+ width: ${r.sp4};
180
+ height: ${r.sp4};
181
+ `,v=a.div`
182
+ display: flex;
183
+ flex: 1;
184
+ background-color: ${e=>e.theme.colors.grey3};
185
+ min-height: 1px;
186
+ max-height: 1px;
187
+ `,zi=a(Vt)`
188
+ cursor: pointer;
189
+ width: ${r.sp4};
190
+ height: ${r.sp4};
191
+ float: right;
192
+ color: ${e=>e.theme.colors.hero};
193
+ &:hover {
194
+ color: ${e=>e.theme.colors.primary};
195
+ }
196
+ `,Ai=a.div`
197
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
198
+ display: flex;
199
+ float: right;
200
+ `,Mi=a.div`
201
+ display: flex;
202
+ align-items: center;
203
+ justify-content: center;
204
+ position: relative;
205
+ cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
206
+ color: ${e=>e.theme.colors.hero};
207
+ &:hover {
208
+ color: ${e=>e.theme.colors.primary};
209
+ }
210
+ `,Ri=a(Ut)`
211
+ display: flex;
212
+ width: ${r.sp4};
213
+ height: ${r.sp4};
214
+ align-items: center;
215
+ justify-content: center;
216
+ `,Pi=a.div`
217
+ margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
218
+ margin-left: ${r.sp5};
219
+ `,Bi=a.div`
220
+ display: flex;
221
+ flex-direction: column;
222
+ width: 100vw;
223
+ background: -webkit-linear-gradient(
224
+ to right,
225
+ ${e=>e.theme.colors.background} 42%,
226
+ ${e=>e.theme.colors.grey4} 42%
227
+ );
228
+ background: -moz-linear-gradient(
229
+ to right,
230
+ ${e=>e.theme.colors.background} 42%,
231
+ ${e=>e.theme.colors.grey4} 42%
232
+ );
233
+ background: -o-linear-gradient(
234
+ to right,
235
+ ${e=>e.theme.colors.background} 42%,
236
+ ${e=>e.theme.colors.grey4} 42%
237
+ );
238
+ background: linear-gradient(
239
+ to right,
240
+ ${e=>e.theme.colors.background} 42%,
241
+ ${e=>e.theme.colors.grey4} 42%
242
+ );
243
+ ${e=>e.windowSize==="small"&&`
244
+ background: ${e.theme.colors.grey4};
245
+ `}
246
+ height: 100vh;
247
+ overflow: scroll;
248
+ `,Ye=a.div`
249
+ width: 42%;
250
+ `,Ni=a.div`
251
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
252
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
253
+ `,qe=a.div`
254
+ margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
255
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
256
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
257
+ `,Je=a.div`
258
+ display: flex;
259
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
260
+ align-items: ${e=>e.windowSize==="small"?"unset":"center"};
261
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
262
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
+ width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
+ `,Ze=a(Ht)`
266
+ flex-grow: 1;
267
+ ${e=>`${li.formTitle.style(e.windowsSize)}`};
268
+ color: ${e=>e.theme.colors.primary};
269
+ word-break: break-all;
270
+ `,_i=a.div`
271
+ display: flex;
272
+ flex-direction: column;
273
+ margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
274
+ margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
275
+ `,Qe=a.div`
276
+ padding: ${r.sp3};
277
+ display: flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ background-color: ${e=>e.theme.colors.grey3};
281
+ border: 1px solid ${e=>e.theme.colors.grey3};
282
+ border-radius: ${r.sp2};
283
+ color: ${e=>e.theme.colors.hero};
284
+ margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
+ justify-content: space-between;
286
+ `,Xe=a(qt)`
287
+ display: flex;
288
+ width: 176px;
289
+ color: ${e=>e.theme.colors.primary};
290
+ `,Li=a.div`
291
+ display: flex;
292
+ flex-direction: column;
293
+ width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
294
+ `,et=a.div`
295
+ display: flex;
296
+ width: 100%;
297
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
298
+ align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
299
+ `,Wi=a.div`
300
+ width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
301
+ `,Ei=a.div`
302
+ background: ${e=>e.theme.colors.grey3};
303
+ border-radius: ${r.sp2};
304
+ margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
305
+ margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
306
+ margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
307
+ margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":r.sp5};
308
+ `,Oi=a.div`
309
+ display: flex;
310
+ flex-direction: column;
311
+ height: ${r.sp11};
312
+ `,Fi=a.div`
313
+ margin-top: 78px;
314
+ `;export{lr as default};