@zeniai/web-cockpit-ui 1.15.6-prod → 1.15.7-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 (304) hide show
  1. package/dist/assets/{ACHDetailsPage-DDuW5spI-CxBhE7Uh.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bbk-pUwz-CXuvh1Mj.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
  3. package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BA3WBfD4-BuWc_ZhS.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
  5. package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cc7T0poM.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-DEaKMPcI.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
  7. package/dist/assets/{AccountRow-BWclqiQh-YQWO0ylP.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
  8. package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-ByHps-3E.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
  9. package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
  10. package/dist/assets/{AddToWalletPage-Dllxg_0u-CgvntkH8.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-CBHhfTKI-CxKXezYQ.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
  12. package/dist/assets/{AllUserItems-Bdv9AIQ9-kcd_hhsG.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
  13. package/dist/assets/{ApAgingDetailPage-EE3MrY5l-CxNtm4NA.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
  14. package/dist/assets/{AppBasePage-02I6V3Np-DzDRUDUh.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
  15. package/dist/assets/{AppDrawerContent-DbBd9m20-BD4Vxp0E.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
  16. package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
  17. package/dist/assets/{ArAgingChart-BqBx1Gj1-BwabwD2J.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-D9rI5yue-DodXQ7og.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
  19. package/dist/assets/{AttachmentView-CeblaMyI-Bcjgvkpm.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
  20. package/dist/assets/{BankAccountSection-B3v3BDPK-ST4ITFLw.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-DCi9o7_J-Jkspsyof.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
  22. package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-YCKvdGwA.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
  23. package/dist/assets/{BillDetailPage-ByPP2r-L-CdPd-E0Q.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-jbIIvIwA.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-any6qZ9S.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-B1_ugFQw-PGU7hKFY.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-SNTH8wHn.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
  28. package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-OW_panID.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
  30. package/dist/assets/{BoxItem-CqsCCOrk-JwTnC0Kx.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
  32. package/dist/assets/{CardNumberSubText-ByPbO0F8-BJrrvAG-.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-Ve3JZpeP-nSpsePO4.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-BL1yS_tf.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Cnm7GqIj-BUUNEdwx.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
  36. package/dist/assets/{ChargeCardListTable-bTR8Mmj4-DyCLS6HZ.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-DDPTuP3u.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
  38. package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-Ckvz33NS.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-BjyVVJMg.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-ydNsV_qc.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
  42. package/dist/assets/{CollapsableReportTable-LB-wYzj1-BrgxbNdY.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
  43. package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-BwHjmTyn-B9NIAtJj.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
  45. package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
  46. package/dist/assets/{CompleteProfile-H7UexvAo-C0O6oJwW.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
  47. package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-JjYy_N9B.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-gqqM0PRu.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
  50. package/dist/assets/{CurrencySelectField-DIh7_ile-BiZRj88l.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
  51. package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-eESZshql.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-CrFmiDtl.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
  54. package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
  55. package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-CrsoJ2C7.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
  57. package/dist/assets/{Dashboard-z7EuNcjw-BTKsWShT.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
  58. package/dist/assets/{DashboardReportPage-BX2xSgwt-Dw6XE7aa.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-DhXz26Bv.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-Dl8g77db.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
  61. package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-D77RURF6.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-DznbXeUZ-DpdJo5HW.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
  64. package/dist/assets/{DrawerPage-8d8mdD3v-uI7P44U9.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
  65. package/dist/assets/{EditPeoplePage-CTwY7ePr-D8_1so-E.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
  66. package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-02iAGHJh.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
  67. package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CloCPwyO-H2pOzd67.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-DhDW8V_C.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
  70. package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-D0GIa5Jp.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
  71. package/dist/assets/{ExpressPayPage-liflPa6J-DhSVDpI_.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
  72. package/dist/assets/{FeaturePreviewPage-DhSoy4IL-C8b3BL5y.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DW5HuzRR-G6vpn5Wz.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
  74. package/dist/assets/{GlobalReviewListPage-CGCdgQFw-CYr5tDRK.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
  75. package/dist/assets/{InformationCardStack-D6xiRsRy-RBnA5Ca9.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-D1eIlMkU-DTJXmvNA.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
  77. package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-BM7Hnv51.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Cq1w6csA.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
  80. package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
  81. package/dist/assets/{InviteFormPage-dCGpLoBC-Cy_9vDs9.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
  82. package/dist/assets/{InvitePageListView-DhV6Pw56-BqJCkz8H.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
  83. package/dist/assets/{InvitePeoplePage-J-HYw9MC-DE9iWLdm.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
  84. package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DPI4bKEB.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
  85. package/dist/assets/{IssueChargeCardPage-hEaegmyi-DwbNBXVg.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
  86. package/dist/assets/{LabeledAddressValue-PXtKo31O-CFKKSfFF.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-COoDFa0v.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
  88. package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-B89RB2FN.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
  89. package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-B31u1ckI.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
  90. package/dist/assets/{LabeledDocumentField-D2n9ry_0-CWQFC9JM.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
  91. package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-L7Ccutbp.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
  92. package/dist/assets/{LabeledText-BHQeQs6Z-CG2-2xv-.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
  93. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-mDciw5rT.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
  94. package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-b-hRGyRF.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
  95. package/dist/assets/{LinkJETransactionPage-CWOfaAhz-DM_W9RTM.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
  96. package/dist/assets/{LockCardPage-BMt1zujT-ZM4_z0u0.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
  97. package/dist/assets/{LowBalancePopup-BN2RBNOV-Cbcftjbf.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
  98. package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
  99. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
  100. package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
  101. package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-Dp43QcHp.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
  102. package/dist/assets/{MagicLinkTitleSection-BYkzInkY-D4Z6Nf6c.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
  103. package/dist/assets/{MailingDetailsSection-DiSohByM-DSNP6utN.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
  104. package/dist/assets/{Menu-TzNY4ajT-xZKDdZdE.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
  105. package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-BwulGOOk.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-CKgoV309.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-BxiofsK0-CjoZPZtE.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
  108. package/dist/assets/{NavBarWithPicker-DX31nlvR-CesSdpJn.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
  109. package/dist/assets/{NavigationArrow-BDdBEJFM-Cr3MV5Yg.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
  110. package/dist/assets/{NavigationDots-BZOdXVhR-BogVFGLe.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-CNtvF6H2.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
  112. package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
  113. package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
  114. package/dist/assets/{NotFoundPage-B31SyO4w-BOxZB8DW.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
  115. package/dist/assets/{NotificationSettingsPage-3GoJDHjY-R3SuRmJv.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
  116. package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
  117. package/dist/assets/{NotificationsPage-Cuz_KDD8-k19YxZ9B.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
  118. package/dist/assets/{OpExByVendorPage-B2CQ-hT1-B0tksHJH.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-Dkcy07sC-DeLcZlC2.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
  122. package/dist/assets/{PeoplePage-yzYfizds-wb5Byym9.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
  123. package/dist/assets/{Preview-DZXFBHSQ.js → Preview-yiJBApzl.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-DRfZ_sZ_-BYhq_r4f.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
  125. package/dist/assets/{PromoBaseCards-CbPywvj2-BJXffSIG.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
  126. package/dist/assets/{QBOConnectionDialog-DLuBxOXr-CH_Aj1TS.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
  127. package/dist/assets/{QBOSetupSection-CxLynYFq-CZyV2WsE.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-Blxm3m2m.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-D5wSTcL3.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
  130. package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
  131. package/dist/assets/{ReimbursementPromoPage-DENI6dAX-C4LrpZuT.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
  132. package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-BgHtSbbe.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-BD_FRT7T.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
  134. package/dist/assets/{ReloadCard-BCuJkAqw-DYpvDh_s.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
  135. package/dist/assets/{ReportTableViewSelector-CEo0z4A2-CvMOkKtj.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
  136. package/dist/assets/{ReportsPage-gMt_l_Aa-BdMCVFoN.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
  137. package/dist/assets/{RevenueChart-JLdzi3aQ-7sE9zMtR.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-WBKwpVad-NgO9SEC-.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
  139. package/dist/assets/{ReviewOverlay-DqOXHkMM-jRakJ6IM.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
  140. package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
  141. package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
  142. package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-C4WIryes.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-axweBiV5-B3NWtaDa.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
  144. package/dist/assets/{ScreenRoutes-DyMvoV5V.js → ScreenRoutes-DUbNYmu4.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-CerAAia_-BhWOLpxC.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
  146. package/dist/assets/{SignIn-B1yQ5XWH-P_F72pZj.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
  147. package/dist/assets/{SignInScreen-CVtWxGtY.js → SignInScreen-B5Y03mpU.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-BL77zVeL-BVoclXHH.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
  149. package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-B1JAZuX-.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
  150. package/dist/assets/{SpendManagementSection-Bcex-9e7-CxkR_zoB.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
  151. package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
  152. package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
  153. package/dist/assets/{StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
  154. package/dist/assets/{SubTabSwitcher-DmGRgMQe-B-3SwxWb.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
  155. package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
  156. package/dist/assets/{TaskManagementPage-CAX0yrep-DF0jNwa1.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
  157. package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-DfpvK_gh.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-DJiKd_tL-D0ww-92G.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-D44YxP7E.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
  160. package/dist/assets/{TopExCard-8RRaMY7F-CDxikjtH.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
  161. package/dist/assets/{TopExDetailPage-D2KlaBXx-rdDVAjhD.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
  162. package/dist/assets/{TransactionDetailPage-DdyFRxld-BYZZjtrc.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
  163. package/dist/assets/{TransactionList-CLVkETBe-CRlJFb7k.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
  164. package/dist/assets/{TransactionListBig-BRCiFBKB-Ck3O3NDm.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
  165. package/dist/assets/{TransactionListPage-D0OgwsUo-CH5jc7e_.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
  166. package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
  167. package/dist/assets/{TransferDrawerPage-DdDRqsyR-CEfGLHmx.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
  168. package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-Bxe8waVi.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
  169. package/dist/assets/{TreasuryPromoPage-qbltxtYj-D2Z_Pc4R.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
  170. package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
  171. package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-UvonfFtF.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
  172. package/dist/assets/{TrendChart-Cot9LFNh-u8M8bbk0.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
  173. package/dist/assets/{TrendWithTransactions-BKxxRKGE-CUH5BmSp.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
  174. package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-DxAjDd8a.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
  175. package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-jG2CrtCZ.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
  176. package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
  177. package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
  178. package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
  179. package/dist/assets/{VendorDetailPage-CH1L4UZF-BoU7iBTo.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
  180. package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
  181. package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-CREauugt.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
  182. package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-CPLKJIzn.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-CjJmglTF.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
  184. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
  185. package/dist/assets/{VendorsAccountsSection-DsgK37WB-BepHvkSg.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
  186. package/dist/assets/{VerifyDevice-BPAsHKLY-KdMSavnE.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
  187. package/dist/assets/{VideoPlayer-Bwg_8KIq-1vwhBTtH.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
  188. package/dist/assets/{VideoPopup-CxjbzbjP-W4fJ8I9f.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
  189. package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BVJhSnaV.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
  190. package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-D6r42BIG.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
  191. package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-zWJkLwXW.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
  192. package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j-BCPOrLA4.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
  193. package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-F6T3KnhO.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
  194. package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-1kKOeWZG.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-COx-CtZK-B3AuF-kZ.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CaLF7RzP.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
  197. package/dist/assets/{add-to-wallet-DgdBD8_G-BhLn5BVs.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
  198. package/dist/assets/{analytics-D1LdKGXu.js → analytics-nCDopMZa.js} +1 -1
  199. package/dist/assets/{analyticsHelper-CcmV6wHp-tNoRmHaA.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
  200. package/dist/assets/{analyticsHelper-D-lJdgOT.js → analyticsHelper-DFj-3TWh.js} +1 -1
  201. package/dist/assets/{arrow-south-east-round-PEovUgvH-DHoVUI8d.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
  202. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCnsYNN2.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
  203. package/dist/assets/{chartTypes-YlZX4WLs-DpXPTvhf.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
  204. package/dist/assets/{commonDimensions-IG4iGJ-6-BzWLW9Yh.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
  205. package/dist/assets/{constants-DC8VfZYY.js → constants-CiSoUYAy.js} +1 -1
  206. package/dist/assets/{core-DRgi22QZ.js → core-B8o5Jj6O.js} +1 -1
  207. package/dist/assets/{dash.all.min-BmaoA3iM.js → dash.all.min-D-Z5Ee1V.js} +1 -1
  208. package/dist/assets/{detailCommon-lUFqcp_3-BOJ85jTH.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
  209. package/dist/assets/{downloadPdf-DYME892p-DnuA45tN.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
  210. package/dist/assets/{empty-YAzUsLWo.js → empty-CGwQB5sP.js} +1 -1
  211. package/dist/assets/{empty-DIaGol0s.js → empty-dVLDjrZY.js} +1 -1
  212. package/dist/assets/epic-gk6U9kCP.js +2 -0
  213. package/dist/assets/{gift-box-Cmt9OgIZ-D8uaCs9t.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BnqvP-Mg.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BrG8Enhv.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
  216. package/dist/assets/{handshake-BPg58FML-S4DZNWEu.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
  217. package/dist/assets/{index-fCU66cGL.js → index-2UT2PoLz.js} +1 -1
  218. package/dist/assets/{index-CzPNam9l.js → index-B62kMDsj.js} +1 -1
  219. package/dist/assets/{index-CvvJB6hF.js → index-BlhMiimg.js} +1 -1
  220. package/dist/assets/{index-tx0waYy2.js → index-CJSgchrb.js} +1 -1
  221. package/dist/assets/{index-B5xx_eN8.js → index-CofZqiyy.js} +1 -1
  222. package/dist/assets/{index-Cb-eu--2.js → index-l9FViNoO.js} +1044 -1048
  223. package/dist/assets/{index-Bk_A1gE6.js → index-mRKAcklk.js} +1 -1
  224. package/dist/assets/{lexical-ewc-g90D.js → lexical-B19SDutg.js} +1 -1
  225. package/dist/assets/{liveblocks-Bz_57PUs.js → liveblocks-BKCvXoiA.js} +1 -1
  226. package/dist/assets/{lottie-D9rmsbLV.js → lottie-CTuuushW.js} +1 -1
  227. package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
  228. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-CRPLWovY.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
  229. package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-KokF2RU0.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
  232. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
  233. package/dist/assets/{mui-CvhriUJf.js → mui-cKt0zt2w.js} +1 -1
  234. package/dist/assets/{page-detail-CWX5S47F-Bq22-rqt.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
  235. package/dist/assets/{radio-default-CiSgisfh-Cp9UCpd-.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
  236. package/dist/assets/{react-C0XMjaMg.js → react-3b8QVeng.js} +1 -1
  237. package/dist/assets/{react-DyHZEwLG.js → react-85WN45Y4.js} +1 -1
  238. package/dist/assets/{react-1y3MANKU.js → react-BcpaDQXf.js} +1 -1
  239. package/dist/assets/{react-CZGWH6Mz.js → react-CUDeH5fw.js} +1 -1
  240. package/dist/assets/{react-DwmtkHEd.js → react-D2QCQuEO.js} +1 -1
  241. package/dist/assets/{react-KuTvFOki.js → react-D811AKIl.js} +3 -3
  242. package/dist/assets/{react-BuDJflUo.js → react-Drezwue3.js} +1 -1
  243. package/dist/assets/{react-DGrzv3mJ.js → react-DycPsf8e.js} +1 -1
  244. package/dist/assets/{recharts-NgHQTHYn.js → recharts-DKlDhqpA.js} +1 -1
  245. package/dist/assets/{sentry-agJ08X3c.js → sentry-DWELwT5u.js} +1 -1
  246. package/dist/assets/{shield-DOlUxcFf-B2GDXTMJ.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
  247. package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
  248. package/dist/assets/{toChartData-CuSN9vUZ-BM3egbjZ.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
  249. package/dist/assets/{uploadAttachment-CRI5U1f4-DVW_vb-O.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
  250. package/dist/assets/{uploadReceipts-CPw64UYa-BZtR51vy.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
  251. package/dist/assets/{url-DZoi54Ss.js → url-BO73xRx2.js} +1 -1
  252. package/dist/assets/{url-DDYZGiRl.js → url-dLu3i57y.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DGRuYRk_.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-T0IDSH6l.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
  255. package/dist/assets/{utils-D6Foy4XN.js → utils-Db67jZaM.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-CwvuK4v8.js → zeni-epic-state-atBaoFS-.js} +17 -17
  257. package/dist/index.html +1 -1
  258. package/package.json +3 -3
  259. package/dist/assets/AccountInfoPage-D0Kzx5mY-CJm_njaM.js +0 -18
  260. package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-JjH1tV75.js +0 -6
  261. package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-B4H86TF1.js +0 -47
  262. package/dist/assets/BillingSettingsPage-BiKaSV4T-B7qWB_0N.js +0 -44
  263. package/dist/assets/BusinessVerificationPage-8tFxbXGC-BJTtQskx.js +0 -138
  264. package/dist/assets/ChargeCardPromoPage-BUGGPnco-DBc81PKU.js +0 -222
  265. package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-DdfK5FFg.js +0 -330
  266. package/dist/assets/CompanyPassportPage-BlDBD5EG-BUrwQfBs.js +0 -347
  267. package/dist/assets/ConfettiBurst-nOkNOTPr-D3HgRrS2.js +0 -1
  268. package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CWciNrIc.js +0 -1
  269. package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-B9NXIxKZ.js +0 -66
  270. package/dist/assets/CustomerOnboardingPage-DFky4iQx-DeIXARbP.js +0 -107
  271. package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-CXD4vrU3.js +0 -66
  272. package/dist/assets/EntityDetailPage-Bj5lQ0PH-CgnIn8Qd.js +0 -18
  273. package/dist/assets/InsightsSection-BT0lHMo3-ZMR8XDUG.js +0 -27
  274. package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-nPFsk-wT.js +0 -65
  275. package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-DM_ekN05.js +0 -234
  276. package/dist/assets/LabeledMultiSelectField-DH6iG4SR-CjSQCSFf.js +0 -220
  277. package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-ChZJhV1s.js +0 -1
  278. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-ey3F6N1L.js +0 -1
  279. package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-DwFZWMbr.js +0 -1
  280. package/dist/assets/NoDataChart-DxwqqeoI-DvpagR71.js +0 -26
  281. package/dist/assets/NoDataTable-DOZy5UAM-BZ8x_1Ah.js +0 -8
  282. package/dist/assets/NotificationsListConfig-C-OlC5S6-CLVUTw1S.js +0 -1
  283. package/dist/assets/OverlayContainerPage-Daz3A7cI-bRV6SDw3.js +0 -11
  284. package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-DwpnOrFK.js +0 -107
  285. package/dist/assets/ReimbursementDetailPage-DOCRkpPT-CXzAYn45.js +0 -314
  286. package/dist/assets/RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js +0 -22
  287. package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-SVNrNqxf.js +0 -37
  288. package/dist/assets/StatementItem-CL4KzNeN-BqPxf-U1.js +0 -31
  289. package/dist/assets/StatementsPage-ECVGrRXi-BQMeqgMv.js +0 -58
  290. package/dist/assets/SummaryCard-OvE5BRYP-m6PBJMlQ.js +0 -1
  291. package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-CaBwJEED.js +0 -80
  292. package/dist/assets/TreasuryStatementsPage-CLFal4Qu-HYKKhiVi.js +0 -58
  293. package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js +0 -38
  294. package/dist/assets/Vendor2FAPopup-BZQXt_G4-CDCDeN6H.js +0 -1
  295. package/dist/assets/VendorACHDetailsPage-WS3d8TF6-CvBLg0wo.js +0 -1
  296. package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-DKniLk2q.js +0 -1
  297. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-BbCuAOE5.js +0 -1
  298. package/dist/assets/commonTypes-ByC4Sd87-DFD5XJ1t.js +0 -1
  299. package/dist/assets/epic-C_3GO3yP.js +0 -2
  300. package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-Dr0mqpSP.js +0 -1
  301. package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DADCfTco.js +0 -1
  302. package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-A6rpifcc.js +0 -1
  303. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-C8_Xm6ja.js +0 -1
  304. package/dist/assets/toCOABalancesWithID-BAw7mDDs-DnnE8m6M.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iO as li,iP as ri,k as si,bR as Y,d as Le,bM as ai,aR as di,y as p,g3 as ci,kX as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iX as $t,iY as vt,kY as hi,f6 as gi,kZ as bi,k_ as St,k$ as kt,k6 as yi,l0 as xi,l1 as wi,c,iW as Tt,cw as Pt,cz as Ct,aw as Ze,gG as Je,a8 as Ye,gh as et,cP as jt,l2 as _t,l3 as Ie,aL as De,l4 as tt,l5 as Bt,l6 as E,l7 as zt,gt as Lt,cU as It,dq as it}from"./index-Cb-eu--2.js";import{a as P,S as Dt}from"./sentry-agJ08X3c.js";import{n as o,c as Z}from"./mui-CvhriUJf.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-CwvuK4v8.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js";import{d as Rt}from"./useLongPress-GCK2COYQ-DGRuYRk_.js";import"./liveblocks-Bz_57PUs.js";import"./core-DRgi22QZ.js";import"./recharts-NgHQTHYn.js";import"./lottie-D9rmsbLV.js";import"./analytics-D1LdKGXu.js";import"./lexical-ewc-g90D.js";import"./utils-D6Foy4XN.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]="3218d0bd-e753-4fb5-b77e-3d18fda6e70e",e._sentryDebugIdIdentifier="sentry-dbid-3218d0bd-e753-4fb5-b77e-3d18fda6e70e")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=H(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Ii,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Di,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=Dt.memo(ji),st=o(se)`
1
+ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iM as li,iN as ri,A as si,bR as Y,e as Le,bM as ai,aR as di,y as p,g3 as ci,kW as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iV as $t,iW as vt,kX as hi,f6 as gi,kY as bi,kZ as St,k_ as kt,k4 as yi,k$ as xi,l0 as wi,d as c,iU as Tt,cw as Pt,cz as Ct,aw as Xe,gE as Je,a8 as Ye,gf as et,cP as jt,l1 as _t,l2 as Ie,aL as De,l3 as tt,l4 as Bt,l5 as E,l6 as zt,gr as Lt,cU as It,ds as it}from"./index-l9FViNoO.js";import{a as P,S as Dt}from"./sentry-DWELwT5u.js";import{n as o,c as X}from"./mui-cKt0zt2w.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-atBaoFS-.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-BS4h8SJh-CcRGAnPy.js";import{d as Rt}from"./useLongPress-GCK2COYQ-BJatk2tg.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.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]="4f25b2b3-48c4-4055-b5fd-0b89ccd4bff8",e._sentryDebugIdIdentifier="sentry-dbid-4f25b2b3-48c4-4055-b5fd-0b89ccd4bff8")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=H(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Ii,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Di,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=Dt.memo(ji),st=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -69,7 +69,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
69
69
  &:hover {
70
70
  color: ${e=>e.theme.colors.primary};
71
71
  }
72
- `,Ei=e=>{switch(e){case"draft":return xe(be);case"pending_approval":return xe(Ti);case"scheduled":return xe(Pi);case"paid":return xe(Ci)}},ye={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8]),webkitLineClamp:new p(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ge,space:fe}}}=te.getLocalizedStrings(),Fi=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:a,isSelected:r,isBillPayCommentingEnabled:d,isProcessing:m,lowBalanceAlert:b,approvers:y,deletionAdditionalInfo:w,paidAdditionalInfo:$,showLowBalanceTooltip:x,onTransactionRowClick:h})=>{const u=H(),l=Ze(),s=Je(),v=Ye().analytics,f=`dashboard_${l.currentTenant?.companyId}`,{threads:B,isLoading:g}=et({application:"dashboard",companyId:l.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),C=P.useMemo(()=>B.filter(O=>O.resolved===!1),[B]),T=O=>{O.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:f,companyId:l.currentTenant?.companyId??Ge,companyName:l.currentTenant?.companyName??Ge,entityType:"bill.details",entityId:e.id}),v.trackCommentActivity("bill","clicked",l.currentTenant?.companyName??Ge,l.controllersList.controllers.map(R=>it(R)),void 0,void 0,"comment on field")},k=P.useCallback(()=>{h(e.id)},[e.id]),L=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):Ie(y),U=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,A=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Mi,{windowSize:u,statusCode:n?.code??"",isSelected:r,isProcessing:m,children:[t.jsx(Ni,{onClick:k,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Oi,{children:[t.jsxs(Vi,{windowSize:u,responsiveWidth:be[0].width,children:[t.jsxs(Wi,{children:[t.jsx(Ki,{windowSize:u,children:U}),e.isRecurring?t.jsx(Y,{title:A(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Zi,{isProcessing:m,children:t.jsx(Ji,{})})}):null]}),t.jsx(qi,{children:`${a[0].label} ${a[0].value}`})]}),t.jsx(ct,{windowSize:u,responsiveWidth:be[1].width,children:a[1].value}),t.jsx(ct,{windowSize:u,responsiveWidth:be[2].width,children:a[2].value}),t.jsxs(Xi,{windowSize:u,responsiveWidth:be[3].width,children:[t.jsxs(Qi,{children:[n!==void 0?t.jsx(Gi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(Hi,{children:le.hyphenText}),x===!0&&b!=null&&b.length>0?t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Yi,{})}):null]}),y!==void 0&&L.length>0?L.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${le.byText}${fe}${L.join(`${fe}${le.orText}${fe}`)}`,placement:"bottom-start",children:t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}${le.dots}`})}):t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}`}):null,w!=null?t.jsx(Pe,{children:w}):null,$!=null?t.jsx(Pe,{children:$}):null]}),t.jsx(Ui,{windowSize:u,responsiveWidth:be[4].width,children:De("0,0[.]00",e.totalAmountInUSD)})]})}),d&&C.length>0?t.jsx(tt,{isLoading:g,count:C.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:T}):null]})},Mi=o.div`
72
+ `,Ei=e=>{switch(e){case"draft":return xe(be);case"pending_approval":return xe(Ti);case"scheduled":return xe(Pi);case"paid":return xe(Ci)}},ye={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8]),webkitLineClamp:new p(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ge,space:fe}}}=te.getLocalizedStrings(),Fi=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:a,isSelected:r,isBillPayCommentingEnabled:d,isProcessing:m,lowBalanceAlert:b,approvers:y,deletionAdditionalInfo:w,paidAdditionalInfo:$,showLowBalanceTooltip:x,onTransactionRowClick:h})=>{const u=H(),l=Xe(),s=Je(),v=Ye().analytics,f=`dashboard_${l.currentTenant?.companyId}`,{threads:B,isLoading:g}=et({application:"dashboard",companyId:l.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),C=P.useMemo(()=>B.filter(O=>O.resolved===!1),[B]),T=O=>{O.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:f,companyId:l.currentTenant?.companyId??Ge,companyName:l.currentTenant?.companyName??Ge,entityType:"bill.details",entityId:e.id}),v.trackCommentActivity("bill","clicked",l.currentTenant?.companyName??Ge,l.controllersList.controllers.map(R=>it(R)),void 0,void 0,"comment on field")},k=P.useCallback(()=>{h(e.id)},[e.id]),L=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):Ie(y),U=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,A=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Mi,{windowSize:u,statusCode:n?.code??"",isSelected:r,isProcessing:m,children:[t.jsx(Ni,{onClick:k,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Oi,{children:[t.jsxs(Vi,{windowSize:u,responsiveWidth:be[0].width,children:[t.jsxs(Wi,{children:[t.jsx(Ki,{windowSize:u,children:U}),e.isRecurring?t.jsx(Y,{title:A(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Xi,{isProcessing:m,children:t.jsx(Ji,{})})}):null]}),t.jsx(qi,{children:`${a[0].label} ${a[0].value}`})]}),t.jsx(ct,{windowSize:u,responsiveWidth:be[1].width,children:a[1].value}),t.jsx(ct,{windowSize:u,responsiveWidth:be[2].width,children:a[2].value}),t.jsxs(Qi,{windowSize:u,responsiveWidth:be[3].width,children:[t.jsxs(Zi,{children:[n!==void 0?t.jsx(Gi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(Hi,{children:le.hyphenText}),x===!0&&b!=null&&b.length>0?t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Yi,{})}):null]}),y!==void 0&&L.length>0?L.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${le.byText}${fe}${L.join(`${fe}${le.orText}${fe}`)}`,placement:"bottom-start",children:t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}${le.dots}`})}):t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}`}):null,w!=null?t.jsx(Pe,{children:w}):null,$!=null?t.jsx(Pe,{children:$}):null]}),t.jsx(Ui,{windowSize:u,responsiveWidth:be[4].width,children:De("0,0[.]00",e.totalAmountInUSD)})]})}),d&&C.length>0?t.jsx(tt,{isLoading:g,count:C.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:T}):null]})},Mi=o.div`
73
73
  display: flex;
74
74
  margin-bottom: ${i.sp3};
75
75
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -82,7 +82,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
82
82
  border-radius: ${i.sp2};
83
83
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
84
84
 
85
- ${e=>e.isProcessing?Z`
85
+ ${e=>e.isProcessing?X`
86
86
  color: ${e.theme.colors.grey2};
87
87
  border-color: ${e.theme.colors.grey2};
88
88
  div {
@@ -94,7 +94,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
94
94
  color: ${e.theme.colors.grey2};
95
95
  border-color: ${e.theme.colors.grey2};
96
96
  }
97
- `:e.isSelected?Z`
97
+ `:e.isSelected?X`
98
98
  color: ${e.theme.colors.primary};
99
99
  border-color: ${e.theme.colors.primary};
100
100
  div {
@@ -106,7 +106,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
106
106
  color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
107
107
  border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
108
108
  }
109
- `:Z`
109
+ `:X`
110
110
  &:hover {
111
111
  color: ${e.theme.colors.primary};
112
112
  border-color: ${e.theme.colors.primary};
@@ -187,12 +187,12 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
187
187
  box-sizing: border-box;
188
188
  display: flex;
189
189
  align-items: center;
190
- `,Qi=o.div`
190
+ `,Zi=o.div`
191
191
  display: flex;
192
192
  flex-direction: row;
193
193
  align-items: center;
194
194
  gap: ${i.sp2};
195
- `,Xi=o.div`
195
+ `,Qi=o.div`
196
196
  position: relative;
197
197
  top: 2px;
198
198
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
@@ -206,7 +206,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
206
206
  position: relative;
207
207
  top: 1px;
208
208
  color: ${e=>e.theme.colors.grey1};
209
- `,Zi=o.div`
209
+ `,Xi=o.div`
210
210
  display: flex;
211
211
  align-items: center;
212
212
  color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
@@ -221,7 +221,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
221
221
  :hover {
222
222
  color: ${e=>e.theme.colors.primary};
223
223
  }
224
- `,ce={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:re}},common:{strings:{empty:He,space:$e}}}=te.getLocalizedStrings(),eo=({transactionDetail:e,tagStatus:n,isProcessing:a,isSelected:r,isBillPayCommentingEnabled:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,lowBalanceAlert:$,approvers:x,deletionAdditionalInfo:h,paidAdditionalInfo:u,showLowBalanceTooltip:l,onTransactionRowClick:s})=>{const v=H(),f=Ze(),B=Je(),g=Ye().analytics,C=`dashboard_${f.currentTenant?.companyId}`,{threads:T,isLoading:k}=et({application:"dashboard",companyId:f.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>T.filter(V=>V.resolved===!1),[T]),U=V=>{V.stopPropagation(),B?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:C,companyId:f.currentTenant?.companyId??He,companyName:f.currentTenant?.companyName??He,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??He,f.controllersList.controllers.map(Ue=>it(Ue)),void 0,void 0,"comment on field")},{getValues:A,setValue:O}=jt(),R=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):Ie(x),j=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:re.newBillTitle,ie=()=>`${re.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,oe=A(m),Q=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!r&&O(m,[...oe,e.id])},[m,b,r,O,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=P.useCallback(()=>{Q()},[Q]),We=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?Q():s(e.id)},[Q,y,s,e.id]),Ke=Rt({onLongPress:de},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(to,{windowSize:v,statusCode:n?.code??"",isSelected:r,isProcessing:a,children:[t.jsx(io,{onClick:We,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(oo,{children:[t.jsxs(mo,{children:[t.jsxs(no,{children:[t.jsxs(lo,{children:[t.jsx(ro,{windowSize:v,children:j}),e.isRecurring?t.jsx(Y,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ho,{isProcessing:a,children:t.jsx(go,{})})}):null]}),t.jsx(ao,{children:`${w[0].label} ${w[0].value}`})]}),t.jsx(pt,{children:`${w[1].label} ${w[1].value}`}),t.jsx(pt,{children:`${w[2].label} ${w[2].value}`})]}),t.jsxs(uo,{children:[t.jsx(so,{children:De("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(po,{hasAlertIcon:$!=null,children:[t.jsxs(bo,{children:[n!==void 0?t.jsx(co,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??re.hyphenText}):t.jsx(t.Fragment,{children:re.hyphenText}),l===!0&&$!=null&&$.length>0?t.jsx(xo,{onClick:V=>V.stopPropagation(),children:t.jsx(Y,{title:$,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(yo,{})})}):null]}),x!==void 0&&R.length>0?R.length>1?t.jsx(Y,{title:`${re.byText}${$e}${R.join(`${$e}${re.orText}${$e}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}${re.dots}`})}):t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}`}):null,h!=null?t.jsx(Ce,{children:h}):null,u!=null?t.jsx(Ce,{children:u}):null]})]})]})}),d&&L.length>0?t.jsx(tt,{isLoading:k,count:L.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:U}):null]})},to=o.div`
224
+ `,ce={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:re}},common:{strings:{empty:He,space:$e}}}=te.getLocalizedStrings(),eo=({transactionDetail:e,tagStatus:n,isProcessing:a,isSelected:r,isBillPayCommentingEnabled:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,lowBalanceAlert:$,approvers:x,deletionAdditionalInfo:h,paidAdditionalInfo:u,showLowBalanceTooltip:l,onTransactionRowClick:s})=>{const v=H(),f=Xe(),B=Je(),g=Ye().analytics,C=`dashboard_${f.currentTenant?.companyId}`,{threads:T,isLoading:k}=et({application:"dashboard",companyId:f.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>T.filter(V=>V.resolved===!1),[T]),U=V=>{V.stopPropagation(),B?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:C,companyId:f.currentTenant?.companyId??He,companyName:f.currentTenant?.companyName??He,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??He,f.controllersList.controllers.map(Ue=>it(Ue)),void 0,void 0,"comment on field")},{getValues:A,setValue:O}=jt(),R=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):Ie(x),j=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:re.newBillTitle,ie=()=>`${re.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,oe=A(m),Z=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!r&&O(m,[...oe,e.id])},[m,b,r,O,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=P.useCallback(()=>{Z()},[Z]),We=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?Z():s(e.id)},[Z,y,s,e.id]),Ke=Rt({onLongPress:de},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(to,{windowSize:v,statusCode:n?.code??"",isSelected:r,isProcessing:a,children:[t.jsx(io,{onClick:We,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(oo,{children:[t.jsxs(mo,{children:[t.jsxs(no,{children:[t.jsxs(lo,{children:[t.jsx(ro,{windowSize:v,children:j}),e.isRecurring?t.jsx(Y,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ho,{isProcessing:a,children:t.jsx(go,{})})}):null]}),t.jsx(ao,{children:`${w[0].label} ${w[0].value}`})]}),t.jsx(pt,{children:`${w[1].label} ${w[1].value}`}),t.jsx(pt,{children:`${w[2].label} ${w[2].value}`})]}),t.jsxs(uo,{children:[t.jsx(so,{children:De("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(po,{hasAlertIcon:$!=null,children:[t.jsxs(bo,{children:[n!==void 0?t.jsx(co,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??re.hyphenText}):t.jsx(t.Fragment,{children:re.hyphenText}),l===!0&&$!=null&&$.length>0?t.jsx(xo,{onClick:V=>V.stopPropagation(),children:t.jsx(Y,{title:$,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(yo,{})})}):null]}),x!==void 0&&R.length>0?R.length>1?t.jsx(Y,{title:`${re.byText}${$e}${R.join(`${$e}${re.orText}${$e}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}${re.dots}`})}):t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}`}):null,h!=null?t.jsx(Ce,{children:h}):null,u!=null?t.jsx(Ce,{children:u}):null]})]})]})}),d&&L.length>0?t.jsx(tt,{isLoading:k,count:L.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:U}):null]})},to=o.div`
225
225
  display: flex;
226
226
  margin-bottom: ${i.sp3};
227
227
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -233,7 +233,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
233
233
  box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.dropShadowNormalLight}`};
234
234
  border-radius: ${i.sp2};
235
235
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
236
- ${e=>e.isProcessing?Z`
236
+ ${e=>e.isProcessing?X`
237
237
  color: ${e.theme.colors.grey2};
238
238
  border-color: ${e.theme.colors.grey2};
239
239
  div {
@@ -245,7 +245,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
245
245
  color: ${e.theme.colors.grey2};
246
246
  border-color: ${e.theme.colors.grey2};
247
247
  }
248
- `:e.isSelected?Z`
248
+ `:e.isSelected?X`
249
249
  color: ${e.theme.colors.primary};
250
250
  border-color: ${e.theme.colors.primary};
251
251
  div {
@@ -257,7 +257,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
257
257
  color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
258
258
  border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
259
259
  }
260
- `:Z`
260
+ `:X`
261
261
  &:hover {
262
262
  color: ${e.theme.colors.primary};
263
263
  border-color: ${e.theme.colors.primary};
@@ -429,7 +429,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
429
429
  color: ${e=>e.theme.colors.primary};
430
430
  }
431
431
  margin-left: auto;
432
- `,ve={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8])},X=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Bo=({reimbursementDetail:e,tagStatus:n,isProcessing:a,isSelected:r,reportTitleAdditionalInfo:d,date:m,approvers:b,deletionAdditionalInfo:y,isReimbursementCommentingEnabled:w,onTransactionRowClick:$})=>{const x=H(),h=Ze(),u=P.useRef(null),[l,s]=P.useState(0);P.useLayoutEffect(()=>{u.current&&s(u.current.offsetWidth*Bt)},[x]);const v=Ye().analytics,f=Je(),B=`dashboard_${h.currentTenant?.companyId}`,g=()=>{$(e.id)},C=e.reimbursementTypesIncluded,T=Ie(b),k=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:U}=et({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),A=P.useMemo(()=>L.filter(R=>R.resolved===!1),[L]),O=R=>{R.stopPropagation(),f?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:B,companyId:h.currentTenant?.companyId??k,companyName:h.currentTenant?.companyName??k,entityType:"reimbursement.details",entityId:e.id??k}),v.trackCommentActivity("reimbursement","clicked",h.currentTenant?.companyName??k,h.controllersList.controllers.map(j=>it(j)),void 0,void 0,"comment on field")};return t.jsxs(zo,{windowSize:x,onClick:g,isProcessing:a,isSelected:r,statusCode:n?.code??k,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(Lo,{children:t.jsxs(Io,{children:[t.jsxs(Do,{windowSize:x,responsiveWidth:pe[0].width,ref:u,children:[t.jsx(Ao,{windowSize:x,reportNameWidth:l,children:e.reportTitle??X.newReimbursementTitle}),d!=null&&t.jsx(Ro,{children:`${X.byText} ${d?.firstName} ${d?.lastName}`})]}),t.jsx(Fo,{windowSize:x,responsiveWidth:pe[1].width,children:m}),C.length>1?t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:X.reimbursementType.both,placement:"bottom-start",display:"flex",children:X.reimbursementType.titleForBoth})}):t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:X.reimbursementType[C[0]]}),t.jsxs(No,{windowSize:x,responsiveWidth:pe[3].width,children:[n!==void 0?t.jsx(Oo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??X.hyphenText}):t.jsx(Mo,{children:X.hyphenText}),b!==void 0&&T.length>0?T.length>1?t.jsx(Y,{title:`${X.byText} `+T.join(` ${X.orText} `),placement:"bottom-start",children:t.jsx(Qe,{children:`${X.byText} `+T[0]+`${X.dots}`})}):t.jsx(Qe,{children:`${X.byText} `+T[0]}):null,y!=null?t.jsx(Qe,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:De("0,0[.]00",e.amount)})]})}),w&&A.length>0?t.jsx(tt,{isLoading:U,count:A.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:O}):null]})},zo=o.div`
432
+ `,ve={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8])},Q=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Bo=({reimbursementDetail:e,tagStatus:n,isProcessing:a,isSelected:r,reportTitleAdditionalInfo:d,date:m,approvers:b,deletionAdditionalInfo:y,isReimbursementCommentingEnabled:w,onTransactionRowClick:$})=>{const x=H(),h=Xe(),u=P.useRef(null),[l,s]=P.useState(0);P.useLayoutEffect(()=>{u.current&&s(u.current.offsetWidth*Bt)},[x]);const v=Ye().analytics,f=Je(),B=`dashboard_${h.currentTenant?.companyId}`,g=()=>{$(e.id)},C=e.reimbursementTypesIncluded,T=Ie(b),k=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:U}=et({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),A=P.useMemo(()=>L.filter(R=>R.resolved===!1),[L]),O=R=>{R.stopPropagation(),f?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:B,companyId:h.currentTenant?.companyId??k,companyName:h.currentTenant?.companyName??k,entityType:"reimbursement.details",entityId:e.id??k}),v.trackCommentActivity("reimbursement","clicked",h.currentTenant?.companyName??k,h.controllersList.controllers.map(j=>it(j)),void 0,void 0,"comment on field")};return t.jsxs(zo,{windowSize:x,onClick:g,isProcessing:a,isSelected:r,statusCode:n?.code??k,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(Lo,{children:t.jsxs(Io,{children:[t.jsxs(Do,{windowSize:x,responsiveWidth:pe[0].width,ref:u,children:[t.jsx(Ao,{windowSize:x,reportNameWidth:l,children:e.reportTitle??Q.newReimbursementTitle}),d!=null&&t.jsx(Ro,{children:`${Q.byText} ${d?.firstName} ${d?.lastName}`})]}),t.jsx(Fo,{windowSize:x,responsiveWidth:pe[1].width,children:m}),C.length>1?t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:Q.reimbursementType.both,placement:"bottom-start",display:"flex",children:Q.reimbursementType.titleForBoth})}):t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:Q.reimbursementType[C[0]]}),t.jsxs(No,{windowSize:x,responsiveWidth:pe[3].width,children:[n!==void 0?t.jsx(Oo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??Q.hyphenText}):t.jsx(Mo,{children:Q.hyphenText}),b!==void 0&&T.length>0?T.length>1?t.jsx(Y,{title:`${Q.byText} `+T.join(` ${Q.orText} `),placement:"bottom-start",children:t.jsx(Ze,{children:`${Q.byText} `+T[0]+`${Q.dots}`})}):t.jsx(Ze,{children:`${Q.byText} `+T[0]}):null,y!=null?t.jsx(Ze,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:De("0,0[.]00",e.amount)})]})}),w&&A.length>0?t.jsx(tt,{isLoading:U,count:A.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:O}):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};
@@ -442,7 +442,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
442
442
  border-radius: ${i.sp2};
443
443
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
444
444
 
445
- ${e=>e.isProcessing?Z`
445
+ ${e=>e.isProcessing?X`
446
446
  color: ${e.theme.colors.grey2};
447
447
  border-color: ${e.theme.colors.grey2};
448
448
  div {
@@ -454,7 +454,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
454
454
  color: ${e.theme.colors.grey2};
455
455
  border-color: ${e.theme.colors.grey2};
456
456
  }
457
- `:e.isSelected?Z`
457
+ `:e.isSelected?X`
458
458
  color: ${e.theme.colors.primary};
459
459
  border-color: ${e.theme.colors.primary};
460
460
  div {
@@ -466,7 +466,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
466
466
  color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
467
467
  border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
468
468
  }
469
- `:Z`
469
+ `:X`
470
470
  &:hover {
471
471
  color: ${e.theme.colors.primary};
472
472
  border-color: ${e.theme.colors.primary};
@@ -535,7 +535,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
535
535
  flex-direction: column;
536
536
  align-items: flex-start;
537
537
  justify-content: center;
538
- `,Qe=o(K)`
538
+ `,Ze=o(K)`
539
539
  position: relative;
540
540
  top: 1px;
541
541
  color: ${e=>e.theme.colors.grey1};
@@ -547,7 +547,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp 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 p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},W=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Vo=({reimbursementDetail:e,tagStatus:n,currentTab:a,isProcessing:r,isSelected:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,date:$,approvers:x,deletionAdditionalInfo:h,onTransactionRowClick:u})=>{const l=H(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=Ie(x),g=xe(Ft[a]),C=s(m),T=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&v(m,[...C,e.id])},[m,b,d,v,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,C]),k=P.useCallback(()=>{T()},[T]),L=P.useCallback(A=>{A.stopPropagation(),A.cancelable&&A.preventDefault(),y?T():u(e.id)},[T,y,u,e.id]),U=Rt({onLongPress:k},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Wo,{windowSize:l,statusCode:n?.code??"",isProcessing:r,isSelected:d,children:t.jsx(Ko,{onClick:L,...U,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Uo,{children:[t.jsxs(qo,{children:[t.jsxs(Ho,{children:[t.jsx(Qo,{windowSize:l,children:e.reportTitle??W.newReimbursementTitle}),w!=null&&t.jsx(Xo,{children:`${W.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Jo,{children:[g[1].value+": ",$]}),f.length>1?t.jsx(Y,{title:W.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(bt,{children:[W.reimbursementType.type+": ",W.reimbursementType.titleForBoth]})}):t.jsxs(bt,{children:[W.reimbursementType.type+": ",W.reimbursementType[f[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Zo,{children:De("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[n!==void 0?t.jsx(en,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??W.hyphenText}):t.jsx(t.Fragment,{children:W.hyphenText}),x!==void 0&&B.length>0?B.length>1?t.jsx(Y,{title:`${W.byText} `+B.join(` ${W.orText} `),placement:"bottom-start",children:t.jsx(Xe,{style:{marginLeft:"auto"},children:`${W.byText} `+B[0]+`${W.dots}`})}):t.jsx(Xe,{style:{marginLeft:"auto"},children:`${W.byText} `+B[0]}):null,h!=null?t.jsx(Xe,{children:h}):null]})]})]})})})},Wo=o.div`
550
+ `,me={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},W=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Vo=({reimbursementDetail:e,tagStatus:n,currentTab:a,isProcessing:r,isSelected:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,date:$,approvers:x,deletionAdditionalInfo:h,onTransactionRowClick:u})=>{const l=H(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=Ie(x),g=xe(Ft[a]),C=s(m),T=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&v(m,[...C,e.id])},[m,b,d,v,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,C]),k=P.useCallback(()=>{T()},[T]),L=P.useCallback(A=>{A.stopPropagation(),A.cancelable&&A.preventDefault(),y?T():u(e.id)},[T,y,u,e.id]),U=Rt({onLongPress:k},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Wo,{windowSize:l,statusCode:n?.code??"",isProcessing:r,isSelected:d,children:t.jsx(Ko,{onClick:L,...U,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Uo,{children:[t.jsxs(qo,{children:[t.jsxs(Ho,{children:[t.jsx(Zo,{windowSize:l,children:e.reportTitle??W.newReimbursementTitle}),w!=null&&t.jsx(Qo,{children:`${W.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Jo,{children:[g[1].value+": ",$]}),f.length>1?t.jsx(Y,{title:W.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(bt,{children:[W.reimbursementType.type+": ",W.reimbursementType.titleForBoth]})}):t.jsxs(bt,{children:[W.reimbursementType.type+": ",W.reimbursementType[f[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Xo,{children:De("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[n!==void 0?t.jsx(en,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??W.hyphenText}):t.jsx(t.Fragment,{children:W.hyphenText}),x!==void 0&&B.length>0?B.length>1?t.jsx(Y,{title:`${W.byText} `+B.join(` ${W.orText} `),placement:"bottom-start",children:t.jsx(Qe,{style:{marginLeft:"auto"},children:`${W.byText} `+B[0]+`${W.dots}`})}):t.jsx(Qe,{style:{marginLeft:"auto"},children:`${W.byText} `+B[0]}):null,h!=null?t.jsx(Qe,{children:h}):null]})]})]})})})},Wo=o.div`
551
551
  display: flex;
552
552
  margin-bottom: ${i.sp3};
553
553
  background-color: ${e=>e.theme.colors.grey5};
@@ -559,7 +559,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
559
559
  box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.boxShadowElevation}`};
560
560
  border-radius: ${i.sp2};
561
561
  cursor: ${e=>e.isProcessing?"initial":"pointer"};
562
- ${e=>e.isProcessing?Z`
562
+ ${e=>e.isProcessing?X`
563
563
  color: ${e.theme.colors.grey2};
564
564
  border-color: ${e.theme.colors.grey2};
565
565
  div {
@@ -571,7 +571,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
571
571
  color: ${e.theme.colors.grey2};
572
572
  border-color: ${e.theme.colors.grey2};
573
573
  }
574
- `:e.isSelected?Z`
574
+ `:e.isSelected?X`
575
575
  color: ${e.theme.colors.primary};
576
576
  border-color: ${e.theme.colors.primary};
577
577
  div {
@@ -583,7 +583,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
583
583
  color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
584
584
  border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
585
585
  }
586
- `:Z`
586
+ `:X`
587
587
  &:hover {
588
588
  color: ${e.theme.colors.primary};
589
589
  border-color: ${e.theme.colors.primary};
@@ -620,7 +620,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
620
620
  flex-direction: column;
621
621
  column-gap: 12px;
622
622
  align-items: flex-start;
623
- `,Qo=o(F)`
623
+ `,Zo=o(F)`
624
624
  color: ${e=>e.theme.colors.hero};
625
625
  flex-grow: 1;
626
626
  word-break: break-word;
@@ -630,9 +630,9 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
630
630
  overflow: hidden;
631
631
  text-overflow: ellipsis;
632
632
  max-width: ${e=>e.windowSize==="small"?`${zt}px`:"initial"};
633
- `,Xo=o(K)`
633
+ `,Qo=o(K)`
634
634
  color: ${e=>e.theme.colors.grey1};
635
- `,Zo=o(F)`
635
+ `,Xo=o(F)`
636
636
  display: flex;
637
637
  margin-left: auto;
638
638
  color: ${e=>e.theme.colors.hero};
@@ -651,7 +651,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
651
651
  box-sizing: border-box;
652
652
  display: flex;
653
653
  flex-direction: column;
654
- `,Xe=o(K)`
654
+ `,Qe=o(K)`
655
655
  color: ${e=>e.theme.colors.grey1};
656
656
  `,en=o(K)`
657
657
  display: flex;
@@ -694,7 +694,7 @@ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as
694
694
  justify-content: center;
695
695
  margin-top: ${i.sp5};
696
696
  padding-bottom: ${i.sp3};
697
- `;function yt({header:e,updatingMessage:n}){const a=Le(),r=H(),d=a.colors.background,m=a.colors.grey3;return t.jsxs(an,{windowSize:r,children:[e!=null?t.jsx(cn,{children:e}):null,Array.from({length:sn},(b,y)=>t.jsx(dn,{windowSize:r,children:t.jsx(rn,{backgroundColor:d,foregroundColor:m,animated:!0,uniqueKey:`spend-management-row-loader-${y}`,width:"100%",height:Be})},y)),n!=null?t.jsx(pn,{windowSize:r,children:n}):null]})}const mn={lastListItemHeight:new p(200,158)},S=te.getLocalizedStrings(),{common:{texts:{maxLimit:un}},spendManagement:{billPay:Nt,reimbursement:hn}}=S,q=Nt.bulkActions,N=hn.bulkActions,M=S.common.strings.empty,ue="bulkSelectIds",gn=({transactionList:e,botEmail:n,selectedTab:a,selectedSubTab:r,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isListeningToPusherEventForBillPayApprovalRules:b,isListeningToPusherEventForReimbursementApprovalRules:y,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,searchText:x,isAdmin:h,entity:u,uiState:l,bulkSubmissionLimit:s,isBulkActionAllowed:v,transactionsSelectedForBulkAction:f,isDetectInsufficientFundsEnabled:B,fetchState:g,analytics:C,onTransactionRowClick:T,onReloadTransactions:k,onColumnSortConfigChanged:L})=>{const U=H(),A=j=>{const ie=u==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??M:e[j].reportTitle??M;return pi(ie,U)},O=P.useRef(null);P.useEffect(()=>{O.current?.resetAfterIndex(0)},[U,O,a,r]);const R=P.forwardRef((j,ie)=>{const{children:oe,style:Q,...de}=j;return t.jsx(Mn,{ref:ie,style:{...Q,width:"auto"},...de,children:t.jsx(Fn,{children:oe})})});return R.displayName=S.spendManagement.billPay.billsByTabs.headerElementDisplayName,ti({componentName:`${$i(u)}.${vi(a,u)}`,enabled:g==="Completed"}),t.jsx(_n,{children:u==="bill_pay"&&b===!0?t.jsx(yt,{header:t.jsx(Et,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","bills")}):u==="reimbursement"&&y===!0?t.jsx(yt,{header:t.jsx(Mt,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","reimbursements")}):g==="Error"?t.jsxs(Ln,{children:[t.jsx(In,{onClick:k,children:t.jsx(Dn,{})}),t.jsx(An,{children:S.peoplePage.reloadPage.label})]}):g==="Completed"&&e.length===0&&x!=M?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataWithFilterText:S.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):g==="Completed"&&e.length===0?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataText:S.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataTextViaMail:S.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:u==="bill_pay"?void 0:S.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):g==="Not-Started"||g==="In-Progress"?t.jsx(ii,{fetchState:g,styles:{margin:"auto"}}):t.jsx(Rn,{windowSize:U,children:t.jsx(oi,{children:({height:j,width:ie})=>t.jsx(ni,{ref:O,height:j,itemCount:u==="bill_pay"||u==="reimbursement"?1:e.length,innerElementType:R,itemSize:A,estimatedItemSize:ri,itemKey:oe=>e[oe].id,width:ie,overscanCount:li,itemData:{entity:u,isBulkActionAllowed:v,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,transactionList:e,isAdmin:h,selectedTab:a,transactionsSelectedForBulkAction:f,bulkSubmissionLimit:s,uiState:l,analytics:C,isDetectInsufficientFundsEnabled:B,onTransactionRowClick:T,onColumnSortConfigChanged:L},initialScrollOffset:0,children:bn})})})})},rl=({transactionList:e,botEmail:n,allSubTabs:a,isAdmin:r,selectedTab:d,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,selectedSubTab:h,searchText:u,entity:l,uiState:s,bulkSubmissionLimit:v,isBulkActionAllowed:f,isRecurringBillInBulkActionList:B,transactionsSelectedForBulkAction:g,allowedBulkActions:C,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:k,onTransactionRowClick:L,onSubtabChange:U,fetchState:A,onReloadTransactions:O,onColumnSortConfigChanged:R,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:Q})=>{const de=Gt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});P.useEffect(()=>{const z=de.watch((I,{name:_})=>{_!=null&&I!=null&&Ht(()=>We(_,I))});return()=>{z.unsubscribe()}});const We=async(z,I)=>{if(z===ue){let _=[];if(I[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===v)break}else _=I[ue].filter(D=>D!==S.common.all.toLowerCase());if(l==="bill_pay"){const D=e.filter(we=>_.includes(we.id)),ne=ke(D);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const D=e.filter(we=>_.includes(we.id)),ne=Te(D.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=I[ue];ie?.(_)}},Ke=()=>{C.includes("cancel")?Kt():qt()},V=H(),[Ue,Se]=P.useState(!1),[J,qe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const z=Qt(d,h,l);A==="Completed"&&z!=null&&j?.trackPageLoaded(z,l==="bill_pay"?"Bills":"Reimbursements")},[j,d,h,l,A]);const Vt=z=>{U(z)},Wt=P.useCallback(()=>{const{title:z,description:I}=Cn(l,g.length,d,B);if(qe({type:"delete",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),D=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,D)}else{const _=e.filter(ne=>g.includes(ne.id)),D=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,D)}Se(!0)},[l,j,B,h,d,e,g]),Kt=P.useCallback(()=>{const{title:z,description:I}=Pn(l,g.length);qe({type:"cancel",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),Se(!0)},[l,g.length]),Ut={onOkClick:z=>{if(Se(!1),l==="bill_pay"){const I=e.filter(D=>g.includes(D.id)),_=ke(I);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const I=e.filter(D=>g.includes(D.id)),_=Te(I.map(D=>D.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(J.type,d,h,_)}J.type==="delete"?Q?.("delete",z):Q?.("cancel",z)},onCancelClick:()=>{oe?.(),Se(!1),qe({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M})}},qt=P.useCallback(()=>{if(l==="bill_pay"){const z=e.filter(_=>g.includes(_.id)),I=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,I)}else{const z=e.filter(_=>g.includes(_.id)),I=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,I)}C.includes("send_for_approval")?Q?.("send_for_approval"):Q?.(k?"approve":"review")},[l,C,e,j,g,d,h,Q,k]),lt=C.filter(z=>z!=="delete").length>0;return t.jsxs(zn,{children:[t.jsx(fi,{tabIds:a,selectedTab:h,hasSubTabs:a.length>0,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:Vt,isSwitcherLeftAlign:!0}),t.jsx(Xt,{...de,children:t.jsxs(Bn,{onSubmit:de.handleSubmit(Ke),children:[t.jsx(gn,{botEmail:n,selectedTab:d,selectedSubTab:h,searchText:u,transactionList:e,fetchState:A,onReloadTransactions:O,onTransactionRowClick:L,entity:l,uiState:s,isAdmin:r,onColumnSortConfigChanged:R,analytics:j,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:v,isBulkActionAllowed:f,transactionsSelectedForBulkAction:g,isDetectInsufficientFundsEnabled:k}),Ue?t.jsx(Zt,{titleComponent:t.jsx(Yt,{children:J.title}),descriptionComponent:t.jsx(Jt,{children:J.description}),primaryButtonText:J.primaryButtonText,proceedButtonVariant:J.type==="delete"?"danger":"primary",secondaryButtonText:J.secondaryButtonText,action:Ut,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,g.length>0?t.jsx(ei,{helperContainerStyle:V==="small"?{margin:`${i.sp5} ${C.includes("delete")&&lt?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:lt,primaryBtn:{label:Sn(l,C,g.length),isLoading:J.type!=="delete"&&T==="In-Progress",isDisabled:J.type==="delete"&&T==="In-Progress",type:"submit",style:kn(C)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:Tn(C,V)},leftSideComponent:$n(g.length,v,l,V),rightSideComponent:C.includes("delete")?vn(g.length,J.type==="delete"&&T==="In-Progress",Wt,V):null}):null]})})]})},bn=({style:e,data:n})=>{const{entity:a,transactionList:r,transactionsSelectedForBulkAction:d,isAdmin:m,isBulkActionAllowed:b,isShowDeletedBillsEnabled:y,isShowDeletedReimbursementEnabled:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:h,selectedTab:u,uiState:l,analytics:s,isDetectInsufficientFundsEnabled:v,onTransactionRowClick:f,onColumnSortConfigChanged:B}=n,g=H(),C=Le(),T=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(En,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ci,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:g==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:wn(g),labelCheckBoxStyle:{marginLeft:g==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:C.colors.grey4},infoIconContainerStyle:fn(g),name:ue,mode:T,selectionLimit:h,checkBoxes:a==="bill_pay"?[{label:t.jsx(Et,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(yn,{transactionDetail:k,selectedTab:u,isBillPayCommentingEnabled:$,isShowDeletedBillsEnabled:y,onTransactionRowClick:f,billsSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on",isDetectInsufficientFundsEnabled:v}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:jn(k,d),exceptionInfo:xt(a,k),exceptionType:wt(k)}))]:[{label:t.jsx(Mt,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,analytics:s,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(xn,{transactionDetail:k,isShowDeletedReimbursementEnabled:w,isReimbursementCommentingEnabled:x,selectedTab:u,isAdmin:m,onTransactionRowClick:f,remisSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on"}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:xt(a,k),exceptionType:wt(k)}))]})})},yn=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:a,billsSelectedForBulkAction:r,bulkSelectFormId:d,bulkSelectLimit:m,isBillPayCommentingEnabled:b,isSelectionMode:y,isDetectInsufficientFundsEnabled:w,onTransactionRowClick:$})=>{const x=H()==="small"?eo:Fi,h=hi(e,n),{bulkProcessingDetail:u}=e,l=Ae(u?.type),s=()=>{const g=e.billPayInfo.outsideZeniTransactionPaymentMode;if(g==null||g==="other")return;const C=Nt.billDetails.paymentOutsideZeni.paymentModeOptions.find(T=>T.value===g)?.label;return`${S.common.via} ${C}`},v=w&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?gi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,f=bi(e.billPayInfo,n,a,e.isDeleted,e.dueDate),B=v!=null&&f?.code!=="failed"&&f?.code!=="processing"&&f?.code!=="cancelled"&&f?.code!=="returned"&&f?.code!=="rejected"&&f?.code!=="paid";return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:r.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:r.length===m,isSelectionMode:y,bulkSelectFormId:d,tagStatus:f,approvers:e.isDeleted===!0?void 0:kt(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$,paidAdditionalInfo:n==="paid"&&!e.isDeleted?s():void 0,lowBalanceAlert:v,showLowBalanceTooltip:B})})},xn=({transactionDetail:e,selectedTab:n,isAdmin:a,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:m,bulkSelectFormId:b,bulkSelectLimit:y,isSelectionMode:w,onTransactionRowClick:$})=>{const x=H()==="small"?Vo:Bo,h=yi(a,e.submittedBy),{bulkProcessingDetail:u}=e,l=Ae(u?.type);return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:m.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:m.length===y,isSelectionMode:w,bulkSelectFormId:b,currentTab:n,date:wi(e,n),approvers:e.isDeleted===!0?void 0:kt(e,n),tagStatus:xi(e,n,r),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$})})},wn=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},fn=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},$n=(e,n,a,r)=>{const d=a==="bill_pay"?q.bill:N.report,m=(e>1?d+"s":d)+q.selected;return e>0?t.jsxs(Wn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Kn,{multiDigit:e>=10,children:e}),t.jsx(Un,{children:m}),e===n?t.jsx(qn,{children:un}):null]}):null},vn=(e,n,a,r)=>e>0?t.jsx(Nn,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(On,{isLoading:n,windowSize:r,className:"delete-icon-wrapper",onClick:n?()=>null:a,children:n?t.jsx(si,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:S.common.delete,placement:"top",children:t.jsx(Vn,{})})})}):null,xt=(e,n)=>{const{bulkProcessingDetail:a,bulkSelectInfo:r}=n,d=Ae(a?.type),m=a?.type==="error";let b;if(d)b=a?.inProgressMessage;else if(m)b=a.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:y}=S.spendManagement.billPay.bulkActions;b=y[r.bulkSelectExceptionInfo]}else{const{exceptions:y}=S.spendManagement.reimbursement.bulkActions;b=y[r.bulkSelectExceptionInfo]}return b},Sn=(e,n,a)=>{const{billPay:r}=S.spendManagement;return n.includes("cancel")?e==="reimbursement"?N.popUps.cancel.title.replace("__report__",a>1?N.reports:N.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",a>1?r.bulkActions.bills:r.bulkActions.bill):n.includes("send_for_approval")?r.billDetails.sendForApproval:S.common.review},kn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},Tn=(e,n)=>{let a;return n!=="small"&&(e.includes("cancel")?a={minWidth:"116px"}:e.includes("send_for_approval")&&(a={minWidth:"160px"})),a},Pn=(e,n)=>{const{this_:a,these:r,payment:d,payments:m,bills:b,bill:y,reports:w,report:$,they:x,it:h}=S.common.texts;return n>1?e==="bill_pay"?{title:q.popUps.cancel.title.replace("<_bill_>",S.drawerMenus.bills),description:q.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",b).replace("<_it_>",x).replace("<_payment_>",m)}:{title:N.popUps.cancel.title.replace("__report__",N.reports),description:N.popUps.cancel.description.replace("<_this_>",r).replace("__report__",w).replace("<_it_>",x).replace("<_payment_>",m)}:e==="reimbursement"?{title:N.popUps.cancel.title.replace("__report__",N.report),description:N.popUps.cancel.description.replace("<_this_>",a).replace("__report__",$).replace("<_it_>",h).replace("<_payment_>",d)}:{title:q.popUps.cancel.title.replace("<_bill_>",q.bill),description:q.popUps.cancel.description.replace("<_this_>",a).replace("<_bill_>",y).replace("<_it_>",h).replace("<_payment_>",d)}},Cn=(e,n,a,r)=>{const{this_:d,these:m,payment:b,payments:y,bills:w,bill:$,report:x,reports:h,they:u,it:l}=S.common.texts,s=n>1;let v=M;e==="bill_pay"?v=q.popUps.delete.title.replace("<_bill_>",s?q.bills:q.bill):v=N.popUps.delete.title.replace("__report__",s?N.reports:N.report);let f=M;return a==="draft"?e==="bill_pay"?f=q.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$):f=N.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("__report__",s?h:x):r?f=q.popUps.delete.descriptionRecurring.replace("<_payment_>",s?b:y):e==="bill_pay"?f=q.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b):f=N.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("__report__",s?h:x).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b),{title:v,description:f}},jn=(e,n)=>{const a=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&a!=null&&(a==="bookCloseDateProcessing"||a==="noActionRecurring")?"hover_only":"checked_or_hover"},wt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",_n=o.div`
697
+ `;function yt({header:e,updatingMessage:n}){const a=Le(),r=H(),d=a.colors.background,m=a.colors.grey3;return t.jsxs(an,{windowSize:r,children:[e!=null?t.jsx(cn,{children:e}):null,Array.from({length:sn},(b,y)=>t.jsx(dn,{windowSize:r,children:t.jsx(rn,{backgroundColor:d,foregroundColor:m,animated:!0,uniqueKey:`spend-management-row-loader-${y}`,width:"100%",height:Be})},y)),n!=null?t.jsx(pn,{windowSize:r,children:n}):null]})}const mn={lastListItemHeight:new p(200,158)},S=te.getLocalizedStrings(),{common:{texts:{maxLimit:un}},spendManagement:{billPay:Nt,reimbursement:hn}}=S,q=Nt.bulkActions,N=hn.bulkActions,M=S.common.strings.empty,ue="bulkSelectIds",gn=({transactionList:e,botEmail:n,selectedTab:a,selectedSubTab:r,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isListeningToPusherEventForBillPayApprovalRules:b,isListeningToPusherEventForReimbursementApprovalRules:y,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,searchText:x,isAdmin:h,entity:u,uiState:l,bulkSubmissionLimit:s,isBulkActionAllowed:v,transactionsSelectedForBulkAction:f,isDetectInsufficientFundsEnabled:B,fetchState:g,analytics:C,onTransactionRowClick:T,onReloadTransactions:k,onColumnSortConfigChanged:L})=>{const U=H(),A=j=>{const ie=u==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??M:e[j].reportTitle??M;return pi(ie,U)},O=P.useRef(null);P.useEffect(()=>{O.current?.resetAfterIndex(0)},[U,O,a,r]);const R=P.forwardRef((j,ie)=>{const{children:oe,style:Z,...de}=j;return t.jsx(Mn,{ref:ie,style:{...Z,width:"auto"},...de,children:t.jsx(Fn,{children:oe})})});return R.displayName=S.spendManagement.billPay.billsByTabs.headerElementDisplayName,ti({componentName:`${$i(u)}.${vi(a,u)}`,enabled:g==="Completed"}),t.jsx(_n,{children:u==="bill_pay"&&b===!0?t.jsx(yt,{header:t.jsx(Et,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","bills")}):u==="reimbursement"&&y===!0?t.jsx(yt,{header:t.jsx(Mt,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","reimbursements")}):g==="Error"?t.jsxs(Ln,{children:[t.jsx(In,{onClick:k,children:t.jsx(Dn,{})}),t.jsx(An,{children:S.peoplePage.reloadPage.label})]}):g==="Completed"&&e.length===0&&x!=M?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataWithFilterText:S.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):g==="Completed"&&e.length===0?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataText:S.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataTextViaMail:S.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:u==="bill_pay"?void 0:S.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):g==="Not-Started"||g==="In-Progress"?t.jsx(ii,{fetchState:g,styles:{margin:"auto"}}):t.jsx(Rn,{windowSize:U,children:t.jsx(oi,{children:({height:j,width:ie})=>t.jsx(ni,{ref:O,height:j,itemCount:u==="bill_pay"||u==="reimbursement"?1:e.length,innerElementType:R,itemSize:A,estimatedItemSize:ri,itemKey:oe=>e[oe].id,width:ie,overscanCount:li,itemData:{entity:u,isBulkActionAllowed:v,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,transactionList:e,isAdmin:h,selectedTab:a,transactionsSelectedForBulkAction:f,bulkSubmissionLimit:s,uiState:l,analytics:C,isDetectInsufficientFundsEnabled:B,onTransactionRowClick:T,onColumnSortConfigChanged:L},initialScrollOffset:0,children:bn})})})})},rl=({transactionList:e,botEmail:n,allSubTabs:a,isAdmin:r,selectedTab:d,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,selectedSubTab:h,searchText:u,entity:l,uiState:s,bulkSubmissionLimit:v,isBulkActionAllowed:f,isRecurringBillInBulkActionList:B,transactionsSelectedForBulkAction:g,allowedBulkActions:C,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:k,onTransactionRowClick:L,onSubtabChange:U,fetchState:A,onReloadTransactions:O,onColumnSortConfigChanged:R,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:Z})=>{const de=Gt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});P.useEffect(()=>{const z=de.watch((I,{name:_})=>{_!=null&&I!=null&&Ht(()=>We(_,I))});return()=>{z.unsubscribe()}});const We=async(z,I)=>{if(z===ue){let _=[];if(I[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===v)break}else _=I[ue].filter(D=>D!==S.common.all.toLowerCase());if(l==="bill_pay"){const D=e.filter(we=>_.includes(we.id)),ne=ke(D);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const D=e.filter(we=>_.includes(we.id)),ne=Te(D.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=I[ue];ie?.(_)}},Ke=()=>{C.includes("cancel")?Kt():qt()},V=H(),[Ue,Se]=P.useState(!1),[J,qe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const z=Zt(d,h,l);A==="Completed"&&z!=null&&j?.trackPageLoaded(z,l==="bill_pay"?"Bills":"Reimbursements")},[j,d,h,l,A]);const Vt=z=>{U(z)},Wt=P.useCallback(()=>{const{title:z,description:I}=Cn(l,g.length,d,B);if(qe({type:"delete",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),D=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,D)}else{const _=e.filter(ne=>g.includes(ne.id)),D=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,D)}Se(!0)},[l,j,B,h,d,e,g]),Kt=P.useCallback(()=>{const{title:z,description:I}=Pn(l,g.length);qe({type:"cancel",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),Se(!0)},[l,g.length]),Ut={onOkClick:z=>{if(Se(!1),l==="bill_pay"){const I=e.filter(D=>g.includes(D.id)),_=ke(I);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const I=e.filter(D=>g.includes(D.id)),_=Te(I.map(D=>D.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(J.type,d,h,_)}J.type==="delete"?Z?.("delete",z):Z?.("cancel",z)},onCancelClick:()=>{oe?.(),Se(!1),qe({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M})}},qt=P.useCallback(()=>{if(l==="bill_pay"){const z=e.filter(_=>g.includes(_.id)),I=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,I)}else{const z=e.filter(_=>g.includes(_.id)),I=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,I)}C.includes("send_for_approval")?Z?.("send_for_approval"):Z?.(k?"approve":"review")},[l,C,e,j,g,d,h,Z,k]),lt=C.filter(z=>z!=="delete").length>0;return t.jsxs(zn,{children:[t.jsx(fi,{tabIds:a,selectedTab:h,hasSubTabs:a.length>0,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:Vt,isSwitcherLeftAlign:!0}),t.jsx(Qt,{...de,children:t.jsxs(Bn,{onSubmit:de.handleSubmit(Ke),children:[t.jsx(gn,{botEmail:n,selectedTab:d,selectedSubTab:h,searchText:u,transactionList:e,fetchState:A,onReloadTransactions:O,onTransactionRowClick:L,entity:l,uiState:s,isAdmin:r,onColumnSortConfigChanged:R,analytics:j,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:v,isBulkActionAllowed:f,transactionsSelectedForBulkAction:g,isDetectInsufficientFundsEnabled:k}),Ue?t.jsx(Xt,{titleComponent:t.jsx(Yt,{children:J.title}),descriptionComponent:t.jsx(Jt,{children:J.description}),primaryButtonText:J.primaryButtonText,proceedButtonVariant:J.type==="delete"?"danger":"primary",secondaryButtonText:J.secondaryButtonText,action:Ut,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,g.length>0?t.jsx(ei,{helperContainerStyle:V==="small"?{margin:`${i.sp5} ${C.includes("delete")&&lt?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:lt,primaryBtn:{label:Sn(l,C,g.length),isLoading:J.type!=="delete"&&T==="In-Progress",isDisabled:J.type==="delete"&&T==="In-Progress",type:"submit",style:kn(C)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:Tn(C,V)},leftSideComponent:$n(g.length,v,l,V),rightSideComponent:C.includes("delete")?vn(g.length,J.type==="delete"&&T==="In-Progress",Wt,V):null}):null]})})]})},bn=({style:e,data:n})=>{const{entity:a,transactionList:r,transactionsSelectedForBulkAction:d,isAdmin:m,isBulkActionAllowed:b,isShowDeletedBillsEnabled:y,isShowDeletedReimbursementEnabled:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:h,selectedTab:u,uiState:l,analytics:s,isDetectInsufficientFundsEnabled:v,onTransactionRowClick:f,onColumnSortConfigChanged:B}=n,g=H(),C=Le(),T=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(En,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ci,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:g==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:wn(g),labelCheckBoxStyle:{marginLeft:g==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:C.colors.grey4},infoIconContainerStyle:fn(g),name:ue,mode:T,selectionLimit:h,checkBoxes:a==="bill_pay"?[{label:t.jsx(Et,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(yn,{transactionDetail:k,selectedTab:u,isBillPayCommentingEnabled:$,isShowDeletedBillsEnabled:y,onTransactionRowClick:f,billsSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on",isDetectInsufficientFundsEnabled:v}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:jn(k,d),exceptionInfo:xt(a,k),exceptionType:wt(k)}))]:[{label:t.jsx(Mt,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,analytics:s,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(xn,{transactionDetail:k,isShowDeletedReimbursementEnabled:w,isReimbursementCommentingEnabled:x,selectedTab:u,isAdmin:m,onTransactionRowClick:f,remisSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on"}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:xt(a,k),exceptionType:wt(k)}))]})})},yn=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:a,billsSelectedForBulkAction:r,bulkSelectFormId:d,bulkSelectLimit:m,isBillPayCommentingEnabled:b,isSelectionMode:y,isDetectInsufficientFundsEnabled:w,onTransactionRowClick:$})=>{const x=H()==="small"?eo:Fi,h=hi(e,n),{bulkProcessingDetail:u}=e,l=Ae(u?.type),s=()=>{const g=e.billPayInfo.outsideZeniTransactionPaymentMode;if(g==null||g==="other")return;const C=Nt.billDetails.paymentOutsideZeni.paymentModeOptions.find(T=>T.value===g)?.label;return`${S.common.via} ${C}`},v=w&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?gi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,f=bi(e.billPayInfo,n,a,e.isDeleted,e.dueDate),B=v!=null&&f?.code!=="failed"&&f?.code!=="processing"&&f?.code!=="cancelled"&&f?.code!=="returned"&&f?.code!=="rejected"&&f?.code!=="paid";return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:r.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:r.length===m,isSelectionMode:y,bulkSelectFormId:d,tagStatus:f,approvers:e.isDeleted===!0?void 0:kt(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$,paidAdditionalInfo:n==="paid"&&!e.isDeleted?s():void 0,lowBalanceAlert:v,showLowBalanceTooltip:B})})},xn=({transactionDetail:e,selectedTab:n,isAdmin:a,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:m,bulkSelectFormId:b,bulkSelectLimit:y,isSelectionMode:w,onTransactionRowClick:$})=>{const x=H()==="small"?Vo:Bo,h=yi(a,e.submittedBy),{bulkProcessingDetail:u}=e,l=Ae(u?.type);return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:m.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:m.length===y,isSelectionMode:w,bulkSelectFormId:b,currentTab:n,date:wi(e,n),approvers:e.isDeleted===!0?void 0:kt(e,n),tagStatus:xi(e,n,r),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$})})},wn=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},fn=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},$n=(e,n,a,r)=>{const d=a==="bill_pay"?q.bill:N.report,m=(e>1?d+"s":d)+q.selected;return e>0?t.jsxs(Wn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Kn,{multiDigit:e>=10,children:e}),t.jsx(Un,{children:m}),e===n?t.jsx(qn,{children:un}):null]}):null},vn=(e,n,a,r)=>e>0?t.jsx(Nn,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(On,{isLoading:n,windowSize:r,className:"delete-icon-wrapper",onClick:n?()=>null:a,children:n?t.jsx(si,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:S.common.delete,placement:"top",children:t.jsx(Vn,{})})})}):null,xt=(e,n)=>{const{bulkProcessingDetail:a,bulkSelectInfo:r}=n,d=Ae(a?.type),m=a?.type==="error";let b;if(d)b=a?.inProgressMessage;else if(m)b=a.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:y}=S.spendManagement.billPay.bulkActions;b=y[r.bulkSelectExceptionInfo]}else{const{exceptions:y}=S.spendManagement.reimbursement.bulkActions;b=y[r.bulkSelectExceptionInfo]}return b},Sn=(e,n,a)=>{const{billPay:r}=S.spendManagement;return n.includes("cancel")?e==="reimbursement"?N.popUps.cancel.title.replace("__report__",a>1?N.reports:N.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",a>1?r.bulkActions.bills:r.bulkActions.bill):n.includes("send_for_approval")?r.billDetails.sendForApproval:S.common.review},kn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},Tn=(e,n)=>{let a;return n!=="small"&&(e.includes("cancel")?a={minWidth:"116px"}:e.includes("send_for_approval")&&(a={minWidth:"160px"})),a},Pn=(e,n)=>{const{this_:a,these:r,payment:d,payments:m,bills:b,bill:y,reports:w,report:$,they:x,it:h}=S.common.texts;return n>1?e==="bill_pay"?{title:q.popUps.cancel.title.replace("<_bill_>",S.drawerMenus.bills),description:q.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",b).replace("<_it_>",x).replace("<_payment_>",m)}:{title:N.popUps.cancel.title.replace("__report__",N.reports),description:N.popUps.cancel.description.replace("<_this_>",r).replace("__report__",w).replace("<_it_>",x).replace("<_payment_>",m)}:e==="reimbursement"?{title:N.popUps.cancel.title.replace("__report__",N.report),description:N.popUps.cancel.description.replace("<_this_>",a).replace("__report__",$).replace("<_it_>",h).replace("<_payment_>",d)}:{title:q.popUps.cancel.title.replace("<_bill_>",q.bill),description:q.popUps.cancel.description.replace("<_this_>",a).replace("<_bill_>",y).replace("<_it_>",h).replace("<_payment_>",d)}},Cn=(e,n,a,r)=>{const{this_:d,these:m,payment:b,payments:y,bills:w,bill:$,report:x,reports:h,they:u,it:l}=S.common.texts,s=n>1;let v=M;e==="bill_pay"?v=q.popUps.delete.title.replace("<_bill_>",s?q.bills:q.bill):v=N.popUps.delete.title.replace("__report__",s?N.reports:N.report);let f=M;return a==="draft"?e==="bill_pay"?f=q.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$):f=N.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("__report__",s?h:x):r?f=q.popUps.delete.descriptionRecurring.replace("<_payment_>",s?b:y):e==="bill_pay"?f=q.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b):f=N.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("__report__",s?h:x).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b),{title:v,description:f}},jn=(e,n)=>{const a=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&a!=null&&(a==="bookCloseDateProcessing"||a==="noActionRecurring")?"hover_only":"checked_or_hover"},wt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",_n=o.div`
698
698
  display: block;
699
699
  height: 100%;
700
700
  `,Bn=o.form`
@@ -1,12 +1,12 @@
1
- import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,ai as se,h1 as xe,bE as ae,aw as be,h2 as Ce,h3 as we,al as V,b8 as ve,h4 as $e,ay as je,h5 as Se,p as ke,cW as Oe,bM as Le,fY as Ie,h6 as Ee,M as W,L as _e,fZ as Me,aR as Ae}from"./index-Cb-eu--2.js";import{a as s}from"./sentry-agJ08X3c.js";import{n as l,k as Fe}from"./mui-CvhriUJf.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-CwvuK4v8.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]="db53187e-e7b6-4216-bc80-0f4931e58c6b",e._sentryDebugIdIdentifier="sentry-dbid-db53187e-e7b6-4216-bc80-0f4931e58c6b")}catch{}})();const He=l.div`
1
+ import{q as B,e as D,V as o,cl as H,o as r,aN as N,A as te,gY as ue,d as R,n as he,b as oe,bF as re,F as S,y as ne,gZ as ge,c1 as me,g_ as fe,cZ as le,bG as A,b9 as ye,ai as ae,g$ as xe,bE as se,aw as be,h0 as Ce,h1 as we,al as V,b8 as ve,h2 as $e,ay as Se,h3 as je,p as ke,cW as Oe,bM as Le,fY as Ie,h4 as Ee,a as W,_ as _e,fZ as Ae,aR as Fe}from"./index-l9FViNoO.js";import{a}from"./sentry-DWELwT5u.js";import{n as l,k as Me}from"./mui-cKt0zt2w.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-atBaoFS-.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]="b29407dd-86eb-4ae1-bc1e-603b402a1ba3",e._sentryDebugIdIdentifier="sentry-dbid-b29407dd-86eb-4ae1-bc1e-603b402a1ba3")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
- `,Ne=l(ae)`
5
+ `,Ne=l(se)`
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  width: ${r.sp3};
8
8
  height: ${r.sp3};
9
- `,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:a,onChange:p,getOptionLabel:c})=>{const y=D(),f=s.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return s.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:a,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ve(m,c)}})},Ve=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(M.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,a=t?.(e.data.value)??e.data.label;return o.jsx(M.Option,{...e,children:o.jsxs(He,{children:[o.jsx(se,{children:a}),n?o.jsx(Ne,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),G="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ge=l.div`
9
+ `,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:s,onChange:p,getOptionLabel:c})=>{const y=D(),f=a.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return a.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:s,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ve(m,c)}})},Ve=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,s=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(He,{children:[o.jsx(ae,{children:s}),n?o.jsx(Ne,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),G="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ge=l.div`
10
10
  display: flex;
11
11
  align-items: flex-start;
12
12
  padding: ${r.sp2} ${r.sp3};
@@ -17,16 +17,16 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
17
17
  column-gap: ${r.sp2};
18
18
  width: 100%;
19
19
  min-height: ${r.sp4};
20
- `,Xe=l.div`
20
+ `,Ze=l.div`
21
21
  display: flex;
22
22
  align-items: center;
23
23
  column-gap: ${r.sp1};
24
- `,Ze=l.div`
24
+ `,qe=l.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  column-gap: ${r.sp2};
28
28
  word-break: break-all;
29
- `,qe=l.div`
29
+ `,Ke=l.div`
30
30
  display: flex;
31
31
  align-items: center;
32
32
  column-gap: ${r.sp3};
@@ -37,11 +37,11 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
37
37
  border-radius: 50%;
38
38
  justify-content: center;
39
39
  color: ${e=>e.theme.colors.hero};
40
- `,Ke=l(Ie)`
40
+ `,Qe=l(Ie)`
41
41
  color: ${e=>e.theme.colors.hero};
42
42
  height: ${r.sp4};
43
43
  width: ${r.sp4};
44
- `,Qe=l(ae)`
44
+ `,Xe=l(se)`
45
45
  color: ${e=>e.theme.colors.primary};
46
46
  height: ${r.sp3};
47
47
  min-width: ${r.sp3};
@@ -49,25 +49,25 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
49
49
  color: ${e=>e.theme.colors.primary};
50
50
  height: 10px;
51
51
  width: 10px;
52
- `,et=l(Ae)`
52
+ `,et=l(Fe)`
53
53
  overflow: hidden;
54
54
  text-overflow: ellipsis;
55
- `,tt=({options:e,value:t,placeHolder:n,filterCategoryType:a,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=s.useState(e);s.useEffect(()=>{a==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=a==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=s.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,L={options:e,filterCategoryType:a,searchAutoCompleteStatus:k,renderOptionIcon:f},I=j.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:a==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:I.startDate,value:u.startDate??""},{label:I.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Ye,{children:[S.length===0&&a==="user"&&o.jsx(Ke,{}),o.jsx(re,{...L,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{a==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>at(u,$,a),noOptionsMessage:()=>st(a,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:a,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(M.MultiValueLabel,{...e,children:o.jsxs(Xe,{children:[ie(e.data,c,a,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:a,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(M.Option,{...w,children:o.jsxs(qe,{children:[o.jsxs(Ze,{children:[ie(e.data,g,y,f),o.jsx(se,{children:e.label})]}),e.isSelected&&o.jsx(Qe,{})]})})},lt=e=>o.jsx(M.MultiValueRemove,{...e,children:o.jsx(Je,{})}),st=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,a)=>{if(n==="dropdown")return(a!=null?a(e):null)??(e.photo!=null?o.jsx(Y,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Me,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(Y,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},at=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),A={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Te}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},X=l.div`
55
+ `,tt=({options:e,value:t,placeHolder:n,filterCategoryType:s,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=a.useState(e);a.useEffect(()=>{s==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const j=s==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=a.useRef(Se(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,L={options:e,filterCategoryType:s,searchAutoCompleteStatus:k,renderOptionIcon:f},I=S.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:s==="dateRange"?o.jsx(je,{onDateRangeChange:u=>{y([{label:I.startDate,value:u.startDate??""},{label:I.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Ye,{children:[j.length===0&&s==="user"&&o.jsx(Qe,{}),o.jsx(re,{...L,isMulti:!0,hideSelectedOptions:!1,value:j,onInputChange:u=>{s==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>st(u,$,s),noOptionsMessage:()=>at(s,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:s,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Ze,{children:[ie(e.data,c,s,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:s,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(A.Option,{...w,children:o.jsxs(Ke,{children:[o.jsxs(qe,{children:[ie(e.data,g,y,f),o.jsx(ae,{children:e.label})]}),e.isSelected&&o.jsx(Xe,{})]})})},lt=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Je,{})}),at=(e,t)=>{const n=S.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,s)=>{if(n==="dropdown")return(s!=null?s(e):null)??(e.photo!=null?o.jsx(Y,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Ae,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(Y,{src:e.photo.href,alt:S.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},st=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),F={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},M=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Te}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return S.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return S.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return S.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return S.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},Z=l.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  row-gap: ${r.sp4};
59
- `,Z=l.div`
59
+ `,q=l.div`
60
60
  display: flex;
61
61
  column-gap: ${r.sp3};
62
62
  align-items: flex-start;
63
63
  flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
64
64
  row-gap: ${e=>e.windowSize==="small"?r.sp3:r.sp0};
65
- `,q=l.div`
65
+ `,K=l.div`
66
66
  width: 90px;
67
67
  color: ${e=>e.theme.colors.primary};
68
- `,K=l.div`
68
+ `,Q=l.div`
69
69
  width: 194px;
70
- `,Q=l.button`
70
+ `,X=l.button`
71
71
  display: flex;
72
72
  align-items: center;
73
73
  column-gap: ${r.sp1};
@@ -127,7 +127,7 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
127
127
  display: flex;
128
128
  align-items: center;
129
129
  column-gap: ${r.sp3};
130
- `,Ct=Fe`
130
+ `,Ct=Me`
131
131
  0% {
132
132
  opacity: 0;
133
133
  }
@@ -139,7 +139,7 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
139
139
  align-items: flex-start;
140
140
  column-gap: ${r.sp3};
141
141
  animation: ${Ct} 0.4s;
142
- `,de=s.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:a,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=s.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=s.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=s.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=s.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(A);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(A)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},L=()=>{c(A)},I=s.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(Q,{onClick:k,children:[o.jsx(ut,{}),o.jsx(V,{children:u.addFilterBtnText})]}),o.jsxs(Q,{onClick:L,children:[o.jsx(ht,{}),o.jsx(V,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(X,{children:o.jsx(Z,{children:o.jsxs(ee,{children:[o.jsx(q,{children:o.jsx(J,{children:u.filterByLabel})}),o.jsx(K,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>T(n,d),options:F(n,g.loggedInUserRole)})})]})})}):o.jsx(s.Fragment,{children:e.categories.map((d,h)=>{const C=F(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?T(n,C?.value):"";return o.jsxs(Z,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(q,{children:[h===0&&o.jsx(J,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(K,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>T(n,i),options:F(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>I(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:a,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(X,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
142
+ `,de=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=a.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=a.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),j=a.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=a.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(F);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(F)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},L=()=>{c(F)},I=a.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=S.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(X,{onClick:k,children:[o.jsx(ut,{}),o.jsx(V,{children:u.addFilterBtnText})]}),o.jsxs(X,{onClick:L,children:[o.jsx(ht,{}),o.jsx(V,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(Z,{children:o.jsx(q,{children:o.jsxs(ee,{children:[o.jsx(K,{children:o.jsx(J,{children:u.filterByLabel})}),o.jsx(Q,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>T(n,d),options:M(n,g.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((d,h)=>{const C=M(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?T(n,C?.value):"";return o.jsxs(q,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(K,{children:[h===0&&o.jsx(J,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:j,buttonsDisabled:h>1}):null]}),o.jsx(Q,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>T(n,i),options:M(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>I(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:s,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(Z,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
143
143
  padding-top: ${r.sp4};
144
144
  padding-bottom: ${r.sp4};
145
145
  box-sizing: border-box;
@@ -154,10 +154,10 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
154
154
  padding-left: ${r.sp4};
155
155
  padding-right: ${r.sp4};
156
156
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
157
- `,jt=l.div`
157
+ `,St=l.div`
158
158
  padding-left: ${r.sp4};
159
159
  padding-right: ${r.sp4};
160
- `,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:a,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=s.useRef(null),[v,k]=s.useState(!1),L=s.useRef(!1),[I,u]=s.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=s.useState("auto"),d=s.useRef(null),h=B(),C=s.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=s.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);s.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=s.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);s.useEffect(()=>{if(v!==L.current){b("auto");return}b(i())},[i,v]),s.useEffect(()=>{L.current=v},[v]),s.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:I[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:a,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(s.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>s.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ot}=j.getLocalizedStrings(),Lt={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:a,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:L,updateDownloadStateHandler:I,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=s.useState(void 0);s.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(At,{children:[o.jsxs(Mt,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":N("list-page-search-input-box"),style:{position:"absolute",left:"unset",...a},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:L,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":N("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Tt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(It,{})}):null,w?o.jsx(Ft,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:I}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const It=l(kt)`
160
+ `,jt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:s,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const j=a.useRef(null),[v,k]=a.useState(!1),L=a.useRef(!1),[I,u]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=a.useState("auto"),d=a.useRef(null),h=B(),C=a.useCallback(()=>{k(!1)},[]),x=S.getLocalizedStrings().common.strings.empty,_=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);a.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);a.useEffect(()=>{if(v!==L.current){b("auto");return}b(i())},[i,v]),a.useEffect(()=>{L.current=v},[v]),a.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:j.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(St,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:I[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:j,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ot}=S.getLocalizedStrings(),Lt={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:s,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:j,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:L,updateDownloadStateHandler:I,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),j||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(Ft,{children:[o.jsxs(At,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":N("list-page-search-input-box"),style:{position:"absolute",left:"unset",...s},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(jt,{entity:e.entity,groupByFiltersComponent:L,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":N("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Tt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(It,{})}):null,w?o.jsx(Mt,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:I}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const It=l(kt)`
161
161
  height: ${r.sp4};
162
162
  width: ${r.sp4};
163
163
  `,Et=l(me)`
@@ -176,16 +176,16 @@ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as
176
176
  &:hover {
177
177
  color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.primary};
178
178
  }
179
- `,Mt=l.div`
179
+ `,At=l.div`
180
180
  display: flex;
181
181
  justify-content: flex-end;
182
182
  position: relative;
183
183
  align-items: center;
184
184
  width: ${e=>e.isSearchOpen?"100%":"unset"};
185
- `,At=l.div`
185
+ `,Ft=l.div`
186
186
  display: flex;
187
187
  flex-direction: column;
188
- `,Ft=l.div`
188
+ `,Mt=l.div`
189
189
  display: flex;
190
190
  align-items: center;
191
191
  justify-content: center;