@zeniai/web-app-ui 4.14.29-dev → 4.14.30-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/dist/assets/ACHDetailsPage-CQdbfxHV-BW88pIYa.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
  3. package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
  7. package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
  8. package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
  9. package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
  11. package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-CmvRhhab.js} +1 -1
  12. package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-Cb00RwYZ.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
  15. package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
  17. package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
  18. package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
  22. package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
  24. package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
  25. package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
  26. package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
  27. package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
  28. package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
  30. package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
  31. package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-D22Q6pQL.js} +8 -8
  33. package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
  34. package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
  36. package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
  37. package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
  38. package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
  39. package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
  41. package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
  42. package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
  43. package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
  44. package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
  47. package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
  51. package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
  53. package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
  54. package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
  55. package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
  57. package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
  58. package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
  61. package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
  64. package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
  68. package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
  71. package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
  73. package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-Bawz4pw0.js} +3 -3
  74. package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
  75. package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-B10KVon4.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
  77. package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
  78. package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
  81. package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
  82. package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-B7BWNi51.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
  84. package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
  85. package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
  86. package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
  88. package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
  89. package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
  96. package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
  98. package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
  101. package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
  102. package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
  104. package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
  107. package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
  108. package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
  109. package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
  112. package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
  114. package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
  115. package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
  117. package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
  120. package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
  121. package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
  122. package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
  123. package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
  126. package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
  127. package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
  128. package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
  129. package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
  130. package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
  134. package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
  135. package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
  137. package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
  138. package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
  139. package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
  140. package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
  141. package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
  142. package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-SRDW4_mE.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-BSrkx0LD.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
  146. package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
  147. package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
  151. package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
  153. package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-D-yY-A49.js} +3 -3
  155. package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
  156. package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
  159. package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
  160. package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
  162. package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
  168. package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
  169. package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
  172. package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
  173. package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
  174. package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
  175. package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DohAZqsL.js} +1 -1
  176. package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
  178. package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
  179. package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
  180. package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
  182. package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
  183. package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
  184. package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-U8aLQkxi.js} +5 -5
  187. package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
  188. package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
  189. package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-g1CD9jiJ.js} +1 -1
  190. package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
  191. package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
  192. package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
  193. package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
  194. package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
  195. package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
  197. package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
  198. package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
  199. package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
  200. package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-ksTObC06.js} +2 -2
  202. package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
  203. package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
  207. package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
  208. package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
  209. package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
  211. package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
  213. package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
  214. package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
  215. package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
  218. package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
  219. package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
  220. package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
  223. package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
  224. package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
  225. package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
  227. package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
  231. package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
  238. package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-Buw6G1yr.js} +1 -1
  239. package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
  240. package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
  241. package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
  242. package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
  243. package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
  244. package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
  245. package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
  247. package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
  248. package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
  256. package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
  257. package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-CBcY8lmv.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
  263. package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
  264. package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
  266. package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
  267. package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
  268. package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
  269. package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
  270. package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
  272. package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
  274. package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
  275. package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
  276. package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
  277. package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
  284. package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
  286. package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
  287. package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
  288. package/dist/assets/{index-ByxsQZNo.js → index-BHAcVHeH.js} +643 -641
  289. package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
  290. package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
  291. package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
  292. package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
  293. package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
  294. package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
  301. package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
  303. package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
  307. package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
  308. package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
  310. package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
  311. package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
  313. package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
  314. package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
  315. package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
  316. package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
  317. package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
  318. package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
  319. package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
  320. package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
  321. package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
  322. package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-WWdcktge.js} +1 -1
  323. package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
  327. package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
  334. package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
  335. package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
  336. package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
  340. package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js +0 -21
  347. package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +0 -18
  348. package/dist/assets/AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js +0 -149
  349. package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +0 -6
  350. package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +0 -51
  351. package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +0 -138
  352. package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +0 -1
  353. package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +0 -1
  354. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
  355. package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js +0 -12
  356. package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +0 -66
  357. package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +0 -27
  358. package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +0 -45
  359. package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +0 -1
  360. package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +0 -1
  361. package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +0 -1
  362. package/dist/assets/MagicLinkRoutes-0gOcNpgv.js +0 -72
  363. package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +0 -31
  364. package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +0 -6
  365. package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +0 -1
  366. package/dist/assets/PerformanceRoutes-647LNvtJ.js +0 -1
  367. package/dist/assets/ReferralListScreen-C9t9-uma.js +0 -5
  368. package/dist/assets/RewardsRoutes-BiuOGirU.js +0 -1
  369. package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +0 -324
  370. package/dist/assets/SignOutScreen-DfH6txYx.js +0 -9
  371. package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +0 -31
  372. package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +0 -13
  373. package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +0 -1
  374. package/dist/assets/TaskRoutes-CgARLANx.js +0 -9
  375. package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +0 -35
  376. package/dist/assets/VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js +0 -1
  377. package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +0 -1
  378. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +0 -1
  379. package/dist/assets/VideoPlayer-2MQyZqi6-DqklpbYT.js +0 -77
  380. package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +0 -31
  381. package/dist/assets/WiseConfirmationScreen-Bat277PD.js +0 -12
  382. package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +0 -1
  383. package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +0 -1
  384. package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +0 -1
  385. package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +0 -1
  386. package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +0 -1
@@ -1,4 +1,4 @@
1
- import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bn as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,d as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bl as xt,w as _e,P as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,k as p}from"./index-ByxsQZNo.js";import{a as B,b as Ct}from"./sentry-COYnhuxW.js";import{n as o,c as G}from"./mui-40xepic5.js";import{Hz as Te,GK as Ce,G6 as Le,cm as Pt}from"./zeni-epic-state-DCforPdM.js";import{m as ci}from"./BusyIndication-H_iNZOWd-BNmJKxof.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-CDnarHSf-meshGWkH.js";import{L as hi,_ as gi,r as yi,M as jt,S as Bt,i as _t,I as It}from"./common-BGuhvMjF-Ry4gfI81.js";import{d as zt}from"./useLongPress-GCK2COYQ-CqE4OIEm.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./calculateSize-DecSvt-d-CIfCbqel.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="dcdea983-6655-4019-8bf8-fc4c13e5fee2",e._sentryDebugIdIdentifier="sentry-dbid-dcdea983-6655-4019-8bf8-fc4c13e5fee2")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(jt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(Pi,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(ji,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
1
+ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bn as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,f as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bl as xt,w as _e,b as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,m as p}from"./index-BHAcVHeH.js";import{a as B,b as Ct}from"./sentry-CY6wsJT-.js";import{n as o,c as G}from"./mui-Cni6P-fz.js";import{Hz as Te,GK as Ce,G6 as Le,cm as jt}from"./zeni-epic-state-cFF_NqwA.js";import{m as ci}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-_Cs3CzJl-D1XlTHt5.js";import{L as hi,_ as gi,r as yi,M as Pt,S as Bt,i as _t,I as It}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{d as zt}from"./useLongPress-GCK2COYQ-BX_5sahW.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="efdacfa5-471c-4eec-8299-47f8bbc8d56c",e._sentryDebugIdIdentifier="sentry-dbid-efdacfa5-471c-4eec-8299-47f8bbc8d56c")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(Pt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(Pi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -47,11 +47,11 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
47
47
  width: 12px;
48
48
  height: 12px;
49
49
  color: inherit;
50
- `,Pi=o.div`
50
+ `,ji=o.div`
51
51
  margin-right: ${i.sp1};
52
52
  display: flex;
53
53
  align-items: center;
54
- `,ji=o.div`
54
+ `,Pi=o.div`
55
55
  display: ${e=>e.isVisible?"flex":"none"};
56
56
  align-items: center;
57
57
  padding-top: 2px;
@@ -69,7 +69,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
69
69
  &:hover {
70
70
  color: ${e=>e.theme.colors.primary};
71
71
  }
72
- `,Ii=e=>{switch(e){case"draft":return fe(xe);case"pending_approval":return fe(wi);case"scheduled":return fe(fi);case"paid":return fe($i)}},we={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ke,space:ve}},collaboration:{commentOnField:zi}}=ee.getLocalizedStrings(),Ai=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:s,isProcessing:g,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:w,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:a})=>{const n=g||y,c=J(),f=Ie(),I=Xe(),C=Ye().analytics,m=`dashboard_${f.currentTenant?.companyId}`,{threads:k,isLoading:T}=qe({application:"dashboard",companyId:f.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),A=B.useMemo(()=>k.filter(W=>W.resolved===!1),[k]),R=B.useCallback(()=>{a(e.id)},[e.id]),v=Pt(e.billPayInfo.billPaymentStatus.code)?ft(e.createdByUser):ze($),P=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle;return t.jsxs(Li,{windowSize:c,statusCode:l?.code??"",isSelected:r,isProcessing:n,children:[t.jsx(Di,{onClick:R,"data-testid":Q("bill-pay-transaction-row",e.id),children:t.jsxs(Ri,{children:[t.jsxs(Ei,{windowSize:c,responsiveWidth:xe[0].width,children:[t.jsxs(Fi,{children:[t.jsx(Mi,{windowSize:c,children:P}),e.isRecurring?t.jsx(Y,{title:`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Hi,{isProcessing:n,children:t.jsx(Gi,{})})}):null]}),t.jsx(Vi,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(st,{windowSize:c,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(st,{windowSize:c,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Ui,{windowSize:c,responsiveWidth:xe[3].width,children:[t.jsxs(Ki,{children:[l!==void 0?t.jsx(Ni,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(Wi,{children:ne.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Y,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Zi,{})}):null]}),$!==void 0&&v.length>0?v.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${ne.byText}${ve}${v.join(`${ve}${ne.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Pe,{children:`${ne.byText}${ve}${v[0]}${ne.dots}`})}):t.jsx(Pe,{children:`${ne.byText}${ve}${v[0]}`}):null,w!=null?t.jsx(Pe,{children:w}):null,b!=null?t.jsx(Pe,{children:b}):null]}),t.jsx(Oi,{windowSize:c,responsiveWidth:xe[4].width,children:Ae("0,0[.]00",e.totalAmountInUSD)})]})}),s&&A.length>0?t.jsx(Je,{isLoading:T,count:A.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:W=>{W.stopPropagation(),I?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:m,companyId:f.currentTenant?.companyId??Ke,companyName:f.currentTenant?.companyName??Ke,entityType:"bill.details",entityId:e.id}),C.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ke,f.controllersList.controllers.map(te=>Qe(te)),void 0,void 0,zi)}}):null]})},Li=o.div`
72
+ `,Ii=e=>{switch(e){case"draft":return fe(xe);case"pending_approval":return fe(wi);case"scheduled":return fe(fi);case"paid":return fe($i)}},we={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ke,space:ve}},collaboration:{commentOnField:zi}}=ee.getLocalizedStrings(),Ai=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:s,isProcessing:g,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:w,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:a})=>{const n=g||y,c=J(),f=Ie(),I=Xe(),C=Ye().analytics,m=`dashboard_${f.currentTenant?.companyId}`,{threads:k,isLoading:T}=qe({application:"dashboard",companyId:f.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),A=B.useMemo(()=>k.filter(W=>W.resolved===!1),[k]),R=B.useCallback(()=>{a(e.id)},[e.id]),v=jt(e.billPayInfo.billPaymentStatus.code)?ft(e.createdByUser):ze($),j=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle;return t.jsxs(Li,{windowSize:c,statusCode:l?.code??"",isSelected:r,isProcessing:n,children:[t.jsx(Di,{onClick:R,"data-testid":Q("bill-pay-transaction-row",e.id),children:t.jsxs(Ri,{children:[t.jsxs(Ei,{windowSize:c,responsiveWidth:xe[0].width,children:[t.jsxs(Fi,{children:[t.jsx(Mi,{windowSize:c,children:j}),e.isRecurring?t.jsx(Y,{title:`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Hi,{isProcessing:n,children:t.jsx(Gi,{})})}):null]}),t.jsx(Vi,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(st,{windowSize:c,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(st,{windowSize:c,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Ui,{windowSize:c,responsiveWidth:xe[3].width,children:[t.jsxs(Ki,{children:[l!==void 0?t.jsx(Ni,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(Wi,{children:ne.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Y,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Zi,{})}):null]}),$!==void 0&&v.length>0?v.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${ne.byText}${ve}${v.join(`${ve}${ne.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${ve}${v[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${ve}${v[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,b!=null?t.jsx(je,{children:b}):null]}),t.jsx(Oi,{windowSize:c,responsiveWidth:xe[4].width,children:Ae("0,0[.]00",e.totalAmountInUSD)})]})}),s&&A.length>0?t.jsx(Je,{isLoading:T,count:A.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:W=>{W.stopPropagation(),I?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:m,companyId:f.currentTenant?.companyId??Ke,companyName:f.currentTenant?.companyName??Ke,entityType:"bill.details",entityId:e.id}),C.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ke,f.controllersList.controllers.map(te=>Qe(te)),void 0,void 0,zi)}}):null]})},Li=o.div`
73
73
  display: flex;
74
74
  margin-bottom: ${i.sp3};
75
75
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -202,7 +202,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
202
202
  flex-direction: column;
203
203
  align-items: flex-start;
204
204
  justify-content: center;
205
- `,Pe=o(N)`
205
+ `,je=o(N)`
206
206
  position: relative;
207
207
  top: 1px;
208
208
  color: ${e=>e.theme.colors.grey1};
@@ -221,7 +221,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
221
221
  :hover {
222
222
  color: ${e=>e.theme.colors.primary};
223
223
  }
224
- `,ce={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:re}},common:{strings:{empty:Ue,space:Se}},collaboration:{commentOnField:Xi}}=ee.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:s,isBillPayCommentingEnabled:g,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:w,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:a,paidAdditionalInfo:n,showLowBalanceTooltip:c,onTransactionRowClick:f})=>{const I=d||r,C=J(),m=Ie(),k=Xe(),T=Ye().analytics,A=`dashboard_${m.currentTenant?.companyId}`,{threads:R,isLoading:v}=qe({application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),P=B.useMemo(()=>R.filter(Z=>Z.resolved===!1),[R]),{getValues:W,setValue:te}=wt(),j=Pt(e.billPayInfo.billPaymentStatus.code)?ft(e.createdByUser):ze(u),ie=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:re.newBillTitle,oe=W(y),U=B.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!s&&te(y,[...oe,e.id])},[y,x,s,te,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=B.useCallback(()=>{U()},[U]),Ne=B.useCallback(Z=>{Z.stopPropagation(),Z.cancelable&&Z.preventDefault(),$?U():f(e.id)},[U,$,f,e.id]),ge=zt({onLongPress:de},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(qi,{windowSize:C,statusCode:l?.code??"",isSelected:s,isProcessing:I,children:[t.jsx(Ji,{onClick:Ne,...ge,"data-testid":Q("bill-pay-trxn-row-small",e.id),children:t.jsxs(Qi,{children:[t.jsxs(so,{children:[t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{windowSize:C,children:ie}),e.isRecurring?t.jsx(Y,{title:`${re.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(co,{isProcessing:I,children:t.jsx(po,{})})}):null]}),t.jsx(lo,{children:`${w[0].label} ${w[0].value}`})]}),t.jsx(at,{children:`${w[1].label} ${w[1].value}`}),t.jsx(at,{children:`${w[2].label} ${w[2].value}`})]}),t.jsxs(ao,{children:[t.jsx(oo,{children:Ae("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(ro,{hasAlertIcon:b!=null,children:[t.jsxs(mo,{children:[l!==void 0?t.jsx(no,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??re.hyphenText}):t.jsx(t.Fragment,{children:re.hyphenText}),c===!0&&b!=null&&b.length>0?t.jsx(ho,{onClick:Z=>Z.stopPropagation(),children:t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(uo,{})})}):null]}),u!==void 0&&j.length>0?j.length>1?t.jsx(Y,{title:`${re.byText}${Se}${j.join(`${Se}${re.orText}${Se}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${re.byText}${Se}${j[0]}${re.dots}`})}):t.jsx(je,{children:`${re.byText}${Se}${j[0]}`}):null,a!=null?t.jsx(je,{children:a}):null,n!=null?t.jsx(je,{children:n}):null]})]})]})}),g&&P.length>0?t.jsx(Je,{isLoading:v,count:P.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z=>{Z.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:A,companyId:m.currentTenant?.companyId??Ue,companyName:m.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),T.trackCommentActivity("bill","clicked",m.currentTenant?.companyName??Ue,m.controllersList.controllers.map(ye=>Qe(ye)),void 0,void 0,Xi)}}):null]})},qi=o.div`
224
+ `,ce={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:re}},common:{strings:{empty:Ue,space:Se}},collaboration:{commentOnField:Xi}}=ee.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:s,isBillPayCommentingEnabled:g,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:w,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:a,paidAdditionalInfo:n,showLowBalanceTooltip:c,onTransactionRowClick:f})=>{const I=d||r,C=J(),m=Ie(),k=Xe(),T=Ye().analytics,A=`dashboard_${m.currentTenant?.companyId}`,{threads:R,isLoading:v}=qe({application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),j=B.useMemo(()=>R.filter(Z=>Z.resolved===!1),[R]),{getValues:W,setValue:te}=wt(),P=jt(e.billPayInfo.billPaymentStatus.code)?ft(e.createdByUser):ze(u),ie=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:re.newBillTitle,oe=W(y),U=B.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!s&&te(y,[...oe,e.id])},[y,x,s,te,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=B.useCallback(()=>{U()},[U]),Ne=B.useCallback(Z=>{Z.stopPropagation(),Z.cancelable&&Z.preventDefault(),$?U():f(e.id)},[U,$,f,e.id]),ge=zt({onLongPress:de},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(qi,{windowSize:C,statusCode:l?.code??"",isSelected:s,isProcessing:I,children:[t.jsx(Ji,{onClick:Ne,...ge,"data-testid":Q("bill-pay-trxn-row-small",e.id),children:t.jsxs(Qi,{children:[t.jsxs(so,{children:[t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{windowSize:C,children:ie}),e.isRecurring?t.jsx(Y,{title:`${re.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(co,{isProcessing:I,children:t.jsx(po,{})})}):null]}),t.jsx(lo,{children:`${w[0].label} ${w[0].value}`})]}),t.jsx(at,{children:`${w[1].label} ${w[1].value}`}),t.jsx(at,{children:`${w[2].label} ${w[2].value}`})]}),t.jsxs(ao,{children:[t.jsx(oo,{children:Ae("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(ro,{hasAlertIcon:b!=null,children:[t.jsxs(mo,{children:[l!==void 0?t.jsx(no,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??re.hyphenText}):t.jsx(t.Fragment,{children:re.hyphenText}),c===!0&&b!=null&&b.length>0?t.jsx(ho,{onClick:Z=>Z.stopPropagation(),children:t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(uo,{})})}):null]}),u!==void 0&&P.length>0?P.length>1?t.jsx(Y,{title:`${re.byText}${Se}${P.join(`${Se}${re.orText}${Se}`)}`,placement:"bottom-start",children:t.jsx(Pe,{children:`${re.byText}${Se}${P[0]}${re.dots}`})}):t.jsx(Pe,{children:`${re.byText}${Se}${P[0]}`}):null,a!=null?t.jsx(Pe,{children:a}):null,n!=null?t.jsx(Pe,{children:n}):null]})]})]})}),g&&j.length>0?t.jsx(Je,{isLoading:v,count:j.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z=>{Z.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:A,companyId:m.currentTenant?.companyId??Ue,companyName:m.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),T.trackCommentActivity("bill","clicked",m.currentTenant?.companyName??Ue,m.controllersList.controllers.map(ye=>Qe(ye)),void 0,void 0,Xi)}}):null]})},qi=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{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
334
334
  flex-direction: column;
335
335
  align-items: ${e=>e.hasAlertIcon?"flex-start":"flex-end"};
336
336
  justify-content: center;
337
- `,je=o(N)`
337
+ `,Pe=o(N)`
338
338
  color: ${e=>e.theme.colors.grey1};
339
339
  `,so=o.div`
340
340
  display: flex;
@@ -361,7 +361,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
361
361
  :hover {
362
362
  color: ${e=>e.theme.colors.primary};
363
363
  }
364
- `,ho=o.div``,ae=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Fe={key:"reportName",value:ae.name,sortOrder:"ascending",width:new h(30,30)},Me={key:"type",value:ae.type,sortOrder:"ascending",width:new h(20,20)},Oe={key:"status",value:ae.status,sortOrder:"ascending",width:new h(20,20)},Ve={key:"amount",value:ae.amount,sortOrder:"ascending",width:new h(10,10)},pe=[Fe,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],go=[Fe,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],yo=[Fe,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],bo=[Fe,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],At={draft:pe,pending_approval:go,scheduled:yo,paid:bo},Be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[3],p[4])},xo=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:s}){const g=J(),y=Ze(),[x,$]=B.useState(fe(At[l]));B.useEffect(()=>{const n=[...x];for(const c of n)c.key===r.sortKey?c.sortOrder=r.sortOrder:c.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const w=(n,c)=>{let f=c;r.sortKey===n&&(f=c==="ascending"?"descending":"ascending"),s?.trackReimbursementListSort(n,f),d?.(n,f)},b=x.find(n=>n.key===r.sortKey)??x[0],u=x.map(n=>n.key),a=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(dt,{height:jt,windowSize:g,children:[t.jsx(fo,{children:t.jsx($o,{})}),t.jsx(xt,{title:a.sortBy,placeholder:a.sortBy,pickerValues:u,valueToLabel:n=>x.find(c=>c.key===n)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:n=>{w(n,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(To,{onClick:()=>w(b.key,b.sortOrder),"data-testid":Q("remi-list-header-small",r.sortKey),children:[t.jsx(se,{children:b.value}),t.jsx(ct,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(pt,{})})]})]}):t.jsx(dt,{height:Bt,windowSize:g,children:x.map(n=>t.jsxs(wo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:g,children:[t.jsxs(ko,{onClick:()=>w(n.key,n.sortOrder),"data-testid":Q("remi-list-header",r.sortKey),children:[t.jsx(se,{children:n.value}),t.jsx(ct,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(pt,{})})]}),t.jsx(So,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(vo,{onClick:()=>w("submittedOn","ascending"),"data-testid":Q("remi-list-close-sort",r.sortKey)})})]},n.key))})}),dt=o(se)`
364
+ `,ho=o.div``,ae=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Fe={key:"reportName",value:ae.name,sortOrder:"ascending",width:new h(30,30)},Me={key:"type",value:ae.type,sortOrder:"ascending",width:new h(20,20)},Oe={key:"status",value:ae.status,sortOrder:"ascending",width:new h(20,20)},Ve={key:"amount",value:ae.amount,sortOrder:"ascending",width:new h(10,10)},pe=[Fe,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],go=[Fe,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],yo=[Fe,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],bo=[Fe,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new h(20,20)},Me,Oe,Ve],At={draft:pe,pending_approval:go,scheduled:yo,paid:bo},Be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[3],p[4])},xo=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:s}){const g=J(),y=Ze(),[x,$]=B.useState(fe(At[l]));B.useEffect(()=>{const n=[...x];for(const c of n)c.key===r.sortKey?c.sortOrder=r.sortOrder:c.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const w=(n,c)=>{let f=c;r.sortKey===n&&(f=c==="ascending"?"descending":"ascending"),s?.trackReimbursementListSort(n,f),d?.(n,f)},b=x.find(n=>n.key===r.sortKey)??x[0],u=x.map(n=>n.key),a=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(dt,{height:Pt,windowSize:g,children:[t.jsx(fo,{children:t.jsx($o,{})}),t.jsx(xt,{title:a.sortBy,placeholder:a.sortBy,pickerValues:u,valueToLabel:n=>x.find(c=>c.key===n)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:n=>{w(n,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(To,{onClick:()=>w(b.key,b.sortOrder),"data-testid":Q("remi-list-header-small",r.sortKey),children:[t.jsx(se,{children:b.value}),t.jsx(ct,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(pt,{})})]})]}):t.jsx(dt,{height:Bt,windowSize:g,children:x.map(n=>t.jsxs(wo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:g,children:[t.jsxs(ko,{onClick:()=>w(n.key,n.sortOrder),"data-testid":Q("remi-list-header",r.sortKey),children:[t.jsx(se,{children:n.value}),t.jsx(ct,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(pt,{})})]}),t.jsx(So,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(vo,{onClick:()=>w("submittedOn","ascending"),"data-testid":Q("remi-list-close-sort",r.sortKey)})})]},n.key))})}),dt=o(se)`
365
365
  width: 100%;
366
366
  top: 0;
367
367
  left: 0;
@@ -429,7 +429,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
429
429
  color: ${e=>e.theme.colors.primary};
430
430
  }
431
431
  margin-left: auto;
432
- `,ke={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},Lt=ee.getLocalizedStrings(),H=Lt.spendManagement.reimbursement.reimbursementByTabs,{commentOnField:Co}=Lt.collaboration,Po=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:s,date:g,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:w})=>{const b=J(),u=Ie(),a=B.useRef(null),[n,c]=B.useState(0);B.useLayoutEffect(()=>{a.current&&c(a.current.offsetWidth*_t)},[b]);const f=Ye().analytics,I=Xe(),C=`dashboard_${u.currentTenant?.companyId}`,m=e.reimbursementTypesIncluded,k=ze(y),T=ee.getLocalizedStrings().common.strings.empty,{threads:A,isLoading:R}=qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),v=B.useMemo(()=>A.filter(P=>P.resolved===!1),[A]);return t.jsxs(jo,{windowSize:b,onClick:()=>{w(e.id)},isProcessing:d,isSelected:r,statusCode:l?.code??T,"data-testid":Q("remi-row-click",e.id),children:[t.jsx(Bo,{children:t.jsxs(_o,{children:[t.jsxs(Io,{windowSize:b,responsiveWidth:pe[0].width,ref:a,children:[t.jsx(zo,{windowSize:b,reportNameWidth:n,children:e.reportTitle??H.newReimbursementTitle}),s!=null&&t.jsx(Ao,{children:`${H.byText} ${s?.firstName} ${s?.lastName}`})]}),t.jsx(Do,{windowSize:b,responsiveWidth:pe[1].width,children:g}),m.length>1?t.jsx(mt,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:H.reimbursementType.both,placement:"bottom-start",display:"flex",children:H.reimbursementType.titleForBoth})}):t.jsx(mt,{windowSize:b,responsiveWidth:pe[2].width,children:H.reimbursementType[m[0]]}),t.jsxs(Eo,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Fo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??H.hyphenText}):t.jsx(Ro,{children:H.hyphenText}),y!==void 0&&k.length>0?k.length>1?t.jsx(Y,{title:`${H.byText} `+k.join(` ${H.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${H.byText} `+k[0]+`${H.dots}`})}):t.jsx(He,{children:`${H.byText} `+k[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[4].width,children:Ae("0,0[.]00",e.amount)})]})}),$&&v.length>0?t.jsx(Je,{isLoading:R,count:v.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:P=>{P.stopPropagation(),I?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:C,companyId:u.currentTenant?.companyId??T,companyName:u.currentTenant?.companyName??T,entityType:"reimbursement.details",entityId:e.id??T}),f.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??T,u.controllersList.controllers.map(W=>Qe(W)),void 0,void 0,Co)}}):null]})},jo=o.div`
432
+ `,ke={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},Lt=ee.getLocalizedStrings(),H=Lt.spendManagement.reimbursement.reimbursementByTabs,{commentOnField:Co}=Lt.collaboration,jo=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:s,date:g,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:w})=>{const b=J(),u=Ie(),a=B.useRef(null),[n,c]=B.useState(0);B.useLayoutEffect(()=>{a.current&&c(a.current.offsetWidth*_t)},[b]);const f=Ye().analytics,I=Xe(),C=`dashboard_${u.currentTenant?.companyId}`,m=e.reimbursementTypesIncluded,k=ze(y),T=ee.getLocalizedStrings().common.strings.empty,{threads:A,isLoading:R}=qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),v=B.useMemo(()=>A.filter(j=>j.resolved===!1),[A]);return t.jsxs(Po,{windowSize:b,onClick:()=>{w(e.id)},isProcessing:d,isSelected:r,statusCode:l?.code??T,"data-testid":Q("remi-row-click",e.id),children:[t.jsx(Bo,{children:t.jsxs(_o,{children:[t.jsxs(Io,{windowSize:b,responsiveWidth:pe[0].width,ref:a,children:[t.jsx(zo,{windowSize:b,reportNameWidth:n,children:e.reportTitle??H.newReimbursementTitle}),s!=null&&t.jsx(Ao,{children:`${H.byText} ${s?.firstName} ${s?.lastName}`})]}),t.jsx(Do,{windowSize:b,responsiveWidth:pe[1].width,children:g}),m.length>1?t.jsx(mt,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:H.reimbursementType.both,placement:"bottom-start",display:"flex",children:H.reimbursementType.titleForBoth})}):t.jsx(mt,{windowSize:b,responsiveWidth:pe[2].width,children:H.reimbursementType[m[0]]}),t.jsxs(Eo,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Fo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??H.hyphenText}):t.jsx(Ro,{children:H.hyphenText}),y!==void 0&&k.length>0?k.length>1?t.jsx(Y,{title:`${H.byText} `+k.join(` ${H.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${H.byText} `+k[0]+`${H.dots}`})}):t.jsx(He,{children:`${H.byText} `+k[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[4].width,children:Ae("0,0[.]00",e.amount)})]})}),$&&v.length>0?t.jsx(Je,{isLoading:R,count:v.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:j=>{j.stopPropagation(),I?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:C,companyId:u.currentTenant?.companyId??T,companyName:u.currentTenant?.companyName??T,entityType:"reimbursement.details",entityId:e.id??T}),f.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??T,u.controllersList.controllers.map(W=>Qe(W)),void 0,void 0,Co)}}):null]})},Po=o.div`
433
433
  display: flex;
434
434
  margin-bottom: ${i.sp3};
435
435
  background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
@@ -547,7 +547,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
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 h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},V=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Mo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:s,bulkSelectFormId:g,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:w,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:a})=>{const n=J(),{getValues:c,setValue:f}=wt(),I=e.reimbursementTypesIncluded,C=ze(b),m=fe(At[d]),k=c(g),T=B.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!s&&f(g,[...k,e.id])},[g,y,s,f,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,k]),A=B.useCallback(()=>{T()},[T]),R=B.useCallback(P=>{P.stopPropagation(),P.cancelable&&P.preventDefault(),x?T():a(e.id)},[T,x,a,e.id]),v=zt({onLongPress:A},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Oo,{windowSize:n,statusCode:l?.code??"",isProcessing:r,isSelected:s,children:t.jsx(Vo,{onClick:R,...v,"data-testid":Q("remi-row-click-mobile",e.id),children:t.jsxs(No,{children:[t.jsxs(Wo,{children:[t.jsxs(Uo,{children:[t.jsx(Ho,{windowSize:n,children:e.reportTitle??V.newReimbursementTitle}),$!=null&&t.jsx(Go,{children:`${V.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Xo,{children:[m[1].value+": ",w]}),I.length>1?t.jsx(Y,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ut,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ut,{children:[V.reimbursementType.type+": ",V.reimbursementType[I[0]]]})]}),t.jsxs(Ko,{children:[t.jsx(Zo,{children:Ae("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[l!==void 0?t.jsx(qo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??V.hyphenText}):t.jsx(t.Fragment,{children:V.hyphenText}),b!==void 0&&C.length>0?C.length>1?t.jsx(Y,{title:`${V.byText} `+C.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+C[0]+`${V.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+C[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},Oo=o.div`
550
+ `,me={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},V=ee.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Mo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:s,bulkSelectFormId:g,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:w,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:a})=>{const n=J(),{getValues:c,setValue:f}=wt(),I=e.reimbursementTypesIncluded,C=ze(b),m=fe(At[d]),k=c(g),T=B.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!s&&f(g,[...k,e.id])},[g,y,s,f,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,k]),A=B.useCallback(()=>{T()},[T]),R=B.useCallback(j=>{j.stopPropagation(),j.cancelable&&j.preventDefault(),x?T():a(e.id)},[T,x,a,e.id]),v=zt({onLongPress:A},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Oo,{windowSize:n,statusCode:l?.code??"",isProcessing:r,isSelected:s,children:t.jsx(Vo,{onClick:R,...v,"data-testid":Q("remi-row-click-mobile",e.id),children:t.jsxs(No,{children:[t.jsxs(Wo,{children:[t.jsxs(Uo,{children:[t.jsx(Ho,{windowSize:n,children:e.reportTitle??V.newReimbursementTitle}),$!=null&&t.jsx(Go,{children:`${V.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Xo,{children:[m[1].value+": ",w]}),I.length>1?t.jsx(Y,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ut,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ut,{children:[V.reimbursementType.type+": ",V.reimbursementType[I[0]]]})]}),t.jsxs(Ko,{children:[t.jsx(Zo,{children:Ae("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[l!==void 0?t.jsx(qo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??V.hyphenText}):t.jsx(t.Fragment,{children:V.hyphenText}),b!==void 0&&C.length>0?C.length>1?t.jsx(Y,{title:`${V.byText} `+C.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+C[0]+`${V.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+C[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},Oo=o.div`
551
551
  display: flex;
552
552
  margin-bottom: ${i.sp3};
553
553
  background-color: ${e=>e.theme.colors.grey5};
@@ -663,7 +663,7 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
663
663
  border: ${e=>`1px solid ${e.borderColor}`};
664
664
  border-radius: ${i.sp1};
665
665
  margin-left: auto;
666
- `,Jo={lastListItemHeight:new h(200,158)},S=ee.getLocalizedStrings(),{common:{texts:{maxLimit:Qo}},spendManagement:{billPay:Dt,reimbursement:el}}=S,K=Dt.bulkActions,M=el.bulkActions,F=S.common.strings.empty,ue="bulkSelectIds",tl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:w,searchText:b,isAdmin:u,entity:a,uiState:n,bulkSubmissionLimit:c,isBulkActionAllowed:f,transactionsSelectedForBulkAction:I,isDetectInsufficientFundsEnabled:C,fetchState:m,analytics:k,onTransactionRowClick:T,onReloadTransactions:A,onColumnSortConfigChanged:R})=>{const v=J(),P=j=>{const ie=a==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??F:e[j].reportTitle??F;return yi(ie,v)},W=B.useRef(null);B.useEffect(()=>{W.current?.resetAfterIndex(0)},[v,W,d,r]);const te=B.forwardRef((j,ie)=>{const{children:oe,style:U,...de}=j;return t.jsx(Tl,{ref:ie,style:{...U,width:"auto"},...de,children:t.jsx(kl,{children:oe})})});return te.displayName=S.spendManagement.billPay.billsByTabs.headerElementDisplayName,Xt({componentName:`${mi(a)}.${ui(d,a)}`,enabled:m==="Completed"}),t.jsx(gl,{children:m==="Error"?t.jsxs(xl,{children:[t.jsx(wl,{onClick:A,children:t.jsx(fl,{})}),t.jsx($l,{children:S.peoplePage.reloadPage.label})]}):m==="Completed"&&e.length===0&&b!=F?t.jsx(ot,{message:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataWithFilterText:S.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):m==="Completed"&&e.length===0?t.jsx(ot,{message:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataText:S.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataTextViaMail:S.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:a==="bill_pay"?void 0:S.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):m==="Not-Started"||m==="In-Progress"?t.jsx(ci,{fetchState:m,styles:{margin:"auto"}}):t.jsx(vl,{windowSize:v,children:t.jsx(Yt,{children:({height:j,width:ie})=>t.jsx(qt,{ref:W,height:j,itemCount:a==="bill_pay"||a==="reimbursement"?1:e.length,innerElementType:te,itemSize:P,estimatedItemSize:gi,itemKey:oe=>e[oe].id,width:ie,overscanCount:hi,itemData:{entity:a,isBulkActionAllowed:f,isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:w,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:I,bulkSubmissionLimit:c,uiState:n,analytics:k,isDetectInsufficientFundsEnabled:C,onTransactionRowClick:T,onColumnSortConfigChanged:R},initialScrollOffset:0,children:il})})})})},ql=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:s,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:a,entity:n,uiState:c,bulkSubmissionLimit:f,isBulkActionAllowed:I,isRecurringBillInBulkActionList:C,transactionsSelectedForBulkAction:m,allowedBulkActions:k,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:A,onTransactionRowClick:R,onSubtabChange:v,fetchState:P,onReloadTransactions:W,onColumnSortConfigChanged:te,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:U})=>{const de=Vt({defaultValues:{bulkSelectIds:m},values:{bulkSelectIds:m}});B.useEffect(()=>{const z=de.watch((L,{name:_})=>{_!=null&&L!=null&&Nt(()=>Ne(_,L))});return()=>{z.unsubscribe()}});const Ne=async(z,L)=>{if(z===ue){let _=[];if(L[ue].includes(S.common.all.toLowerCase())){if(s==="scheduled"&&m.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===f)break}else _=L[ue].filter(D=>D!==S.common.all.toLowerCase());if(n==="bill_pay"){const D=e.filter($e=>_.includes($e.id)),le=Te(D);j?.trackBillPayBulkSelectAll(s,u,le)}else{const D=e.filter($e=>_.includes($e.id)),le=Ce(D.map($e=>$e.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(s,u,le)}}else _=L[ue];ie?.(_)}},ge=J(),[Z,ye]=B.useState(!1),[X,We]=B.useState({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F});B.useEffect(()=>{const z=Wt(s,u,n);P==="Completed"&&z!=null&&j?.trackPageLoaded(z,n==="bill_pay"?"Bills":"Reimbursements")},[j,s,u,n,P]);const Et=B.useCallback(()=>{const{title:z,description:L}=ul(n,m.length,s,C);if(We({type:"delete",title:z,description:L,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),n==="bill_pay"){const _=e.filter(le=>m.includes(le.id)),D=Te(_);j?.trackBillPayBulkDeleted(m.length,s,u,D)}else{const _=e.filter(le=>m.includes(le.id)),D=Ce(_.map(le=>le.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(m.length,s,u,D)}ye(!0)},[n,j,C,u,s,e,m]),Ft=B.useCallback(()=>{const{title:z,description:L}=ml(n,m.length);We({type:"cancel",title:z,description:L,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),ye(!0)},[n,m.length]),Mt={onOkClick:z=>{if(ye(!1),n==="bill_pay"){const L=e.filter(D=>m.includes(D.id)),_=Te(L);j?.trackBillPayBulkPopupConfirm(X.type,s,u,_)}else{const L=e.filter(D=>m.includes(D.id)),_=Ce(L.map(D=>D.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(X.type,s,u,_)}X.type==="delete"?U?.("delete",z):U?.("cancel",z)},onCancelClick:()=>{oe?.(),ye(!1),We({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F})}},Ot=B.useCallback(()=>{if(n==="bill_pay"){const z=e.filter(_=>m.includes(_.id)),L=Te(z);j?.trackBillPayBulkSelection(m.length,s,u,L)}else{const z=e.filter(_=>m.includes(_.id)),L=Ce(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(m.length,s,u,L)}k.includes("send_for_approval")?U?.("send_for_approval"):U?.(A?"approve":"review")},[n,k,e,j,m,s,u,U,A]),it=k.filter(z=>z!=="delete").length>0;return t.jsxs(bl,{children:[t.jsx(pi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:n,enablePerformanceTracking:!1,onTabSelectedChange:z=>{v(z)},isSwitcherLeftAlign:!0}),t.jsx(Kt,{...de,children:t.jsxs(yl,{onSubmit:de.handleSubmit(()=>{k.includes("cancel")?Ft():Ot()}),children:[t.jsx(tl,{botEmail:l,selectedTab:s,selectedSubTab:u,searchText:a,transactionList:e,fetchState:P,onReloadTransactions:W,onTransactionRowClick:R,entity:n,uiState:c,isAdmin:r,onColumnSortConfigChanged:te,analytics:j,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:f,isBulkActionAllowed:I,transactionsSelectedForBulkAction:m,isDetectInsufficientFundsEnabled:A}),Z?t.jsx(Ut,{titleComponent:t.jsx(Gt,{children:X.title}),descriptionComponent:t.jsx(Ht,{children:X.description}),primaryButtonText:X.primaryButtonText,proceedButtonVariant:X.type==="delete"?"danger":"primary",secondaryButtonText:X.secondaryButtonText,action:Mt,isNotesIncluded:s!=="draft",isEditPopup:!0}):null,m.length>0?t.jsx(Zt,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&it?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:it,primaryBtn:{label:dl(n,k,m.length),isLoading:X.type!=="delete"&&T==="In-Progress",isDisabled:X.type==="delete"&&T==="In-Progress",type:"submit",style:cl(k)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:pl(k,ge)},leftSideComponent:sl(m.length,f,n,ge),rightSideComponent:k.includes("delete")?al(m.length,X.type==="delete"&&T==="In-Progress",Et,ge):null}):null]})})]})},il=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:s,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:w,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:a,bulkSubmissionLimit:n,selectedTab:c,uiState:f,analytics:I,isDetectInsufficientFundsEnabled:C,onTransactionRowClick:m,onColumnSortConfigChanged:k}=l,T=J(),A=Ze(),R=y?s.length>0?"always_on":"checked_or_hover":"off";return t.jsx(Sl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ti,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:T==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:nl(T),labelCheckBoxStyle:{marginLeft:T==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:A.colors.grey4},infoIconContainerStyle:rl(T),name:ue,mode:R,selectionLimit:n,checkBoxes:d==="bill_pay"?[{label:t.jsx(vi,{companyNameSticky:!1,currentTab:c,onColumnSortConfigChanged:k,sortConfig:{sortKey:f.sortKey,sortOrder:f.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(v=>{const P=w?.includes(v.id)??!1;return{label:t.jsx(ol,{transactionDetail:v,selectedTab:c,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:m,billsSelectedForBulkAction:s,bulkSelectFormId:ue,bulkSelectLimit:n,isSelectionMode:R==="always_on",isDetectInsufficientFundsEnabled:C,billPayApprovalRulesAffectedEntityIds:w}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:hl(v,s),exceptionInfo:P?S.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",S.spendManagement.billPay.bulkActions.bill):ht(d,v),exceptionType:P?"info":gt(v)}})]:[{label:t.jsx(xo,{companyNameSticky:!1,currentTab:c,onColumnSortConfigChanged:k,analytics:I,sortConfig:{sortKey:f.sortKey,sortOrder:f.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(v=>{const P=b?.includes(v.id)??!1;return{label:t.jsx(ll,{transactionDetail:v,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:a,selectedTab:c,isAdmin:g,onTransactionRowClick:m,remisSelectedForBulkAction:s,bulkSelectFormId:ue,bulkSelectLimit:n,isSelectionMode:R==="always_on",isAffectedByApprovalRuleUpdate:P}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?S.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",S.spendManagement.reimbursement.reimbursementDetail.reimbursement):ht(d,v),exceptionType:P?"info":gt(v)}})]})})},ol=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:s,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:w,billPayApprovalRulesAffectedEntityIds:b})=>{const u=J()==="small"?Yi:Ai,a=oi(e,l),{bulkProcessingDetail:n}=e,c=Le(n?.type),f=b?.includes(e.id)??!1,I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?li(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,C=ni(e.billPayInfo,l,d,e.isDeleted,e.dueDate),m=I!=null&&C?.code!=="failed"&&C?.code!=="processing"&&C?.code!=="cancelled"&&C?.code!=="returned"&&C?.code!=="rejected"&&C?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:a,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:c,isAffectedByApprovalRuleUpdate:f,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:s,tagStatus:C,approvers:e.isDeleted===!0?void 0:bt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?yt(e,l):void 0,onTransactionRowClick:c||f?()=>null:w,paidAdditionalInfo:l!=="paid"||e.isDeleted?void 0:(()=>{const k=e.billPayInfo.outsideZeniTransactionPaymentMode;if(k==null||k==="other")return;const T=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(A=>A.value===k)?.label;return`${S.common.via} ${T}`})(),lowBalanceAlert:I,showLowBalanceTooltip:m})})},ll=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:s,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:w,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=J()==="small"?Mo:Po,a=Ie(),n=ri(a),c=si(d,e.submittedBy,n),{bulkProcessingDetail:f}=e,I=Le(f?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:c,reimbursementDetail:e,isReimbursementCommentingEnabled:s,isSelected:g.includes(e.id),isProcessing:I,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:di(e,l),approvers:e.isDeleted===!0?void 0:bt(e,l),tagStatus:ai(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?yt(e,l):void 0,onTransactionRowClick:I?()=>null:w})})},nl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},rl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},sl=(e,l,d,r)=>{const s=d==="bill_pay"?K.bill:M.report,g=(e>1?s+"s":s)+K.selected;return e>0?t.jsxs(Bl,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(_l,{multiDigit:e>=10,children:e}),t.jsx(Il,{children:g}),e===l?t.jsx(zl,{children:Qo}):null]}):null},al=(e,l,d,r)=>e>0?t.jsx(Cl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Pl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(Jt,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:S.common.delete,placement:"top",children:t.jsx(jl,{})})})}):null,ht=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,s=Le(d?.type),g=d?.type==="error";let y;if(s)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=S.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=S.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},dl=(e,l,d)=>{const{billPay:r}=S.spendManagement;return l.includes("cancel")?e==="reimbursement"?M.popUps.cancel.title.replace("__report__",d>1?M.reports:M.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:S.common.review},cl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},pl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},ml=(e,l)=>{const{this_:d,these:r,payment:s,payments:g,bills:y,bill:x,reports:$,report:w,they:b,it:u}=S.common.texts;return l>1?e==="bill_pay"?{title:K.popUps.cancel.title.replace("<_bill_>",S.drawerMenus.bills),description:K.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:M.popUps.cancel.title.replace("__report__",M.reports),description:M.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:M.popUps.cancel.title.replace("__report__",M.report),description:M.popUps.cancel.description.replace("<_this_>",d).replace("__report__",w).replace("<_it_>",u).replace("<_payment_>",s)}:{title:K.popUps.cancel.title.replace("<_bill_>",K.bill),description:K.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",s)}},ul=(e,l,d,r)=>{const{this_:s,these:g,payment:y,payments:x,bills:$,bill:w,report:b,reports:u,they:a,it:n}=S.common.texts,c=l>1;let f=F;f=e==="bill_pay"?K.popUps.delete.title.replace("<_bill_>",c?K.bills:K.bill):M.popUps.delete.title.replace("__report__",c?M.reports:M.report);let I=F;return I=d==="draft"?e==="bill_pay"?K.popUps.delete.descriptionDraft.replace("<_this_>",c?g:s).replace("<_bill_>",c?$:w):M.popUps.delete.descriptionDraft.replace("<_this_>",c?g:s).replace("__report__",c?u:b):r?K.popUps.delete.descriptionRecurring.replace("<_payment_>",c?y:x):e==="bill_pay"?K.popUps.delete.descriptionOther.replace("<_this_>",c?g:s).replace("<_bill_>",c?$:w).replace("<_it_>",c?a:n).replace("<_payment_>",c?x:y):M.popUps.delete.descriptionOther.replace("<_this_>",c?g:s).replace("__report__",c?u:b).replace("<_it_>",c?a:n).replace("<_payment_>",c?x:y),{title:f,description:I}},hl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length!==0||d==null||d!=="bookCloseDateProcessing"&&d!=="noActionRecurring"?"checked_or_hover":"hover_only"},gt=e=>Le(e.bulkProcessingDetail?.type)?"info":"alert",gl=o.div`
666
+ `,Jo={lastListItemHeight:new h(200,158)},S=ee.getLocalizedStrings(),{common:{texts:{maxLimit:Qo}},spendManagement:{billPay:Dt,reimbursement:el}}=S,K=Dt.bulkActions,M=el.bulkActions,F=S.common.strings.empty,ue="bulkSelectIds",tl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:w,searchText:b,isAdmin:u,entity:a,uiState:n,bulkSubmissionLimit:c,isBulkActionAllowed:f,transactionsSelectedForBulkAction:I,isDetectInsufficientFundsEnabled:C,fetchState:m,analytics:k,onTransactionRowClick:T,onReloadTransactions:A,onColumnSortConfigChanged:R})=>{const v=J(),j=P=>{const ie=a==="bill_pay"?e[P].vendor?.name??e[P].candidateVendorName??F:e[P].reportTitle??F;return yi(ie,v)},W=B.useRef(null);B.useEffect(()=>{W.current?.resetAfterIndex(0)},[v,W,d,r]);const te=B.forwardRef((P,ie)=>{const{children:oe,style:U,...de}=P;return t.jsx(Tl,{ref:ie,style:{...U,width:"auto"},...de,children:t.jsx(kl,{children:oe})})});return te.displayName=S.spendManagement.billPay.billsByTabs.headerElementDisplayName,Xt({componentName:`${mi(a)}.${ui(d,a)}`,enabled:m==="Completed"}),t.jsx(gl,{children:m==="Error"?t.jsxs(xl,{children:[t.jsx(wl,{onClick:A,children:t.jsx(fl,{})}),t.jsx($l,{children:S.peoplePage.reloadPage.label})]}):m==="Completed"&&e.length===0&&b!=F?t.jsx(ot,{message:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataWithFilterText:S.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):m==="Completed"&&e.length===0?t.jsx(ot,{message:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataText:S.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:a==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataTextViaMail:S.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:a==="bill_pay"?void 0:S.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):m==="Not-Started"||m==="In-Progress"?t.jsx(ci,{fetchState:m,styles:{margin:"auto"}}):t.jsx(vl,{windowSize:v,children:t.jsx(Yt,{children:({height:P,width:ie})=>t.jsx(qt,{ref:W,height:P,itemCount:a==="bill_pay"||a==="reimbursement"?1:e.length,innerElementType:te,itemSize:j,estimatedItemSize:gi,itemKey:oe=>e[oe].id,width:ie,overscanCount:hi,itemData:{entity:a,isBulkActionAllowed:f,isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:w,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:I,bulkSubmissionLimit:c,uiState:n,analytics:k,isDetectInsufficientFundsEnabled:C,onTransactionRowClick:T,onColumnSortConfigChanged:R},initialScrollOffset:0,children:il})})})})},ql=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:s,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:a,entity:n,uiState:c,bulkSubmissionLimit:f,isBulkActionAllowed:I,isRecurringBillInBulkActionList:C,transactionsSelectedForBulkAction:m,allowedBulkActions:k,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:A,onTransactionRowClick:R,onSubtabChange:v,fetchState:j,onReloadTransactions:W,onColumnSortConfigChanged:te,analytics:P,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:U})=>{const de=Vt({defaultValues:{bulkSelectIds:m},values:{bulkSelectIds:m}});B.useEffect(()=>{const z=de.watch((L,{name:_})=>{_!=null&&L!=null&&Nt(()=>Ne(_,L))});return()=>{z.unsubscribe()}});const Ne=async(z,L)=>{if(z===ue){let _=[];if(L[ue].includes(S.common.all.toLowerCase())){if(s==="scheduled"&&m.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===f)break}else _=L[ue].filter(D=>D!==S.common.all.toLowerCase());if(n==="bill_pay"){const D=e.filter($e=>_.includes($e.id)),le=Te(D);P?.trackBillPayBulkSelectAll(s,u,le)}else{const D=e.filter($e=>_.includes($e.id)),le=Ce(D.map($e=>$e.reimbursementTypesIncluded));P?.trackReimbursementBulkSelectAll(s,u,le)}}else _=L[ue];ie?.(_)}},ge=J(),[Z,ye]=B.useState(!1),[X,We]=B.useState({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F});B.useEffect(()=>{const z=Wt(s,u,n);j==="Completed"&&z!=null&&P?.trackPageLoaded(z,n==="bill_pay"?"Bills":"Reimbursements")},[P,s,u,n,j]);const Et=B.useCallback(()=>{const{title:z,description:L}=ul(n,m.length,s,C);if(We({type:"delete",title:z,description:L,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),n==="bill_pay"){const _=e.filter(le=>m.includes(le.id)),D=Te(_);P?.trackBillPayBulkDeleted(m.length,s,u,D)}else{const _=e.filter(le=>m.includes(le.id)),D=Ce(_.map(le=>le.reimbursementTypesIncluded));P?.trackReimbursementBulkDeleted(m.length,s,u,D)}ye(!0)},[n,P,C,u,s,e,m]),Ft=B.useCallback(()=>{const{title:z,description:L}=ml(n,m.length);We({type:"cancel",title:z,description:L,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),ye(!0)},[n,m.length]),Mt={onOkClick:z=>{if(ye(!1),n==="bill_pay"){const L=e.filter(D=>m.includes(D.id)),_=Te(L);P?.trackBillPayBulkPopupConfirm(X.type,s,u,_)}else{const L=e.filter(D=>m.includes(D.id)),_=Ce(L.map(D=>D.reimbursementTypesIncluded));P?.trackReimbursementBulkPopupConfirm(X.type,s,u,_)}X.type==="delete"?U?.("delete",z):U?.("cancel",z)},onCancelClick:()=>{oe?.(),ye(!1),We({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F})}},Ot=B.useCallback(()=>{if(n==="bill_pay"){const z=e.filter(_=>m.includes(_.id)),L=Te(z);P?.trackBillPayBulkSelection(m.length,s,u,L)}else{const z=e.filter(_=>m.includes(_.id)),L=Ce(z.map(_=>_.reimbursementTypesIncluded));P?.trackReimbursementBulkSelection(m.length,s,u,L)}k.includes("send_for_approval")?U?.("send_for_approval"):U?.(A?"approve":"review")},[n,k,e,P,m,s,u,U,A]),it=k.filter(z=>z!=="delete").length>0;return t.jsxs(bl,{children:[t.jsx(pi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:n,enablePerformanceTracking:!1,onTabSelectedChange:z=>{v(z)},isSwitcherLeftAlign:!0}),t.jsx(Kt,{...de,children:t.jsxs(yl,{onSubmit:de.handleSubmit(()=>{k.includes("cancel")?Ft():Ot()}),children:[t.jsx(tl,{botEmail:l,selectedTab:s,selectedSubTab:u,searchText:a,transactionList:e,fetchState:j,onReloadTransactions:W,onTransactionRowClick:R,entity:n,uiState:c,isAdmin:r,onColumnSortConfigChanged:te,analytics:P,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:f,isBulkActionAllowed:I,transactionsSelectedForBulkAction:m,isDetectInsufficientFundsEnabled:A}),Z?t.jsx(Ut,{titleComponent:t.jsx(Gt,{children:X.title}),descriptionComponent:t.jsx(Ht,{children:X.description}),primaryButtonText:X.primaryButtonText,proceedButtonVariant:X.type==="delete"?"danger":"primary",secondaryButtonText:X.secondaryButtonText,action:Mt,isNotesIncluded:s!=="draft",isEditPopup:!0}):null,m.length>0?t.jsx(Zt,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&it?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:it,primaryBtn:{label:dl(n,k,m.length),isLoading:X.type!=="delete"&&T==="In-Progress",isDisabled:X.type==="delete"&&T==="In-Progress",type:"submit",style:cl(k)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:pl(k,ge)},leftSideComponent:sl(m.length,f,n,ge),rightSideComponent:k.includes("delete")?al(m.length,X.type==="delete"&&T==="In-Progress",Et,ge):null}):null]})})]})},il=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:s,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:w,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:a,bulkSubmissionLimit:n,selectedTab:c,uiState:f,analytics:I,isDetectInsufficientFundsEnabled:C,onTransactionRowClick:m,onColumnSortConfigChanged:k}=l,T=J(),A=Ze(),R=y?s.length>0?"always_on":"checked_or_hover":"off";return t.jsx(Sl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ti,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:T==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:nl(T),labelCheckBoxStyle:{marginLeft:T==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:A.colors.grey4},infoIconContainerStyle:rl(T),name:ue,mode:R,selectionLimit:n,checkBoxes:d==="bill_pay"?[{label:t.jsx(vi,{companyNameSticky:!1,currentTab:c,onColumnSortConfigChanged:k,sortConfig:{sortKey:f.sortKey,sortOrder:f.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(v=>{const j=w?.includes(v.id)??!1;return{label:t.jsx(ol,{transactionDetail:v,selectedTab:c,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:m,billsSelectedForBulkAction:s,bulkSelectFormId:ue,bulkSelectLimit:n,isSelectionMode:R==="always_on",isDetectInsufficientFundsEnabled:C,billPayApprovalRulesAffectedEntityIds:w}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1||j,exceptionMode:hl(v,s),exceptionInfo:j?S.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",S.spendManagement.billPay.bulkActions.bill):ht(d,v),exceptionType:j?"info":gt(v)}})]:[{label:t.jsx(xo,{companyNameSticky:!1,currentTab:c,onColumnSortConfigChanged:k,analytics:I,sortConfig:{sortKey:f.sortKey,sortOrder:f.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(v=>{const j=b?.includes(v.id)??!1;return{label:t.jsx(ll,{transactionDetail:v,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:a,selectedTab:c,isAdmin:g,onTransactionRowClick:m,remisSelectedForBulkAction:s,bulkSelectFormId:ue,bulkSelectLimit:n,isSelectionMode:R==="always_on",isAffectedByApprovalRuleUpdate:j}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1||j,exceptionMode:"checked_or_hover",exceptionInfo:j?S.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",S.spendManagement.reimbursement.reimbursementDetail.reimbursement):ht(d,v),exceptionType:j?"info":gt(v)}})]})})},ol=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:s,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:w,billPayApprovalRulesAffectedEntityIds:b})=>{const u=J()==="small"?Yi:Ai,a=oi(e,l),{bulkProcessingDetail:n}=e,c=Le(n?.type),f=b?.includes(e.id)??!1,I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?li(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,C=ni(e.billPayInfo,l,d,e.isDeleted,e.dueDate),m=I!=null&&C?.code!=="failed"&&C?.code!=="processing"&&C?.code!=="cancelled"&&C?.code!=="returned"&&C?.code!=="rejected"&&C?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:a,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:c,isAffectedByApprovalRuleUpdate:f,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:s,tagStatus:C,approvers:e.isDeleted===!0?void 0:bt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?yt(e,l):void 0,onTransactionRowClick:c||f?()=>null:w,paidAdditionalInfo:l!=="paid"||e.isDeleted?void 0:(()=>{const k=e.billPayInfo.outsideZeniTransactionPaymentMode;if(k==null||k==="other")return;const T=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(A=>A.value===k)?.label;return`${S.common.via} ${T}`})(),lowBalanceAlert:I,showLowBalanceTooltip:m})})},ll=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:s,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:w,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=J()==="small"?Mo:jo,a=Ie(),n=ri(a),c=si(d,e.submittedBy,n),{bulkProcessingDetail:f}=e,I=Le(f?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:c,reimbursementDetail:e,isReimbursementCommentingEnabled:s,isSelected:g.includes(e.id),isProcessing:I,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:di(e,l),approvers:e.isDeleted===!0?void 0:bt(e,l),tagStatus:ai(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?yt(e,l):void 0,onTransactionRowClick:I?()=>null:w})})},nl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},rl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},sl=(e,l,d,r)=>{const s=d==="bill_pay"?K.bill:M.report,g=(e>1?s+"s":s)+K.selected;return e>0?t.jsxs(Bl,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(_l,{multiDigit:e>=10,children:e}),t.jsx(Il,{children:g}),e===l?t.jsx(zl,{children:Qo}):null]}):null},al=(e,l,d,r)=>e>0?t.jsx(Cl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(jl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(Jt,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:S.common.delete,placement:"top",children:t.jsx(Pl,{})})})}):null,ht=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,s=Le(d?.type),g=d?.type==="error";let y;if(s)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=S.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=S.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},dl=(e,l,d)=>{const{billPay:r}=S.spendManagement;return l.includes("cancel")?e==="reimbursement"?M.popUps.cancel.title.replace("__report__",d>1?M.reports:M.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:S.common.review},cl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},pl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},ml=(e,l)=>{const{this_:d,these:r,payment:s,payments:g,bills:y,bill:x,reports:$,report:w,they:b,it:u}=S.common.texts;return l>1?e==="bill_pay"?{title:K.popUps.cancel.title.replace("<_bill_>",S.drawerMenus.bills),description:K.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:M.popUps.cancel.title.replace("__report__",M.reports),description:M.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:M.popUps.cancel.title.replace("__report__",M.report),description:M.popUps.cancel.description.replace("<_this_>",d).replace("__report__",w).replace("<_it_>",u).replace("<_payment_>",s)}:{title:K.popUps.cancel.title.replace("<_bill_>",K.bill),description:K.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",s)}},ul=(e,l,d,r)=>{const{this_:s,these:g,payment:y,payments:x,bills:$,bill:w,report:b,reports:u,they:a,it:n}=S.common.texts,c=l>1;let f=F;f=e==="bill_pay"?K.popUps.delete.title.replace("<_bill_>",c?K.bills:K.bill):M.popUps.delete.title.replace("__report__",c?M.reports:M.report);let I=F;return I=d==="draft"?e==="bill_pay"?K.popUps.delete.descriptionDraft.replace("<_this_>",c?g:s).replace("<_bill_>",c?$:w):M.popUps.delete.descriptionDraft.replace("<_this_>",c?g:s).replace("__report__",c?u:b):r?K.popUps.delete.descriptionRecurring.replace("<_payment_>",c?y:x):e==="bill_pay"?K.popUps.delete.descriptionOther.replace("<_this_>",c?g:s).replace("<_bill_>",c?$:w).replace("<_it_>",c?a:n).replace("<_payment_>",c?x:y):M.popUps.delete.descriptionOther.replace("<_this_>",c?g:s).replace("__report__",c?u:b).replace("<_it_>",c?a:n).replace("<_payment_>",c?x:y),{title:f,description:I}},hl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length!==0||d==null||d!=="bookCloseDateProcessing"&&d!=="noActionRecurring"?"checked_or_hover":"hover_only"},gt=e=>Le(e.bulkProcessingDetail?.type)?"info":"alert",gl=o.div`
667
667
  display: block;
668
668
  height: 100%;
669
669
  `,yl=o.form`
@@ -720,11 +720,11 @@ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as G
720
720
  `,Cl=o.div`
721
721
  display: flex;
722
722
  justify-content: flex-end;
723
- `,Pl=o.div`
723
+ `,jl=o.div`
724
724
  margin-right: ${i.sp8};
725
725
  cursor: ${e=>e.isLoading?"initial":"pointer"};
726
726
  color: ${e=>e.windowSize==="small"?q.important:e.theme.colors.grey1};
727
- `,jl=o(ii)`
727
+ `,Pl=o(ii)`
728
728
  width: ${i.sp4};
729
729
  height: ${i.sp4};
730
730
  cursor: pointer;
@@ -1,4 +1,4 @@
1
- import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as P,bE as $e,b2 as Y,l as V,bP as J,L as pe,k as N,a as Ce,x as he,bx as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,v as Le,d as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-ByxsQZNo.js";import{a}from"./sentry-COYnhuxW.js";import{n as s,k as _e}from"./mui-40xepic5.js";import{y as Ee}from"./MoreMenuButton-C_jqM-Ix-D5fFt93A.js";import{t as Pe}from"./filter-cZIFUNvj-DAakc3sS.js";import{g as K}from"./ZeniDatePicker-9JxwH7J5-CcV9D7gC.js";import{r as Re}from"./avatar-Dz7aEm3d-BdKWS97a.js";import{Gd as Be,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-DCforPdM.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]="5a67e361-6c60-4e56-b25e-6a3c2b30cd63",e._sentryDebugIdIdentifier="sentry-dbid-5a67e361-6c60-4e56-b25e-6a3c2b30cd63")}catch{}})();const Ge=s.div`
1
+ import{V as r,gr as ye,o,b as I,gs as be,j as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as E,bE as $e,b2 as Y,l as V,bP as J,L as pe,m as N,a as Ce,x as he,bx as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,B as Le,f as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-BHAcVHeH.js";import{a}from"./sentry-CY6wsJT-.js";import{n as s,k as _e}from"./mui-Cni6P-fz.js";import{y as Be}from"./MoreMenuButton-5MZl4h9B-BympoCwa.js";import{t as Ee}from"./filter-cZIFUNvj-Cn5LR_-W.js";import{g as K}from"./ZeniDatePicker-C_YQpGe--CXBBhIwN.js";import{r as Re}from"./avatar-Dz7aEm3d-lVrrjTFE.js";import{Gd as Pe,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-cFF_NqwA.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]="65ef0007-4c81-4914-a531-4858c65e7956",e._sentryDebugIdIdentifier="sentry-dbid-65ef0007-4c81-4914-a531-4858c65e7956")}catch{}})();const Ge=s.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  height: ${o.sp6};
@@ -32,7 +32,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
32
32
  color: ${e=>e.theme.colors.primary};
33
33
  }
34
34
  }
35
- `,Ye=s(ye)`
35
+ `,Ye=s(be)`
36
36
  padding: 0 0 0 28px;
37
37
  outline: none;
38
38
  border: none;
@@ -86,7 +86,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
86
86
  border-top-right-radius: ${o.sp1};
87
87
  border-bottom-right-radius: ${o.sp1};
88
88
  box-sizing: border-box;
89
- `,ge=a.forwardRef(({onSearchTextChanged:e,onFilterButtonClick:t,isFilterBtnActive:n,isFilterDisabled:d,filtersCount:c,filterText:l,searchPlaceholder:i,includeSearch:b=!0},g)=>{const v=a.useRef(null),y=c!=null&&c>0;return r.jsxs(Ge,{"data-testid":I("spend-management-filters"),children:[b?r.jsxs(Ue,{stretched:l.trim().length>0,children:[r.jsx(Je,{onClick:()=>{v.current?.focus()},children:r.jsx(be,{width:o.sp4,height:o.sp4})}),r.jsx(Ye,{value:l,ref:v,onChange:j=>{e&&e(j.target.value)},type:"text",placeholder:i})]}):null,r.jsx(Ke,{buttonOnly:!b,children:r.jsxs(qe,{isActive:n,isDisabled:d??!1,buttonOnly:!b,ref:g,onClick:()=>{t&&t()},children:[r.jsx(Pe,{width:o.sp4,height:o.sp4}),y&&r.jsx(Xe,{children:c})]})})]})});ge.displayName="SearchBoxWithFilterButton";const Qe=({open:e,anchorEl:t,children:n,paperStyle:d,onClose:c})=>{const l=_();return r.jsx(ve,{transitionDuration:400,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{...d,marginTop:"6px",background:"transparent",boxShadow:`${o.sp0} 2px ${o.sp2} ${l.colors.dropShadowHover}`}},"data-testid":I("cockpit-filters-popover-panel"),onClose:c,children:n})},Ze=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),et=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",minHeight:"unset"}),valueContainer:t=>({...t,height:"100%",padding:0,rowGap:o.sp2,columnGap:o.sp1}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected?e.colors.primary:e.colors.hero,background:n.isSelected?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary}),multiValue:t=>({...t,padding:`${o.sp0} ${o.sp2}`,border:`1px solid ${e.colors.primary}`,background:"none",borderRadius:o.sp1,margin:0,columnGap:o.sp2,alignItems:"center",height:o.sp4}),multiValueLabel:t=>({...t,padding:0,paddingLeft:0,color:e.colors.primary,maxWidth:"200px"}),multiValueRemove:t=>({...t,padding:0,":hover":{background:"none",cursor:"pointer"},svg:{color:e.colors.primary}}),menuList:t=>({...t,backgroundColor:e.colors.grey5}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`,width:"315px",right:`-${o.sp3}`,marginTop:o.sp3}),container:t=>({...t,flex:1})}),tt=({categoryCombinationOperator:e,onChange:t,buttonsDisabled:n})=>{const d=s.button`
89
+ `,ge=a.forwardRef(({onSearchTextChanged:e,onFilterButtonClick:t,isFilterBtnActive:n,isFilterDisabled:d,filtersCount:c,filterText:l,searchPlaceholder:i,includeSearch:y=!0},g)=>{const v=a.useRef(null),b=c!=null&&c>0;return r.jsxs(Ge,{"data-testid":I("spend-management-filters"),children:[y?r.jsxs(Ue,{stretched:l.trim().length>0,children:[r.jsx(Je,{onClick:()=>{v.current?.focus()},children:r.jsx(ye,{width:o.sp4,height:o.sp4})}),r.jsx(Ye,{value:l,ref:v,onChange:j=>{e&&e(j.target.value)},type:"text",placeholder:i})]}):null,r.jsx(Ke,{buttonOnly:!y,children:r.jsxs(qe,{isActive:n,isDisabled:d??!1,buttonOnly:!y,ref:g,onClick:()=>{t&&t()},children:[r.jsx(Ee,{width:o.sp4,height:o.sp4}),b&&r.jsx(Xe,{children:c})]})})]})});ge.displayName="SearchBoxWithFilterButton";const Qe=({open:e,anchorEl:t,children:n,paperStyle:d,onClose:c})=>{const l=_();return r.jsx(ve,{transitionDuration:400,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:{...d,marginTop:"6px",background:"transparent",boxShadow:`${o.sp0} 2px ${o.sp2} ${l.colors.dropShadowHover}`}},"data-testid":I("cockpit-filters-popover-panel"),onClose:c,children:n})},Ze=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),et=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",minHeight:"unset"}),valueContainer:t=>({...t,height:"100%",padding:0,rowGap:o.sp2,columnGap:o.sp1}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,...z.standardRegular.cssObject,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected?e.colors.primary:e.colors.hero,background:n.isSelected?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary}),multiValue:t=>({...t,padding:`${o.sp0} ${o.sp2}`,border:`1px solid ${e.colors.primary}`,background:"none",borderRadius:o.sp1,margin:0,columnGap:o.sp2,alignItems:"center",height:o.sp4}),multiValueLabel:t=>({...t,padding:0,paddingLeft:0,color:e.colors.primary,maxWidth:"200px"}),multiValueRemove:t=>({...t,padding:0,":hover":{background:"none",cursor:"pointer"},svg:{color:e.colors.primary}}),menuList:t=>({...t,backgroundColor:e.colors.grey5}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`,width:"315px",right:`-${o.sp3}`,marginTop:o.sp3}),container:t=>({...t,flex:1})}),tt=({categoryCombinationOperator:e,onChange:t,buttonsDisabled:n})=>{const d=s.button`
90
90
  padding: ${o.sp2};
91
91
  outline: none;
92
92
  border: none;
@@ -100,7 +100,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
100
100
  border: ${i=>"1px solid "+i.theme.colors.grey3};
101
101
  border-radius: ${o.sp1};
102
102
  overflow: hidden;
103
- `;return r.jsxs(l,{"data-testid":I("cockpit-filters-combop-wrapper"),children:[r.jsx(d,{disabled:n,onClick:()=>{t("AND")},selected:e==="AND","data-testid":I("cockpit-filters-combop-and"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="AND",children:"and"})}),r.jsx(d,{disabled:n,onClick:()=>{t("OR")},selected:e==="OR","data-testid":I("cockpit-filters-combop-or"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="OR",children:"or"})})]})},rt=({selectedDates:e,onDateRangeChange:t})=>{const n=_(),d=P(),c=e?.[0],l=e?.[1],[i,b]=a.useState(c?{date:c}:void 0),[g,v]=a.useState(l?{date:l}:void 0);a.useEffect(()=>{i!=null&&g!=null&&t({startDate:i?.date,endDate:g?.date})},[i,g]);const{dateFormat:{visual:{MMMDCommaYYYYformat:y}},spendManagement:{filters:j}}=O.getLocalizedStrings();return r.jsxs(ot,{size:d,children:[r.jsx(nt,{children:r.jsx($e,{})}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{C.isAfter(g?.date)&&v(void 0),b({date:C})},selectedDate:i,dateFormat:y,placeHolder:r.jsx(R,{children:j.from}),style:{backgroundColor:n.colors.background}})}),r.jsx(R,{children:j.enDash}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{v({date:C})},minDate:st(i?.date),selectedDate:g,dateFormat:y,placeHolder:r.jsx(R,{children:j.to}),style:{backgroundColor:n.colors.background}})})]})},ot=s.div`
103
+ `;return r.jsxs(l,{"data-testid":I("cockpit-filters-combop-wrapper"),children:[r.jsx(d,{disabled:n,onClick:()=>{t("AND")},selected:e==="AND","data-testid":I("cockpit-filters-combop-and"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="AND",children:"and"})}),r.jsx(d,{disabled:n,onClick:()=>{t("OR")},selected:e==="OR","data-testid":I("cockpit-filters-combop-or"),children:r.jsx(c,{buttonsDisabled:n,selected:e==="OR",children:"or"})})]})},rt=({selectedDates:e,onDateRangeChange:t})=>{const n=_(),d=E(),c=e?.[0],l=e?.[1],[i,y]=a.useState(c?{date:c}:void 0),[g,v]=a.useState(l?{date:l}:void 0);a.useEffect(()=>{i!=null&&g!=null&&t({startDate:i?.date,endDate:g?.date})},[i,g]);const{dateFormat:{visual:{MMMDCommaYYYYformat:b}},spendManagement:{filters:j}}=O.getLocalizedStrings();return r.jsxs(ot,{size:d,children:[r.jsx(nt,{children:r.jsx($e,{})}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{C.isAfter(g?.date)&&v(void 0),y({date:C})},selectedDate:i,dateFormat:b,placeHolder:r.jsx(R,{children:j.from}),style:{backgroundColor:n.colors.background}})}),r.jsx(R,{children:j.enDash}),r.jsx(Q,{children:r.jsx(K,{onSelectedDateChanged:C=>{v({date:C})},minDate:st(i?.date),selectedDate:g,dateFormat:b,placeHolder:r.jsx(R,{children:j.to}),style:{backgroundColor:n.colors.background}})})]})},ot=s.div`
104
104
  position: relative;
105
105
  display: flex;
106
106
  align-items: center;
@@ -135,12 +135,12 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
135
135
  color: ${e=>e.theme.colors.primary};
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
- `,ee=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:d,onChange:c,getOptionLabel:l})=>{const i=_(),b=a.useRef(null),g=xt(i),v=n.find(y=>y.value===e);return a.useEffect(()=>{const y=setTimeout(()=>{b.current!=null&&t&&b.current.focus()},300);return()=>{clearTimeout(y)}},[t]),r.jsx(G,{ref:b,isMulti:!1,value:v,onChange:y=>{c(y)},placeholder:d,options:n,styles:g,openMenuOnFocus:!0,components:{Option:y=>mt(y,l),SingleValue:y=>gt(y,l)}})},gt=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return r.jsx(F.SingleValue,{...e,children:r.jsx(W,{children:n})})},mt=(e,t)=>{const{isSelected:n}=e,d=t?.(e.data.value)??e.data.label;return r.jsx(F.Option,{...e,children:r.jsxs(ht,{children:[r.jsx(U,{children:d}),n?r.jsx(ut,{}):null]})})},xt=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),te="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",bt=s.div`
138
+ `,ee=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:d,onChange:c,getOptionLabel:l})=>{const i=_(),y=a.useRef(null),g=xt(i),v=n.find(b=>b.value===e);return a.useEffect(()=>{const b=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(b)}},[t]),r.jsx(G,{ref:y,isMulti:!1,value:v,onChange:b=>{c(b)},placeholder:d,options:n,styles:g,openMenuOnFocus:!0,components:{Option:b=>mt(b,l),SingleValue:b=>gt(b,l)}})},gt=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return r.jsx(F.SingleValue,{...e,children:r.jsx(W,{children:n})})},mt=(e,t)=>{const{isSelected:n}=e,d=t?.(e.data.value)??e.data.label;return r.jsx(F.Option,{...e,children:r.jsxs(ht,{children:[r.jsx(U,{children:d}),n?r.jsx(ut,{}):null]})})},xt=e=>({placeholder:t=>({...t,color:e.colors.grey1,...z.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:o.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${o.sp2} ${o.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${o.sp2} ${o.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${o.sp0} 2px ${o.sp2} ${e.colors.dropShadowHover}`})}),te="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",yt=s.div`
139
139
  display: flex;
140
140
  align-items: flex-start;
141
141
  padding: ${o.sp2} ${o.sp3};
142
142
  column-gap: ${o.sp2};
143
- `,yt=s.div`
143
+ `,bt=s.div`
144
144
  display: flex;
145
145
  align-items: center;
146
146
  column-gap: ${o.sp2};
@@ -181,7 +181,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
181
181
  `,kt=s(Fe)`
182
182
  overflow: hidden;
183
183
  text-overflow: ellipsis;
184
- `,St=({options:e,value:t,placeHolder:n,filterCategoryType:d,searchAutoCompleteData:c,searchAutoCompleteActions:l,onChange:i,renderOptionIcon:b})=>{const g=_(),v=et(g),[y,j]=a.useState(e);a.useEffect(()=>{d==="searchAutocomplete"&&c?.entityAutoCompleteView.fetchState==="Completed"&&j(m=>Oe([...m,...c?.entityAutoCompleteView!=null?Ot(c?.entityAutoCompleteView):[]],"value"))},[c?.entityAutoCompleteView.fetchState]);const C=d==="searchAutocomplete"?t.map(m=>({label:m,value:m})):t.map(m=>y.find(p=>p.value===m)),S=a.useRef(Le(m=>l?.onAutoCompleteInputChange?.(m),500,{trailing:!0})).current,L=c?.entityAutoCompleteView.fetchState,A={options:e,filterCategoryType:d,searchAutoCompleteStatus:L,renderOptionIcon:b},M=O.getLocalizedStrings().common.filters;return r.jsx(bt,{children:d==="dateRange"?r.jsx(rt,{onDateRangeChange:m=>{i([{label:M.startDate,value:m.startDate??""},{label:M.endDate,value:m.endDate??""}])},selectedDates:t}):r.jsxs(yt,{children:[C.length===0&&d==="user"&&r.jsx(Ct,{}),r.jsx(G,{...A,isMulti:!0,hideSelectedOptions:!1,value:C,onInputChange:m=>{d==="searchAutocomplete"&&S(m)},onChange:m=>{i(m)},placeholder:n,options:y,styles:v,menuPosition:"fixed",components:{Option:Dt,MultiValueLabel:Lt,MultiValueRemove:It},filterOption:(m,p)=>Mt(m,p,d),noOptionsMessage:()=>At(d,L)})]})})},Ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Lt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:d,renderOptionIcon:c}=t,l=n.findIndex(i=>i.value===e.data.value);return r.jsx(F.MultiValueLabel,{...e,children:r.jsxs(ft,{children:[me(e.data,l,d,c),r.jsx(kt,{children:e.children})]})})},Dt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:d,...c}=e.innerProps,{options:l,filterCategoryType:i,renderOptionIcon:b}=e.selectProps,g=l.findIndex(y=>y.value===e.data.value),v={...e,innerProps:c};return r.jsx(F.Option,{...v,children:r.jsxs($t,{children:[r.jsxs(vt,{children:[me(e.data,g,i,b),r.jsx(U,{children:e.label})]}),e.isSelected&&r.jsx(wt,{})]})})},It=e=>r.jsx(F.MultiValueRemove,{...e,children:r.jsx(jt,{})}),At=(e,t)=>{const n=O.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return r.jsx(pe,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return r.jsx(X,{children:n.noMatchesFound})}return r.jsx(X,{children:n.noOptions})},me=(e,t,n,d)=>{if(n==="dropdown")return(d!=null?d(e):null)??(e.photo!=null?r.jsx(re,{src:e.photo.href,alt:"",onError:({currentTarget:b})=>{b.onerror=null,b.src=te},loading:"lazy"}):null);if(n!=="user")return null;const c=(e.label??"").split(" "),l=c[0]??"",i=c[1]??"";return e.photo==null?r.jsx(ze,{firstName:l,lastName:i,size:`${o.sp3}`,index:t,fontSize:"9px"}):r.jsx(re,{src:e.photo.href,alt:O.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:b})=>{b.onerror=null,b.src=te},loading:"lazy"})},Mt=(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()),B={categoryCombinationOperator:"AND",categories:[]},oe={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},H=(e,t)=>{switch(e){case"bill_pay":return We;case"reimbursement":return Ne(t)?Te:Ve;case"task_management":return He;case"charge_card_payment_history":return Be}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},zt={width:new he(215,315)},ne=s.div`
184
+ `,St=({options:e,value:t,placeHolder:n,filterCategoryType:d,searchAutoCompleteData:c,searchAutoCompleteActions:l,onChange:i,renderOptionIcon:y})=>{const g=_(),v=et(g),[b,j]=a.useState(e);a.useEffect(()=>{d==="searchAutocomplete"&&c?.entityAutoCompleteView.fetchState==="Completed"&&j(m=>Oe([...m,...c?.entityAutoCompleteView!=null?Ot(c?.entityAutoCompleteView):[]],"value"))},[c?.entityAutoCompleteView.fetchState]);const C=d==="searchAutocomplete"?t.map(m=>({label:m,value:m})):t.map(m=>b.find(p=>p.value===m)),S=a.useRef(Le(m=>l?.onAutoCompleteInputChange?.(m),500,{trailing:!0})).current,L=c?.entityAutoCompleteView.fetchState,A={options:e,filterCategoryType:d,searchAutoCompleteStatus:L,renderOptionIcon:y},M=O.getLocalizedStrings().common.filters;return r.jsx(yt,{children:d==="dateRange"?r.jsx(rt,{onDateRangeChange:m=>{i([{label:M.startDate,value:m.startDate??""},{label:M.endDate,value:m.endDate??""}])},selectedDates:t}):r.jsxs(bt,{children:[C.length===0&&d==="user"&&r.jsx(Ct,{}),r.jsx(G,{...A,isMulti:!0,hideSelectedOptions:!1,value:C,onInputChange:m=>{d==="searchAutocomplete"&&S(m)},onChange:m=>{i(m)},placeholder:n,options:b,styles:v,menuPosition:"fixed",components:{Option:Dt,MultiValueLabel:Lt,MultiValueRemove:It},filterOption:(m,p)=>Mt(m,p,d),noOptionsMessage:()=>At(d,L)})]})})},Ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Lt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:d,renderOptionIcon:c}=t,l=n.findIndex(i=>i.value===e.data.value);return r.jsx(F.MultiValueLabel,{...e,children:r.jsxs(ft,{children:[me(e.data,l,d,c),r.jsx(kt,{children:e.children})]})})},Dt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:d,...c}=e.innerProps,{options:l,filterCategoryType:i,renderOptionIcon:y}=e.selectProps,g=l.findIndex(b=>b.value===e.data.value),v={...e,innerProps:c};return r.jsx(F.Option,{...v,children:r.jsxs($t,{children:[r.jsxs(vt,{children:[me(e.data,g,i,y),r.jsx(U,{children:e.label})]}),e.isSelected&&r.jsx(wt,{})]})})},It=e=>r.jsx(F.MultiValueRemove,{...e,children:r.jsx(jt,{})}),At=(e,t)=>{const n=O.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return r.jsx(pe,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return r.jsx(X,{children:n.noMatchesFound})}return r.jsx(X,{children:n.noOptions})},me=(e,t,n,d)=>{if(n==="dropdown")return(d!=null?d(e):null)??(e.photo!=null?r.jsx(re,{src:e.photo.href,alt:"",onError:({currentTarget:y})=>{y.onerror=null,y.src=te},loading:"lazy"}):null);if(n!=="user")return null;const c=(e.label??"").split(" "),l=c[0]??"",i=c[1]??"";return e.photo==null?r.jsx(ze,{firstName:l,lastName:i,size:`${o.sp3}`,index:t,fontSize:"9px"}):r.jsx(re,{src:e.photo.href,alt:O.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=te},loading:"lazy"})},Mt=(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()),P={categoryCombinationOperator:"AND",categories:[]},oe={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},H=(e,t)=>{switch(e){case"bill_pay":return We;case"reimbursement":return Ne(t)?Te:Ve;case"task_management":return He;case"charge_card_payment_history":return Pe}},T=(e,t)=>{if(e==="bill_pay"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return O.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},zt={width:new he(215,315)},ne=s.div`
185
185
  display: flex;
186
186
  flex-direction: column;
187
187
  row-gap: ${o.sp4};
@@ -221,9 +221,9 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
221
221
  width: ${o.sp3};
222
222
  height: ${o.sp3};
223
223
  color: ${e=>e.theme.colors.hero};
224
- `,Et=s.div`
224
+ `,Bt=s.div`
225
225
  width: ${o.sp10};
226
- `,Pt=s.div`
226
+ `,Et=s.div`
227
227
  display: flex;
228
228
  justify-content: space-between;
229
229
  align-items: center;
@@ -240,7 +240,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
240
240
  color: ${De.important};
241
241
  }
242
242
  }
243
- `,Bt=s(Ie)`
243
+ `,Pt=s(Ie)`
244
244
  width: ${o.sp3};
245
245
  height: ${o.sp3};
246
246
  color: ${e=>e.theme.colors.hero};
@@ -268,7 +268,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
268
268
  align-items: flex-start;
269
269
  column-gap: ${o.sp3};
270
270
  animation: ${Vt} 0.4s;
271
- `,xe=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:d,vendorSearchAutoCompleteActions:c,onFiltersChange:l,renderDropdownOptionIcon:i},b)=>{const g=ke(),v=P(),y=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...oe,field:k.value}]}:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,field:k.value,values:[]})})({currentFilters:e,selectedOption:p,categoryIndex:h});l($)},[e,l]),j=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,matchingOperator:k.value})})({currentFilters:e,selectedOption:p,categoryIndex:h});l($)},[e,l]),C=a.useCallback(p=>{if(e!=null){const h={...e,categoryCombinationOperator:p};l(h)}},[e,l]),S=a.useCallback(p=>{if(p!==0||e.categories==null||e.categories.length!==1){if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,p),...e.categories.slice(p+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,p),...e.categories.slice(p+1)]};return void l(h)}l(B)}}else l(B)},[l,e]),L=()=>{e.categories!=null&&e.categories.length&&l({...e,categories:[...e.categories,{...oe}]})},A=()=>{l(B)},M=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOptions:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,values:k.map(E=>E.value)})})({currentFilters:e,selectedOptions:p,categoryIndex:h});l($)},[e,l]),m=O.getLocalizedStrings().spendManagement.filters;return r.jsxs(ne,{ref:b,children:[e.categories==null||e.categories.length===0?r.jsx(ne,{children:r.jsx(se,{children:r.jsxs(de,{children:[r.jsx(ie,{children:r.jsx(ce,{children:m.filterByLabel})}),r.jsx(le,{children:r.jsx(ee,{defaultMenuIsOpen:!0,onChange:y,placeHolder:m.categoryPlaceholder,getOptionLabel:p=>T(n,p),options:H(n,g.loggedInUserRole)})})]})})}):r.jsx(a.Fragment,{children:e.categories.map((p,h)=>{const $=H(n,g.loggedInUserRole??[]).find(x=>x.value===p.field),f=$?.type,k=$!=null?T(n,$?.value):"";return r.jsxs(se,{windowSize:v,children:[r.jsxs(de,{children:[r.jsxs(ie,{children:[h===0&&r.jsx(ce,{children:m.filterByLabel}),h!==0?r.jsx(tt,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:C,buttonsDisabled:h>1}):null]}),r.jsx(le,{children:r.jsx(ee,{value:p.field,placeHolder:m.categoryPlaceholder,onChange:x=>y(x,h),getOptionLabel:x=>T(n,x),options:H(n,g.loggedInUserRole??[])})})]}),p.field?r.jsxs(Nt,{children:[r.jsx(Et,{children:r.jsx(dt,{categoryIndex:h,value:p.matchingOperator,onChange:j})}),r.jsxs(Ht,{children:[r.jsx(Tt,{windowSize:v,children:r.jsx(St,{options:t[p.field]!=null?t[p.field]:[],placeHolder:f==="searchAutocomplete"?m.searchPlaceholder:`${m.select} ${k}`,value:p.values,filterCategoryType:f??"dropdown",onChange:x=>M(x,h),valuesCombinationOperator:p.valuesCombinationOperator,searchAutoCompleteData:d,searchAutoCompleteActions:c,renderOptionIcon:i})}),r.jsx(Rt,{onClick:()=>S(h),windowSize:v,children:r.jsx(Bt,{})})]})]}):null]},p.field?p.field+h:h)})}),e.categories!=null&&e.categories.length!==0?r.jsxs(Pt,{children:[r.jsxs(ae,{onClick:L,children:[r.jsx(Ft,{}),r.jsx(V,{children:m.addFilterBtnText})]}),r.jsxs(ae,{onClick:A,children:[r.jsx(_t,{}),r.jsx(V,{children:m.clearAllBtnText})]})]}):null]})});xe.displayName="FiltersSelection";const Wt=s.div`
271
+ `,xe=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:d,vendorSearchAutoCompleteActions:c,onFiltersChange:l,renderDropdownOptionIcon:i},y)=>{const g=ke(),v=E(),b=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...oe,field:k.value}]}:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,field:k.value,values:[]})})({currentFilters:e,selectedOption:p,categoryIndex:h});l($)},[e,l]),j=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOption:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,matchingOperator:k.value})})({currentFilters:e,selectedOption:p,categoryIndex:h});l($)},[e,l]),C=a.useCallback(p=>{if(e!=null){const h={...e,categoryCombinationOperator:p};l(h)}},[e,l]),S=a.useCallback(p=>{if(p!==0||e.categories==null||e.categories.length!==1){if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,p),...e.categories.slice(p+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,p),...e.categories.slice(p+1)]};return void l(h)}l(P)}}else l(P)},[l,e]),L=()=>{e.categories!=null&&e.categories.length&&l({...e,categories:[...e.categories,{...oe}]})},A=()=>{l(P)},M=a.useCallback((p,h)=>{const $=(({currentFilters:f,selectedOptions:k,categoryIndex:x})=>f.categories==null||f.categories.length===0?f:{...f,categories:f.categories.map((w,u)=>u!==x?w:{...w,values:k.map(B=>B.value)})})({currentFilters:e,selectedOptions:p,categoryIndex:h});l($)},[e,l]),m=O.getLocalizedStrings().spendManagement.filters;return r.jsxs(ne,{ref:y,children:[e.categories==null||e.categories.length===0?r.jsx(ne,{children:r.jsx(se,{children:r.jsxs(de,{children:[r.jsx(ie,{children:r.jsx(ce,{children:m.filterByLabel})}),r.jsx(le,{children:r.jsx(ee,{defaultMenuIsOpen:!0,onChange:b,placeHolder:m.categoryPlaceholder,getOptionLabel:p=>T(n,p),options:H(n,g.loggedInUserRole)})})]})})}):r.jsx(a.Fragment,{children:e.categories.map((p,h)=>{const $=H(n,g.loggedInUserRole??[]).find(x=>x.value===p.field),f=$?.type,k=$!=null?T(n,$?.value):"";return r.jsxs(se,{windowSize:v,children:[r.jsxs(de,{children:[r.jsxs(ie,{children:[h===0&&r.jsx(ce,{children:m.filterByLabel}),h!==0?r.jsx(tt,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:C,buttonsDisabled:h>1}):null]}),r.jsx(le,{children:r.jsx(ee,{value:p.field,placeHolder:m.categoryPlaceholder,onChange:x=>b(x,h),getOptionLabel:x=>T(n,x),options:H(n,g.loggedInUserRole??[])})})]}),p.field?r.jsxs(Nt,{children:[r.jsx(Bt,{children:r.jsx(dt,{categoryIndex:h,value:p.matchingOperator,onChange:j})}),r.jsxs(Ht,{children:[r.jsx(Tt,{windowSize:v,children:r.jsx(St,{options:t[p.field]!=null?t[p.field]:[],placeHolder:f==="searchAutocomplete"?m.searchPlaceholder:`${m.select} ${k}`,value:p.values,filterCategoryType:f??"dropdown",onChange:x=>M(x,h),valuesCombinationOperator:p.valuesCombinationOperator,searchAutoCompleteData:d,searchAutoCompleteActions:c,renderOptionIcon:i})}),r.jsx(Rt,{onClick:()=>S(h),windowSize:v,children:r.jsx(Pt,{})})]})]}):null]},p.field?p.field+h:h)})}),e.categories!=null&&e.categories.length!==0?r.jsxs(Et,{children:[r.jsxs(ae,{onClick:L,children:[r.jsx(Ft,{}),r.jsx(V,{children:m.addFilterBtnText})]}),r.jsxs(ae,{onClick:A,children:[r.jsx(_t,{}),r.jsx(V,{children:m.clearAllBtnText})]})]}):null]})});xe.displayName="FiltersSelection";const Wt=s.div`
272
272
  padding-top: ${o.sp4};
273
273
  padding-bottom: ${o.sp4};
274
274
  box-sizing: border-box;
@@ -286,7 +286,7 @@ import{V as r,gr as be,o,P as I,gs as ye,i as fe,y as _,gt as ve,au as W,b3 as G
286
286
  `,Ut=s.div`
287
287
  padding-left: ${o.sp4};
288
288
  padding-right: ${o.sp4};
289
- `,Yt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:d,disableFilters:c=!1,transactionsLoaded:l=!0,createdByUserListLoaded:i=!0,analytics:b,groupByFiltersComponent:g,onFiltersChange:v,getCategoryWiseOptions:y,renderDropdownOptionIcon:j})=>{const C=a.useRef(null),[S,L]=a.useState(!1),A=a.useRef(!1),[M,m]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[p,h]=a.useState("auto"),$=a.useRef(null),f=P(),k=a.useCallback(()=>{L(!1)},[]),x=O.getLocalizedStrings().common.strings.empty,w=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&b?.trackSpendManagmentFilterClick(e),c===!1&&L(!0)},[c,b,e]);a.useEffect(()=>{y&&i&&l&&m(D=>Object.keys(D[e]??{}).length===0?{...D,[e]:y()}:D)},[e,l,i]);const u=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const D=$.current,q=D!=null?D.clientHeight:0;return f==="small"?"auto":N[7]+(q>0?q:88)+(g!=null?g.height:0)},[t,f,g]);a.useEffect(()=>{S===A.current?h(u()):h("auto")},[u,S]),a.useEffect(()=>{A.current=S},[S]),a.useEffect(()=>{p==="auto"&&h(u())},[p,u]);const E=t?.categories==null||t?.categories.length===0?0:t.categories.filter(D=>D.field!=null&&D.values.length>0).length;return r.jsxs(a.Fragment,{children:[r.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:S||E>0,ref:C,isFilterDisabled:c,onFilterButtonClick:w,filtersCount:E,includeSearch:!1,filterText:x}),c!=1&&r.jsx(Qe,{anchorEl:C.current,open:S,onClose:k,paperStyle:{overflow:"visible"},children:r.jsxs(Wt,{height:p,windowSize:f,children:[g!=null?r.jsx(Gt,{children:g?.component}):null,r.jsx(Ut,{children:r.jsx(xe,{filters:t,onFiltersChange:v,filterValues:M[e],selectedEntity:e,ref:$,vendorSearchAutoCompleteActions:d,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:j})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox")]})},{spendManagement:qt}=O.getLocalizedStrings(),Jt={filterIconContainerPaddingRight:new he(18,10)};function mr({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:d,disableDownloadButton:c,filters:l,searchText:i,downloadParams:b,downloadState:g,showSettingsIcon:v=!0,showSettingsIconOnNavbar:y,showDownloadButtonOnNavbar:j,showStatementButtonOnNavbar:C,showPayEarlyButtonOnNavbar:S,showPaymentHistoryButtonOnNavbar:L,groupByFiltersComponent:A,updateDownloadStateHandler:M,onMenuOpen:m,filterIconContainerStyle:p}=e,h=P(),$=_(),[f,k]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&k(!1)},[g]);let x=qt.moreMenuOptions;y||(x=x.filter(u=>u.value!=="settings")),C||(x=x.filter(u=>u.value!=="statements")),S||(x=x.filter(u=>u.value!=="payEarly")),L||(x=x.filter(u=>u.value!=="paymentHistory")),j||(x=x.filter(u=>u.value!=="download"));const w={};return e.entity==="charge_cards"?w.width="275px":e.entity==="reimbursement"&&(w.width="208px"),r.jsxs(er,{children:[r.jsxs(Zt,{isSearchOpen:e.isSearchOpen&&h==="small",windowsize:h,children:[h==="small"||e.hideSearchBtn?null:r.jsx(J,{"data-testid":I("list-page-search-input-box"),style:{position:"absolute",left:"unset",...d},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:w,searchIconMarginRight:e.entity==="charge_cards"?o.sp4:"10px"}),e.entity!=="bill_pay"&&e.entity!=="reimbursement"&&e.entity!=="task_management"&&e.entity!=="charge_card_payment_history"||e.onFiltersChange==null?null:r.jsx(or,{size:h,style:p,children:r.jsx(Yt,{entity:e.entity,groupByFiltersComponent:A,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}),e.showDownloadIcon===!0&&e.onDownloadClick!=null?r.jsx(Qt,{onClick:e.onDownloadClick,disabled:c,children:g==="In-Progress"?r.jsx(pe,{size:"Standard",start:!0}):r.jsx(Kt,{"data-testid":I("spend-management-download-icon"),disabled:c})}):null,e.showEntityEmailInfoIconOnNavbar===!0?r.jsx(rr,{onClick:e.onClickEmailInfoIcon,children:r.jsx(Xt,{})}):null,v?r.jsx(tr,{onClick:()=>k(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?r.jsx(Ee,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:h!=="small"?f:void 0,options:x,onMenuOpen:m,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:u=>({...u,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:$.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:N[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:N[0],marginLeft:-1}})},onOptionSelection:u=>{u==="settings"?e.onClickSetupIcon?.():u==="statements"?e.onClickStatementsIcon?.():u==="payEarly"?e.onClickPayEarlyIcon?.():u==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:t!=="bill_pay"&&t!=="reimbursement"||b==null?void 0:{entity:t,isDisabled:c,filter:{filters:l,searchText:i},downloadParams:b,downloadState:g,updateDownloadStateHandler:M}}):r.jsx(sr,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?r.jsx(r.Fragment,{children:h==="small"?r.jsx(nr,{onClick:e.onNewButtonClick,children:r.jsx(ir,{})}):r.jsx(Ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...z.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),h!=="small"||e.hideSearchBtn?null:r.jsx(J,{style:{position:"absolute",left:"5px",right:h!=="small"?"120px":"unset",top:o.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}})]})}const Xt=s(e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))`
289
+ `,Yt=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:d,disableFilters:c=!1,transactionsLoaded:l=!0,createdByUserListLoaded:i=!0,analytics:y,groupByFiltersComponent:g,onFiltersChange:v,getCategoryWiseOptions:b,renderDropdownOptionIcon:j})=>{const C=a.useRef(null),[S,L]=a.useState(!1),A=a.useRef(!1),[M,m]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[p,h]=a.useState("auto"),$=a.useRef(null),f=E(),k=a.useCallback(()=>{L(!1)},[]),x=O.getLocalizedStrings().common.strings.empty,w=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&y?.trackSpendManagmentFilterClick(e),c===!1&&L(!0)},[c,y,e]);a.useEffect(()=>{b&&i&&l&&m(D=>Object.keys(D[e]??{}).length===0?{...D,[e]:b()}:D)},[e,l,i]);const u=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const D=$.current,q=D!=null?D.clientHeight:0;return f==="small"?"auto":N[7]+(q>0?q:88)+(g!=null?g.height:0)},[t,f,g]);a.useEffect(()=>{S===A.current?h(u()):h("auto")},[u,S]),a.useEffect(()=>{A.current=S},[S]),a.useEffect(()=>{p==="auto"&&h(u())},[p,u]);const B=t?.categories==null||t?.categories.length===0?0:t.categories.filter(D=>D.field!=null&&D.values.length>0).length;return r.jsxs(a.Fragment,{children:[r.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:S||B>0,ref:C,isFilterDisabled:c,onFilterButtonClick:w,filtersCount:B,includeSearch:!1,filterText:x}),c!=1&&r.jsx(Qe,{anchorEl:C.current,open:S,onClose:k,paperStyle:{overflow:"visible"},children:r.jsxs(Wt,{height:p,windowSize:f,children:[g!=null?r.jsx(Gt,{children:g?.component}):null,r.jsx(Ut,{children:r.jsx(xe,{filters:t,onFiltersChange:v,filterValues:M[e],selectedEntity:e,ref:$,vendorSearchAutoCompleteActions:d,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:j})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox")]})},{spendManagement:qt}=O.getLocalizedStrings(),Jt={filterIconContainerPaddingRight:new he(18,10)};function mr({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:d,disableDownloadButton:c,filters:l,searchText:i,downloadParams:y,downloadState:g,showSettingsIcon:v=!0,showSettingsIconOnNavbar:b,showDownloadButtonOnNavbar:j,showStatementButtonOnNavbar:C,showPayEarlyButtonOnNavbar:S,showPaymentHistoryButtonOnNavbar:L,groupByFiltersComponent:A,updateDownloadStateHandler:M,onMenuOpen:m,filterIconContainerStyle:p}=e,h=E(),$=_(),[f,k]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&k(!1)},[g]);let x=qt.moreMenuOptions;b||(x=x.filter(u=>u.value!=="settings")),C||(x=x.filter(u=>u.value!=="statements")),S||(x=x.filter(u=>u.value!=="payEarly")),L||(x=x.filter(u=>u.value!=="paymentHistory")),j||(x=x.filter(u=>u.value!=="download"));const w={};return e.entity==="charge_cards"?w.width="275px":e.entity==="reimbursement"&&(w.width="208px"),r.jsxs(er,{children:[r.jsxs(Zt,{isSearchOpen:e.isSearchOpen&&h==="small",windowsize:h,children:[h==="small"||e.hideSearchBtn?null:r.jsx(J,{"data-testid":I("list-page-search-input-box"),style:{position:"absolute",left:"unset",...d},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:w,searchIconMarginRight:e.entity==="charge_cards"?o.sp4:"10px"}),e.entity!=="bill_pay"&&e.entity!=="reimbursement"&&e.entity!=="task_management"&&e.entity!=="charge_card_payment_history"||e.onFiltersChange==null?null:r.jsx(or,{size:h,style:p,children:r.jsx(Yt,{entity:e.entity,groupByFiltersComponent:A,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}),e.showDownloadIcon===!0&&e.onDownloadClick!=null?r.jsx(Qt,{onClick:e.onDownloadClick,disabled:c,children:g==="In-Progress"?r.jsx(pe,{size:"Standard",start:!0}):r.jsx(Kt,{"data-testid":I("spend-management-download-icon"),disabled:c})}):null,e.showEntityEmailInfoIconOnNavbar===!0?r.jsx(rr,{onClick:e.onClickEmailInfoIcon,children:r.jsx(Xt,{})}):null,v?r.jsx(tr,{onClick:()=>k(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?r.jsx(Be,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:h!=="small"?f:void 0,options:x,onMenuOpen:m,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:u=>({...u,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:$.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:N[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:N[0],marginLeft:-1}})},onOptionSelection:u=>{u==="settings"?e.onClickSetupIcon?.():u==="statements"?e.onClickStatementsIcon?.():u==="payEarly"?e.onClickPayEarlyIcon?.():u==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:t!=="bill_pay"&&t!=="reimbursement"||y==null?void 0:{entity:t,isDisabled:c,filter:{filters:l,searchText:i},downloadParams:y,downloadState:g,updateDownloadStateHandler:M}}):r.jsx(sr,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?r.jsx(r.Fragment,{children:h==="small"?r.jsx(nr,{onClick:e.onNewButtonClick,children:r.jsx(ir,{})}):r.jsx(Ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...z.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),h!=="small"||e.hideSearchBtn?null:r.jsx(J,{style:{position:"absolute",left:"5px",right:h!=="small"?"120px":"unset",top:o.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:u=>{e.onSearchTextChanged?.(u)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}})]})}const Xt=s(e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))`
290
290
  height: ${o.sp4};
291
291
  width: ${o.sp4};
292
292
  `,Kt=s(we)`
@@ -0,0 +1,31 @@
1
+ import{e as x,h9 as $,V as o,O as g,L as S,o as s,l as v,x as z,bx as j,m as k}from"./index-BHAcVHeH.js";import{a as I}from"./sentry-CY6wsJT-.js";import{n}from"./mui-Cni6P-fz.js";import{g as L}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{w as T}from"./downloadPdf-BAZhe2iR-C4ju3Lqh.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]="0b13c7bf-95b6-46fc-9b41-488396f306d9",e._sentryDebugIdIdentifier="sentry-dbid-0b13c7bf-95b6-46fc-9b41-488396f306d9")}catch{}})();const l=g.getLocalizedStrings().months,r={downloadButtonSize:new z(k[4],20)},D=n.div`
2
+ display: flex;
3
+ padding: ${s.sp3} ${s.sp4};
4
+ flex-direction: row;
5
+ width: 100%;
6
+ `,P=n.div`
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ width: 100%;
11
+ `,B=n(v)`
12
+ display: -webkit-box;
13
+ -webkit-box-orient: vertical;
14
+ -webkit-line-clamp: 1;
15
+ margin-left: ${s.sp2};
16
+ max-height: ${s.sp11};
17
+ text-overflow: ellipsis;
18
+ word-break: break-word;
19
+ text-align: left;
20
+ overflow: hidden;
21
+ `,C=n.div`
22
+ cursor: pointer;
23
+ `,_=n(j)`
24
+ width: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
25
+ height: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
26
+ min-height: ${e=>r.downloadButtonSize.valuePx(e.windowSize)};
27
+ color: ${e=>e.theme.colors.hero};
28
+ &:hover {
29
+ color: ${e=>e.theme.colors.primary};
30
+ }
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:d,documentType:a="statement",boxType:m}){const[c,p]=I.useState(!1),w=x(),b=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,h=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,y={period:`${t.title.year}-${$(t.title.month)}`,format:"pdf"},u=o.jsx(D,{children:o.jsxs(P,{children:[o.jsx(B,{children:b}),o.jsx(C,{onClick:()=>T(a==="treasuryStatement"||a==="taxLetter"?`${d}/statements/${t.id}`:`${d}/statements?query=${encodeURIComponent(JSON.stringify(y))}`,h,f,p),children:c?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(L,{content:u,boxType:m,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -1,4 +1,4 @@
1
- import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,d as p,bV as B,x as T,k as b,l as _}from"./index-ByxsQZNo.js";import{a as f}from"./sentry-COYnhuxW.js";import{n as o}from"./mui-40xepic5.js";import{$ as D}from"./BoxItem-BWNurtfc-J9WJ61G4.js";import{o as L}from"./commonDimensions-u85vL09f-D9VH5FSj.js";import{O as M}from"./StatementItem-CDx2knrL-D3uOvDYp.js";import"./pdf-A8jRKyoC.js";import"./zeni-epic-state-DCforPdM.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./downloadPdf-CnXPMbwm-BjEW_jtg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="213ae449-9f99-4634-95f3-2467fbead0a3",t._sentryDebugIdIdentifier="sentry-dbid-213ae449-9f99-4634-95f3-2467fbead0a3")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(b[3],b[8])},at=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:a,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=f.createRef(),c=f.useRef(null),h=a.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:i,style:s})=>{const l=a.statements[i];return h===!1?e.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(i,a.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(g,{windowSize:d,children:e.jsx(V,{children:u.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:i,width:s})=>e.jsx(A,{ref:$,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:a.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,g=o.div`
1
+ import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,m as f,l as _}from"./index-BHAcVHeH.js";import{a as u}from"./sentry-CY6wsJT-.js";import{n as o}from"./mui-Cni6P-fz.js";import{$ as D}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{o as L}from"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";import{O as M}from"./StatementItem-B1M65xN--D_j2q7nS.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="e96d887d-c049-42f9-8e27-9820eff9f412",t._sentryDebugIdIdentifier="sentry-dbid-e96d887d-c049-42f9-8e27-9820eff9f412")}catch{}})();const b=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(f[3],f[8])},it=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?e.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(a,i.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(g,{windowSize:d,children:e.jsx(V,{children:b.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:b.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:a,width:s})=>e.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,g=o.div`
2
2
  margin: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -55,4 +55,4 @@ import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,d as p,bV as B,x as T,
55
55
  border-radius: 2px;
56
56
  }
57
57
  }
58
- `;export{at as default};
58
+ `;export{it as default};