@zeniai/web-cockpit-ui 1.14.91-qa → 1.14.92-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 (318) hide show
  1. package/dist/assets/ACHDetailsPage-B6sY0jN6-BewHWiw_.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-rCBrp1JL.js → AIPerformancePage-BWK9fXrz-XnvE7-6d.js} +2 -2
  3. package/dist/assets/{AccountInfoPage-DfT5DDiZ-D0CVlv97.js → AccountInfoPage-DfT5DDiZ-DND7ENQF.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-D32CRcv0.js → AccountInfoPageContent-nUi26Aww-Bwa-HIUO.js} +11 -11
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-DFG-AArf.js → AccountLockedInfoModal-BROj4bmE-DDKXU8OA.js} +5 -5
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DSRssRwi.js → AccountReconDetailsDrawerPage-C-3FFCQZ-D-TpqzuY.js} +7 -7
  7. package/dist/assets/{AccountRow-BM2kGWyR-CUEabI22.js → AccountRow-BM2kGWyR-CEX7zEFS.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-D2Rks2IH.js → AccountsPromoCardStack-CNCG5uPJ-Y2aCPflf.js} +5 -5
  9. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-e0LZrU5l.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-BOmGChQh.js → AddToWalletPage-DyrcWdBZ-CkK2fnuE.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-CDFaJsCv.js → AgingReportsPage-CmluxKG3-B2hpJNM3.js} +7 -7
  12. package/dist/assets/{AllUserItems-CVZZU-J3-CQYclBqY.js → AllUserItems-CVZZU-J3-Ce2827d_.js} +6 -6
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-D1SMh_uB.js → ApAgingDetailPage-CoNxqskm-Bna_-NVA.js} +1 -1
  14. package/dist/assets/{AppBasePage-CTGNzUtN-CsSqlHFb.js → AppBasePage-CTGNzUtN--WSyuM8w.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-BK18x8lU.js → AppDrawerContent-59dQVUxu-Bv7_BAFF.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-B6n0n-AH.js → ApprovalRulesSettingsPage-XEW5sdNg-DmNI-bwP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-BMi6xDeV.js → ArAgingChart-D3Ym4gVE-DmsLk005.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-Cks0yhvG.js → ArAgingDetailPage-BLEJSLJJ-C4CejQvS.js} +1 -1
  19. package/dist/assets/{AttachmentView-DSP80cjm-CgZkBq6h.js → AttachmentView-DSP80cjm-BrHb-fdX.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DRrNcA79-CfWXJkCL.js → BankAccountSection-DRrNcA79-DN0L_Nus.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-pYaBnYwo.js → BankAccountWarningSection-Ub-gsfhE-CWRw85Ya.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-Bmy_bjMC.js → BankConnectionsSettingsPage-BcTtJTbg-Cq7UhfIX.js} +9 -9
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-DdsAIdzy.js → BillDetailPage-D7AQyxwr-C4hQ51aV.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-B3YKN5mU.js → BillPayApprovalRuleDetailPage-BQWGENO8-UqNryn1Y.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-Clw-2wlC.js → BillPayApprovalRulesPage-BbA1Nwqe-8oC6drGE.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-CQQQB354.js → BillPayPromoPage-DSTS_vBW-D4bhyD9i.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-NjhuI3UN.js → BillPaySetUpPage-CvlVPVCA-CckOfR6h.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-Dt0uXp5Q.js → BillingSettingsPage-nKpHtd4C-BrQxt-Or.js} +2 -2
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Cb4kf05q.js → BillsBulkReviewDrawerPage-DNHAoceL-CcLmGKWP.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-BmJyEo8P.js → BoxItem-Bjv3WNXO-CbkK_BvO.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BwDZ1SF1.js → BusinessVerificationPage-Bj4D9bX2-CSqpS47f.js} +7 -7
  32. package/dist/assets/CardNumberSubText-BYY-Inxd-B5eDSuWq.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-KfzGeeHg.js → CashbackDetailPage-D9UiTqp9-CYWVGaEH.js} +14 -14
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DtWHXqSs.js → ChargeCardDetailPage-C5EdiIyl-BRwuM_9a.js} +24 -24
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-DbcJS4HW.js → ChargeCardListPage-DZwz1qoD-CqjW0D5U.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-CeQiSd9i.js → ChargeCardListTable-D5B05Z1F-D4hpaga1.js} +13 -13
  37. package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BhpbAa0E.js → ChargeCardPromoPage-CDJMtGJb-hssoPQjs.js} +10 -10
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-DEZ65n_v.js → ChargeCardSetupPage-CVV24gS9-BAOQ2Xly.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-snf3xLLe.js → ChargeCardStatementsPage-CmjBoi5e-DLlPm7j6.js} +3 -3
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-DksjSdSX.js → CheckDepositDrawerPage-CYOhT5Qz-NvWlDiXp.js} +10 -10
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-BeVhCFjP.js → CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js} +32 -32
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-CRHkdATL.js → CompanyOfficerDetailsSection-DR_6TlQa-SwPBTgrA.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-C5MlH5vF.js → CompanyPassportCard-B4chn7-Q-Bv_vr7JG.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-Cn_rUM0x.js → CompanyPassportPage-oT9HnnPQ-BroxBLc-.js} +1 -1
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-CMAlYJ7H.js → CompleteProfile-BgH4v76Z-CN661m7_.js} +1 -1
  46. package/dist/assets/ConfettiBurst-Cl6jHJ8H-gdYynPR6.js +1 -0
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-BbNmJCzp.js → CreateOrEditVendorPage-CW-u7pJU-D_V5jy6j.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DHMoXleH.js → CreditCardPaymentDrawerPage-D30M7ol4-Cmy98i97.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-lt77fvq3.js → CurrencySelectField-DOCEstMc-DLDifnD2.js} +3 -3
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-Di2Nadj1.js → CustomerOnboardingActivationPage-DMPNjFL_-DXtNUrdA.js} +5 -5
  51. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTN0ucTw.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BXbbBAgo.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js} +8 -8
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-D_7GUO1D.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-D9C_SyFY.js} +3 -3
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-C-OnNjx4.js → CustomerOnboardingPage-TJK6s-LM-CoIVtMVm.js} +1 -1
  55. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-Bg8Yb8JM.js +202 -0
  56. package/dist/assets/{Dashboard-WiE9IRrh-DLy2oEV6.js → Dashboard-WiE9IRrh-DvtSkHmk.js} +14 -14
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD--5FXkbx2.js → DashboardReportPage-BKHl_IVD-CtxBGv_B.js} +11 -11
  58. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js +12 -0
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-C2YE4gmN.js → DepositAccTransactionItem-C8tChaJS-BcNs6Wmj.js} +1 -1
  60. package/dist/assets/DepositAccTransactionListPage-B6px7upV-C_h4mZC3.js +66 -0
  61. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Cigs9AsB.js +21 -0
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-QQjLHCMg.js → DownloadOverlay-DB-qx46O-Di0XX-7b.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-DYWZbR7w.js → DrawerPage-Bha9ElcW-tQCg2vNB.js} +6 -6
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-CisYF3Ng.js → EditPeoplePage-B6QD5Vld-H7oW4yPE.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-D1RbirS3.js → EditReimbursementDetailPage-EplOf2mP-DR3ob0bq.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-5Cu1qehd-D07nT3Te.js → EntityDetailPage-5Cu1qehd-BdCQHbCi.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-DEGQNQVO.js → EntitySummarySection-D6z6-dM7-iY3GcshB.js} +2 -2
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-NF6HtctB.js → ExpenseAutomationOverviewPage-DkoxczRc-Dj3WEFmv.js} +15 -15
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Cmx09CtX.js → ExpenseAutomationPage-Na3XKgcg-DopOn429.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-D5XRTVzj.js → ExpressPayPage-DWGl_gml-hFOTsy6y.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-DzDv67fj.js → FeaturePreviewPage-BgkpUPMm-BgRBmXUD.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-7-LclZyo.js → FollowStepsSection-64oy2OLD-BEGrGMi_.js} +7 -7
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-OAyr9UAc.js → GlobalReviewListPage-DHfTyj2C-C3EEWPiO.js} +12 -12
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-2Y0pRe_r.js → InformationCardStack-Dw3lhl2I-Bs6_LbeZ.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-CQn7ZFVZ.js → InsightsCardStack-BiEswY1Z-Db6FFDpQ.js} +9 -9
  76. package/dist/assets/{InsightsSection-DvqCilqy-BvIpOsD6.js → InsightsSection-DvqCilqy-BQT_s43S.js} +3 -3
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-K49nYAJL.js → IntegrationsSettingsPage-DzVYf5ff-DvdqA5Qq.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-C8RSfXK9.js → InternationalWireSwiftDetailsPage-DTHcuQsH-B-a9NSLn.js} +11 -11
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-BPPlgLxU.js → InternationalWireVerificationPage-BzyRqd-m-slndLY5A.js} +7 -7
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-C7CdP0jU.js → InviteFormPage-CaJB3ss1-HHZxjRMu.js} +17 -17
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-Dpx_AdxA.js → InvitePageListView-8Ltt8tHx-BPR7jVHX.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-BX9kPS5-.js → InvitePeoplePage-A7oKAD7M-DkNn-Tux.js} +2 -2
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-BX54FmZz.js → InvoiceUploadSection-DomquLut-CutCF8wG.js} +5 -5
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BN7RzIYF.js → IssueChargeCardPage-DtIQ1Buk-QOM0ijcK.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-DrM7vU1s.js → LabeledAddressValue-B_9lh-_a-B22yf0PW.js} +2 -2
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-1BY0JFnr.js → LabeledAddressValueField-CC7T3qZQ-5fkS_FuY.js} +2 -2
  87. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js +16 -0
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-TvdaP8Vv.js → LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js} +3 -3
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CCiYsV9S.js → LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js} +3 -3
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-CluakS-U.js → LabeledDropDownFormattedTextField-DDzM3r6s-CPxa5iPj.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-CcC7jZEk.js → LabeledText-axaAGyUS-B-Q4astZ.js} +2 -2
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-BKf09x4e.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-OaRP8J18.js → LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js} +9 -9
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-CEg5TESY.js → LinkJETransactionPage-CJniqVcu-C9nn50Ye.js} +3 -3
  95. package/dist/assets/{LockCardPage-CjO8cr2a-D35PEeDH.js → LockCardPage-CjO8cr2a-C3aOpkLz.js} +12 -12
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-B-J4NCtT.js → LowBalancePopup-DVS-w3b7-DZeFvNAP.js} +2 -2
  97. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-BWS1eLIz.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-BkvhGPqZ.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-DYCM1cCk.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-RnQYScep.js → MagicLinkSuccessPage-DAAoq3iT-s_k-As2A.js} +6 -6
  101. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Dq0HXyeM.js +17 -0
  102. package/dist/assets/MailingDetailsSection-CiJ5JLA6-ClA0Rhay.js +21 -0
  103. package/dist/assets/Menu-wpP8R1br-BkJyq7Tb.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-S9MhwXB4.js → MyBankConnectionsSettingsPage-DIIFgnkE-BpGRsOdm.js} +2 -2
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-CK6YDHgF.js → MyPendingActivationChargeCardListPage-Di_KYRgS-1GEJ-RE_.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Dsfb8_5o.js → MyProfileSettingsPage-m6vaeGgZ-CBRk31EZ.js} +4 -4
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-BXQJ2aBI.js → NavBarWithPicker-C_qO8mgD-DeDCa5cM.js} +4 -4
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-D0J_smpz.js → NavigationArrow-BXYIj6Wz-CANss6wI.js} +8 -8
  109. package/dist/assets/{NavigationDots-BvKSgdgh-BqXI1Dvt.js → NavigationDots-BvKSgdgh-ChF9WLMp.js} +4 -4
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DLsg8Naf.js → NewGlobalMerchantPage-Dc3xEoiZ-BeCQwEx7.js} +2 -2
  111. package/dist/assets/NoDataChart-C5ZP32zB-BxSJ1j_J.js +26 -0
  112. package/dist/assets/NoDataTable-BnBYE8p_-CFZLFfEo.js +8 -0
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-_oSr8iWX.js → NotFoundPage-CZ25GWwU-BICqInbF.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-BdTBQFAp.js → NotificationSettingsPage-DHvgj7Hu-BDiE5wjx.js} +3 -3
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-CyiwE-QZ.js → NotificationsListConfig-BBLSv0sd-CBsOo8lP.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-DTkwGX6T.js → NotificationsPage-CGVEC-Zc-CICQW2D8.js} +14 -14
  117. package/dist/assets/{OpExByVendorPage-D55JZne--CJqRGQiy.js → OpExByVendorPage-D55JZne--Cr5n73UL.js} +6 -6
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DQE32HEH.js → OverlayContainerPage-Daz3A7cI-DLdPkPwc.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-BDMz5n2J.js → PandLWithForecastPage-fVmttEKP-aWCR7ttl.js} +11 -11
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-Dbfq-Q5l.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js} +5 -5
  121. package/dist/assets/{PeoplePage-QuuuX2AS-BRICHczf.js → PeoplePage-QuuuX2AS-CDxGSCUE.js} +12 -12
  122. package/dist/assets/Preview-D_TLok3M.js +1 -0
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-_T4nYSYs.js → ProductsCarousel-zdZkfaiY-D8MGFtGX.js} +3 -3
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-m_Kz4ZRp.js → PromoBaseCards-flFtcbIg-C0jZRRzU.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-DhNQ7g0E.js → QBOConnectionDialog-DNB2C1vQ-DPJHlPHX.js} +2 -2
  126. package/dist/assets/{QBOSetupSection-B59etoGz-_sJLDOFX.js → QBOSetupSection-B59etoGz-DxrgQvvQ.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-BCz-fjPF.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-DiBw1aK-.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CIt97LH3.js → ReimbursementApprovalRulesPage-BJ6GewQ2-CMxGgRQ3.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-CiNVqXoI.js → ReimbursementDetailPage-DKAtYSOy-C1CMn4bM.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-5hV7x373.js → ReimbursementPromoPage-DKcSHlHp-gi8b3D2U.js} +9 -9
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--D_F0MA0d.js → ReimbursementSetUpPage-Y1e_hna--L4dNaOo2.js} +5 -5
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-VUP64soN.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-TK1XJV4S.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-k80dn-sY.js → ReloadCard-DjtdPHq5-D_RTB189.js} +3 -3
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-C9oSqHHS.js → ReportTableViewSelector-C8e6IEWt-B1X6y91F.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-BkK5XGLi.js → ReportsPage-BIe0eDLC-DJAgrzKt.js} +3 -3
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-CKhxzTm3.js → RevenueChart-Cc0XrxLL-BSXP5Fpe.js} +30 -30
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR-BwWw8nzF.js → ReviewDetailsPage-CU1AYWgR-Aa7a5LiH.js} +17 -17
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-tthxypv2.js → ReviewOverlay-CruJ9O84-C1Nn7-W1.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-h3kSlu0j.js → RoleWithToolTip-fC3byzzv-DvgcIN_v.js} +6 -6
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-BF1406RS.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-COrIX6jB.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BbWry4yd.js → ScheduleDetailsPage-BhAqJ1Of-aIc3huKD.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-B6P-vowS.js → ScheduleSequenceTable-NSt1juSD-DIpN7xpp.js} +21 -21
  143. package/dist/assets/{ScreenRoutes-CPwJf5AY.js → ScreenRoutes-jO5HDDDI.js} +75 -75
  144. package/dist/assets/SetUpAccountSection-C1EnJv1V-BqOATLaf.js +378 -0
  145. package/dist/assets/{SignIn-BhIof_Cm-BQjlVN_5.js → SignIn-BhIof_Cm-BVhCYPyL.js} +1 -1
  146. package/dist/assets/SignInScreen-DYrtrzQo.js +1 -0
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-LpCmCl9n.js → SpendManagementListViewPage-BEWNNX_Z-DYJVhy13.js} +4 -4
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-B-R3eaH5.js → SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js} +20 -20
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-CSd7Ra1P.js → SpendManagementSection-C38Zpi1z-zTQSB9zV.js} +10 -10
  150. package/dist/assets/{StatementItem-bHInVThd-CvDlOdeO.js → StatementItem-bHInVThd-Bfw9F8uL.js} +2 -2
  151. package/dist/assets/{StatementsPage-CGQhmaXx-R_F9KvHl.js → StatementsPage-CGQhmaXx-BIuU-4wu.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-BflTgrEp.js → StatusSwitcher-7fiKLb5g-IubUY6EX.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-CnEO-V48.js → SubTabSwitcher-9AnfZiNy-DBEVnhtX.js} +3 -3
  154. package/dist/assets/{SummaryCard-DOycYLs1-BBnGU2Uh.js → SummaryCard-DOycYLs1-C5OfLiIW.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0-DxKz3xjn.js → TaskManagementPage-CehyMnY0-LzT8-CCR.js} +10 -10
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BGlD5dTQ.js → TimeRangeSwitcher-Dq2FEgFR-CxbtXrjR.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-C7-16i-O.js → TimeframeSwitcher-By3xz_-m-4vvkqeCS.js} +6 -6
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-BNAWd54k.js → TimeframeSwitcherWithToggle-a3fmbzNR-DF955u5N.js} +3 -3
  159. package/dist/assets/{TopExCard-GEQpp_KY-IB_77Mna.js → TopExCard-GEQpp_KY-BsC8DQsa.js} +4 -4
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-kxPti7uc.js → TopExDetailPage-hid1dQYl-o5BnuopY.js} +9 -9
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-BDaPm8U3.js → TransactionDetailPage-CX4JW9WM-gkT488m-.js} +3 -3
  162. package/dist/assets/{TransactionList-BixeXh4Y-D5p8k6VE.js → TransactionList-BixeXh4Y-CBLpnxhT.js} +13 -13
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-DtMoV0wS.js → TransactionListBig-CGMMJQBd-Bi6fPPO-.js} +7 -7
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-B8N6WUAF.js → TransactionListPage-CBVUTX4y-DvUQlgTG.js} +5 -5
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-B5vno7Kx.js → TransactionVendorDetailPage-CEbHH_0r-vhA6GFtl.js} +4 -4
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-DiQCCcuy.js → TransferDrawerPage-BFd7uQnF-CdQTDGt-.js} +32 -32
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-CiIm-PN1.js → TreasuryOverviewPage-Bd58hOy8-DrtmZ_fp.js} +28 -28
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-H2j749vC.js → TreasuryPromoPage-BvArufHi-zGiWS1XQ.js} +6 -6
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-CcMOOxjw.js → TreasuryStatementsPage-YLCEBbRh-rIAdAl8t.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-yYkV0iu8.js → TreasuryTaxLetterPage-D_6mgQqi-DYRPEoC2.js} +1 -1
  171. package/dist/assets/{TrendChart-D3dT6hUb-BHuMWYoT.js → TrendChart-D3dT6hUb-DkxaRhLn.js} +3 -3
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-81d3HYcO.js → TrendWithTransactions-Gj-u5KXi-BXQxjthK.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-BVdGDC68.js → UncategorizedAccountsMappingPage-B3eRYolj-CDmprZps.js} +3 -3
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BLAHxX13.js → UnitIntegrationPage-DpjR9hUu-B-HccwC1.js} +4 -4
  175. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-BbmaGPRn.js +38 -0
  176. package/dist/assets/Vendor2FAPopup-C85mhuSb-CEUsiGHn.js +1 -0
  177. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CWx4yTGx.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-DjpTEW-F.js → VendorDetailPage-BrbKfsL4-Cj99XIhO.js} +86 -86
  179. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-CPIfYbL9.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-BFued49C.js → VendorFiling1099EditablePage-DgBLn3fd-BC-C_gXr.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-G9JlI2Cf.js → VendorFirstReviewPage-jc7-OExI-B_u4wn_i.js} +58 -58
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-jfoBKQiW.js → VendorInternationalWireDetailsPage-c6isgwH2-G6KTzCh7.js} +7 -7
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BuJYqFug.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-D5xEFwOn.js → VendorsAccountsSection--VfdAF3H-CNAOxlvC.js} +2 -2
  185. package/dist/assets/{VerifyDevice-CaifjdR8-C5gOkIzM.js → VerifyDevice-CaifjdR8-B6dVM-BL.js} +1 -1
  186. package/dist/assets/VideoPlayer-BVR9LPmm-B4UxpKEs.js +78 -0
  187. package/dist/assets/{VideoPopup-BEXc8o78-CVV-ILBt.js → VideoPopup-BEXc8o78-DJiZW-Cs.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-DFYQ5K3H.js → WarningsDrawerPage-CboqfxzC-gF7sCXHr.js} +4 -4
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-CqcpFC6J.js → ZeniAccountDetailPage-Dujj0-XC-V9rgFIsn.js} +21 -21
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-CM-NK1x4.js → ZeniAccountListViewPage--SMJDGvC-CZS6XXwc.js} +1 -1
  191. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CkX8FMny.js +14 -0
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-C-Z-wjK6.js → ZeniAccountPromoPage-BVjJvWsA-B4Bz7FjR.js} +6 -6
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-DMWDIaa0.js → ZeniAccountSetupPage-Dvxst8RT-Dv9aj6me.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-BZVlJOkG.js → ZeniCopyright-B88k3pkr-BvEC_X2s.js} +1 -1
  195. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DXZHqv18.js +63 -0
  196. package/dist/assets/add-to-wallet-DgdBD8_G-D178ysGy.js +1 -0
  197. package/dist/assets/{analytics-CHPpxU3b.js → analytics-D090O6Wm.js} +1 -1
  198. package/dist/assets/analyticsHelper-CW9XC1-j.js +1 -0
  199. package/dist/assets/{analyticsHelper-DmujELNG-CREtjHan.js → analyticsHelper-DmujELNG-CdoVsqKC.js} +1 -1
  200. package/dist/assets/arrow-south-east-round-PEovUgvH-Ccxih1KW.js +1 -0
  201. package/dist/assets/auto-transfer-rule-mbafm5D3-CaIDNTCx.js +1 -0
  202. package/dist/assets/{chartTypes-DRiSljvE-CV6dAhnU.js → chartTypes-DRiSljvE-DHGd6p3G.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-BmGAU2Ka.js → commonDimensions-BDftm0gJ-CtNxdt96.js} +1 -1
  204. package/dist/assets/constants-B1WOPvRN.js +1 -0
  205. package/dist/assets/core-BCGhSsNP.js +62 -0
  206. package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-DQU9jzwW.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-DcwKCO51.js → detailCommon-BGgE4mE3-BIZKCRTc.js} +3 -3
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-BHlJTitV.js → downloadPdf-DCQ9vVZs-BAK1KQub.js} +1 -1
  209. package/dist/assets/empty-BFpyIT14.js +1 -0
  210. package/dist/assets/empty-Db_Oj0CQ.js +1 -0
  211. package/dist/assets/epic-BhAddVo8.js +2 -0
  212. package/dist/assets/gift-box-Cmt9OgIZ-BVmGGIyo.js +1 -0
  213. package/dist/assets/graphic-no-data-l-DU4J8fDt-BUSuwQOu.js +1 -0
  214. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js +1 -0
  215. package/dist/assets/handshake-BPg58FML-DBfm_e1t.js +1 -0
  216. package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
  217. package/dist/assets/{index-DDpxinoY.js → index-BGhFLU7w.js} +582 -582
  218. package/dist/assets/index-BpEXgtW2.js +1 -0
  219. package/dist/assets/index-CrL4860P.js +1 -0
  220. package/dist/assets/index-DOvOS8E_.js +1 -0
  221. package/dist/assets/{index-BG_bOyH4.js → index-DT-oXxhz.js} +3 -3
  222. package/dist/assets/index-DuKH4leN.js +1 -0
  223. package/dist/assets/{index-BiiqfeFx.js → index-RjyLdqZN.js} +1 -1
  224. package/dist/assets/{lexical-dZFDzIA1.js → lexical-CtZYfzDm.js} +1 -1
  225. package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-DjrSQGDL.js} +28 -20
  226. package/dist/assets/lottie-QlMyEFez.js +9 -0
  227. package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-CTGwDEAX.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-DEpSFHGZ.js} +1 -1
  228. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-DnxPTr5m.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-woXs_v4t.js} +1 -1
  229. package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-CYjFYdJ9.js → mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js} +1 -1
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-NiO57h1_.js → mapTimeframeBalancesToTreeNode-ClgcHX26-CH6aCNop.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-D8SBCace.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-D47kQKR9.js} +1 -1
  232. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-2wcYi7O-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-ExH9IzF0.js} +1 -1
  233. package/dist/assets/mui-8xKzSljO.js +17 -0
  234. package/dist/assets/page-detail-CWX5S47F-DjAUkIIu.js +1 -0
  235. package/dist/assets/radio-default-CiSgisfh-DioVIMbJ.js +1 -0
  236. package/dist/assets/{react-KsUvriAa.js → react-1fNkcXJk.js} +2 -2
  237. package/dist/assets/react-5bc96E7k.js +17 -0
  238. package/dist/assets/{react-PdDuKQQV.js → react-BpMq70Jz.js} +1 -1
  239. package/dist/assets/{react-BuuImry8.js → react-C26MaKuf.js} +1 -1
  240. package/dist/assets/{react-C5CamjHm.js → react-CQVfZdRf.js} +2 -2
  241. package/dist/assets/{react-B2Dtpj08.js → react-CvSzLYZW.js} +2 -2
  242. package/dist/assets/{react-D9gRIIQJ.js → react-DEufTa0Y.js} +2 -2
  243. package/dist/assets/{react-CurU10nF.js → react-euUD_2CS.js} +3 -3
  244. package/dist/assets/recharts-BnXj3KRI.js +73 -0
  245. package/dist/assets/sentry-C9BQzslk.js +515 -0
  246. package/dist/assets/shield-DOlUxcFf-DfgTXsyM.js +1 -0
  247. package/dist/assets/{toCOABalancesWithID--oEGymMJ-DR0b-mdX.js → toCOABalancesWithID--oEGymMJ-DkNt3ShR.js} +1 -1
  248. package/dist/assets/toChartData-CavJzP6f-MNPPYJmI.js +1 -0
  249. package/dist/assets/transaction-placeholder-CpOwZAMG-DvtWJS0D.js +1 -0
  250. package/dist/assets/{uploadAttachment-BuVCsq0Q-zKioks8R.js → uploadAttachment-BuVCsq0Q-S-SyFEfz.js} +7 -7
  251. package/dist/assets/{uploadReceipts-CPw64UYa-C0--mSOy.js → uploadReceipts-CPw64UYa-BH5K-sl5.js} +1 -1
  252. package/dist/assets/url-MazUlenF.js +1 -0
  253. package/dist/assets/{url-RUB1rBsd.js → url-WfClTpIP.js} +1 -1
  254. package/dist/assets/useLongPress-GCK2COYQ-DGIP6WpU.js +1 -0
  255. package/dist/assets/usp-line-BBd1wKwW-CVrOUZlu.js +1 -0
  256. package/dist/assets/{utils-DUsHM-Uc.js → utils-zYB6z_it.js} +19 -19
  257. package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-D9zDRHOK.js} +34 -34
  258. package/dist/index.html +1 -1
  259. package/package.json +3 -3
  260. package/dist/assets/ACHDetailsPage-B6sY0jN6-QcJjVZLW.js +0 -21
  261. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-DfK93MR3.js +0 -6
  262. package/dist/assets/CardNumberSubText-BYY-Inxd-BF9mueWC.js +0 -21
  263. package/dist/assets/ConfettiBurst-Cl6jHJ8H-CSCZc3Am.js +0 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-BcjiZZxB.js +0 -1
  265. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-DYmoezK0.js +0 -202
  266. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DmY76tPV.js +0 -12
  267. package/dist/assets/DepositAccTransactionListPage-B6px7upV-Cv-bpsAZ.js +0 -66
  268. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-Dc980arD.js +0 -21
  269. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-LBs1AfJr.js +0 -16
  270. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-C1Uh1KWH.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-DlGiUpRU.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BJ6bmenf.js +0 -1
  273. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-Cd8bErwn.js +0 -17
  274. package/dist/assets/MailingDetailsSection-CiJ5JLA6-Cv8N5toW.js +0 -21
  275. package/dist/assets/Menu-wpP8R1br-C8t8BK70.js +0 -17
  276. package/dist/assets/NoDataChart-C5ZP32zB-DUId3_Lj.js +0 -26
  277. package/dist/assets/NoDataTable-BnBYE8p_-3MJZp5mC.js +0 -8
  278. package/dist/assets/Preview-D0lKYz6_.js +0 -1
  279. package/dist/assets/SetUpAccountSection-C1EnJv1V-xzskbN4f.js +0 -378
  280. package/dist/assets/SignInScreen-FZ4QwHzk.js +0 -1
  281. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-CEOzWsBe.js +0 -38
  282. package/dist/assets/Vendor2FAPopup-C85mhuSb-C6pzaZ31.js +0 -1
  283. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CCXex94-.js +0 -1
  284. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-eyjP7Ln-.js +0 -1
  285. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-C4ZxXJOV.js +0 -1
  286. package/dist/assets/VideoPlayer-BVR9LPmm-CvUJV07D.js +0 -78
  287. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-C8FJNePa.js +0 -14
  288. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-B25HwNSf.js +0 -63
  289. package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
  290. package/dist/assets/analyticsHelper-lfrGqA3D.js +0 -1
  291. package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
  292. package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
  293. package/dist/assets/constants-B4Ak6U9p.js +0 -1
  294. package/dist/assets/core-CA3j8Axi.js +0 -77
  295. package/dist/assets/empty-CrPfQgao.js +0 -1
  296. package/dist/assets/empty-Dn000SHy.js +0 -1
  297. package/dist/assets/epic-C_I3d-Sx.js +0 -2
  298. package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
  299. package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
  300. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
  301. package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
  302. package/dist/assets/index-BWZriWwb.js +0 -1
  303. package/dist/assets/index-C-ypGNlB.js +0 -1
  304. package/dist/assets/index-C4-PHmb9.js +0 -1
  305. package/dist/assets/index-C5fdNIhc.js +0 -1
  306. package/dist/assets/lottie-B7mXQ-R-.js +0 -9
  307. package/dist/assets/mui-DpJXlk4t.js +0 -25
  308. package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
  309. package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
  310. package/dist/assets/react-B7zczQTC.js +0 -17
  311. package/dist/assets/recharts-BGdJnVo5.js +0 -73
  312. package/dist/assets/sentry-BA4piVNf.js +0 -500
  313. package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
  314. package/dist/assets/toChartData-CavJzP6f-KkbBsImT.js +0 -1
  315. package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
  316. package/dist/assets/url-Bq2XNMnM.js +0 -1
  317. package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
  318. package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-Vs1Eoxgd-B-R3eaH5.js","assets/index-DDpxinoY.js","assets/core-CA3j8Axi.js","assets/mui-DpJXlk4t.js","assets/sentry-BA4piVNf.js","assets/zeni-epic-state-CQt4n3Xe.js","assets/lottie-B7mXQ-R-.js","assets/liveblocks-C2I4vRCJ.js","assets/utils-DUsHM-Uc.js","assets/analytics-CHPpxU3b.js","assets/recharts-BGdJnVo5.js","assets/lexical-dZFDzIA1.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-7fiKLb5g-BflTgrEp.js","assets/useLongPress-GCK2COYQ-Ch-mrcwO.js"])))=>i.map(i=>d[i]);
2
- import{Fs as He,Fr as Ve,FB as Je,FF as N,FG as Ke,FH as We,FI as qe,FJ as Qe,ce as Ye,cf as Ze,bb as Xe}from"./zeni-epic-state-CQt4n3Xe.js";import{d as et,av as tt,q as z,F as U,gc as ot,ge as at,V as o,gz as it,bz as nt,b as st,o as t,dw as rt,gQ as D,bg as lt,gn as ct,y as w,gR as dt,gS as ut,gT as mt,p as T,an as pt,c as C,L as ht,bS as bt,ak as yt,cf as gt,gU as ft,u as wt,al as Ct}from"./index-DDpxinoY.js";import{a as h}from"./core-CA3j8Axi.js";import{n as l,k as G}from"./mui-DpJXlk4t.js";import{a as Tt}from"./liveblocks-C2I4vRCJ.js";import{K as xt}from"./SpendManagementSection-C38Zpi1z-CSd7Ra1P.js";import{K as vt}from"./StatusSwitcher-7fiKLb5g-BflTgrEp.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./utils-DUsHM-Uc.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="254cc35e-2dd9-4b05-92f4-4e28d5d88e52",e._sentryDebugIdIdentifier="sentry-dbid-254cc35e-2dd9-4b05-92f4-4e28d5d88e52")}catch{}})();const O=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new w(343,545,545),containerTop:new w(17,25,25),containerPaddingLeftRight:new w(C[4],C[7])},St=l.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js","assets/index-BGhFLU7w.js","assets/sentry-C9BQzslk.js","assets/liveblocks-DjrSQGDL.js","assets/core-BCGhSsNP.js","assets/recharts-BnXj3KRI.js","assets/zeni-epic-state-D9zDRHOK.js","assets/mui-8xKzSljO.js","assets/lottie-QlMyEFez.js","assets/analytics-D090O6Wm.js","assets/lexical-CtZYfzDm.js","assets/utils-zYB6z_it.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-7fiKLb5g-IubUY6EX.js","assets/useLongPress-GCK2COYQ-DGIP6WpU.js"])))=>i.map(i=>d[i]);
2
+ import{Fr as He,Fq as Ve,FA as Ke,FE as N,FF as qe,FG as Je,FH as We,FI as Qe,cd as Ye,ce as Ze,ba as Xe}from"./zeni-epic-state-D9zDRHOK.js";import{d as et,av as tt,q as z,gc as ot,ge as at,V as o,gz as it,bz as nt,b as st,o as t,dw as rt,gQ as D,bg as lt,gn as ct,y as w,F as U,gR as dt,gS as ut,p as T,an as mt,c as C,gT as pt,L as ht,bS as bt,ak as yt,cf as gt,gU as ft,u as wt,al as Ct}from"./index-BGhFLU7w.js";import{a as h}from"./sentry-C9BQzslk.js";import{n as l,k as G}from"./mui-8xKzSljO.js";import{a as Tt}from"./liveblocks-DjrSQGDL.js";import{K as xt}from"./SpendManagementSection-C38Zpi1z-zTQSB9zV.js";import{K as vt}from"./StatusSwitcher-7fiKLb5g-IubUY6EX.js";import"./core-BCGhSsNP.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./recharts-BnXj3KRI.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="2e06b70a-2428-4efd-a6c6-9493d5b8a539",e._sentryDebugIdIdentifier="sentry-dbid-2e06b70a-2428-4efd-a6c6-9493d5b8a539")}catch{}})();const O=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new w(343,545,545),containerTop:new w(17,25,25),containerPaddingLeftRight:new w(C[4],C[7])},St=l.div`
3
3
  position: fixed;
4
4
  top: 0;
5
5
  left: 0;
@@ -106,7 +106,7 @@ import{Fs as He,Fr as Ve,FB as Je,FF as N,FG as Ke,FH as We,FI as qe,FJ as Qe,ce
106
106
  color: ${e=>e.theme.colors.primary};
107
107
  position: absolute;
108
108
  bottom: 22px;
109
- `,M=U.getLocalizedStrings().common.copyToClipBoard;function Nt(e){const c=z(),[,u]=ut(),[d,m]=h.useState(!0),[i,a]=h.useState(!1),[s,n]=h.useState(!1),{isMobileOrTabletScreen:y}=mt(),x=()=>{if(d){const g=e.botEmail;u(g),m(!1)}},v=()=>{a(!0)},S=()=>{a(!1)};return h.useEffect(()=>{d===!1&&setTimeout(()=>{m(!0)},2e3)},[d]),o.jsx(St,{windowSize:c,role:"presentation",style:{background:T.overlayDark,...e.style},children:o.jsx(pt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs($t,{windowSize:c,className:s?"fade":"",fade:s,children:[o.jsx(Dt,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(Bt,{children:e.title}),o.jsx(Ot,{children:e.descriptionLines.map((g,r)=>o.jsxs(At,{children:[o.jsx(Et,{children:g.icon}),o.jsx(Lt,{windowSize:c,children:g.text})]},r))}),o.jsxs(Rt,{onClick:x,onMouseOver:v,onMouseLeave:S,showCopyIcon:d,showCopyText:i,children:[o.jsx(Ft,{showCopyText:i,children:e.botEmail}),d?o.jsx(jt,{windowSize:c,showCopyText:i&&!y,children:o.jsx(Pt,{})}):o.jsx(_t,{})]}),o.jsx(Mt,{children:d?i&&!y?M.copy:null:M.copied})]})})})}const H=U.getLocalizedStrings(),p=H.spendManagement,{common:{texts:{comments:zt}},collaboration:{threads:{placeholder:{addANewComment:Ut,replyAComment:Gt},tooltip:{resolveComment:Ht,unResolveComment:Vt}}}}=H,Jt={drawerSectionPaddingLeftRight:new w(C[4],C[5])},Kt=dt(()=>Xe(()=>import("./SpendManagementPerTabPage-Vs1Eoxgd-B-R3eaH5.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),mo=e=>{const c=et(),u=tt(),d=z(),{transactionList:m,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:y,currentSubTab:x,approvalCount:v,fetchState:S,analytics:g,entity:r,uiState:V,searchText:$,filters:J,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:W,createdByUserList:q,createdByUserListFetchState:B,downloadParams:Q,downloadState:Y,isDownloadEnabled:Z,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,isListeningToPusherEventForBillPayApprovalRules:te,isListeningToPusherEventForReimbursementApprovalRules:oe,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:ae=!1,updateTabToState:ie,onSubtabChange:A,onReloadTransactions:ne,onTransactionClick:R,onClickSetupIcon:P,onBackClick:se,onAddTransactionClick:re,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:me,bulkSubmissionLimit:pe=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:ge=[],bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}=e,xe=["draft","pending_approval","scheduled","paid"],ve=b=>{R(b,y)},Se=o.jsx(Kt,{botEmail:s,transactionList:m,allSubTabs:i,isAdmin:a,selectedTab:y,selectedSubTab:x,fetchState:S,onSubtabChange:A,onTransactionRowClick:ve,onReloadTransactions:ne,onColumnSortConfigChanged:le,analytics:g,entity:r,uiState:V,searchText:$,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,isListeningToPusherEventForBillPayApprovalRules:te,isListeningToPusherEventForReimbursementApprovalRules:oe,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:pe,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:ae,allowedBulkActions:ge,bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}),ke=b=>{ie(b),A("all")},Ie=He(u.loggedInUserRoleMap),[j,$e]=h.useState(!1),[Be,F]=h.useState(!1),Ee=b=>{$e(b)},Le=r==="bill_pay"?Ve(u.loggedInUserRoleMap):Je(u.loggedInUserRoleMap),Ae={entity:r,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:j,searchPlaceHolder:r==="bill_pay"?p.billPay.billsByTabs.searchPlaceHolder:p.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:$,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Le,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:Q,downloadState:Y,filters:J,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:W,createdByUserListLoaded:r==="bill_pay"||N(u.loggedInUserRole??[])?!0:B==="Completed"||B==="Error",analytics:g,onNewButtonClick:re,onSearchOpen:Ee,onSearchTextChanged:ce,onClickSetupIcon:P,onClickEmailInfoIcon:()=>F(!0),onFiltersChange:ue,getFilterOptions:r==="bill_pay"||r==="reimbursement"?()=>Wt(r,q??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:me},Re=o.jsx(xt,{spendManagementSectionProps:Ae}),[Pe,je]=h.useState(null),[Fe,k]=h.useState(!1),{setRequestToOpenThread:_e}=h.useContext(ot),De=`dashboard_${u.currentTenant?.companyId}`,_=r==="bill_pay"?"bill":"reimbursement",{threads:Oe}=at({application:"dashboard",companyId:u.currentTenant?.companyId,tab:_,entityId:Pe?.entityId,isGlobalComment:!1},"both",!1),Me={openAllThreadsDrawer:b=>{je({...b}),k(!0)}},Ne=(b,I)=>{const{companyId:ze,entityId:Ue,entityType:Ge}=b;k(!1),_e({threadId:I,companyId:ze,entityType:Ge}),R(Ue,y)};return o.jsx(it,{sharedItems:{sharedFunctions:{subtreeFunctions:Me},sharedRef:void 0},children:o.jsxs(qt,{children:[o.jsx(nt,{source:"SpendManagementListViewPage",title:r==="bill_pay"?p.billPay.billsByTabs.pageTitle:p.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!Ie,showMenuIcon:d==="medium-compact"||d==="small",backgroundColor:c.colors.grey4,style:{zIndex:3,...st.largeSemiBold.cssObject},onBackClick:se,rightSideComponent:Re,onClickMenuIcon:de,isSearchOpen:j}),o.jsxs(Qt,{children:[o.jsx(Yt,{children:o.jsx(vt,{tabIds:xe,approvalCount:v,selectedTab:y,entity:r,enablePerformanceTracking:!1,onTabSelectedChange:ke,onClickSetupIcon:P})}),Se]}),Be?o.jsx(Nt,{botEmail:s,onCancelClick:()=>F(!1),title:r==="bill_pay"?p.billPay.billsByTabs.emailInfoTitle:p.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:r==="bill_pay"?[{icon:o.jsx(O,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(rt,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(D,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(O,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(lt,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(D,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,r==="bill_pay"&&E||r==="reimbursement"&&L?o.jsx(Tt,{id:De,children:o.jsx(ct,{isDrawerOpen:Fe,allowComposer:!1,drawerTitle:zt,threads:Oe,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:u.currentTenant?.companyId,isGlobalComment:!1,tab:_},isLoading:!1,textOverrides:{composerPlaceholder:Ut,replyComposerPlaceholder:Gt,threadResolve:Ht,threadUnResolve:Vt},onThreadClick:(b,I)=>Ne(b,I),onCloseAllThreadsDrawer:()=>k(!1),drawerSectionStyle:{width:d==="small"?"100%":"400px",boxSizing:d==="small"?"border-box":"content-box",padding:`${t.sp0} ${Jt.drawerSectionPaddingLeftRight.valuePx(d)}`,backgroundColor:c.colors.background},collapsibleThreadStyle:{width:d==="small"?"100%":"360px"}})}):null]})})},Wt=(e,c,u,d)=>{const m=p.filters.filterOptions;return e==="bill_pay"?Ke.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:m.billAmountOptions};case"paymentMethod":return{...i,[a.value]:m.paymentMethodOptions};case"status":return{...i,[a.value]:[...m.commonStatusOptions,...m.billStatusOptions]};case"paymentType":return{...i,[a.value]:m.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(N(u)?We:qe).reduce((i,a)=>{switch(a.value){case"createdBy":{if(c?.length===0)return{...i,[a.value]:[]};const s=c.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:m.paymentMethodOptions};case"status":return{...i,[a.value]:m.commonStatusOptions};case"amount":return{...i,[a.value]:m.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):Qe.reduce((i,a)=>{switch(a.value){case"assignee":{if(c?.length===0)return{...i,[a.value]:[]};const s=c.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...Ze.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...Ye.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...d.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},qt=l.div`
109
+ `,M=U.getLocalizedStrings().common.copyToClipBoard;function Nt(e){const c=z(),[,u]=dt(),[d,m]=h.useState(!0),[i,a]=h.useState(!1),[s,n]=h.useState(!1),{isMobileOrTabletScreen:y}=ut(),x=()=>{if(d){const g=e.botEmail;u(g),m(!1)}},v=()=>{a(!0)},S=()=>{a(!1)};return h.useEffect(()=>{d===!1&&setTimeout(()=>{m(!0)},2e3)},[d]),o.jsx(St,{windowSize:c,role:"presentation",style:{background:T.overlayDark,...e.style},children:o.jsx(mt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs($t,{windowSize:c,className:s?"fade":"",fade:s,children:[o.jsx(Dt,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(Bt,{children:e.title}),o.jsx(Ot,{children:e.descriptionLines.map((g,r)=>o.jsxs(At,{children:[o.jsx(Et,{children:g.icon}),o.jsx(Lt,{windowSize:c,children:g.text})]},r))}),o.jsxs(Rt,{onClick:x,onMouseOver:v,onMouseLeave:S,showCopyIcon:d,showCopyText:i,children:[o.jsx(Ft,{showCopyText:i,children:e.botEmail}),d?o.jsx(jt,{windowSize:c,showCopyText:i&&!y,children:o.jsx(Pt,{})}):o.jsx(_t,{})]}),o.jsx(Mt,{children:d?i&&!y?M.copy:null:M.copied})]})})})}const H=U.getLocalizedStrings(),p=H.spendManagement,{common:{texts:{comments:zt}},collaboration:{threads:{placeholder:{addANewComment:Ut,replyAComment:Gt},tooltip:{resolveComment:Ht,unResolveComment:Vt}}}}=H,Kt={drawerSectionPaddingLeftRight:new w(C[4],C[5])},qt=pt(()=>Xe(()=>import("./SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),mo=e=>{const c=et(),u=tt(),d=z(),{transactionList:m,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:y,currentSubTab:x,approvalCount:v,fetchState:S,analytics:g,entity:r,uiState:V,searchText:$,filters:K,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserList:W,createdByUserListFetchState:B,downloadParams:Q,downloadState:Y,isDownloadEnabled:Z,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,isListeningToPusherEventForBillPayApprovalRules:te,isListeningToPusherEventForReimbursementApprovalRules:oe,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:ae=!1,updateTabToState:ie,onSubtabChange:A,onReloadTransactions:ne,onTransactionClick:R,onClickSetupIcon:P,onBackClick:se,onAddTransactionClick:re,onColumnSortConfigChanged:le,onSearchTextChanged:ce,onClickMenuIcon:de,onFiltersChange:ue,updateDownloadStateHandler:me,bulkSubmissionLimit:pe=10,isBulkActionAllowed:he=!1,isRecurringBillInBulkActionList:be=!1,transactionsSelectedForBulkAction:ye=[],allowedBulkActions:ge=[],bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}=e,xe=["draft","pending_approval","scheduled","paid"],ve=b=>{R(b,y)},Se=o.jsx(qt,{botEmail:s,transactionList:m,allSubTabs:i,isAdmin:a,selectedTab:y,selectedSubTab:x,fetchState:S,onSubtabChange:A,onTransactionRowClick:ve,onReloadTransactions:ne,onColumnSortConfigChanged:le,analytics:g,entity:r,uiState:V,searchText:$,isShowDeletedBillsEnabled:X,isShowDeletedReimbursementEnabled:ee,isListeningToPusherEventForBillPayApprovalRules:te,isListeningToPusherEventForReimbursementApprovalRules:oe,isBillPayCommentingEnabled:E,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:pe,isBulkActionAllowed:he,isRecurringBillInBulkActionList:be,transactionsSelectedForBulkAction:ye,isDetectInsufficientFundsEnabled:ae,allowedBulkActions:ge,bulkSubmissionFetchState:fe,updateBulkActionList:we,removeAllTransactionsFromBulkActionList:Ce,onProceedForBulkActionClick:Te}),ke=b=>{ie(b),A("all")},Ie=He(u.loggedInUserRoleMap),[j,$e]=h.useState(!1),[Be,F]=h.useState(!1),Ee=b=>{$e(b)},Le=r==="bill_pay"?Ve(u.loggedInUserRoleMap):Ke(u.loggedInUserRoleMap),Ae={entity:r,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:j,searchPlaceHolder:r==="bill_pay"?p.billPay.billsByTabs.searchPlaceHolder:p.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:$,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Le,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:Q,downloadState:Y,filters:K,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:r==="bill_pay"||N(u.loggedInUserRole??[])?!0:B==="Completed"||B==="Error",analytics:g,onNewButtonClick:re,onSearchOpen:Ee,onSearchTextChanged:ce,onClickSetupIcon:P,onClickEmailInfoIcon:()=>F(!0),onFiltersChange:ue,getFilterOptions:r==="bill_pay"||r==="reimbursement"?()=>Jt(r,W??[],u.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:me},Re=o.jsx(xt,{spendManagementSectionProps:Ae}),[Pe,je]=h.useState(null),[Fe,k]=h.useState(!1),{setRequestToOpenThread:_e}=h.useContext(ot),De=`dashboard_${u.currentTenant?.companyId}`,_=r==="bill_pay"?"bill":"reimbursement",{threads:Oe}=at({application:"dashboard",companyId:u.currentTenant?.companyId,tab:_,entityId:Pe?.entityId,isGlobalComment:!1},"both",!1),Me={openAllThreadsDrawer:b=>{je({...b}),k(!0)}},Ne=(b,I)=>{const{companyId:ze,entityId:Ue,entityType:Ge}=b;k(!1),_e({threadId:I,companyId:ze,entityType:Ge}),R(Ue,y)};return o.jsx(it,{sharedItems:{sharedFunctions:{subtreeFunctions:Me},sharedRef:void 0},children:o.jsxs(Wt,{children:[o.jsx(nt,{source:"SpendManagementListViewPage",title:r==="bill_pay"?p.billPay.billsByTabs.pageTitle:p.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!Ie,showMenuIcon:d==="medium-compact"||d==="small",backgroundColor:c.colors.grey4,style:{zIndex:3,...st.largeSemiBold.cssObject},onBackClick:se,rightSideComponent:Re,onClickMenuIcon:de,isSearchOpen:j}),o.jsxs(Qt,{children:[o.jsx(Yt,{children:o.jsx(vt,{tabIds:xe,approvalCount:v,selectedTab:y,entity:r,enablePerformanceTracking:!1,onTabSelectedChange:ke,onClickSetupIcon:P})}),Se]}),Be?o.jsx(Nt,{botEmail:s,onCancelClick:()=>F(!1),title:r==="bill_pay"?p.billPay.billsByTabs.emailInfoTitle:p.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:r==="bill_pay"?[{icon:o.jsx(O,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(rt,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(D,{width:t.sp4,height:t.sp4}),text:p.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(O,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(lt,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(D,{width:t.sp4,height:t.sp4}),text:p.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,r==="bill_pay"&&E||r==="reimbursement"&&L?o.jsx(Tt,{id:De,children:o.jsx(ct,{isDrawerOpen:Fe,allowComposer:!1,drawerTitle:zt,threads:Oe,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:u.currentTenant?.companyId,isGlobalComment:!1,tab:_},isLoading:!1,textOverrides:{composerPlaceholder:Ut,replyComposerPlaceholder:Gt,threadResolve:Ht,threadUnResolve:Vt},onThreadClick:(b,I)=>Ne(b,I),onCloseAllThreadsDrawer:()=>k(!1),drawerSectionStyle:{width:d==="small"?"100%":"400px",boxSizing:d==="small"?"border-box":"content-box",padding:`${t.sp0} ${Kt.drawerSectionPaddingLeftRight.valuePx(d)}`,backgroundColor:c.colors.background},collapsibleThreadStyle:{width:d==="small"?"100%":"360px"}})}):null]})})},Jt=(e,c,u,d)=>{const m=p.filters.filterOptions;return e==="bill_pay"?qe.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:m.billAmountOptions};case"paymentMethod":return{...i,[a.value]:m.paymentMethodOptions};case"status":return{...i,[a.value]:[...m.commonStatusOptions,...m.billStatusOptions]};case"paymentType":return{...i,[a.value]:m.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(N(u)?Je:We).reduce((i,a)=>{switch(a.value){case"createdBy":{if(c?.length===0)return{...i,[a.value]:[]};const s=c.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:m.paymentMethodOptions};case"status":return{...i,[a.value]:m.commonStatusOptions};case"amount":return{...i,[a.value]:m.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):Qe.reduce((i,a)=>{switch(a.value){case"assignee":{if(c?.length===0)return{...i,[a.value]:[]};const s=c.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...Ze.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...Ye.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...d.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Wt=l.div`
110
110
  display: flex;
111
111
  min-height: 100%;
112
112
  flex-direction: column;
@@ -120,4 +120,4 @@ import{Fs as He,Fr as Ve,FB as Je,FF as N,FG as Ke,FH as We,FI as qe,FJ as Qe,ce
120
120
  display: flex;
121
121
  margin-top: ${t.sp3};
122
122
  justify-content: center;
123
- `;export{mo as default,Wt as getDashboardFilterCategoryValues};
123
+ `;export{mo as default,Jt as getDashboardFilterCategoryValues};
@@ -1,4 +1,4 @@
1
- import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as Jt,co as Yt,aO as ei,o as i,ca as ti,cj as rt,g1 as ii,b1 as oi,cq as ni,iL as li,iM as ri,m as si,bQ as Y,d as Le,bL as ai,aQ as di,y as p,g2 as ci,kS as pi,p as G,cV as mi,al as W,ak as F,ag as se,bB as ui,bO as ft,b as ze,aK as ee,aH as xe,iU as $t,iV as vt,kT as hi,f5 as gi,kU as bi,kV as St,kW as kt,k1 as yi,kX as xi,kY as wi,c,iT as Tt,cv as Ct,cy as Pt,av as Xe,gD as Je,a7 as Ye,ge as et,cO as jt,kZ as _t,k_ as De,aL as Ie,k$ as tt,l0 as Bt,l1 as E,l2 as zt,gq as Lt,cT as Dt,dr as it}from"./index-DDpxinoY.js";import{a as C,S as It}from"./core-CA3j8Axi.js";import{n as o,b as X}from"./mui-DpJXlk4t.js";import{Gq as ke,G6 as Te,FC as Ae,bq as At}from"./zeni-epic-state-CQt4n3Xe.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-7fiKLb5g-BflTgrEp.js";import{d as Rt}from"./useLongPress-GCK2COYQ-Ch-mrcwO.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.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]="cd211668-cf73-4f62-a3f1-5cc16fd3b4a2",e._sentryDebugIdIdentifier="sentry-dbid-cd211668-cf73-4f62-a3f1-5cc16fd3b4a2")}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],Ci=[Re,Ee,ot,nt,Fe],Pi=[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=Z(),[b,y]=C.useState(Ei(n));C.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(Di,{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(Ii,{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=It.memo(ji),st=o(se)`
1
+ import{a8 as Gt,cB as Zt,q as Z,kR as Qt,V as t,ab as Ht,cm as Xt,cn as Jt,co as Yt,aO as ei,o as i,F as te,ca as ti,cj as rt,g1 as ii,b1 as oi,cq as ni,iL as li,iM as ri,m as si,bQ as Y,d as Le,bL as ai,aQ as di,y as p,g2 as ci,kS as pi,p as G,cV as mi,al as W,ak as F,ag as se,bB as ui,bO as ft,b as ze,aM as ee,aG as xe,iU as $t,iV as vt,kT as hi,f5 as gi,kU as bi,kV as St,kW as kt,k1 as yi,kX as xi,kY as wi,c,iT as Tt,cv as Pt,cy as Ct,av as Xe,gD as Je,a7 as Ye,ge as et,cO as jt,kZ as _t,k_ as De,aK as Ie,k$ as tt,l0 as Bt,l1 as E,l2 as zt,gq as Lt,cT as Dt,dr as it}from"./index-BGhFLU7w.js";import{a as P,S as It}from"./sentry-C9BQzslk.js";import{n as o,c as X}from"./mui-8xKzSljO.js";import{Gp as ke,G5 as Te,FB as Ae,bp as At}from"./zeni-epic-state-D9zDRHOK.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-7fiKLb5g-IubUY6EX.js";import{d as Rt}from"./useLongPress-GCK2COYQ-DGIP6WpU.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.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]="8a78f7a2-500d-4d06-b0ab-3dcc9a2950aa",e._sentryDebugIdIdentifier="sentry-dbid-8a78f7a2-500d-4d06-b0ab-3dcc9a2950aa")}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=Z(),[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(Di,{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(Ii,{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=It.memo(ji),st=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -25,7 +25,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
25
25
  ${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
26
26
  ${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
27
27
  box-sizing: border-box;
28
- `,Bi=o(Pt)`
28
+ `,Bi=o(Ct)`
29
29
  width: 12px;
30
30
  height: 12px;
31
31
  cursor: pointer;
@@ -35,7 +35,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
35
35
  align-items: center;
36
36
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
37
37
  ${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
38
- `,dt=o(Ct)`
38
+ `,dt=o(Pt)`
39
39
  width: 12px;
40
40
  height: 12px;
41
41
  cursor: pointer;
@@ -69,7 +69,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn 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(Ci);case"paid":return xe(Pi)}},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=Z(),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),P=C.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=C.useCallback(()=>{h(e.id)},[e.id]),L=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):De(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(Ki,{children:[t.jsx(Wi,{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(Hi,{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(Zi,{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(Ce,{children:`${le.byText}${fe}${L[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${fe}${L[0]}`}):null,w!=null?t.jsx(Ce,{children:w}):null,$!=null?t.jsx(Ce,{children:$}):null]}),t.jsx(Ui,{windowSize:u,responsiveWidth:be[4].width,children:Ie("0,0[.]00",e.totalAmountInUSD)})]})}),d&&P.length>0?t.jsx(tt,{isLoading:g,count:P.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=Z(),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):De(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(Ki,{children:[t.jsx(Wi,{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(Hi,{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(Zi,{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:Ie("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};
@@ -187,12 +187,12 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
187
187
  box-sizing: border-box;
188
188
  display: flex;
189
189
  align-items: center;
190
- `,Hi=o.div`
190
+ `,Qi=o.div`
191
191
  display: flex;
192
192
  flex-direction: row;
193
193
  align-items: center;
194
194
  gap: ${i.sp2};
195
- `,Qi=o.div`
195
+ `,Hi=o.div`
196
196
  position: relative;
197
197
  top: 2px;
198
198
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
@@ -202,7 +202,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
202
202
  flex-direction: column;
203
203
  align-items: flex-start;
204
204
  justify-content: center;
205
- `,Ce=o(W)`
205
+ `,Pe=o(W)`
206
206
  position: relative;
207
207
  top: 1px;
208
208
  color: ${e=>e.theme.colors.grey1};
@@ -221,7 +221,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn 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:Ze,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=Z(),f=Xe(),B=Je(),g=Ye().analytics,P=`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=C.useMemo(()=>T.filter(V=>V.resolved===!1),[T]),U=V=>{V.stopPropagation(),B?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:P,companyId:f.currentTenant?.companyId??Ze,companyName:f.currentTenant?.companyName??Ze,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ze,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):De(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),H=C.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!r&&O(m,[...oe,e.id])},[m,b,r,O,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=C.useCallback(()=>{H()},[H]),Ke=C.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?H():s(e.id)},[H,y,s,e.id]),We=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:Ke,...We,"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:Ie("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(Pe,{children:`${re.byText}${$e}${R[0]}${re.dots}`})}):t.jsx(Pe,{children:`${re.byText}${$e}${R[0]}`}):null,h!=null?t.jsx(Pe,{children:h}):null,u!=null?t.jsx(Pe,{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:Ze,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=Z(),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??Ze,companyName:f.currentTenant?.companyName??Ze,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ze,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):De(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]),Ke=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?Q():s(e.id)},[Q,y,s,e.id]),We=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:Ke,...We,"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:Ie("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};
@@ -334,7 +334,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
334
334
  flex-direction: column;
335
335
  align-items: ${e=>e.hasAlertIcon?"flex-start":"flex-end"};
336
336
  justify-content: center;
337
- `,Pe=o(W)`
337
+ `,Ce=o(W)`
338
338
  color: ${e=>e.theme.colors.grey1};
339
339
  `,mo=o.div`
340
340
  display: flex;
@@ -361,7 +361,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
361
361
  :hover {
362
362
  color: ${e=>e.theme.colors.primary};
363
363
  }
364
- `,xo=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:ae.name,sortOrder:"ascending",width:new p(30,30)},Ne={key:"type",value:ae.type,sortOrder:"ascending",width:new p(20,20)},Oe={key:"status",value:ae.status,sortOrder:"ascending",width:new p(20,20)},Ve={key:"amount",value:ae.amount,sortOrder:"ascending",width:new p(10,10)},pe=[Me,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],wo=[Me,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],fo=[Me,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],$o=[Me,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],Ft={draft:pe,pending_approval:wo,scheduled:fo,paid:$o},je={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[3],c[4])};function vo({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r,analytics:d}){const m=Z(),b=Le(),[y,w]=C.useState(xe(Ft[n]));C.useEffect(()=>{const s=[...y];for(const v of s)v.key===r.sortKey?v.sortOrder=r.sortOrder:v.sortOrder="ascending";w(s)},[r.sortKey,r.sortOrder]);const $=(s,v)=>{let f=v;r.sortKey===s&&(f=v==="ascending"?"descending":"ascending"),d?.trackReimbursementListSort(s,f),a?.(s,f)},x=y.find(s=>s.key===r.sortKey)??y[0],h=s=>y.find(v=>v.key===s)?.value??"",u=y.map(s=>s.key),l=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return m==="small"?t.jsxs(mt,{height:$t,windowSize:m,children:[t.jsx(ko,{children:t.jsx(To,{})}),t.jsx(ft,{title:l.sortBy,placeholder:l.sortBy,pickerValues:u,valueToLabel:h,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:b.colors.primary,selectedOptionColor:b.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(_o,{onClick:()=>$(x.key,x.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(se,{children:x.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:x,children:t.jsx(ht,{})})]})]}):t.jsx(mt,{height:vt,windowSize:m,children:y.map(s=>t.jsxs(So,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:m,children:[t.jsxs(jo,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(se,{children:s.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(ht,{})})]}),t.jsx(Po,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===s.key&&s.key!=="submittedOn",children:t.jsx(Co,{onClick:()=>$("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},s.key))})}const Mt=It.memo(vo),mt=o(se)`
364
+ `,xo=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:ae.name,sortOrder:"ascending",width:new p(30,30)},Ne={key:"type",value:ae.type,sortOrder:"ascending",width:new p(20,20)},Oe={key:"status",value:ae.status,sortOrder:"ascending",width:new p(20,20)},Ve={key:"amount",value:ae.amount,sortOrder:"ascending",width:new p(10,10)},pe=[Me,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],wo=[Me,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],fo=[Me,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],$o=[Me,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],Ft={draft:pe,pending_approval:wo,scheduled:fo,paid:$o},je={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[3],c[4])};function vo({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r,analytics:d}){const m=Z(),b=Le(),[y,w]=P.useState(xe(Ft[n]));P.useEffect(()=>{const s=[...y];for(const v of s)v.key===r.sortKey?v.sortOrder=r.sortOrder:v.sortOrder="ascending";w(s)},[r.sortKey,r.sortOrder]);const $=(s,v)=>{let f=v;r.sortKey===s&&(f=v==="ascending"?"descending":"ascending"),d?.trackReimbursementListSort(s,f),a?.(s,f)},x=y.find(s=>s.key===r.sortKey)??y[0],h=s=>y.find(v=>v.key===s)?.value??"",u=y.map(s=>s.key),l=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return m==="small"?t.jsxs(mt,{height:$t,windowSize:m,children:[t.jsx(ko,{children:t.jsx(To,{})}),t.jsx(ft,{title:l.sortBy,placeholder:l.sortBy,pickerValues:u,valueToLabel:h,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:b.colors.primary,selectedOptionColor:b.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(_o,{onClick:()=>$(x.key,x.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(se,{children:x.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:x,children:t.jsx(ht,{})})]})]}):t.jsx(mt,{height:vt,windowSize:m,children:y.map(s=>t.jsxs(So,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:m,children:[t.jsxs(jo,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(se,{children:s.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(ht,{})})]}),t.jsx(Co,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===s.key&&s.key!=="submittedOn",children:t.jsx(Po,{onClick:()=>$("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},s.key))})}const Mt=It.memo(vo),mt=o(se)`
365
365
  width: 100%;
366
366
  top: 0;
367
367
  left: 0;
@@ -395,7 +395,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
395
395
  width: 12px;
396
396
  height: 12px;
397
397
  color: inherit;
398
- `,Co=o(Pt)`
398
+ `,Po=o(Ct)`
399
399
  width: 12px;
400
400
  height: 12px;
401
401
  cursor: pointer;
@@ -405,12 +405,12 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
405
405
  align-items: center;
406
406
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
407
407
  ${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
408
- `,ht=o(Ct)`
408
+ `,ht=o(Pt)`
409
409
  width: 12px;
410
410
  height: 12px;
411
411
  cursor: pointer;
412
412
  color: inherit;
413
- `,Po=o.div`
413
+ `,Co=o.div`
414
414
  display: ${e=>e.isVisible?"flex":"none"};
415
415
  align-items: center;
416
416
  padding-top: 2px;
@@ -429,7 +429,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn 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])},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=Z(),h=Xe(),u=C.useRef(null),[l,s]=C.useState(0);C.useLayoutEffect(()=>{u.current&&s(u.current.offsetWidth*Bt)},[x]);const v=Ye().analytics,f=Je(),B=`dashboard_${h.currentTenant?.companyId}`,g=()=>{$(e.id)},P=e.reimbursementTypesIncluded,T=De(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=C.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(Do,{children:[t.jsxs(Io,{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}),P.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[P[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(He,{children:`${Q.byText} `+T[0]+`${Q.dots}`})}):t.jsx(He,{children:`${Q.byText} `+T[0]}):null,y!=null?t.jsx(He,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:Ie("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])},H=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=Z(),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=De(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(Do,{children:[t.jsxs(Io,{windowSize:x,responsiveWidth:pe[0].width,ref:u,children:[t.jsx(Ao,{windowSize:x,reportNameWidth:l,children:e.reportTitle??H.newReimbursementTitle}),d!=null&&t.jsx(Ro,{children:`${H.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:H.reimbursementType.both,placement:"bottom-start",display:"flex",children:H.reimbursementType.titleForBoth})}):t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:H.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??H.hyphenText}):t.jsx(Mo,{children:H.hyphenText}),b!==void 0&&T.length>0?T.length>1?t.jsx(Y,{title:`${H.byText} `+T.join(` ${H.orText} `),placement:"bottom-start",children:t.jsx(Qe,{children:`${H.byText} `+T[0]+`${H.dots}`})}):t.jsx(Qe,{children:`${H.byText} `+T[0]}):null,y!=null?t.jsx(Qe,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:Ie("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};
@@ -535,7 +535,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
535
535
  flex-direction: column;
536
536
  align-items: flex-start;
537
537
  justify-content: center;
538
- `,He=o(W)`
538
+ `,Qe=o(W)`
539
539
  position: relative;
540
540
  top: 1px;
541
541
  color: ${e=>e.theme.colors.grey1};
@@ -547,7 +547,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn 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)},K=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=Z(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=De(x),g=xe(Ft[a]),P=s(m),T=C.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&v(m,[...P,e.id])},[m,b,d,v,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,P]),k=C.useCallback(()=>{T()},[T]),L=C.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(Ko,{windowSize:l,statusCode:n?.code??"",isProcessing:r,isSelected:d,children:t.jsx(Wo,{onClick:L,...U,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Uo,{children:[t.jsxs(qo,{children:[t.jsxs(Zo,{children:[t.jsx(Ho,{windowSize:l,children:e.reportTitle??K.newReimbursementTitle}),w!=null&&t.jsx(Qo,{children:`${K.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Jo,{children:[g[1].value+": ",$]}),f.length>1?t.jsx(Y,{title:K.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType.titleForBoth]})}):t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType[f[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Xo,{children:Ie("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??K.hyphenText}):t.jsx(t.Fragment,{children:K.hyphenText}),x!==void 0&&B.length>0?B.length>1?t.jsx(Y,{title:`${K.byText} `+B.join(` ${K.orText} `),placement:"bottom-start",children:t.jsx(Qe,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]+`${K.dots}`})}):t.jsx(Qe,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]}):null,h!=null?t.jsx(Qe,{children:h}):null]})]})]})})})},Ko=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)},K=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=Z(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=De(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(Ko,{windowSize:l,statusCode:n?.code??"",isProcessing:r,isSelected:d,children:t.jsx(Wo,{onClick:L,...U,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Uo,{children:[t.jsxs(qo,{children:[t.jsxs(Zo,{children:[t.jsx(Qo,{windowSize:l,children:e.reportTitle??K.newReimbursementTitle}),w!=null&&t.jsx(Ho,{children:`${K.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Jo,{children:[g[1].value+": ",$]}),f.length>1?t.jsx(Y,{title:K.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType.titleForBoth]})}):t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType[f[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Xo,{children:Ie("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??K.hyphenText}):t.jsx(t.Fragment,{children:K.hyphenText}),x!==void 0&&B.length>0?B.length>1?t.jsx(Y,{title:`${K.byText} `+B.join(` ${K.orText} `),placement:"bottom-start",children:t.jsx(He,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]+`${K.dots}`})}):t.jsx(He,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]}):null,h!=null?t.jsx(He,{children:h}):null]})]})]})})})},Ko=o.div`
551
551
  display: flex;
552
552
  margin-bottom: ${i.sp3};
553
553
  background-color: ${e=>e.theme.colors.grey5};
@@ -620,7 +620,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
620
620
  flex-direction: column;
621
621
  column-gap: 12px;
622
622
  align-items: flex-start;
623
- `,Ho=o(F)`
623
+ `,Qo=o(F)`
624
624
  color: ${e=>e.theme.colors.hero};
625
625
  flex-grow: 1;
626
626
  word-break: break-word;
@@ -630,7 +630,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
630
630
  overflow: hidden;
631
631
  text-overflow: ellipsis;
632
632
  max-width: ${e=>e.windowSize==="small"?`${zt}px`:"initial"};
633
- `,Qo=o(W)`
633
+ `,Ho=o(W)`
634
634
  color: ${e=>e.theme.colors.grey1};
635
635
  `,Xo=o(F)`
636
636
  display: flex;
@@ -651,7 +651,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn as
651
651
  box-sizing: border-box;
652
652
  display: flex;
653
653
  flex-direction: column;
654
- `,Qe=o(W)`
654
+ `,He=o(W)`
655
655
  color: ${e=>e.theme.colors.grey1};
656
656
  `,en=o(W)`
657
657
  display: flex;
@@ -694,7 +694,7 @@ import{a8 as Gt,cB as Zt,F as te,q as Z,kR as Ht,V as t,ab as Qt,cm as Xt,cn 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=Z(),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:P,onTransactionRowClick:T,onReloadTransactions:k,onColumnSortConfigChanged:L})=>{const U=Z(),A=j=>{const ie=u==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??M:e[j].reportTitle??M;return pi(ie,U)},O=C.useRef(null);C.useEffect(()=>{O.current?.resetAfterIndex(0)},[U,O,a,r]);const R=C.forwardRef((j,ie)=>{const{children:oe,style:H,...de}=j;return t.jsx(Mn,{ref:ie,style:{...H,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(Dn,{onClick:k,children:t.jsx(In,{})}),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:P,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:P,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:k,onTransactionRowClick:L,onSubtabChange:U,fetchState:A,onReloadTransactions:O,onColumnSortConfigChanged:R,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:H})=>{const de=Gt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});C.useEffect(()=>{const z=de.watch((D,{name:_})=>{_!=null&&D!=null&&Zt(()=>Ke(_,D))});return()=>{z.unsubscribe()}});const Ke=async(z,D)=>{if(z===ue){let _=[];if(D[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const I of e)if(I.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(I.id),_.length===v)break}else _=D[ue].filter(I=>I!==S.common.all.toLowerCase());if(l==="bill_pay"){const I=e.filter(we=>_.includes(we.id)),ne=ke(I);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const I=e.filter(we=>_.includes(we.id)),ne=Te(I.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=D[ue];ie?.(_)}},We=()=>{P.includes("cancel")?Wt():qt()},V=Z(),[Ue,Se]=C.useState(!1),[J,qe]=C.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});C.useEffect(()=>{const z=Ht(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)},Kt=C.useCallback(()=>{const{title:z,description:D}=Pn(l,g.length,d,B);if(qe({type:"delete",title:z,description:D,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),I=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,I)}else{const _=e.filter(ne=>g.includes(ne.id)),I=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,I)}Se(!0)},[l,j,B,h,d,e,g]),Wt=C.useCallback(()=>{const{title:z,description:D}=Cn(l,g.length);qe({type:"cancel",title:z,description:D,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 D=e.filter(I=>g.includes(I.id)),_=ke(D);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const D=e.filter(I=>g.includes(I.id)),_=Te(D.map(I=>I.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(J.type,d,h,_)}J.type==="delete"?H?.("delete",z):H?.("cancel",z)},onCancelClick:()=>{oe?.(),Se(!1),qe({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M})}},qt=C.useCallback(()=>{if(l==="bill_pay"){const z=e.filter(_=>g.includes(_.id)),D=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,D)}else{const z=e.filter(_=>g.includes(_.id)),D=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,D)}P.includes("send_for_approval")?H?.("send_for_approval"):H?.(k?"approve":"review")},[l,P,e,j,g,d,h,H,k]),lt=P.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(We),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} ${P.includes("delete")&&lt?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:lt,primaryBtn:{label:Sn(l,P,g.length),isLoading:J.type!=="delete"&&T==="In-Progress",isDisabled:J.type==="delete"&&T==="In-Progress",type:"submit",style:kn(P)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:Tn(P,V)},leftSideComponent:$n(g.length,v,l,V),rightSideComponent:P.includes("delete")?vn(g.length,J.type==="delete"&&T==="In-Progress",Kt,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=Z(),P=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:P.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=Z()==="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 P=Nt.billDetails.paymentOutsideZeni.paymentModeOptions.find(T=>T.value===g)?.label;return`${S.common.via} ${P}`},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=Z()==="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(Kn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Wn,{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},Cn=(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)}},Pn=(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=Z(),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=Z(),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(Dn,{onClick:k,children:t.jsx(In,{})}),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((D,{name:_})=>{_!=null&&D!=null&&Zt(()=>Ke(_,D))});return()=>{z.unsubscribe()}});const Ke=async(z,D)=>{if(z===ue){let _=[];if(D[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const I of e)if(I.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(I.id),_.length===v)break}else _=D[ue].filter(I=>I!==S.common.all.toLowerCase());if(l==="bill_pay"){const I=e.filter(we=>_.includes(we.id)),ne=ke(I);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const I=e.filter(we=>_.includes(we.id)),ne=Te(I.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=D[ue];ie?.(_)}},We=()=>{C.includes("cancel")?Wt():qt()},V=Z(),[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)},Kt=P.useCallback(()=>{const{title:z,description:D}=Cn(l,g.length,d,B);if(qe({type:"delete",title:z,description:D,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),I=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,I)}else{const _=e.filter(ne=>g.includes(ne.id)),I=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,I)}Se(!0)},[l,j,B,h,d,e,g]),Wt=P.useCallback(()=>{const{title:z,description:D}=Pn(l,g.length);qe({type:"cancel",title:z,description:D,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 D=e.filter(I=>g.includes(I.id)),_=ke(D);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const D=e.filter(I=>g.includes(I.id)),_=Te(D.map(I=>I.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)),D=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,D)}else{const z=e.filter(_=>g.includes(_.id)),D=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,D)}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(Ht,{...de,children:t.jsxs(Bn,{onSubmit:de.handleSubmit(We),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",Kt,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=Z(),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=Z()==="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=Z()==="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(Kn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Wn,{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,4 +1,4 @@
1
- import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z,bF as q,y as J,gW as ce,gX as de,cY as ee,bG as A,b8 as pe,ag as te,gY as ue,bE as oe,av as he,gZ as ge,g_ as me,ak as V,b7 as fe,g$ as xe,ax as ye,h0 as be,h1 as Ce,p as ve,cV as we,bL as $e,fX as Se,m as je,B as H,L as ke,fY as Le,aQ as Oe}from"./index-DDpxinoY.js";import{a}from"./core-CA3j8Axi.js";import{n as l,k as Ie}from"./mui-DpJXlk4t.js";import{FJ as Ee,FH as Ae,FI as Fe,FF as Me,FG as Te}from"./zeni-epic-state-CQt4n3Xe.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]="9aee109c-8222-4b7f-8b56-5fb66e2aa660",e._sentryDebugIdIdentifier="sentry-dbid-9aee109c-8222-4b7f-8b56-5fb66e2aa660")}catch{}})();const Re=l.div`
1
+ import{q as B,d as _,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z,bE as q,F as L,y as J,gW as ce,gX as de,cY as ee,bF as A,b8 as pe,ag as te,gY as ue,bD as oe,av as he,gZ as ge,g_ as me,ak as V,b7 as fe,g$ as xe,ax as ye,h0 as be,p as Ce,cV as ve,bL as we,fX as $e,h1 as Se,m as je,B as H,L as ke,fY as Le,aQ as Oe}from"./index-BGhFLU7w.js";import{a}from"./sentry-C9BQzslk.js";import{n as l,k as Ie}from"./mui-8xKzSljO.js";import{FI as Ee,FG as Ae,FH as Fe,FE as Me,FF as Te}from"./zeni-epic-state-D9zDRHOK.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]="e6effb8f-55e3-4156-91c0-4fab9732b257",e._sentryDebugIdIdentifier="sentry-dbid-e6effb8f-55e3-4156-91c0-4fab9732b257")}catch{}})();const Re=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -31,13 +31,13 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
31
31
  align-items: center;
32
32
  column-gap: ${r.sp3};
33
33
  justify-content: space-between;
34
- `,Ge=l.img`
34
+ `,Ye=l.img`
35
35
  height: ${r.sp3};
36
36
  width: ${r.sp3};
37
37
  border-radius: 50%;
38
38
  justify-content: center;
39
39
  color: ${e=>e.theme.colors.hero};
40
- `,Ye=l(Se)`
40
+ `,Ge=l($e)`
41
41
  color: ${e=>e.theme.colors.hero};
42
42
  height: ${r.sp4};
43
43
  width: ${r.sp4};
@@ -52,7 +52,7 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
52
52
  `,Qe=l(Oe)`
53
53
  overflow: hidden;
54
54
  text-overflow: ellipsis;
55
- `,Ze=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:b})=>{const y=_(),h=Ce(y),[C,f]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&f(d=>xe([...d,...p?.entityAutoCompleteView!=null?qe(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>C.find(x=>x.value===d)),v=a.useRef(ye(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(Ve,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{b([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(He,{children:[S.length===0&&i==="user"&&o.jsx(Ye,{}),o.jsx(q,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{b(d)},placeholder:n,options:C,styles:h,menuPosition:"fixed",components:{Option:et,MultiValueLabel:Je,MultiValueRemove:tt},filterOption:(d,x)=>rt(d,x,i),noOptionsMessage:()=>ot(i,j)})]})})},qe=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Je=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Ne,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(Qe,{children:e.children})]})})},et=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:b}=e.selectProps,y=s.findIndex(C=>C.value===e.data.value),h={...e,innerProps:p};return o.jsx(A.Option,{...h,children:o.jsxs(Ue,{children:[o.jsxs(We,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,b),o.jsx(te,{children:e.label})]}),e.isSelected&&o.jsx(Xe,{})]})})},tt=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ke,{})}),ot=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(je,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(H,{children:n.noMatchesFound})}return o.jsx(H,{children:n.noOptions})},re=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Le,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ge,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Pe},loading:"lazy"}),rt=(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:[]},ne={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},M=(e,t)=>{switch(e){case"bill_pay":return Te;case"reimbursement":return Me(t)?Ae:Fe;case"task_management":return Ee}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},nt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ne,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},lt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},at=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},st={width:new J(215,315)},W=l.div`
55
+ `,Ze=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:b})=>{const y=_(),h=Se(y),[C,f]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&f(d=>xe([...d,...p?.entityAutoCompleteView!=null?qe(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>C.find(x=>x.value===d)),v=a.useRef(ye(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(Ve,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{b([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(He,{children:[S.length===0&&i==="user"&&o.jsx(Ge,{}),o.jsx(q,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{b(d)},placeholder:n,options:C,styles:h,menuPosition:"fixed",components:{Option:et,MultiValueLabel:Je,MultiValueRemove:tt},filterOption:(d,x)=>rt(d,x,i),noOptionsMessage:()=>ot(i,j)})]})})},qe=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Je=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Ne,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(Qe,{children:e.children})]})})},et=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:b}=e.selectProps,y=s.findIndex(C=>C.value===e.data.value),h={...e,innerProps:p};return o.jsx(A.Option,{...h,children:o.jsxs(Ue,{children:[o.jsxs(We,{children:[re(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,b),o.jsx(te,{children:e.label})]}),e.isSelected&&o.jsx(Xe,{})]})})},tt=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ke,{})}),ot=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(je,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(H,{children:n.noMatchesFound})}return o.jsx(H,{children:n.noOptions})},re=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Le,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ye,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Pe},loading:"lazy"}),rt=(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:[]},ne={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},M=(e,t)=>{switch(e){case"bill_pay":return Te;case"reimbursement":return Me(t)?Ae:Fe;case"task_management":return Ee}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},nt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ne,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},lt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},at=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},st={width:new J(215,315)},W=l.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  row-gap: ${r.sp4};
@@ -62,10 +62,10 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
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
- `,G=l.div`
65
+ `,Y=l.div`
66
66
  width: 90px;
67
67
  color: ${e=>e.theme.colors.primary};
68
- `,Y=l.div`
68
+ `,G=l.div`
69
69
  width: 194px;
70
70
  `,X=l.button`
71
71
  display: flex;
@@ -88,7 +88,7 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
88
88
  width: ${r.sp3};
89
89
  height: ${r.sp3};
90
90
  color: ${e=>e.theme.colors.hero};
91
- `,ct=l($e)`
91
+ `,ct=l(we)`
92
92
  width: ${r.sp3};
93
93
  height: ${r.sp3};
94
94
  color: ${e=>e.theme.colors.hero};
@@ -108,10 +108,10 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
108
108
  padding: 0;
109
109
  &:hover {
110
110
  svg {
111
- color: ${ve.important};
111
+ color: ${Ce.important};
112
112
  }
113
113
  }
114
- `,ht=l(we)`
114
+ `,ht=l(ve)`
115
115
  width: ${r.sp3};
116
116
  height: ${r.sp3};
117
117
  color: ${e=>e.theme.colors.hero};
@@ -139,7 +139,7 @@ import{q as B,d as _,F as L,V as o,ck as P,o as r,gV as se,c as R,n as ie,b as Z
139
139
  align-items: flex-start;
140
140
  column-gap: ${r.sp3};
141
141
  animation: ${ft} 0.4s;
142
- `,le=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},b)=>{const y=he(),h=B(),C=a.useCallback((c,u)=>{const g=nt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),f=a.useCallback((c,u)=>{const g=lt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(F);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(F)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...ne}]})},O=()=>{s(F)},$=a.useCallback((c,u)=>{const g=at({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,x=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(pt,{children:[o.jsxs(X,{onClick:j,children:[o.jsx(it,{}),o.jsx(V,{children:d.addFilterBtnText})]}),o.jsxs(X,{onClick:O,children:[o.jsx(ct,{}),o.jsx(V,{children:d.clearAllBtnText})]})]}):null,I=()=>e.categories==null||e.categories.length===0?o.jsx(W,{children:o.jsx(U,{children:o.jsxs(Q,{children:[o.jsx(G,{children:o.jsx(K,{children:d.filterByLabel})}),o.jsx(Y,{children:o.jsx(N,{defaultMenuIsOpen:!0,onChange:C,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>T(n,c),options:M(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=M(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?T(n,g?.value):"";return o.jsxs(U,{windowSize:h,children:[o.jsxs(Q,{children:[o.jsxs(G,{children:[u===0&&o.jsx(K,{children:d.filterByLabel}),u!==0?o.jsx(ge,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(Y,{children:o.jsx(N,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>C(w,u),getOptionLabel:w=>T(n,w),options:M(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(xt,{children:[o.jsx(dt,{children:o.jsx(me,{categoryIndex:u,value:c.matchingOperator,onChange:f})}),o.jsxs(gt,{children:[o.jsx(mt,{windowSize:h,children:o.jsx(Ze,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(ut,{onClick:()=>v(u),windowSize:h,children:o.jsx(ht,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(W,{ref:b,children:[I(),x()]})});le.displayName="FiltersSelection";const yt=l.div`
142
+ `,le=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},b)=>{const y=he(),h=B(),C=a.useCallback((c,u)=>{const g=nt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),f=a.useCallback((c,u)=>{const g=lt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(F);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(F)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...ne}]})},O=()=>{s(F)},$=a.useCallback((c,u)=>{const g=at({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,x=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(pt,{children:[o.jsxs(X,{onClick:j,children:[o.jsx(it,{}),o.jsx(V,{children:d.addFilterBtnText})]}),o.jsxs(X,{onClick:O,children:[o.jsx(ct,{}),o.jsx(V,{children:d.clearAllBtnText})]})]}):null,I=()=>e.categories==null||e.categories.length===0?o.jsx(W,{children:o.jsx(U,{children:o.jsxs(Q,{children:[o.jsx(Y,{children:o.jsx(K,{children:d.filterByLabel})}),o.jsx(G,{children:o.jsx(N,{defaultMenuIsOpen:!0,onChange:C,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>T(n,c),options:M(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=M(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?T(n,g?.value):"";return o.jsxs(U,{windowSize:h,children:[o.jsxs(Q,{children:[o.jsxs(Y,{children:[u===0&&o.jsx(K,{children:d.filterByLabel}),u!==0?o.jsx(ge,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(G,{children:o.jsx(N,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>C(w,u),getOptionLabel:w=>T(n,w),options:M(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(xt,{children:[o.jsx(dt,{children:o.jsx(me,{categoryIndex:u,value:c.matchingOperator,onChange:f})}),o.jsxs(gt,{children:[o.jsx(mt,{windowSize:h,children:o.jsx(Ze,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(ut,{onClick:()=>v(u),windowSize:h,children:o.jsx(ht,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(W,{ref:b,children:[I(),x()]})});le.displayName="FiltersSelection";const yt=l.div`
143
143
  padding-top: ${r.sp4};
144
144
  padding-bottom: ${r.sp4};
145
145
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- import{q as $,F as b,hE as g,V as o,m as S,o as a,ak as v,y as z,c0 as j,c as k}from"./index-DDpxinoY.js";import{a as I}from"./core-CA3j8Axi.js";import{n}from"./mui-DpJXlk4t.js";import{g as D}from"./BoxItem-Bjv3WNXO-BmJyEo8P.js";import{w as P}from"./downloadPdf-DCQ9vVZs-BHlJTitV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="977c9324-c438-442e-bee7-f0dfedcd0ab0",e._sentryDebugIdIdentifier="sentry-dbid-977c9324-c438-442e-bee7-f0dfedcd0ab0")}catch{}})();const l=b.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
1
+ import{q as $,hE as b,V as o,F as g,m as S,o as a,ak as v,y as z,c0 as j,c as k}from"./index-BGhFLU7w.js";import{a as I}from"./sentry-C9BQzslk.js";import{n}from"./mui-8xKzSljO.js";import{g as D}from"./BoxItem-Bjv3WNXO-CbkK_BvO.js";import{w as P}from"./downloadPdf-DCQ9vVZs-BAK1KQub.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e2e880ec-887f-4d7c-b0c3-e6df2df0c045",e._sentryDebugIdIdentifier="sentry-dbid-e2e880ec-887f-4d7c-b0c3-e6df2df0c045")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
2
2
  display: flex;
3
3
  padding: ${a.sp3} ${a.sp4};
4
4
  flex-direction: row;
@@ -28,4 +28,4 @@ import{q as $,F as b,hE as g,V as o,m as S,o as a,ak as v,y as z,c0 as j,c as k}
28
28
  &:hover {
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
- `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:c,downloadEndPoint:s,documentType:r="statement",boxType:f}){const[m,p]=I.useState(!1),w=$(),u=r==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=r==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${g(t.title.month)}`,format:"pdf"},x=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(r==="treasuryStatement"||r==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,c,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:x,boxType:f,isDisabled:!1,isNotClickable:!0})}export{R as O};
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:c,downloadEndPoint:s,documentType:r="statement",boxType:f}){const[m,p]=I.useState(!1),w=$(),u=r==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=r==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(r==="treasuryStatement"||r==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,c,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:x,boxType:f,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -1,4 +1,4 @@
1
- import{d as S,q as I,V as t,bz as z,F as C,b1 as P,o as r,p,cq as D,y as E,c as b,ak as L}from"./index-DDpxinoY.js";import{a as u}from"./core-CA3j8Axi.js";import{n as o}from"./mui-DpJXlk4t.js";import{$ as T}from"./BoxItem-Bjv3WNXO-BmJyEo8P.js";import{o as B}from"./commonDimensions-BDftm0gJ-BmGAU2Ka.js";import{O as M}from"./StatementItem-bHInVThd-CvDlOdeO.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./downloadPdf-DCQ9vVZs-BHlJTitV.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]="f3a3a0d1-90c4-4508-891d-732f25902b5e",e._sentryDebugIdIdentifier="sentry-dbid-f3a3a0d1-90c4-4508-891d-732f25902b5e")}catch{}})();const f=C.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(P,{children:({height:a,width:s})=>t.jsx(q,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
1
+ import{d as S,q as I,V as t,bz as z,b1 as C,o as r,F as P,p,cq as D,y as E,c as f,ak as L}from"./index-BGhFLU7w.js";import{a as b}from"./sentry-C9BQzslk.js";import{n as o}from"./mui-8xKzSljO.js";import{$ as T}from"./BoxItem-Bjv3WNXO-CbkK_BvO.js";import{o as B}from"./commonDimensions-BDftm0gJ-CtNxdt96.js";import{O as M}from"./StatementItem-bHInVThd-Bfw9F8uL.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./downloadPdf-DCQ9vVZs-BAK1KQub.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]="f999d501-f8de-4b51-98cf-f8b2cceac7ff",e._sentryDebugIdIdentifier="sentry-dbid-f999d501-f8de-4b51-98cf-f8b2cceac7ff")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(f[3],f[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=b.createRef(),c=b.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(q,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{q as $,V as d,ca as T,F as v,y as h,o as s,c,ag as _}from"./index-DDpxinoY.js";import{n as u,b as m}from"./mui-DpJXlk4t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4dbe7962-60d4-4af2-8f06-688b5e73a05f",e._sentryDebugIdIdentifier="sentry-dbid-4dbe7962-60d4-4af2-8f06-688b5e73a05f")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{q as $,ca as T,V as d,F as v,y as h,o as s,c,ag as _}from"./index-BGhFLU7w.js";import{n as u,c as m}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="e6baf273-a614-4809-98b7-515f9d21e2c8",e._sentryDebugIdIdentifier="sentry-dbid-e6baf273-a614-4809-98b7-515f9d21e2c8")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;