@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
  5. package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
  7. package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
  12. package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
  13. package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
  14. package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
  16. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
  19. package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
  20. package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
  21. package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
  23. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
  24. package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
  28. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
  31. package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
  32. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
  35. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
  36. package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
  39. package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
  44. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
  46. package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
  47. package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
  52. package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
  59. package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
  63. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
  66. package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
  68. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
  69. package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
  70. package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
  77. package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
  79. package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
  83. package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
  84. package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
  85. package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
  95. package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
  99. package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
  100. package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
  101. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
  106. package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
  111. package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
  112. package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
  114. package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
  115. package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
  120. package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
  124. package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
  125. package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
  127. package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
  131. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
  132. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
  136. package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
  138. package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
  139. package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
  142. package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
  148. package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
  149. package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
  152. package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
  153. package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
  154. package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
  157. package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
  162. package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
  163. package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
  164. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
  165. package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
  166. package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
  167. package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
  168. package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
  171. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
  172. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
  173. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
  174. package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
  175. package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
  178. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
  183. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
  189. package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
  190. package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
  191. package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
  194. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
  195. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
  196. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
  201. package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
  203. package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
  206. package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
  207. package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
  208. package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
  209. package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
  210. package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
  211. package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
  212. package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
  213. package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
  214. package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
  215. package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
  220. package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
  221. package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
  222. package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
  223. package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
  224. package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
  225. package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
  226. package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
  227. package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
  228. package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
  229. package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
  230. package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
  237. package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
  241. package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
  242. package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
  243. package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
  244. package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
  245. package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
  246. package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
  247. package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
  248. package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
  249. package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
  250. package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
  253. package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
  255. package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
  257. package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
  258. package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
  261. package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
  267. package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
  268. package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
  269. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
  270. package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
  271. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
  273. package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
  274. package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
  275. package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
  276. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
  277. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
  278. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
  279. package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
  280. package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js","assets/index-aCBnCBoN.js","assets/sentry-DzaNjvx0.js","assets/liveblocks-CEY7tsth.js","assets/core-Cjh03OPu.js","assets/recharts-CimMNwCJ.js","assets/zeni-epic-state-BNpJ2txa.js","assets/mui-BosmckWV.js","assets/lottie-BmLFYENY.js","assets/analytics-B_VWX-BQ.js","assets/lexical-9REae7LV.js","assets/utils-THjX-QSp.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-jxaonB4S-Dw8Z5KsP.js","assets/useLongPress-GCK2COYQ-BgaoTE4k.js"])))=>i.map(i=>d[i]);
2
- import{GG as Je,GH as qe,GI as We,GJ as N,GK as Ye,EZ as Ze,GL as Ke,ce as Qe,cf as Xe,Gt as et,Gs as tt,GC as at,ba as ot}from"./zeni-epic-state-BNpJ2txa.js";import{V as n,g as nt,ay as F,e as z,bQ as st,gR as it,bE as rt,w as lt,o as t,dJ as ct,h8 as O,bk as dt,O as G,h9 as ut,ha as pt,hb as mt,hc as ht,d as x,aq as bt,hd as yt,bU as ft,x as S,g2 as gt,he as wt,b as Ct,c2 as Tt,an as St,cq as vt,hf as xt,y as kt,ao as It,u as v}from"./index-aCBnCBoN.js";import{a as h}from"./sentry-DzaNjvx0.js";import{n as d,k as U}from"./mui-BosmckWV.js";import{a as $t}from"./liveblocks-CEY7tsth.js";import{t as At}from"./SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js";import{K as Et}from"./StatusSwitcher-jxaonB4S-Dw8Z5KsP.js";import"./core-Cjh03OPu.js";import"./lottie-BmLFYENY.js";import"./recharts-CimMNwCJ.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6e859b32-956a-451c-93da-8f1f19bb551d",e._sentryDebugIdIdentifier="sentry-dbid-6e859b32-956a-451c-93da-8f1f19bb551d")}catch{}})();const D=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bt=d.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js","assets/index-B8J3c9-k.js","assets/sentry-xNvKSthz.js","assets/liveblocks-CN5hALk7.js","assets/core-C_RwbDgZ.js","assets/recharts-BkmpOx_p.js","assets/zeni-epic-state-SAYXyeZn.js","assets/mui-B_fu8zAT.js","assets/lottie-B-zs781A.js","assets/analytics-TwdLweES.js","assets/lexical-DZ4skawM.js","assets/utils-4bW-VyLb.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-D3qCg5J1-BZCFmoiB.js","assets/useLongPress-GCK2COYQ-DMOFKAWg.js"])))=>i.map(i=>d[i]);
2
+ import{GG as Je,GH as qe,GI as We,GJ as N,GK as Ye,EZ as Ze,GL as Ke,ce as Qe,cf as Xe,Gt as et,Gs as tt,GC as at,ba as ot}from"./zeni-epic-state-SAYXyeZn.js";import{V as n,g as nt,ay as F,e as z,bQ as st,gR as it,bE as rt,w as lt,o as t,dJ as ct,h8 as O,bk as dt,O as G,h9 as ut,ha as pt,hb as mt,hc as ht,d as x,aq as bt,hd as yt,bU as gt,x as S,g2 as ft,he as wt,b as Ct,c3 as Tt,an as St,cq as vt,hf as xt,y as kt,ao as It,u as v}from"./index-B8J3c9-k.js";import{a as h}from"./sentry-xNvKSthz.js";import{n as d,k as U}from"./mui-B_fu8zAT.js";import{a as $t}from"./liveblocks-CN5hALk7.js";import{t as At}from"./SpendManagementSection-6R5y0Hy4-D5jOLcFY.js";import{K as Et}from"./StatusSwitcher-D3qCg5J1-BZCFmoiB.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./recharts-BkmpOx_p.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0fa901a2-c9c5-4698-bd28-ddb98ad40ca6",e._sentryDebugIdIdentifier="sentry-dbid-0fa901a2-c9c5-4698-bd28-ddb98ad40ca6")}catch{}})();const D=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bt=d.div`
3
3
  min-width: ${t.sp3};
4
4
  width: ${t.sp3};
5
5
  height: ${t.sp3};
@@ -117,7 +117,7 @@ import{GG as Je,GH as qe,GI as We,GJ as N,GK as Ye,EZ as Ze,GL as Ke,ce as Qe,cf
117
117
  color: ${e=>e.theme.colors.primary};
118
118
  position: absolute;
119
119
  bottom: 22px;
120
- `,M=G.getLocalizedStrings().common.copyToClipBoard;function Zt(e){const i=z(),[,u]=mt(),[p,y]=h.useState(!0),[l,s]=h.useState(!1),[a,r]=h.useState(!1),{isMobileOrTabletScreen:o}=ht(),f=()=>{if(p){const g=e.botEmail;u(g),y(!1)}},C=()=>{s(!0)},b=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{y(!0)},2e3)},[p]),n.jsx(_t,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:n.jsx(bt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(Dt,{windowSize:i,className:a?"fade":"",fade:a,children:[n.jsx(qt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Mt,{children:e.title}),n.jsx(Wt,{children:e.descriptionLines.map((g,c)=>n.jsxs(zt,{children:[n.jsx(Nt,{children:g.icon}),n.jsx(Ft,{windowSize:i,children:g.text})]},c))}),n.jsxs(Gt,{onClick:f,onMouseOver:C,onMouseLeave:b,showCopyIcon:p,showCopyText:l,children:[n.jsx(Vt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Ht,{windowSize:i,showCopyText:l&&!o,children:n.jsx(Ut,{})}):n.jsx(Jt,{})]}),n.jsx(Yt,{children:p?l&&!o?M.copy:null:M.copied})]})})})}const H=G.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:Kt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:ea,unResolveComment:ta}}}}=H,aa={drawerSectionPaddingLeftRight:new S(v[4],v[5])},oa=({threadData:e,collaborationTab:i,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:y,windowSize:l,backgroundColor:s})=>{const a=F(),r=h.useMemo(()=>({application:"dashboard",companyId:a.currentTenant?.companyId,tab:i,entityId:e?.entityId,isGlobalComment:!1}),[a.currentTenant?.companyId,i,e?.entityId]),{threads:o,isLoading:f}=yt({filter:r});return n.jsx(ft,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Kt,threads:o,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:a.currentTenant?.companyId,isGlobalComment:!1,tab:i},isLoading:f,textOverrides:{composerPlaceholder:Qt,replyComposerPlaceholder:Xt,threadResolve:ea,threadUnResolve:ta},onThreadClick:(C,b)=>y(C,b),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${aa.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:s},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},na=wt(()=>ot(()=>import("./SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),sa=e=>{const i=nt(),u=F(),p=z(),{transactionList:y,allSubTabs:l,isAdmin:s,botEmail:a,isEmployee:r=!1,currentTab:o,currentSubTab:f,approvalCount:C,fetchState:b,analytics:g,entity:c,uiState:k,searchText:$,filters:J,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:W,createdByUserList:Y,createdByUserListFetchState:A,downloadParams:Z,downloadState:K,isDownloadEnabled:Q,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:ae,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:B,isDetectInsufficientFundsEnabled:oe=!1,updateTabToState:ne,onSubtabChange:L,onReloadTransactions:se,onTransactionClick:R,onClickSetupIcon:j,onBackClick:ie,onAddTransactionClick:re,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:pe,bulkSubmissionLimit:me=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:fe=[],bulkSubmissionFetchState:ge,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}=e,Se=["draft","pending_approval","scheduled","paid"],ve=w=>{R(w,o)},xe=n.jsx(na,{botEmail:a,transactionList:y,allSubTabs:l,isAdmin:s,selectedTab:o,selectedSubTab:f,fetchState:b,onSubtabChange:L,onTransactionRowClick:ve,onReloadTransactions:se,onColumnSortConfigChanged:le,analytics:g,entity:c,uiState:k,searchText:$,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:ae,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:B,bulkSubmissionLimit:me,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:oe,allowedBulkActions:fe,bulkSubmissionFetchState:ge,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}),ke=w=>{ne(w),L("all")},Ie=et(u.loggedInUserRoleMap),[_,$e]=h.useState(!1),[Ae,P]=h.useState(!1),Ee=w=>{$e(w)},Be=c==="bill_pay"?tt(u.loggedInUserRoleMap):at(u.loggedInUserRoleMap),Le={entity:c,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:c==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:$,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Q===!1,downloadParams:Z,downloadState:K,filters:J,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:c==="bill_pay"||N(u.loggedInUserRole??[])?!0:A==="Completed"||A==="Error",analytics:g,onNewButtonClick:re,onSearchOpen:Ee,onSearchTextChanged:ce,onClickSetupIcon:j,onClickEmailInfoIcon:()=>P(!0),onFiltersChange:ue,getFilterOptions:c==="bill_pay"||c==="reimbursement"?()=>V(c,Y??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:pe},Re=n.jsx(At,{spendManagementSectionProps:Le}),[je,_e]=h.useState(null),[Pe,I]=h.useState(!1),{setRequestToOpenThread:Oe}=h.useContext(st),De=`dashboard_${u.currentTenant?.companyId}`,Me=c==="bill_pay"?"bill":"reimbursement",Ne=c==="bill_pay"&&E||c==="reimbursement"&&B,Fe={openAllThreadsDrawer:w=>{_e({...w}),I(!0)}},ze=(w,Ge)=>{const{companyId:Ue,entityId:He,entityType:Ve}=w;I(!1),Oe({threadId:Ge,companyId:Ue,entityType:Ve}),R(He,o)};return n.jsx(it,{sharedItems:{sharedFunctions:{subtreeFunctions:Fe},sharedRef:void 0},children:n.jsxs(ra,{children:[n.jsx(rt,{source:"SpendManagementListViewPage",title:c==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!r&&!Ie,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:i.colors.grey4,style:{zIndex:3,...lt.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Re,onClickMenuIcon:de,isSearchOpen:_}),n.jsxs(la,{children:[n.jsx(ca,{children:n.jsx(Et,{tabIds:Se,approvalCount:C,selectedTab:o,entity:c,enablePerformanceTracking:!1,onTabSelectedChange:ke,onClickSetupIcon:j})}),xe]}),Ae?n.jsx(Zt,{botEmail:a,onCancelClick:()=>P(!1),title:c==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:c==="bill_pay"?[{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(ct,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(O,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(dt,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(O,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,Ne?n.jsx($t,{id:De,children:n.jsx(oa,{threadData:je,collaborationTab:Me,isThreadsOpen:Pe,setIsThreadsOpen:I,handleThreadClick:ze,windowSize:p,backgroundColor:i.colors.background})}):null]})})},ia=e=>e.base64!==void 0?`${gt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",V=(e,i,u,p,y)=>{const l=m.filters.filterOptions;return e==="bill_pay"?Je.reduce((s,a)=>{switch(a.value){case"amount":return{...s,[a.value]:l.billAmountOptions};case"paymentMethod":return{...s,[a.value]:l.paymentMethodOptions};case"status":return{...s,[a.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...s,[a.value]:l.billPaymentTypeOptions};default:return{...s,[a.value]:[]}}},{}):e==="reimbursement"?(N(u)?qe:We).reduce((s,a)=>{switch(a.value){case"createdBy":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:r}}case"paymentMethod":return{...s,[a.value]:l.paymentMethodOptions};case"status":return{...s,[a.value]:l.commonStatusOptions};case"amount":return{...s,[a.value]:l.reimbursementAmountOptions};default:return{...s,[a.value]:[]}}},{}):e==="charge_card_payment_history"?(Ye??[]).reduce((s,a)=>{switch(a.value){case"status":return{...s,[a.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:[{label:"Autopay",value:"autopay"},...r]}}case"sourceAccount":{const r=y?Object.entries(y).map(([o,f])=>{const C=Rt(f.depositAccountName,f.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),b=jt(f,ia),g=b.iconType!=null&&b.iconColor!=null,c=b.photo,k=c!=null&&c!=="";return{label:C,value:o,...g&&{iconType:b.iconType,iconColor:b.iconColor},...k&&{photo:Ze(c)}}}):[];return{...s,[a.value]:r}}case"repaymentDate":return{...s,[a.value]:[]};default:return{...s,[a.value]:[]}}},{}):Ke.reduce((s,a)=>{switch(a.value){case"assignee":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:r}}case"status":return{...s,[a.value]:[...Xe.map(r=>({label:r.name,value:r.code}))]};case"priority":return{...s,[a.value]:[...Qe.map(r=>({label:r.name,value:r.code}))]};case"tag":return{...s,[a.value]:[...p.map(r=>({label:r.name,value:r.tagId}))]};default:return{...s,[a.value]:[]}}},{})},ra=d.div`
120
+ `,M=G.getLocalizedStrings().common.copyToClipBoard;function Zt(e){const i=z(),[,u]=mt(),[p,y]=h.useState(!0),[l,s]=h.useState(!1),[a,r]=h.useState(!1),{isMobileOrTabletScreen:o}=ht(),g=()=>{if(p){const f=e.botEmail;u(f),y(!1)}},C=()=>{s(!0)},b=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{y(!0)},2e3)},[p]),n.jsx(_t,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:n.jsx(bt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(Dt,{windowSize:i,className:a?"fade":"",fade:a,children:[n.jsx(qt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Mt,{children:e.title}),n.jsx(Wt,{children:e.descriptionLines.map((f,c)=>n.jsxs(zt,{children:[n.jsx(Nt,{children:f.icon}),n.jsx(Ft,{windowSize:i,children:f.text})]},c))}),n.jsxs(Gt,{onClick:g,onMouseOver:C,onMouseLeave:b,showCopyIcon:p,showCopyText:l,children:[n.jsx(Vt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Ht,{windowSize:i,showCopyText:l&&!o,children:n.jsx(Ut,{})}):n.jsx(Jt,{})]}),n.jsx(Yt,{children:p?l&&!o?M.copy:null:M.copied})]})})})}const H=G.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:Kt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:ea,unResolveComment:ta}}}}=H,aa={drawerSectionPaddingLeftRight:new S(v[4],v[5])},oa=({threadData:e,collaborationTab:i,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:y,windowSize:l,backgroundColor:s})=>{const a=F(),r=h.useMemo(()=>({application:"dashboard",companyId:a.currentTenant?.companyId,tab:i,entityId:e?.entityId,isGlobalComment:!1}),[a.currentTenant?.companyId,i,e?.entityId]),{threads:o,isLoading:g}=yt({filter:r});return n.jsx(gt,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Kt,threads:o,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:a.currentTenant?.companyId,isGlobalComment:!1,tab:i},isLoading:g,textOverrides:{composerPlaceholder:Qt,replyComposerPlaceholder:Xt,threadResolve:ea,threadUnResolve:ta},onThreadClick:(C,b)=>y(C,b),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${aa.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:s},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},na=wt(()=>ot(()=>import("./SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),sa=e=>{const i=nt(),u=F(),p=z(),{transactionList:y,allSubTabs:l,isAdmin:s,botEmail:a,isEmployee:r=!1,currentTab:o,currentSubTab:g,approvalCount:C,fetchState:b,analytics:f,entity:c,uiState:k,searchText:$,filters:J,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:W,createdByUserList:Y,createdByUserListFetchState:A,downloadParams:Z,downloadState:K,isDownloadEnabled:Q,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:ae,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:B,isDetectInsufficientFundsEnabled:oe=!1,updateTabToState:ne,onSubtabChange:L,onReloadTransactions:se,onTransactionClick:R,onClickSetupIcon:j,onBackClick:ie,onAddTransactionClick:re,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:pe,bulkSubmissionLimit:me=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:ge=[],bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}=e,Se=["draft","pending_approval","scheduled","paid"],ve=w=>{R(w,o)},xe=n.jsx(na,{botEmail:a,transactionList:y,allSubTabs:l,isAdmin:s,selectedTab:o,selectedSubTab:g,fetchState:b,onSubtabChange:L,onTransactionRowClick:ve,onReloadTransactions:se,onColumnSortConfigChanged:le,analytics:f,entity:c,uiState:k,searchText:$,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,billPayApprovalRulesAffectedEntityIds:te,remiApprovalRulesAffectedEntityIds:ae,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:B,bulkSubmissionLimit:me,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:oe,allowedBulkActions:ge,bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}),ke=w=>{ne(w),L("all")},Ie=et(u.loggedInUserRoleMap),[_,$e]=h.useState(!1),[Ae,P]=h.useState(!1),Ee=w=>{$e(w)},Be=c==="bill_pay"?tt(u.loggedInUserRoleMap):at(u.loggedInUserRoleMap),Le={entity:c,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:c==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:$,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Q===!1,downloadParams:Z,downloadState:K,filters:J,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:c==="bill_pay"||N(u.loggedInUserRole??[])?!0:A==="Completed"||A==="Error",analytics:f,onNewButtonClick:re,onSearchOpen:Ee,onSearchTextChanged:ce,onClickSetupIcon:j,onClickEmailInfoIcon:()=>P(!0),onFiltersChange:ue,getFilterOptions:c==="bill_pay"||c==="reimbursement"?()=>V(c,Y??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:pe},Re=n.jsx(At,{spendManagementSectionProps:Le}),[je,_e]=h.useState(null),[Pe,I]=h.useState(!1),{setRequestToOpenThread:Oe}=h.useContext(st),De=`dashboard_${u.currentTenant?.companyId}`,Me=c==="bill_pay"?"bill":"reimbursement",Ne=c==="bill_pay"&&E||c==="reimbursement"&&B,Fe={openAllThreadsDrawer:w=>{_e({...w}),I(!0)}},ze=(w,Ge)=>{const{companyId:Ue,entityId:He,entityType:Ve}=w;I(!1),Oe({threadId:Ge,companyId:Ue,entityType:Ve}),R(He,o)};return n.jsx(it,{sharedItems:{sharedFunctions:{subtreeFunctions:Fe},sharedRef:void 0},children:n.jsxs(ra,{children:[n.jsx(rt,{source:"SpendManagementListViewPage",title:c==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!r&&!Ie,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:i.colors.grey4,style:{zIndex:3,...lt.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Re,onClickMenuIcon:de,isSearchOpen:_}),n.jsxs(la,{children:[n.jsx(ca,{children:n.jsx(Et,{tabIds:Se,approvalCount:C,selectedTab:o,entity:c,enablePerformanceTracking:!1,onTabSelectedChange:ke,onClickSetupIcon:j})}),xe]}),Ae?n.jsx(Zt,{botEmail:a,onCancelClick:()=>P(!1),title:c==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:c==="bill_pay"?[{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(ct,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(O,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(dt,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(O,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,Ne?n.jsx($t,{id:De,children:n.jsx(oa,{threadData:je,collaborationTab:Me,isThreadsOpen:Pe,setIsThreadsOpen:I,handleThreadClick:ze,windowSize:p,backgroundColor:i.colors.background})}):null]})})},ia=e=>e.base64!==void 0?`${ft}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",V=(e,i,u,p,y)=>{const l=m.filters.filterOptions;return e==="bill_pay"?Je.reduce((s,a)=>{switch(a.value){case"amount":return{...s,[a.value]:l.billAmountOptions};case"paymentMethod":return{...s,[a.value]:l.paymentMethodOptions};case"status":return{...s,[a.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...s,[a.value]:l.billPaymentTypeOptions};default:return{...s,[a.value]:[]}}},{}):e==="reimbursement"?(N(u)?qe:We).reduce((s,a)=>{switch(a.value){case"createdBy":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:r}}case"paymentMethod":return{...s,[a.value]:l.paymentMethodOptions};case"status":return{...s,[a.value]:l.commonStatusOptions};case"amount":return{...s,[a.value]:l.reimbursementAmountOptions};default:return{...s,[a.value]:[]}}},{}):e==="charge_card_payment_history"?(Ye??[]).reduce((s,a)=>{switch(a.value){case"status":return{...s,[a.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:[{label:"Autopay",value:"autopay"},...r]}}case"sourceAccount":{const r=y?Object.entries(y).map(([o,g])=>{const C=Rt(g.depositAccountName,g.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),b=jt(g,ia),f=b.iconType!=null&&b.iconColor!=null,c=b.photo,k=c!=null&&c!=="";return{label:C,value:o,...f&&{iconType:b.iconType,iconColor:b.iconColor},...k&&{photo:Ze(c)}}}):[];return{...s,[a.value]:r}}case"repaymentDate":return{...s,[a.value]:[]};default:return{...s,[a.value]:[]}}},{}):Ke.reduce((s,a)=>{switch(a.value){case"assignee":{if(i?.length===0)return{...s,[a.value]:[]};const r=i.map(o=>({label:o?.firstName||o?.lastName?`${o?.firstName} ${o?.lastName}`:o?.email??"",value:o.userId,photo:o?.photo,email:o?.email}));return{...s,[a.value]:r}}case"status":return{...s,[a.value]:[...Xe.map(r=>({label:r.name,value:r.code}))]};case"priority":return{...s,[a.value]:[...Qe.map(r=>({label:r.name,value:r.code}))]};case"tag":return{...s,[a.value]:[...p.map(r=>({label:r.name,value:r.tagId}))]};default:return{...s,[a.value]:[]}}},{})},ra=d.div`
121
121
  display: flex;
122
122
  min-height: 100%;
123
123
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as qt,aT as Zt,o as i,O as te,cl as Qt,cu as lt,gk as Jt,b5 as Yt,cC as ei,j6 as ti,j7 as ii,L as oi,c0 as Q,bT as li,aV as ni,x as m,g as qe,gl as ri,lh as si,d as J,d9 as ai,ao as K,an as O,ak as ae,li as di,fq as ci,lj as pi,lk as bt,ll as xt,ay as Ie,g6 as mi,kq as ui,lm as hi,ln as gi,b_ as ft,w as Be,ac as ee,gV as Ze,a9 as Qe,hK as Je,cU as wt,lo as $t,lp as ze,aQ as Le,hM as Ye,aM as we,jf as vt,jg as kt,lq as St,je as Pt,cI as Tt,cL as Ct,lr as E,ls as jt,gG as _t,d8 as Bt,dE as et,u as p}from"./index-aCBnCBoN.js";import{a as _,P as It}from"./sentry-DzaNjvx0.js";import{n as o,c as q}from"./mui-BosmckWV.js";import{Hv as Pe,Ha as Te,GD as Ae,bp as zt}from"./zeni-epic-state-BNpJ2txa.js";import{K as yi,L as bi,_ as xi}from"./StatusSwitcher-jxaonB4S-Dw8Z5KsP.js";import{d as Lt}from"./useLongPress-GCK2COYQ-BgaoTE4k.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="478716a4-d8c2-4308-b6ac-f17fba9d9652",e._sentryDebugIdIdentifier="sentry-dbid-478716a4-d8c2-4308-b6ac-f17fba9d9652")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},fi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},wi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[De,Re,fi,it,Ee],$i=[De,Re,tt,it,Ee],vi=[De,Re,tt,it,Ee],ki=[De,Re,tt,wi,Ee],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,kt)};function Si({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),g=Y(),[y,x]=_.useState(Ai(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let h=n;r.sortKey===s&&(h=n==="ascending"?"descending":"ascending"),d?.(s,h)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(nt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(ji,{children:[t.jsx(Bi,{children:t.jsx(_i,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Li,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:g,children:y.map(s=>t.jsxs(Ti,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:g,children:[t.jsxs(zi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(Ii,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Ci,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Pi=It.memo(Si),nt=o(ae)`
1
+ import{aa as Wt,cQ as Kt,e as J,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as qt,aT as Zt,o as i,O as te,cl as Yt,cu as lt,gk as Qt,b5 as Jt,cC as ei,j6 as ti,j7 as ii,L as oi,c1 as Y,bT as li,aV as ni,x as m,g as qe,gl as ri,lh as si,d as Q,d9 as ai,ao as K,an as O,ak as ae,li as di,fq as ci,lj as pi,lk as bt,ll as xt,ay as Ie,g6 as mi,kq as ui,lm as hi,ln as gi,b$ as ft,w as Be,ac as ee,gV as Ze,a9 as Ye,hK as Qe,cU as wt,lo as $t,lp as ze,aQ as Le,hM as Je,aM as we,jf as vt,jg as kt,lq as St,je as Pt,cI as Tt,cL as Ct,lr as E,ls as jt,gG as _t,d8 as Bt,dE as et,u as p}from"./index-B8J3c9-k.js";import{a as _,P as It}from"./sentry-xNvKSthz.js";import{n as o,c as q}from"./mui-B_fu8zAT.js";import{Hv as Pe,Ha as Te,GD as Ae,bp as zt}from"./zeni-epic-state-SAYXyeZn.js";import{K as yi,L as bi,_ as xi}from"./StatusSwitcher-D3qCg5J1-BZCFmoiB.js";import{d as Lt}from"./useLongPress-GCK2COYQ-DMOFKAWg.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="dc5fd7f4-3138-421c-8117-8ed234848af6",e._sentryDebugIdIdentifier="sentry-dbid-dc5fd7f4-3138-421c-8117-8ed234848af6")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},fi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},wi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[De,Re,fi,it,Ee],$i=[De,Re,tt,it,Ee],vi=[De,Re,tt,it,Ee],ki=[De,Re,tt,wi,Ee],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,kt)};function Si({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),g=J(),[y,x]=_.useState(Ai(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let h=n;r.sortKey===s&&(h=n==="ascending"?"descending":"ascending"),d?.(s,h)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(nt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(ji,{children:[t.jsx(Bi,{children:t.jsx(_i,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Li,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:g,children:y.map(s=>t.jsxs(Ti,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:g,children:[t.jsxs(zi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(Ii,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Ci,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Pi=It.memo(Si),nt=o(ae)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -69,7 +69,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
69
69
  &:hover {
70
70
  color: ${e=>e.theme.colors.primary};
71
71
  }
72
- `,Ai=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we($i);case"scheduled":return we(vi);case"paid":return we(ki)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ue,space:ve}},collaboration:{commentOnField:Di}}=te.getLocalizedStrings(),Ri=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:g,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=g||y,n=Y(),h=Ie(),k=Ze(),I=Qe().analytics,c=`dashboard_${h.currentTenant?.companyId}`,{threads:j,isLoading:S}=Je({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(T=>T.resolved===!1),[j]),A=T=>{T.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:h.currentTenant?.companyId??Ue,companyName:h.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",h.currentTenant?.companyName??Ue,h.controllersList.controllers.map(M=>et(M)),void 0,void 0,Di)},C=_.useCallback(()=>{w(e.id)},[e.id]),P=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze($),Z=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,H=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Ei,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Mi,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ni,{children:[t.jsxs(Fi,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Oi,{children:[t.jsx(Vi,{windowSize:n,children:Z}),e.isRecurring?t.jsx(Q,{title:H(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(qi,{isProcessing:s,children:t.jsx(Zi,{})})}):null]}),t.jsx(Ki,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(at,{windowSize:n,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(at,{windowSize:n,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Gi,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Hi,{children:[l!==void 0?t.jsx(Ui,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Xi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Q,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Qi,{})}):null]}),$!==void 0&&P.length>0?P.length>1?t.jsx(Q,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${P.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Wi,{windowSize:n,responsiveWidth:xe[4].width,children:Le("0,0[.]00",e.totalAmountInUSD)})]})}),a&&z.length>0?t.jsx(Ye,{isLoading:S,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:A}):null]})},Ei=o.div`
72
+ `,Ai=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we($i);case"scheduled":return we(vi);case"paid":return we(ki)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ue,space:ve}},collaboration:{commentOnField:Di}}=te.getLocalizedStrings(),Ri=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:g,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=g||y,n=J(),h=Ie(),k=Ze(),I=Ye().analytics,c=`dashboard_${h.currentTenant?.companyId}`,{threads:j,isLoading:S}=Qe({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(T=>T.resolved===!1),[j]),A=T=>{T.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:h.currentTenant?.companyId??Ue,companyName:h.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",h.currentTenant?.companyName??Ue,h.controllersList.controllers.map(M=>et(M)),void 0,void 0,Di)},C=_.useCallback(()=>{w(e.id)},[e.id]),P=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze($),Z=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,H=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Ei,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Mi,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ni,{children:[t.jsxs(Fi,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Oi,{children:[t.jsx(Vi,{windowSize:n,children:Z}),e.isRecurring?t.jsx(Y,{title:H(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(qi,{isProcessing:s,children:t.jsx(Zi,{})})}):null]}),t.jsx(Ki,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(at,{windowSize:n,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(at,{windowSize:n,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Gi,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Hi,{children:[l!==void 0?t.jsx(Ui,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Xi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Y,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Yi,{})}):null]}),$!==void 0&&P.length>0?P.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${P.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Wi,{windowSize:n,responsiveWidth:xe[4].width,children:Le("0,0[.]00",e.totalAmountInUSD)})]})}),a&&z.length>0?t.jsx(Je,{isLoading:S,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:A}):null]})},Ei=o.div`
73
73
  display: flex;
74
74
  margin-bottom: ${i.sp3};
75
75
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -78,7 +78,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
78
78
  padding-top: ${e=>fe.containerPaddingTop.valuePx(e.windowSize)};
79
79
  padding-bottom: ${e=>fe.containerPaddingBottom.valuePx(e.windowSize)};
80
80
  border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
81
- box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${J.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${J.dropShadowNormalLight}`};
81
+ box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
82
82
  border-radius: ${i.sp2};
83
83
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
84
84
 
@@ -214,14 +214,14 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
214
214
  width: 12px;
215
215
  height: 12px;
216
216
  color: inherit;
217
- `,Qi=o(Bt)`
217
+ `,Yi=o(Bt)`
218
218
  width: ${i.sp3};
219
219
  height: ${i.sp3};
220
220
  color: ${e=>e.theme.colors.hero};
221
221
  :hover {
222
222
  color: ${e=>e.theme.colors.primary};
223
223
  }
224
- `,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Xe,space:ke}},collaboration:{commentOnField:Ji}}=te.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:g,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:h})=>{const k=d||r,I=Y(),c=Ie(),j=Ze(),S=Qe().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:A,isLoading:C}=Je({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>A.filter(V=>V.resolved===!1),[A]),Z=V=>{V.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Xe,companyName:c.currentTenant?.companyName??Xe,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??Xe,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,Ji)},{getValues:H,setValue:T}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=H(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&T(y,[...se,e.id])},[y,x,a,T,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Ve=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),$?ge():h(e.id)},[ge,$,h,e.id]),We=Lt({onLongPress:Ve},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(eo,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:k,children:[t.jsx(to,{onClick:ye,...We,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(io,{children:[t.jsxs(po,{children:[t.jsxs(oo,{children:[t.jsxs(lo,{children:[t.jsx(no,{windowSize:I,children:re}),e.isRecurring?t.jsx(Q,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(uo,{isProcessing:k,children:t.jsx(ho,{})})}):null]}),t.jsx(so,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(dt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(dt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(mo,{children:[t.jsx(ro,{children:Le("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(co,{hasAlertIcon:b!=null,children:[t.jsxs(go,{children:[l!==void 0?t.jsx(ao,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(bo,{onClick:V=>V.stopPropagation(),children:t.jsx(Q,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(yo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(Q,{title:`${ne.byText}${ke}${M.join(`${ke}${ne.orText}${ke}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${ke}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${ke}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),g&&P.length>0?t.jsx(Ye,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z}):null]})},eo=o.div`
224
+ `,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Xe,space:ke}},collaboration:{commentOnField:Qi}}=te.getLocalizedStrings(),Ji=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:g,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:h})=>{const k=d||r,I=J(),c=Ie(),j=Ze(),S=Ye().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:A,isLoading:C}=Qe({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>A.filter(V=>V.resolved===!1),[A]),Z=V=>{V.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Xe,companyName:c.currentTenant?.companyName??Xe,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??Xe,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,Qi)},{getValues:H,setValue:T}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=H(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&T(y,[...se,e.id])},[y,x,a,T,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Ve=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),$?ge():h(e.id)},[ge,$,h,e.id]),We=Lt({onLongPress:Ve},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(eo,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:k,children:[t.jsx(to,{onClick:ye,...We,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(io,{children:[t.jsxs(po,{children:[t.jsxs(oo,{children:[t.jsxs(lo,{children:[t.jsx(no,{windowSize:I,children:re}),e.isRecurring?t.jsx(Y,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(uo,{isProcessing:k,children:t.jsx(ho,{})})}):null]}),t.jsx(so,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(dt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(dt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(mo,{children:[t.jsx(ro,{children:Le("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(co,{hasAlertIcon:b!=null,children:[t.jsxs(go,{children:[l!==void 0?t.jsx(ao,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(bo,{onClick:V=>V.stopPropagation(),children:t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(yo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(Y,{title:`${ne.byText}${ke}${M.join(`${ke}${ne.orText}${ke}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${ke}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${ke}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),g&&P.length>0?t.jsx(Je,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z}):null]})},eo=o.div`
225
225
  display: flex;
226
226
  margin-bottom: ${i.sp3};
227
227
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -230,7 +230,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
230
230
  padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
231
231
  padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
232
232
  border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
233
- box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${J.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${J.dropShadowNormalLight}`};
233
+ box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
234
234
  border-radius: ${i.sp2};
235
235
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
236
236
  ${e=>e.isProcessing?q`
@@ -361,7 +361,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
361
361
  :hover {
362
362
  color: ${e=>e.theme.colors.primary};
363
363
  }
364
- `,bo=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Ne={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Fe={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Oe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Me,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],xo=[Me,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],fo=[Me,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],wo=[Me,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],At={draft:pe,pending_approval:xo,scheduled:fo,paid:wo},_e={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[3],p[4])};function $o({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const g=Y(),y=qe(),[x,$]=_.useState(we(At[l]));_.useEffect(()=>{const n=[...x];for(const h of n)h.key===r.sortKey?h.sortOrder=r.sortOrder:h.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,h)=>{let k=h;r.sortKey===n&&(k=h==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,k),d?.(n,k)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(h=>h.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(ct,{height:vt,windowSize:g,children:[t.jsx(So,{children:t.jsx(Po,{})}),t.jsx(ft,{title:s.sortBy,placeholder:s.sortBy,pickerValues:w,valueToLabel:u,selectedValue:r.sortKey,onPickerSelectionChanged:n=>{f(n,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(_o,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:kt,windowSize:g,children:x.map(n=>t.jsxs(ko,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:g,children:[t.jsxs(jo,{onClick:()=>f(n.key,n.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(ae,{children:n.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(mt,{})})]}),t.jsx(Co,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(To,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const vo=It.memo($o),ct=o(ae)`
364
+ `,bo=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Ne={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Fe={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Oe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Me,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],xo=[Me,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],fo=[Me,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],wo=[Me,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],At={draft:pe,pending_approval:xo,scheduled:fo,paid:wo},_e={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[3],p[4])};function $o({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const g=J(),y=qe(),[x,$]=_.useState(we(At[l]));_.useEffect(()=>{const n=[...x];for(const h of n)h.key===r.sortKey?h.sortOrder=r.sortOrder:h.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,h)=>{let k=h;r.sortKey===n&&(k=h==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,k),d?.(n,k)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(h=>h.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(ct,{height:vt,windowSize:g,children:[t.jsx(So,{children:t.jsx(Po,{})}),t.jsx(ft,{title:s.sortBy,placeholder:s.sortBy,pickerValues:w,valueToLabel:u,selectedValue:r.sortKey,onPickerSelectionChanged:n=>{f(n,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(_o,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:kt,windowSize:g,children:x.map(n=>t.jsxs(ko,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:g,children:[t.jsxs(jo,{onClick:()=>f(n.key,n.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(ae,{children:n.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(mt,{})})]}),t.jsx(Co,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(To,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const vo=It.memo($o),ct=o(ae)`
365
365
  width: 100%;
366
366
  top: 0;
367
367
  left: 0;
@@ -429,7 +429,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
429
429
  color: ${e=>e.theme.colors.primary};
430
430
  }
431
431
  margin-left: auto;
432
- `,Se={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},Dt=te.getLocalizedStrings(),G=Dt.spendManagement.reimbursement.reimbursementByTabs,{commentOnField:Bo}=Dt.collaboration,Io=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:g,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=Y(),u=Ie(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*St)},[b]);const h=Qe().analytics,k=Ze(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=ze(y),z=te.getLocalizedStrings().common.strings.empty,{threads:A,isLoading:C}=Je({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>A.filter(H=>H.resolved===!1),[A]),Z=H=>{H.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),h.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(T=>et(T)),void 0,void 0,Bo)};return t.jsxs(zo,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(Lo,{children:t.jsxs(Ao,{children:[t.jsxs(Do,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(Ro,{windowSize:b,reportNameWidth:s,children:e.reportTitle??G.newReimbursementTitle}),a!=null&&t.jsx(Eo,{children:`${G.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(No,{windowSize:b,responsiveWidth:pe[1].width,children:g}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Q,{title:G.reimbursementType.both,placement:"bottom-start",display:"flex",children:G.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:G.reimbursementType[j[0]]}),t.jsxs(Oo,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Vo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??G.hyphenText}):t.jsx(Fo,{children:G.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(Q,{title:`${G.byText} `+S.join(` ${G.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${G.byText} `+S[0]+`${G.dots}`})}):t.jsx(He,{children:`${G.byText} `+S[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Mo,{windowSize:b,responsiveWidth:pe[4].width,children:Le("0,0[.]00",e.amount)})]})}),$&&P.length>0?t.jsx(Ye,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:Z}):null]})},zo=o.div`
432
+ `,Se={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},Dt=te.getLocalizedStrings(),G=Dt.spendManagement.reimbursement.reimbursementByTabs,{commentOnField:Bo}=Dt.collaboration,Io=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:g,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=J(),u=Ie(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*St)},[b]);const h=Ye().analytics,k=Ze(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=ze(y),z=te.getLocalizedStrings().common.strings.empty,{threads:A,isLoading:C}=Qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>A.filter(H=>H.resolved===!1),[A]),Z=H=>{H.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),h.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(T=>et(T)),void 0,void 0,Bo)};return t.jsxs(zo,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(Lo,{children:t.jsxs(Ao,{children:[t.jsxs(Do,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(Ro,{windowSize:b,reportNameWidth:s,children:e.reportTitle??G.newReimbursementTitle}),a!=null&&t.jsx(Eo,{children:`${G.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(No,{windowSize:b,responsiveWidth:pe[1].width,children:g}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:G.reimbursementType.both,placement:"bottom-start",display:"flex",children:G.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:G.reimbursementType[j[0]]}),t.jsxs(Oo,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Vo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??G.hyphenText}):t.jsx(Fo,{children:G.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(Y,{title:`${G.byText} `+S.join(` ${G.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${G.byText} `+S[0]+`${G.dots}`})}):t.jsx(He,{children:`${G.byText} `+S[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Mo,{windowSize:b,responsiveWidth:pe[4].width,children:Le("0,0[.]00",e.amount)})]})}),$&&P.length>0?t.jsx(Je,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:Z}):null]})},zo=o.div`
433
433
  display: flex;
434
434
  margin-bottom: ${i.sp3};
435
435
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -438,7 +438,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
438
438
  padding-top: ${e=>Se.containerPaddingTop.valuePx(e.windowSize)};
439
439
  padding-bottom: ${e=>Se.containerPaddingBottom.valuePx(e.windowSize)};
440
440
  border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
441
- box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${J.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${J.boxShadowElevation}`};
441
+ box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
442
442
  border-radius: ${i.sp2};
443
443
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
444
444
 
@@ -547,7 +547,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
547
547
  padding: 1px 6px 1px 6px;
548
548
  border: ${e=>`1px solid ${e.borderColor}`};
549
549
  border-radius: ${i.sp1};
550
- `,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},W=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Wo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:g,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=Y(),{getValues:n,setValue:h}=wt(),k=e.reimbursementTypesIncluded,I=ze(b),c=we(At[d]),j=n(g),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&h(g,[...j,e.id])},[g,y,a,h,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),A=_.useCallback(P=>{P.stopPropagation(),P.cancelable&&P.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=Lt({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Ko,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Uo,{onClick:A,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Xo,{children:[t.jsxs(Ho,{children:[t.jsxs(qo,{children:[t.jsx(Zo,{windowSize:s,children:e.reportTitle??W.newReimbursementTitle}),$!=null&&t.jsx(Qo,{children:`${W.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Yo,{children:[c[1].value+": ",f]}),k.length>1?t.jsx(Q,{title:W.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[W.reimbursementType.type+": ",W.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[W.reimbursementType.type+": ",W.reimbursementType[k[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Jo,{children:Le("0,0[.]00",e.amount)}),t.jsxs(el,{children:[l!==void 0?t.jsx(tl,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??W.hyphenText}):t.jsx(t.Fragment,{children:W.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(Q,{title:`${W.byText} `+I.join(` ${W.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${W.byText} `+I[0]+`${W.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${W.byText} `+I[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},Ko=o.div`
550
+ `,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},W=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Wo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:g,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=J(),{getValues:n,setValue:h}=wt(),k=e.reimbursementTypesIncluded,I=ze(b),c=we(At[d]),j=n(g),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&h(g,[...j,e.id])},[g,y,a,h,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),A=_.useCallback(P=>{P.stopPropagation(),P.cancelable&&P.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=Lt({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Ko,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Uo,{onClick:A,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Xo,{children:[t.jsxs(Ho,{children:[t.jsxs(qo,{children:[t.jsx(Zo,{windowSize:s,children:e.reportTitle??W.newReimbursementTitle}),$!=null&&t.jsx(Yo,{children:`${W.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Jo,{children:[c[1].value+": ",f]}),k.length>1?t.jsx(Y,{title:W.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[W.reimbursementType.type+": ",W.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[W.reimbursementType.type+": ",W.reimbursementType[k[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Qo,{children:Le("0,0[.]00",e.amount)}),t.jsxs(el,{children:[l!==void 0?t.jsx(tl,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??W.hyphenText}):t.jsx(t.Fragment,{children:W.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(Y,{title:`${W.byText} `+I.join(` ${W.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${W.byText} `+I[0]+`${W.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${W.byText} `+I[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},Ko=o.div`
551
551
  display: flex;
552
552
  margin-bottom: ${i.sp3};
553
553
  background-color: ${e=>e.theme.colors.grey5};
@@ -556,7 +556,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
556
556
  padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
557
557
  padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
558
558
  border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
559
- box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${J.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${J.boxShadowElevation}`};
559
+ box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
560
560
  border-radius: ${i.sp2};
561
561
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
562
562
  ${e=>e.isProcessing?q`
@@ -630,13 +630,13 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
630
630
  overflow: hidden;
631
631
  text-overflow: ellipsis;
632
632
  max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
633
- `,Qo=o(K)`
633
+ `,Yo=o(K)`
634
634
  color: ${e=>e.theme.colors.grey1};
635
- `,Jo=o(O)`
635
+ `,Qo=o(O)`
636
636
  display: flex;
637
637
  margin-left: auto;
638
638
  color: ${e=>e.theme.colors.hero};
639
- `,Yo=o(K)`
639
+ `,Jo=o(K)`
640
640
  color: ${e=>e.theme.colors.grey1};
641
641
  box-sizing: border-box;
642
642
  display: flex;
@@ -663,7 +663,7 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
663
663
  border: ${e=>`1px solid ${e.borderColor}`};
664
664
  border-radius: ${i.sp1};
665
665
  margin-left: auto;
666
- `,il={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:ol}},spendManagement:{billPay:Rt,reimbursement:ll}}=v,X=Rt.bulkActions,F=ll.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",nl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:h,transactionsSelectedForBulkAction:k,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:A})=>{const C=Y(),P=T=>{const M=w==="bill_pay"?e[T].vendor?.name??e[T].candidateVendorName??N:e[T].reportTitle??N;return si(M,C)},Z=_.useRef(null);_.useEffect(()=>{Z.current?.resetAfterIndex(0)},[C,Z,d,r]);const H=_.forwardRef((T,M)=>{const{children:re,style:ie,...se}=T;return t.jsx(_l,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(jl,{children:re})})});return H.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Qt({componentName:`${bi(w)}.${xi(d,w)}`,enabled:c==="Completed"}),t.jsx(fl,{children:c==="Error"?t.jsxs(vl,{children:[t.jsx(kl,{onClick:z,children:t.jsx(Sl,{})}),t.jsx(Pl,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Jt,{fetchState:c,styles:{margin:"auto"}}):t.jsx(Tl,{windowSize:C,children:t.jsx(Yt,{children:({height:T,width:M})=>t.jsx(ei,{ref:Z,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:H,itemSize:P,estimatedItemSize:ii,itemKey:re=>e[re].id,width:M,overscanCount:ti,itemData:{entity:w,isBulkActionAllowed:h,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:k,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:A},initialScrollOffset:0,children:rl})})})})},Zl=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:h,isBulkActionAllowed:k,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:A,onSubtabChange:C,fetchState:P,onReloadTransactions:Z,onColumnSortConfigChanged:H,analytics:T,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Wt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const L=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{L.unsubscribe()}});const ge=async(L,D)=>{if(L===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===h)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);T?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));T?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Ve=()=>{j.includes("cancel")?Ft():Vt()},ye=Y(),[We,V]=_.useState(!1),[U,Ke]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const L=Ut(a,u,s);P==="Completed"&&L!=null&&T?.trackPageLoaded(L,s==="bill_pay"?"Bills":"Reimbursements")},[T,a,u,s,P]);const Mt=L=>{C(L)},Nt=_.useCallback(()=>{const{title:L,description:D}=bl(s,c.length,a,I);if(Ke({type:"delete",title:L,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);T?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));T?.trackReimbursementBulkDeleted(c.length,a,u,R)}V(!0)},[s,T,I,u,a,e,c]),Ft=_.useCallback(()=>{const{title:L,description:D}=yl(s,c.length);Ke({type:"cancel",title:L,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ot={onOkClick:L=>{if(V(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);T?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));T?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",L):ie?.("cancel",L)},onCancelClick:()=>{re?.(),V(!1),Ke({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Vt=_.useCallback(()=>{if(s==="bill_pay"){const L=e.filter(B=>c.includes(B.id)),D=Pe(L);T?.trackBillPayBulkSelection(c.length,a,u,D)}else{const L=e.filter(B=>c.includes(B.id)),D=Te(L.map(B=>B.reimbursementTypesIncluded));T?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,T,c,a,u,ie,z]),ot=j.filter(L=>L!=="delete").length>0;return t.jsxs($l,{children:[t.jsx(yi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Mt,isSwitcherLeftAlign:!0}),t.jsx(Xt,{...se,children:t.jsxs(wl,{onSubmit:se.handleSubmit(Ve),children:[t.jsx(nl,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:P,onReloadTransactions:Z,onTransactionRowClick:A,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:H,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),We?t.jsx(Ht,{titleComponent:t.jsx(qt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ot,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Zt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:ul(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:hl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:gl(j,ye)},leftSideComponent:pl(c.length,h,s,ye),rightSideComponent:j.includes("delete")?ml(c.length,U.type==="delete"&&S==="In-Progress",Nt,ye):null}):null]})})]})},rl=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:h,analytics:k,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=Y(),z=qe(),A=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(Cl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ri,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:dl(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:cl(S),name:ue,mode:A,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Pi,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=f?.includes(C.id)??!1;return{label:t.jsx(sl,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:A==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:xl(C,a),exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:P?"info":yt(C)}})]:[{label:t.jsx(vo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:k,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=b?.includes(C.id)??!1;return{label:t.jsx(al,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:g,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:A==="always_on",isAffectedByApprovalRuleUpdate:P}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:P?"info":yt(C)}})]})})},sl=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=Y()==="small"?Yi:Ri,w=di(e,l),{bulkProcessingDetail:s}=e,n=Ae(s?.type),h=b?.includes(e.id)??!1,k=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Rt.billDetails.paymentOutsideZeni.paymentModeOptions.find(A=>A.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?ci(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=pi(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Et,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:h,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||h?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?k():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},al=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=Y()==="small"?Wo:Io,w=Ie(),s=mi(w),n=ui(d,e.submittedBy,s),{bulkProcessingDetail:h}=e,k=Ae(h?.type)||b;return t.jsx(Et,{children:t.jsx(u,{reportTitleAdditionalInfo:n,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:g.includes(e.id),isProcessing:k,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:gi(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:hi(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:k?()=>null:f})})},dl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},cl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},pl=(e,l,d,r)=>{const a=d==="bill_pay"?X.bill:F.report,g=(e>1?a+"s":a)+X.selected;return e>0?t.jsxs(Ll,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Al,{multiDigit:e>=10,children:e}),t.jsx(Dl,{children:g}),e===l?t.jsx(Rl,{children:ol}):null]}):null},ml=(e,l,d,r)=>e>0?t.jsx(Bl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Il,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Q,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(zl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Ae(d?.type),g=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},ul=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},hl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},gl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},yl=(e,l)=>{const{this_:d,these:r,payment:a,payments:g,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:X.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:X.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:X.popUps.cancel.title.replace("<_bill_>",X.bill),description:X.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},bl=(e,l,d,r)=>{const{this_:a,these:g,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let h=N;e==="bill_pay"?h=X.popUps.delete.title.replace("<_bill_>",n?X.bills:X.bill):h=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let k=N;return d==="draft"?e==="bill_pay"?k=X.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f):k=F.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("__report__",n?u:b):r?k=X.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?k=X.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):k=F.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:h,description:k}},xl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",fl=o.div`
666
+ `,il={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:ol}},spendManagement:{billPay:Rt,reimbursement:ll}}=v,X=Rt.bulkActions,F=ll.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",nl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:h,transactionsSelectedForBulkAction:k,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:A})=>{const C=J(),P=T=>{const M=w==="bill_pay"?e[T].vendor?.name??e[T].candidateVendorName??N:e[T].reportTitle??N;return si(M,C)},Z=_.useRef(null);_.useEffect(()=>{Z.current?.resetAfterIndex(0)},[C,Z,d,r]);const H=_.forwardRef((T,M)=>{const{children:re,style:ie,...se}=T;return t.jsx(_l,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(jl,{children:re})})});return H.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Yt({componentName:`${bi(w)}.${xi(d,w)}`,enabled:c==="Completed"}),t.jsx(fl,{children:c==="Error"?t.jsxs(vl,{children:[t.jsx(kl,{onClick:z,children:t.jsx(Sl,{})}),t.jsx(Pl,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Qt,{fetchState:c,styles:{margin:"auto"}}):t.jsx(Tl,{windowSize:C,children:t.jsx(Jt,{children:({height:T,width:M})=>t.jsx(ei,{ref:Z,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:H,itemSize:P,estimatedItemSize:ii,itemKey:re=>e[re].id,width:M,overscanCount:ti,itemData:{entity:w,isBulkActionAllowed:h,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:k,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:A},initialScrollOffset:0,children:rl})})})})},Zl=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:h,isBulkActionAllowed:k,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:A,onSubtabChange:C,fetchState:P,onReloadTransactions:Z,onColumnSortConfigChanged:H,analytics:T,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Wt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const L=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{L.unsubscribe()}});const ge=async(L,D)=>{if(L===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===h)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);T?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));T?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Ve=()=>{j.includes("cancel")?Ft():Vt()},ye=J(),[We,V]=_.useState(!1),[U,Ke]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const L=Ut(a,u,s);P==="Completed"&&L!=null&&T?.trackPageLoaded(L,s==="bill_pay"?"Bills":"Reimbursements")},[T,a,u,s,P]);const Mt=L=>{C(L)},Nt=_.useCallback(()=>{const{title:L,description:D}=bl(s,c.length,a,I);if(Ke({type:"delete",title:L,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);T?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));T?.trackReimbursementBulkDeleted(c.length,a,u,R)}V(!0)},[s,T,I,u,a,e,c]),Ft=_.useCallback(()=>{const{title:L,description:D}=yl(s,c.length);Ke({type:"cancel",title:L,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ot={onOkClick:L=>{if(V(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);T?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));T?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",L):ie?.("cancel",L)},onCancelClick:()=>{re?.(),V(!1),Ke({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Vt=_.useCallback(()=>{if(s==="bill_pay"){const L=e.filter(B=>c.includes(B.id)),D=Pe(L);T?.trackBillPayBulkSelection(c.length,a,u,D)}else{const L=e.filter(B=>c.includes(B.id)),D=Te(L.map(B=>B.reimbursementTypesIncluded));T?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,T,c,a,u,ie,z]),ot=j.filter(L=>L!=="delete").length>0;return t.jsxs($l,{children:[t.jsx(yi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Mt,isSwitcherLeftAlign:!0}),t.jsx(Xt,{...se,children:t.jsxs(wl,{onSubmit:se.handleSubmit(Ve),children:[t.jsx(nl,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:P,onReloadTransactions:Z,onTransactionRowClick:A,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:H,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),We?t.jsx(Ht,{titleComponent:t.jsx(qt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ot,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Zt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:ul(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:hl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:gl(j,ye)},leftSideComponent:pl(c.length,h,s,ye),rightSideComponent:j.includes("delete")?ml(c.length,U.type==="delete"&&S==="In-Progress",Nt,ye):null}):null]})})]})},rl=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:h,analytics:k,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=J(),z=qe(),A=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(Cl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ri,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:dl(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:cl(S),name:ue,mode:A,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Pi,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=f?.includes(C.id)??!1;return{label:t.jsx(sl,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:A==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:xl(C,a),exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:P?"info":yt(C)}})]:[{label:t.jsx(vo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:k,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=b?.includes(C.id)??!1;return{label:t.jsx(al,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:g,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:A==="always_on",isAffectedByApprovalRuleUpdate:P}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:P?"info":yt(C)}})]})})},sl=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=J()==="small"?Ji:Ri,w=di(e,l),{bulkProcessingDetail:s}=e,n=Ae(s?.type),h=b?.includes(e.id)??!1,k=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Rt.billDetails.paymentOutsideZeni.paymentModeOptions.find(A=>A.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?ci(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=pi(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Et,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:h,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||h?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?k():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},al=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=J()==="small"?Wo:Io,w=Ie(),s=mi(w),n=ui(d,e.submittedBy,s),{bulkProcessingDetail:h}=e,k=Ae(h?.type)||b;return t.jsx(Et,{children:t.jsx(u,{reportTitleAdditionalInfo:n,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:g.includes(e.id),isProcessing:k,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:gi(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:hi(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:k?()=>null:f})})},dl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},cl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},pl=(e,l,d,r)=>{const a=d==="bill_pay"?X.bill:F.report,g=(e>1?a+"s":a)+X.selected;return e>0?t.jsxs(Ll,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Al,{multiDigit:e>=10,children:e}),t.jsx(Dl,{children:g}),e===l?t.jsx(Rl,{children:ol}):null]}):null},ml=(e,l,d,r)=>e>0?t.jsx(Bl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Il,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(zl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Ae(d?.type),g=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},ul=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},hl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},gl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},yl=(e,l)=>{const{this_:d,these:r,payment:a,payments:g,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:X.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:X.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:X.popUps.cancel.title.replace("<_bill_>",X.bill),description:X.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},bl=(e,l,d,r)=>{const{this_:a,these:g,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let h=N;e==="bill_pay"?h=X.popUps.delete.title.replace("<_bill_>",n?X.bills:X.bill):h=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let k=N;return d==="draft"?e==="bill_pay"?k=X.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f):k=F.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("__report__",n?u:b):r?k=X.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?k=X.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):k=F.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:h,description:k}},xl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",fl=o.div`
667
667
  display: block;
668
668
  height: 100%;
669
669
  `,wl=o.form`
@@ -723,14 +723,14 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
723
723
  `,Il=o.div`
724
724
  margin-right: ${i.sp8};
725
725
  cursor: ${e=>e.isLoading?"initial":"pointer"};
726
- color: ${e=>e.windowSize==="small"?J.important:e.theme.colors.grey1};
726
+ color: ${e=>e.windowSize==="small"?Q.important:e.theme.colors.grey1};
727
727
  `,zl=o(ai)`
728
728
  width: ${i.sp4};
729
729
  height: ${i.sp4};
730
730
  cursor: pointer;
731
731
  color: inherit;
732
732
  &:hover {
733
- color: ${J.important};
733
+ color: ${Q.important};
734
734
  }
735
735
  `,Ll=o.div`
736
736
  display: flex;
@@ -750,5 +750,5 @@ import{aa as Wt,cQ as Kt,e as Y,lg as Ut,V as t,ae as Xt,cy as Ht,cz as Gt,cA as
750
750
  `,Dl=o(O)`
751
751
  color: ${e=>e.theme.colors.primary};
752
752
  `,Rl=o(ae)`
753
- color: ${J.important};
753
+ color: ${Q.important};
754
754
  `;export{Zl as default};
@@ -1,4 +1,4 @@
1
- import{e as B,g as D,V as o,cw as H,o as r,ac as V,L as te,hg as ue,u as F,a as he,w as oe,bJ as re,O as j,x as ne,hh as ge,cc as me,hi as fe,da as le,bK as A,bc as ye,ak as ae,hj as xe,bI as se,ay as be,hk as Ce,hl as we,an as N,bb as ve,hm as $e,aA as je,hn as Se,d as ke,d9 as Oe,bT as Le,ge as Ie,ho as Ee,M as G,b as _e,gf as Ae,aV as Me}from"./index-aCBnCBoN.js";import{a}from"./sentry-DzaNjvx0.js";import{n as l,k as Te}from"./mui-BosmckWV.js";import{GK as Re,GL as Fe,GH as Be,GI as De,GJ as ze,GG as Pe}from"./zeni-epic-state-BNpJ2txa.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]="632bf704-1f83-42ff-8c20-a7ed8276049e",e._sentryDebugIdIdentifier="sentry-dbid-632bf704-1f83-42ff-8c20-a7ed8276049e")}catch{}})();const He=l.div`
1
+ import{e as B,g as D,V as o,cw as H,o as r,ac as V,L as te,hg as ue,u as F,a as he,w as oe,bJ as re,O as j,x as ne,hh as ge,cd as me,hi as fe,da as le,bK as A,bc as ye,ak as ae,hj as xe,bI as se,ay as be,hk as Ce,hl as we,an as N,bb as ve,hm as $e,aA as je,hn as Se,d as ke,d9 as Oe,bT as Le,ge as Ie,ho as Ee,M as G,b as _e,gf as Ae,aV as Me}from"./index-B8J3c9-k.js";import{a}from"./sentry-xNvKSthz.js";import{n as l,k as Te}from"./mui-B_fu8zAT.js";import{GK as Re,GL as Fe,GH as Be,GI as De,GJ as ze,GG as Pe}from"./zeni-epic-state-SAYXyeZn.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]="076b4170-64a7-417f-92df-ec6c43be0b05",e._sentryDebugIdIdentifier="sentry-dbid-076b4170-64a7-417f-92df-ec6c43be0b05")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as $,i0 as b,V as o,O as g,L as S,o as r,an as v,x as z,cc as j,u as k}from"./index-aCBnCBoN.js";import{a as I}from"./sentry-DzaNjvx0.js";import{n}from"./mui-BosmckWV.js";import{g as L}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{w as D}from"./downloadPdf-BuPJ6cfr-Dyz4TLVR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="9f8d749b-718a-4428-9aff-ca64135c5c72",e._sentryDebugIdIdentifier="sentry-dbid-9f8d749b-718a-4428-9aff-ca64135c5c72")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
1
+ import{e as $,i0 as b,V as o,O as g,L as S,o as r,an as v,x as z,cd as j,u as k}from"./index-B8J3c9-k.js";import{a as I}from"./sentry-xNvKSthz.js";import{n}from"./mui-B_fu8zAT.js";import{g as L}from"./BoxItem-C39hQSVg-DygFSSe8.js";import{w as D}from"./downloadPdf-Dcd8BY_9-DevbEgfI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ec526a62-3d5c-4784-a1bb-59d6a1966f39",e._sentryDebugIdIdentifier="sentry-dbid-ec526a62-3d5c-4784-a1bb-59d6a1966f39")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
2
2
  display: flex;
3
3
  padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{g as S,e as I,V as t,bE as z,b5 as C,o as r,O as P,d as p,cC as E,x as O,u as b,an as D}from"./index-aCBnCBoN.js";import{a as u}from"./sentry-DzaNjvx0.js";import{n as o}from"./mui-BosmckWV.js";import{$ as T}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{o as B}from"./commonDimensions-CVpc-NCw-D6CVEqC_.js";import{O as L}from"./StatementItem-DjvU5wiI-DHTNeSpB.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./downloadPdf-BuPJ6cfr-Dyz4TLVR.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]="4b4af686-1cfb-41f1-b6e5-16aacda59912",e._sentryDebugIdIdentifier="sentry-dbid-4b4af686-1cfb-41f1-b6e5-16aacda59912")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new O(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:m,statementListView:n,accountLast4:w,onBackClick:y})=>{const $=S(),d=I(),k=u.createRef(),c=u.useRef(null),h=n.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:i,style:s})=>{const l=n.statements[i];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:a,downloadEndPoint:m,boxType:T(i,n.statements.length)},l.id)}):t.jsx(M,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:i,width:s})=>t.jsx(H,{ref:k,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:n.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},M=o.div``,g=o.div`
1
+ import{g as S,e as I,V as t,bE as z,b5 as C,o as r,O as P,d as p,cC as E,x as O,u as b,an as D}from"./index-B8J3c9-k.js";import{a as u}from"./sentry-xNvKSthz.js";import{n as o}from"./mui-B_fu8zAT.js";import{$ as T}from"./BoxItem-C39hQSVg-DygFSSe8.js";import{o as B}from"./commonDimensions-CuKo3wam-CITxsF7B.js";import{O as L}from"./StatementItem-qsoXKx_p-DBQZldZM.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./downloadPdf-Dcd8BY_9-DevbEgfI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b1d73a08-f91e-43c1-b015-c6b0fd2c5d88",e._sentryDebugIdIdentifier="sentry-dbid-b1d73a08-f91e-43c1-b015-c6b0fd2c5d88")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new O(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:a,accountLast4:w,onBackClick:y})=>{const $=S(),d=I(),k=u.createRef(),c=u.useRef(null),h=a.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:i,style:s})=>{const l=a.statements[i];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(i,a.statements.length)},l.id)}):t.jsx(M,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:i,width:s})=>t.jsx(H,{ref:k,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:a.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},M=o.div``,g=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as $,cl as T,V as d,O as v,x as h,o as s,u as c,ak as _}from"./index-aCBnCBoN.js";import{n as u,c as m}from"./mui-BosmckWV.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]="987a7c0c-1cf7-49b5-ba86-e7715bc50429",e._sentryDebugIdIdentifier="sentry-dbid-987a7c0c-1cf7-49b5-ba86-e7715bc50429")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{e as $,cl as T,V as d,O as v,x as h,o as s,u as c,ak as _}from"./index-B8J3c9-k.js";import{n as u,c as m}from"./mui-B_fu8zAT.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]="987a7c0c-1cf7-49b5-ba86-e7715bc50429",e._sentryDebugIdIdentifier="sentry-dbid-987a7c0c-1cf7-49b5-ba86-e7715bc50429")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,L as u,ac as g,o as t,ak as b,a$ as y}from"./index-aCBnCBoN.js";import{n as r,c}from"./mui-BosmckWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="552ea453-0ad5-4a2c-9d5b-32b120cc9d09",e._sentryDebugIdIdentifier="sentry-dbid-552ea453-0ad5-4a2c-9d5b-32b120cc9d09")}catch{}})();function v({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{style:o,hasRightComponent:h,children:[i.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return i.jsxs(x,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":g("sub-tab-switcher",String(s.id)),children:[i.jsx($,{children:s.label}),s.countDetails?.count!=null?i.jsx(w,{children:i.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:i.jsx(j,{children:s.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const f=r.div`
1
+ import{V as i,L as u,ac as g,o as t,ak as b,a$ as y}from"./index-B8J3c9-k.js";import{n as r,c}from"./mui-B_fu8zAT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="552ea453-0ad5-4a2c-9d5b-32b120cc9d09",e._sentryDebugIdIdentifier="sentry-dbid-552ea453-0ad5-4a2c-9d5b-32b120cc9d09")}catch{}})();function v({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{style:o,hasRightComponent:h,children:[i.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return i.jsxs(x,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":g("sub-tab-switcher",String(s.id)),children:[i.jsx($,{children:s.label}),s.countDetails?.count!=null?i.jsx(w,{children:i.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:i.jsx(j,{children:s.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const f=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-aCBnCBoN.js";import{E as r,T as t}from"./ReloadCard-Bjp8ygC2-QCThgpLx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cb7eba83-aab0-4ff2-86d3-0ed3fbd5af3c",e._sentryDebugIdIdentifier="sentry-dbid-cb7eba83-aab0-4ff2-86d3-0ed3fbd5af3c")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
1
+ import{V as n}from"./index-B8J3c9-k.js";import{E as r,T as t}from"./ReloadCard-CDcJMl9F-tXak7uFI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9682dcf8-535f-4d7c-8cc5-9233553c5ebe",e._sentryDebugIdIdentifier="sentry-dbid-9682dcf8-535f-4d7c-8cc5-9233553c5ebe")}catch{}})();const s=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{s as c};
@@ -1,4 +1,4 @@
1
- import{ay as kt,g as Ze,V as t,jL as Y,bE as xt,ab as U,cy as wt,an as V,as as ft,O as ne,o as s,jM as Je,cq as De,cu as Ct,gk as $t,bb as Tt,bT as et,aV as yt,cl as bt,e as de,aa as jt,x as tt,cQ as vt,ae as St,b5 as Gt,cC as Lt,j6 as It,j7 as Nt,jN as Be,aT as Et,a as Ae,c0 as Me,f0 as st,jO as Dt,da as ot,jP as he,jQ as we,jR as fe,jS as nt,jT as Mt,jU as at,jV as rt,jW as it,jX as lt,jY as dt,jZ as _,u as xe,j_ as oe,ak as le,j$ as zt,k0 as At,b as Bt,ap as Rt,k1 as Wt,dl as Ot,k2 as Pt,cU as ct,eE as Ft,w as Ht,k3 as _t,k4 as Ut,gl as Vt,gJ as Kt,k5 as Yt,k6 as Z,k7 as Re,cE as qt,k8 as Xt,k9 as Qt,ka as Zt,kb as We,d as Oe,gG as Jt,ao as es}from"./index-aCBnCBoN.js";import{a as n}from"./sentry-DzaNjvx0.js";import{n as o,c as Ce}from"./mui-BosmckWV.js";import{H2 as ts,H3 as Pe,ce as pt,cf as ut,cg as ss}from"./zeni-epic-state-BNpJ2txa.js";import{J as os,t as ns}from"./SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-ThKLok_w-DiwvAaDh.js";import{a as ds}from"./SpendManagementListViewPage-MOCWuROI-DKR38Veg.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./StatusSwitcher-jxaonB4S-Dw8Z5KsP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c82f6b44-a94e-4197-b7c7-57c247bf28e8",e._sentryDebugIdIdentifier="sentry-dbid-c82f6b44-a94e-4197-b7c7-57c247bf28e8")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:u=ps,minScrollAmount:k=us,scrollCurveExponent:p=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,h=0,c=null;const l=Math.max(r,1),g=()=>{c!==null&&(cancelAnimationFrame(c),c=null)},T=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>T(m),D=m=>{const G=Math.max(m,0)/l,j=Math.pow(G,p)*u;return Math.max(k,j)},x=(m,G,j)=>{const S=j==="up"?-G:G;m===window?window.scrollBy({top:S,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=S)},$=()=>e.current??window,f=()=>{if(!a)return;const m=$(),G=window.innerHeight,j=h;if(j<l&&j>0){const S=l-j,L=D(S);x(m,L,"up")}else if(j>G-l){const S=j-(G-l),L=D(S);x(m,L,"down")}c=requestAnimationFrame(f)},z=m=>{N(m)?a=!0:(a=!1,g())},A=()=>{a=!1,g()},B=m=>{a&&(h=m.clientY)},M=m=>{B(m),a&&c===null&&(c=requestAnimationFrame(f))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",A),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",A),document.removeEventListener("dragover",M),g()}},[r,d,k,e,p,u])},Le=ne.getLocalizedStrings(),ht=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Le.common.numbers.maximumCount?`${Le.common.numbers.maximumCount}${Le.common.strings.plus}`:e})}),gs=o.div`
1
+ import{ay as kt,g as Ze,V as t,jL as Y,bE as xt,ab as U,cy as wt,an as V,as as ft,O as ne,o as s,jM as Je,cq as De,cu as Ct,gk as $t,bb as Tt,bT as et,aV as yt,cl as bt,e as de,aa as jt,x as tt,cQ as vt,ae as St,b5 as Gt,cC as Lt,j6 as It,j7 as Nt,jN as Be,aT as Et,a as Ae,c1 as Me,f0 as st,jO as Dt,da as ot,jP as he,jQ as we,jR as fe,jS as nt,jT as Mt,jU as at,jV as rt,jW as it,jX as lt,jY as dt,jZ as _,u as xe,j_ as oe,ak as le,j$ as zt,k0 as At,b as Bt,ap as Rt,k1 as Wt,dl as Ot,k2 as Pt,cU as ct,eE as Ft,w as Ht,k3 as _t,k4 as Ut,gl as Vt,gJ as Kt,k5 as Yt,k6 as Z,k7 as Re,cE as qt,k8 as Xt,k9 as Qt,ka as Zt,kb as We,d as Oe,gG as Jt,ao as es}from"./index-B8J3c9-k.js";import{a as n}from"./sentry-xNvKSthz.js";import{n as o,c as Ce}from"./mui-B_fu8zAT.js";import{H2 as ts,H3 as Pe,ce as pt,cf as ut,cg as ss}from"./zeni-epic-state-SAYXyeZn.js";import{J as os,t as ns}from"./SpendManagementSection-6R5y0Hy4-D5jOLcFY.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-6sXXtF_E-CjeFzlDg.js";import{a as ds}from"./SpendManagementListViewPage-BdddUHrW-CnqRniMi.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./StatusSwitcher-D3qCg5J1-BZCFmoiB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="f5c49b06-600e-43b5-95fe-6e9356cab3ea",e._sentryDebugIdIdentifier="sentry-dbid-f5c49b06-600e-43b5-95fe-6e9356cab3ea")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:u=ps,minScrollAmount:k=us,scrollCurveExponent:p=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,h=0,c=null;const l=Math.max(r,1),g=()=>{c!==null&&(cancelAnimationFrame(c),c=null)},T=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>T(m),D=m=>{const G=Math.max(m,0)/l,j=Math.pow(G,p)*u;return Math.max(k,j)},x=(m,G,j)=>{const S=j==="up"?-G:G;m===window?window.scrollBy({top:S,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=S)},$=()=>e.current??window,f=()=>{if(!a)return;const m=$(),G=window.innerHeight,j=h;if(j<l&&j>0){const S=l-j,L=D(S);x(m,L,"up")}else if(j>G-l){const S=j-(G-l),L=D(S);x(m,L,"down")}c=requestAnimationFrame(f)},z=m=>{N(m)?a=!0:(a=!1,g())},A=()=>{a=!1,g()},B=m=>{a&&(h=m.clientY)},M=m=>{B(m),a&&c===null&&(c=requestAnimationFrame(f))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",A),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",A),document.removeEventListener("dragover",M),g()}},[r,d,k,e,p,u])},Le=ne.getLocalizedStrings(),ht=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Le.common.numbers.maximumCount?`${Le.common.numbers.maximumCount}${Le.common.strings.plus}`:e})}),gs=o.div`
2
2
  ${e=>e.isCircular?Ce`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as o,b5 as H,ac as z,aG as S,dw as L,bt as Z,o as c,O as q,ak as A}from"./index-aCBnCBoN.js";import{a as i}from"./sentry-DzaNjvx0.js";import{n as g}from"./mui-BosmckWV.js";import{X as G}from"./core-Cjh03OPu.js";import{Z as W}from"./CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.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]="ec47d111-f46c-4f39-9bfb-b8e88b85575c",e._sentryDebugIdIdentifier="sentry-dbid-ec47d111-f46c-4f39-9bfb-b8e88b85575c")}catch{}})();const{dateFormat:x}=q.getLocalizedStrings(),ge=(e,t)=>{const{startDate:n,endDate:r}=e;return t&&n.month()!==r.month()?`in ${n.format(x.visual.MMMYYFormat)} - ${r.format(x.visual.MMMYYFormat)}`:n.month()===r.month()?`in ${n.format(x.visual.MMMDFormat)} - ${r.format(x.visual.MMMDCommaYYFormat)}`:`in ${n.format(x.visual.MMMDCommaYYFormat)} - ${r.format(x.visual.MMMDCommaYYFormat)}`},ue=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;if(t.thisPeriod!=null){const r=t.thisPeriod;let d=e.findIndex(s=>s.startDate.isSame(r.startDate,"date")&&s.endDate.isSameOrBefore(r.endDate));d<0&&(d=e.findIndex(s=>s.startDate.isSame(r.startDate,"month")&&s.startDate.isSame(r.startDate,"year"))),d>=0&&(n=d)}return{startIndex:Math.max(n+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},xe=(e,t)=>{const n=e.length-1-t.offsetFromEnd;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}},pe=(e,t)=>{const n=t.startIndex+t.length-1>e.length?e.length-1:t.startIndex+t.length-1;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}},X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),J=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),b=40,f=90,K=g.div`
1
+ import{V as o,b5 as H,ac as z,aG as S,dw as L,bt as Z,o as c,O as q,ak as A}from"./index-B8J3c9-k.js";import{a as i}from"./sentry-xNvKSthz.js";import{n as g}from"./mui-B_fu8zAT.js";import{X as G}from"./core-C_RwbDgZ.js";import{Z as W}from"./CollapsableReportTable-ClHwXtCj-D8daRiWx.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]="e4df0365-b892-48aa-9c47-86cb1ebe30f6",e._sentryDebugIdIdentifier="sentry-dbid-e4df0365-b892-48aa-9c47-86cb1ebe30f6")}catch{}})();const{dateFormat:x}=q.getLocalizedStrings(),ge=(e,t)=>{const{startDate:n,endDate:r}=e;return t&&n.month()!==r.month()?`in ${n.format(x.visual.MMMYYFormat)} - ${r.format(x.visual.MMMYYFormat)}`:n.month()===r.month()?`in ${n.format(x.visual.MMMDFormat)} - ${r.format(x.visual.MMMDCommaYYFormat)}`:`in ${n.format(x.visual.MMMDCommaYYFormat)} - ${r.format(x.visual.MMMDCommaYYFormat)}`},ue=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;if(t.thisPeriod!=null){const r=t.thisPeriod;let d=e.findIndex(s=>s.startDate.isSame(r.startDate,"date")&&s.endDate.isSameOrBefore(r.endDate));d<0&&(d=e.findIndex(s=>s.startDate.isSame(r.startDate,"month")&&s.startDate.isSame(r.startDate,"year"))),d>=0&&(n=d)}return{startIndex:Math.max(n+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},xe=(e,t)=>{const n=e.length-1-t.offsetFromEnd;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}},pe=(e,t)=>{const n=t.startIndex+t.length-1>e.length?e.length-1:t.startIndex+t.length-1;return{thisPeriod:e[n],numberOfPeriods:t.length,orderBy:"ascending_date"}},X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),J=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),b=40,f=90,K=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as o,ac as m,o as t,ak as p,O as u}from"./index-aCBnCBoN.js";import{n}from"./mui-BosmckWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1b313bb7-2524-4abc-859d-955b01a2123d",e._sentryDebugIdIdentifier="sentry-dbid-1b313bb7-2524-4abc-859d-955b01a2123d")}catch{}})();const b=n.div`
1
+ import{V as o,ac as m,o as t,ak as p,O as u}from"./index-B8J3c9-k.js";import{n}from"./mui-B_fu8zAT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1b313bb7-2524-4abc-859d-955b01a2123d",e._sentryDebugIdIdentifier="sentry-dbid-1b313bb7-2524-4abc-859d-955b01a2123d")}catch{}})();const b=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;