@zeniai/web-cockpit-ui 1.15.47-dev → 1.15.48-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.
- package/dist/assets/ACHDetailsPage-D2Xav-UW-Bfz777OP.js +21 -0
- package/dist/assets/{AIPerformancePage-DJBLMHvs-iLI9KDLf.js → AIPerformancePage-DlTdGosv-C-O0nWEk.js} +105 -105
- package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js → AccountInfoPageContent-BS2TBUSE-yixZKJJd.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js → AccountLockedInfoModal-aukulrV7-BghUJRSx.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js → AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js} +19 -19
- package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js → AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +6 -0
- package/dist/assets/{AddToWalletPage-C6oLCkE7-C3vtPZC0.js → AddToWalletPage-C4EwdLZJ-DPPfaq4h.js} +18 -18
- package/dist/assets/{AgingReportsPage-DAe2E6ey-BAsTv0B2.js → AgingReportsPage-vAvkUfOS-eLupiUU4.js} +7 -7
- package/dist/assets/{AllUserItems-6sLrlL8E-DpxFsjkv.js → AllUserItems-qrYg6Gdx-CexfoJXZ.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +46 -0
- package/dist/assets/{AppBasePage-CtA9oCF7-D92abhWD.js → AppBasePage-DrE-W6d7-Bq2ai-ng.js} +8 -8
- package/dist/assets/{AppDrawerContent-BBkCJjf8-BybjdyD6.js → AppDrawerContent-ATbZG_cu-C_LUaX21.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +47 -0
- package/dist/assets/{ArAgingChart-zTqy57EG-Dm-WcY4b.js → ArAgingChart-CuzG9AZY-CBzkLPD8.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +46 -0
- package/dist/assets/{AttachmentView-DAEi6O2i-CRQnb5l5.js → AttachmentView-BrQRChzc-gMo83IaQ.js} +6 -6
- package/dist/assets/{BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js → BankAccountSection-hcKEMs80-C67in8I4.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js → BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js} +30 -30
- package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js → BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js → BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js} +19 -19
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +84 -0
- package/dist/assets/{BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js → BillPaySetUpPage-WdEdbf16-BT3nFT0U.js} +4 -4
- package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +1 -0
- package/dist/assets/{BoxItem-mA2l070e-DKIWhdy7.js → BoxItem-CACRFWG2-ByiTZQgF.js} +1 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +138 -0
- package/dist/assets/{CardNumberSubText-H4wtwe6R-CVi7j9Nt.js → CardNumberSubText-C-oVdziK-Cq3VPImW.js} +3 -3
- package/dist/assets/{CashbackDetailPage-Bo_bsGqF-ButLTwgN.js → CashbackDetailPage-BhFKSl4p-ewrE6dWH.js} +28 -28
- package/dist/assets/{ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js → ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js} +20 -20
- package/dist/assets/{ChargeCardListPage-Dfa_PX3G-CgibIpQD.js → ChargeCardListPage-tdUKyHdz--1Qr1SRx.js} +16 -16
- package/dist/assets/{ChargeCardListTable-GyVhj7uY-DDdTqmU3.js → ChargeCardListTable-CByk3iqX-BeCD5LdA.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-CdWji5S5-BrnExXgk.js → ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js → ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js → ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js → CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js} +15 -15
- package/dist/assets/{CollapsableReportTable-D2dtXfS_-BdWkgbsB.js → CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js → CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js} +32 -32
- package/dist/assets/{CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js → CompanyPassportCard-CHaKk74P-B2_ZiFli.js} +9 -9
- package/dist/assets/{CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js → CompanyPassportPage-DXWXFFKM-BSWnHzV_.js} +36 -36
- package/dist/assets/{CompleteProfile-CBT17ax6-DYIsbIsy.js → CompleteProfile-ChaWsK6t-BWU7y1Ur.js} +2 -2
- package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js → ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js → CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js → CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js} +15 -15
- package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js → CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js → CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js → CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js} +13 -13
- package/dist/assets/{Dashboard-CnwoksS9-Cj6x2TqP.js → Dashboard-Csggwob0-BEFQIWvp.js} +66 -66
- package/dist/assets/{DashboardReportPage-qKhiq9te-FT01lDlD.js → DashboardReportPage-DFIdi_I0-CkaE8ALl.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js → DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-DfhVFXvq-B738llu8.js → DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js → DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js} +2 -2
- package/dist/assets/{DownloadOverlay-DLbD0wMn-DFyBDJuM.js → DownloadOverlay-4f9deyJS-BVIQGklQ.js} +26 -26
- package/dist/assets/{DrawerPage-CCZXoj1F-DCS5WSNv.js → DrawerPage-roO3xvRT-BOp9n67_.js} +11 -11
- package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +18 -0
- package/dist/assets/{EntitySummarySection-BVG0N8QO-B29acNJ9.js → EntitySummarySection-fBL4TZpT-Do-s3IXr.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js → ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +1703 -0
- package/dist/assets/{ExpressPayPage-DBxaDfRz-CvEgT1Dz.js → ExpressPayPage-c8oTCnBR-B1eI11Un.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js → FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js} +3 -3
- package/dist/assets/{FollowStepsSection-BCWwwk1I-Dr0Igucn.js → FollowStepsSection-GaWu1kt9-BRvlMtUk.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +291 -0
- package/dist/assets/{InformationCardStack-Czrqxdi_-DFscx6Un.js → InformationCardStack-dMFbHUWM-C-FgUaQe.js} +6 -6
- package/dist/assets/{InsightsCardStack-B50r1AKc-Fu1xeA5s.js → InsightsCardStack-BlXkyuyz-DfwZenu8.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BMSATQJz-pQzp159S.js → IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js → InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +65 -0
- package/dist/assets/{InviteFormPage-DlqcSLWX-NYU1sZxR.js → InviteFormPage-BCdalqtP-CWNB58up.js} +21 -21
- package/dist/assets/{InvitePageListView--BKiq1KG-ChG4UMr4.js → InvitePageListView-B88FW48q-DLYg-1DF.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +140 -0
- package/dist/assets/{IssueChargeCardPage-kFsPFGzp-XYgLhons.js → IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js} +18 -18
- package/dist/assets/{LabeledAddressValue-COZsPbp0-DczoqRAG.js → LabeledAddressValue-CQrDCgNs-DLETXjJP.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js → LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js → LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js → LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js → LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js} +7 -7
- package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js → LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js → LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js} +16 -16
- package/dist/assets/{LockCardPage-L5EAfQK5-CrxGoWXN.js → LockCardPage-CHv1xi2J-CdU6oKR8.js} +217 -217
- package/dist/assets/{LowBalancePopup-CIN_PWxf-CcAZgcPw.js → LowBalancePopup-Cb55PGLc-D5jF-boV.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-B33mBOG9-35QrlIpm.js → MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js} +5 -5
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js → MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +30 -0
- package/dist/assets/{NavigationArrow-2B-EgvgC-BK9qtbBJ.js → NavigationArrow-kQWS5Pzb-CpYsSVtE.js} +7 -7
- package/dist/assets/{NavigationDots-BrWdpJ3R-DuPdXi3_.js → NavigationDots-BQb_Fodq-C4MvpAYN.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js → NewGlobalMerchantPage-z86XZorn-MrP90led.js} +40 -40
- package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +26 -0
- package/dist/assets/{NoDataTable-CX24L0oK-DtsfPk0l.js → NoDataTable-DVe7sQhD-B4Won1bo.js} +1 -1
- package/dist/assets/{NotFoundPage-Brtxr86A-Bnm1jjAT.js → NotFoundPage-B1XCmhSe-BbSR46rN.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BV3iZaL6-CCJncOdH.js → NotificationSettingsPage-BaN20EGV-BApCLVwG.js} +20 -20
- package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js → OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js → PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js} +13 -13
- package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +675 -0
- package/dist/assets/{Preview-CngKNrtz.js → Preview-D0sjWWj-.js} +1 -1
- package/dist/assets/{ProductsCarousel-CYHholgU-BXEP4AT5.js → ProductsCarousel-ufZlh7Rx-CeYUIWta.js} +7 -7
- package/dist/assets/{PromoBaseCards-CT84iiQE-BQw_xgzZ.js → PromoBaseCards-D2UbhBhT-Bd7EQvVS.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js → QBOConnectionDialog-BrQ71F06-SmKPuRPN.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js → ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DCiu630p-D5gOb-J0.js → ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js → ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +1 -0
- package/dist/assets/{ReloadCard-CU39OBXS-B7fXlVdj.js → ReloadCard-vAhL7B8U-t1zAQv25.js} +8 -8
- package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +150 -0
- package/dist/assets/{ReportsPage-gqc75ljk-7NT5JGPF.js → ReportsPage-DKM0gVzR-Bx9Ahq8r.js} +6 -6
- package/dist/assets/{RevenueChart-CtFVmX84-uni5BcG_.js → RevenueChart-BEjDS1u4-CJFUFXPf.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js → ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js} +53 -53
- package/dist/assets/{ReviewOverlay-f-2s-XBM-D-MuCoTz.js → ReviewOverlay-Bn3TFqfi-Cm7uPP59.js} +24 -24
- package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js} +13 -13
- package/dist/assets/ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js +37 -0
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +324 -0
- package/dist/assets/{ScreenRoutes-BOS_ZMWh.js → ScreenRoutes-B2hsHPEr.js} +48 -48
- package/dist/assets/{SetUpAccountSection-6NXF_yfU-BamPpzSM.js → SetUpAccountSection-CoVrSSYL-7U497n--.js} +7 -7
- package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +491 -0
- package/dist/assets/SignInScreen-DeJvfsin.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js → SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js} +114 -114
- package/dist/assets/{SpendManagementSection-DOQIJFeZ-ivgPfXva.js → SpendManagementSection-D8rBpC-y-FHAIQmms.js} +22 -22
- package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +31 -0
- package/dist/assets/{StatementsPage-BgsnClLk-8ec-Me8v.js → StatementsPage-DiY2BOcu-APBz42WN.js} +5 -5
- package/dist/assets/{StatusSwitcher-CmZuoA5C-CAazKXUL.js → StatusSwitcher-B9MARTyR-P7RIwFRO.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DnAcWm4k-BiidkdTF.js → SubTabSwitcher-C3rtSwro-DGcZkDgz.js} +2 -2
- package/dist/assets/{SummaryCard-DiwOZob1-BzF2DJC-.js → SummaryCard-CShVbqhj-D8ckNEht.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js → TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +31 -0
- package/dist/assets/{TopExCard-8Ddo4t8T-CqjPXnoc.js → TopExCard-dI_WEGWb-Dg0iyuar.js} +12 -12
- package/dist/assets/{TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js → TopExDetailPage-BWy5E8Lp-z65VL4y3.js} +14 -14
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +903 -0
- package/dist/assets/{TransactionList-C4_0d8Yi-D_b8rDHf.js → TransactionList-80KjM8Kg-CGTGojKw.js} +16 -16
- package/dist/assets/{TransactionListBig-hJjsZlZZ-BQM8cKJz.js → TransactionListBig-DWQXH4ID-BXeSpaXE.js} +20 -20
- package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js → TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js} +15 -15
- package/dist/assets/{TransferDrawerPage-CqMRBO0T-DRSuLibB.js → TransferDrawerPage-6z-MoZZP-BDrE92fY.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js → TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js} +42 -42
- package/dist/assets/{TreasuryPromoPage-DSF3PsLc-CzfjJZli.js → TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js} +27 -27
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js → TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js} +3 -3
- package/dist/assets/{TrendChart-DjYTskVA-gHskLbo_.js → TrendChart-C6B61CAm-DSOogQNb.js} +4 -4
- package/dist/assets/{TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js → TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js → UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DRwdsemz--LS2beFi.js → UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +1 -0
- package/dist/assets/{VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js → VendorDetailPage-C4g_Gfsl-PDTA30fp.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js → VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js → VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js → VendorsAccountsSection-BT-RADSV-DmS6BFzF.js} +4 -4
- package/dist/assets/{VerifyDevice-CkbL9enV-JKJb0VZk.js → VerifyDevice-Cxc9CVMi-Brvk1hge.js} +13 -13
- package/dist/assets/{VideoPlayer-zSNzleMo-B3Hzh9ni.js → VideoPlayer-9UkKMhGy-QE0dUH77.js} +2 -2
- package/dist/assets/{VideoPopup-BTjM2GvI-CfrQhQ9p.js → VideoPopup-rfiYmtio-CZD9BvVe.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js → WarningsDrawerPage-DrUA4asI-BplyTtEg.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js → ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js → ZeniAccountListViewPage-1oZZynB1-i09iw6my.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js → ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js → ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js → ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js} +3 -3
- package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js → ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-D4tNYjqP.js → add-to-wallet-DgdBD8_G-Cs3ZFbTn.js} +1 -1
- package/dist/assets/{analytics-BTo2lvc5.js → analytics-hCfYtzJT.js} +30 -30
- package/dist/assets/{analyticsHelper-BOam8HWk-DTVMIEqW.js → analyticsHelper-CT5zOInj-Du0DTPF_.js} +1 -1
- package/dist/assets/{analyticsHelper-BeNcAjzu.js → analyticsHelper-DKGNBdrX.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BpAbcXNu.js → arrow-south-east-round-PEovUgvH-CzrrwgSg.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DUd0RNlG.js → auto-transfer-rule-mbafm5D3-B_xw5P5j.js} +1 -1
- package/dist/assets/{chartTypes-DWf4SAOE-BXMQEiqd.js → chartTypes-Ddw_3-6f-BMc10nJG.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +1 -0
- package/dist/assets/{commonTypes-B6f3YP8V-CbYlRzb2.js → commonTypes-B-foaEwJ-DqsczfuL.js} +1 -1
- package/dist/assets/{constants-CfG3jptV.js → constants-y09M8DFT.js} +1 -1
- package/dist/assets/{core-CDOHNO2G.js → core-Ce1HnmCU.js} +1 -1
- package/dist/assets/{dash.all.min-C7dNtldN.js → dash.all.min-BLN3VaU-.js} +1 -1
- package/dist/assets/{detailCommon-ceDAo_fs-K8aKPC4G.js → detailCommon-Cpgf9GLg-CC3Vv-5k.js} +9 -9
- package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +1 -0
- package/dist/assets/{empty-EVjF_gMV.js → empty-BjLibp41.js} +1 -1
- package/dist/assets/{empty-hw3sN7vf.js → empty-CHvpDZ25.js} +1 -1
- package/dist/assets/epic-CIKGU6HT.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-C8C7NLZp.js → gift-box-Cmt9OgIZ-tPfmdYN9.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DrMXjgQT.js → graphic-no-data-l-DU4J8fDt-DgWqYmly.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js → graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-1LlZ_i0d.js → handshake-BPg58FML-CvblpTUh.js} +1 -1
- package/dist/assets/{helper-C1Mwnd6M-CNavDJqc.js → helper-DP3YY99s-D6TxHUGT.js} +3 -3
- package/dist/assets/{index-DE_CqoFx.js → index-BMSo18eq.js} +1 -1
- package/dist/assets/{index-Bp4xtOn5.js → index-BWlQ-rZN.js} +1 -1
- package/dist/assets/{index-CGTxoCJp.js → index-CbBDw148.js} +4530 -4535
- package/dist/assets/{index-DHoIuE2i.js → index-CnMDhZ-z.js} +1 -1
- package/dist/assets/{index-B6ONklHc.js → index-DV0-LoHG.js} +1 -1
- package/dist/assets/{index-MbFkHHWb.js → index-DXatjVel.js} +1 -1
- package/dist/assets/{index-DyMFy4lV.js → index-Dwr9jsgf.js} +1 -1
- package/dist/assets/{lexical-BeF2ZgkW.js → lexical-Dk2CPrxk.js} +1 -1
- package/dist/assets/{liveblocks-Dn-9djA8.js → liveblocks-ivZsDCw2.js} +1 -1
- package/dist/assets/{lottie-BYfhMHcn.js → lottie-solWV_WO.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js} +1 -1
- package/dist/assets/{mui-CD7xFf2d.js → mui-BLUOobNq.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CEsHow4e.js → page-detail-CWX5S47F-mLiSYxOb.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-CmFHLU8c.js → radio-default-CiSgisfh-BwLFYKqj.js} +1 -1
- package/dist/assets/{react-DtCoLsdE.js → react-BR1Eke5i.js} +1 -1
- package/dist/assets/{react-B6PWZDXX.js → react-BZ0TRoDf.js} +1 -1
- package/dist/assets/{react-BVvI-Vbl.js → react-ChJntTSM.js} +1 -1
- package/dist/assets/{react-BLzPWySR.js → react-DiVyX7it.js} +1 -1
- package/dist/assets/{react-CRe95M2Y.js → react-DwW_czRA.js} +3 -3
- package/dist/assets/{react-Cxxg-6rQ.js → react-OybbRboE.js} +1 -1
- package/dist/assets/{react-DJKM9DI1.js → react-gwEklu5z.js} +2 -2
- package/dist/assets/{react-Dc3Fbg1h.js → react-nPRE2jd8.js} +1 -1
- package/dist/assets/{recharts-CeYsUNdm.js → recharts-J8hRG6fl.js} +1 -1
- package/dist/assets/{sentry-CuNQ_GI9.js → sentry-ClS5bwGc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIELJ6pj.js → shield-DOlUxcFf-DyyzcGvz.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +1 -0
- package/dist/assets/{uploadAttachment-DiB8ywoD-CoooZKCI.js → uploadAttachment-DUpHzqMe-BojPE85u.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +1 -0
- package/dist/assets/{url-CLDcbK8W.js → url-VN-yF4_H.js} +1 -1
- package/dist/assets/{url-DvLmNXM-.js → url-ckMdLfnk.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-D_m3f9kb.js → useLongPress-GCK2COYQ-BBsdk_o7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHWavx9j.js → usp-line-BBd1wKwW-DYPeqq64.js} +1 -1
- package/dist/assets/{utils-i_tuliLj.js → utils-DG8PAOHO.js} +1 -1
- package/dist/assets/{zeni-epic-state-BJYsNVul.js → zeni-epic-state-W0HMFHDj.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-qOWGYckl-DjJAccbn.js +0 -21
- package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +0 -18
- package/dist/assets/AccountRow-D1Jqgk7o-DewC0XFv.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +0 -6
- package/dist/assets/ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js +0 -47
- package/dist/assets/ArAgingDetailPage-DohpExH8-CLRbt3qX.js +0 -46
- package/dist/assets/BankAccountWarningSection-BR28A3L4-D_D37qnN.js +0 -51
- package/dist/assets/BillDetailPage-BxfrpUM5-DDyFcvs1.js +0 -266
- package/dist/assets/BillPayPromoPage-DmRx1E8m-Busj2ugi.js +0 -84
- package/dist/assets/BillingSettingsPage-Co8Gw-go-BVCxX7gI.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js +0 -1
- package/dist/assets/BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js +0 -138
- package/dist/assets/ConfettiBurst-DgE_527a-D7rXkSFC.js +0 -1
- package/dist/assets/CurrencySelectField-CP7MSQnS-BpXGyUMj.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js +0 -12
- package/dist/assets/EditPeoplePage-CDUEfjvF-CJoR5dq4.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js +0 -865
- package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js +0 -3001
- package/dist/assets/GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js +0 -291
- package/dist/assets/InsightsSection-BJeBGbPg-Bqi1LIqW.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js +0 -65
- package/dist/assets/InvitePeoplePage-i3nljXL1-BmSEgqup.js +0 -12
- package/dist/assets/InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js +0 -140
- package/dist/assets/LabeledAddressValueField-ig7qAURp-BZ_M96P1.js +0 -45
- package/dist/assets/LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js +0 -41
- package/dist/assets/LabeledText-wJQ0djD--Dnw-us69.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js +0 -31
- package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js +0 -85
- package/dist/assets/NavBarWithPicker-Csqyzu5C-DIH1ugF7.js +0 -30
- package/dist/assets/NoDataChart-CggIXqiK-C19sXnTb.js +0 -26
- package/dist/assets/NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js +0 -1
- package/dist/assets/NotificationsPage-CMVuwCT_-BEJSVcvU.js +0 -685
- package/dist/assets/OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js +0 -100
- package/dist/assets/PeoplePage-BruWpkMP-BXfRWFlI.js +0 -727
- package/dist/assets/QBOSetupSection-DWIulUc2-DlIiV7jG.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CK_qij-l-D-oREEKY.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js +0 -1
- package/dist/assets/ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js +0 -150
- package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +0 -22
- package/dist/assets/ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js +0 -37
- package/dist/assets/ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js +0 -324
- package/dist/assets/SignIn-C81zFae4-Dea-gjSZ.js +0 -491
- package/dist/assets/SignInScreen-m5WxZ3Sy.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js +0 -134
- package/dist/assets/StatementItem-Pie3qV6--QBqzedQj.js +0 -31
- package/dist/assets/TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js +0 -195
- package/dist/assets/TransactionDetailPage-B5jASgT3-CgTo1hvB.js +0 -903
- package/dist/assets/TransactionListPage-BzIAUEs8-MKD80iuh.js +0 -35
- package/dist/assets/TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js +0 -38
- package/dist/assets/Vendor2FAPopup-CvMY6aLD-DqZVC04g.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +0 -1
- package/dist/assets/VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +0 -1
- package/dist/assets/ZeniCopyright-DPQzZYUR-KHcq5VOQ.js +0 -1
- package/dist/assets/commonDimensions-BgUllk7Z-mJRWeU7K.js +0 -1
- package/dist/assets/downloadPdf-CKymFYOO-BOWpMv5t.js +0 -1
- package/dist/assets/epic-CaPascl_.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-ChVQUbpx.js +0 -3
- package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +0 -1
- package/dist/assets/toChartData-wLoMfnuk-B5A976Ge.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-DYfDjXeu.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as qt,aS as Yt,o as i,F as te,ce as Zt,cn as lt,g9 as Jt,b4 as Qt,cu as Xt,iV as ei,iW as ti,T as ii,bU as J,bP as oi,aU as li,y as m,d as qe,ga as ni,l1 as ri,p as Q,c$ as si,am as W,al as O,ai as ae,l2 as ai,fd as di,l3 as ci,l4 as bt,l5 as xt,kd as pi,l6 as mi,l7 as ui,bS as ft,b as Be,aQ as ee,aw as Ye,gM as Ze,a8 as Je,gm as Qe,cK as wt,l8 as $t,l9 as Ie,aO as ze,la as Xe,aK as we,j2 as vt,j3 as St,lb as kt,j1 as Pt,cA as Tt,cD as Ct,lc as E,ld as jt,gy as _t,c_ as Bt,dw as et,u as p}from"./index-CbBDw148.js";import{a as _,P as It}from"./sentry-ClS5bwGc.js";import{n as o,c as Y}from"./mui-BLUOobNq.js";import{GI as Pe,Go as Te,FR as Ae,bp as zt}from"./zeni-epic-state-W0HMFHDj.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-B9MARTyR-P7RIwFRO.js";import{d as At}from"./useLongPress-GCK2COYQ-BBsdk_o7.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.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]="b4267e21-10c8-4781-967d-7002e3dc4bcf",e._sentryDebugIdIdentifier="sentry-dbid-b4267e21-10c8-4781-967d-7002e3dc4bcf")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Le={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},De={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Re={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[Le,De,bi,it,Re],fi=[Le,De,tt,it,Re],wi=[Le,De,tt,it,Re],$i=[Le,De,tt,xi,Re],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,St)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),h=X(),[y,x]=_.useState(zi(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let g=n;r.sortKey===s&&(g=n==="ascending"?"descending":"ascending"),d?.(s,g)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return h==="small"?t.jsxs(nt,{windowSize:h,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Ii,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:h,children:y.map(s=>t.jsxs(ki,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:h,children:[t.jsxs(Bi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(_i,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Pi,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(vi),nt=o(ae)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -12,7 +12,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
12
12
|
background-color: ${e=>e.theme.colors.grey4};
|
|
13
13
|
justify-content: ${e=>e.windowSize==="small"?"space-between":"unset"};
|
|
14
14
|
position: sticky;
|
|
15
|
-
`,
|
|
15
|
+
`,ki=o.div`
|
|
16
16
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
17
17
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
18
18
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -25,7 +25,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
25
25
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
26
26
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,
|
|
28
|
+
`,Pi=o(Ct)`
|
|
29
29
|
width: 12px;
|
|
30
30
|
height: 12px;
|
|
31
31
|
cursor: pointer;
|
|
@@ -40,36 +40,36 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
40
40
|
height: 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
color: inherit;
|
|
43
|
-
`,
|
|
43
|
+
`,Ti=o.div`
|
|
44
44
|
gap: ${i.sp1};
|
|
45
45
|
display: flex;
|
|
46
|
-
`,
|
|
46
|
+
`,Ci=o(Pt)`
|
|
47
47
|
width: 12px;
|
|
48
48
|
height: 12px;
|
|
49
49
|
color: inherit;
|
|
50
|
-
`,
|
|
50
|
+
`,ji=o.div`
|
|
51
51
|
margin-right: ${i.sp1};
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
|
-
`,
|
|
54
|
+
`,_i=o.div`
|
|
55
55
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
56
56
|
align-items: center;
|
|
57
57
|
padding-top: 2px;
|
|
58
|
-
`,
|
|
58
|
+
`,Bi=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
cursor: pointer;
|
|
61
61
|
gap: 5px;
|
|
62
62
|
&:hover {
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,Ii=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
cursor: pointer;
|
|
68
68
|
gap: 5px;
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,zi=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we(fi);case"scheduled":return we(wi);case"paid":return we($i)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:We,space:ve}}}=te.getLocalizedStrings(),Ai=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:h,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=h||y,n=X(),g=Ye(),T=Ze(),I=Je().analytics,c=`dashboard_${g.currentTenant?.companyId}`,{threads:j,isLoading:S}=Qe({application:"dashboard",companyId:g.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(P=>P.resolved===!1),[j]),L=P=>{P.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:g.currentTenant?.companyId??We,companyName:g.currentTenant?.companyName??We,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",g.currentTenant?.companyName??We,g.controllersList.controllers.map(M=>et(M)),void 0,void 0,"comment on field")},C=_.useCallback(()=>{w(e.id)},[e.id]),k=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie($),Z=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,G=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Li,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Di,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ri,{children:[t.jsxs(Ei,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Mi,{children:[t.jsx(Ni,{windowSize:n,children:Z}),e.isRecurring?t.jsx(J,{title:G(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Hi,{isProcessing:s,children:t.jsx(Gi,{})})}):null]}),t.jsx(Oi,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(at,{windowSize:n,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(at,{windowSize:n,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Ui,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Wi,{children:[l!==void 0?t.jsx(Ki,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Vi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(J,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(qi,{})}):null]}),$!==void 0&&k.length>0?k.length>1?t.jsx(J,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${k.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Fi,{windowSize:n,responsiveWidth:xe[4].width,children:ze("0,0[.]00",e.totalAmountInUSD)})]})}),a&&z.length>0?t.jsx(Xe,{isLoading:S,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:L}):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};
|
|
@@ -78,11 +78,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
78
78
|
padding-top: ${e=>fe.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
79
|
padding-bottom: ${e=>fe.containerPaddingBottom.valuePx(e.windowSize)};
|
|
80
80
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
81
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
81
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
85
|
-
${e=>e.isProcessing?
|
|
85
|
+
${e=>e.isProcessing?Y`
|
|
86
86
|
color: ${e.theme.colors.grey2};
|
|
87
87
|
border-color: ${e.theme.colors.grey2};
|
|
88
88
|
div {
|
|
@@ -94,7 +94,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?Y`
|
|
98
98
|
color: ${e.theme.colors.primary};
|
|
99
99
|
border-color: ${e.theme.colors.primary};
|
|
100
100
|
div {
|
|
@@ -106,7 +106,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
106
106
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
107
107
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
108
108
|
}
|
|
109
|
-
`:
|
|
109
|
+
`:Y`
|
|
110
110
|
&:hover {
|
|
111
111
|
color: ${e.theme.colors.primary};
|
|
112
112
|
border-color: ${e.theme.colors.primary};
|
|
@@ -125,28 +125,28 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
125
125
|
margin-left: ${i.sp0};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Di=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Ri=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
height: 42px;
|
|
136
|
-
`,
|
|
136
|
+
`,Ei=o.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
column-gap: 12px;
|
|
140
140
|
align-items: flex-start;
|
|
141
141
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
142
|
-
`,
|
|
142
|
+
`,Mi=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
gap: ${i.sp1};
|
|
146
146
|
align-items: center;
|
|
147
147
|
margin-right: ${i.sp3};
|
|
148
148
|
color: ${e=>e.theme.colors.hero};
|
|
149
|
-
`,
|
|
149
|
+
`,Ni=o(O)`
|
|
150
150
|
flex-grow: 1;
|
|
151
151
|
word-break: break-word;
|
|
152
152
|
display: -webkit-box;
|
|
@@ -155,13 +155,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
155
155
|
overflow: hidden;
|
|
156
156
|
text-overflow: ellipsis;
|
|
157
157
|
max-width: ${e=>e.windowSize==="small"?"200px":"initial"};
|
|
158
|
-
`,
|
|
158
|
+
`,Fi=o(O)`
|
|
159
159
|
display: flex;
|
|
160
160
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
161
161
|
color: ${e=>e.theme.colors.hero};
|
|
162
162
|
justify-content: flex-end;
|
|
163
163
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,
|
|
164
|
+
`,Oi=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
@@ -181,18 +181,18 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
181
181
|
display: inline-block;
|
|
182
182
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
183
|
border-radius: ${i.sp1};
|
|
184
|
-
`,
|
|
184
|
+
`,Vi=o(O)``,at=o(O)`
|
|
185
185
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
186
186
|
color: ${e=>e.theme.colors.hero};
|
|
187
187
|
box-sizing: border-box;
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Wi=o.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${i.sp2};
|
|
195
|
-
`,
|
|
195
|
+
`,Ui=o.div`
|
|
196
196
|
position: relative;
|
|
197
197
|
top: 2px;
|
|
198
198
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -206,22 +206,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Hi=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
align-items: center;
|
|
212
212
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
213
|
-
`,
|
|
213
|
+
`,Gi=o(_t)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
217
|
-
`,
|
|
217
|
+
`,qi=o(Bt)`
|
|
218
218
|
width: ${i.sp3};
|
|
219
219
|
height: ${i.sp3};
|
|
220
220
|
color: ${e=>e.theme.colors.hero};
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
223
|
}
|
|
224
|
-
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:
|
|
224
|
+
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ue,space:Se}}}=te.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:h,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:g})=>{const T=d||r,I=X(),c=Ye(),j=Ze(),S=Je().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(K=>K.resolved===!1),[L]),Z=K=>{K.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Ue,companyName:c.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??Ue,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,"comment on field")},{getValues:G,setValue:P}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=G(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&P(y,[...se,e.id])},[y,x,a,P,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Oe=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(K=>{K.stopPropagation(),K.cancelable&&K.preventDefault(),$?ge():g(e.id)},[ge,$,g,e.id]),Ke=At({onLongPress:Oe},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Zi,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:T,children:[t.jsx(Ji,{onClick:ye,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Qi,{children:[t.jsxs(ro,{children:[t.jsxs(Xi,{children:[t.jsxs(eo,{children:[t.jsx(to,{windowSize:I,children:re}),e.isRecurring?t.jsx(J,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ao,{isProcessing:T,children:t.jsx(co,{})})}):null]}),t.jsx(oo,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(dt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(dt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(so,{children:[t.jsx(io,{children:ze("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(no,{hasAlertIcon:b!=null,children:[t.jsxs(po,{children:[l!==void 0?t.jsx(lo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(uo,{onClick:K=>K.stopPropagation(),children:t.jsx(J,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(mo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(J,{title:`${ne.byText}${Se}${M.join(`${Se}${ne.orText}${Se}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${Se}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${Se}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),h&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z}):null]})},Zi=o.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -230,10 +230,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
230
230
|
padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
231
|
padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
|
|
232
232
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
233
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
233
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?
|
|
236
|
+
${e=>e.isProcessing?Y`
|
|
237
237
|
color: ${e.theme.colors.grey2};
|
|
238
238
|
border-color: ${e.theme.colors.grey2};
|
|
239
239
|
div {
|
|
@@ -245,7 +245,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?Y`
|
|
249
249
|
color: ${e.theme.colors.primary};
|
|
250
250
|
border-color: ${e.theme.colors.primary};
|
|
251
251
|
div {
|
|
@@ -257,7 +257,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
257
257
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
258
258
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
259
259
|
}
|
|
260
|
-
`:
|
|
260
|
+
`:Y`
|
|
261
261
|
&:hover {
|
|
262
262
|
color: ${e.theme.colors.primary};
|
|
263
263
|
border-color: ${e.theme.colors.primary};
|
|
@@ -274,26 +274,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
274
274
|
`}
|
|
275
275
|
margin-right: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
276
276
|
margin-left: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
277
|
-
`,
|
|
277
|
+
`,Ji=o.div`
|
|
278
278
|
display: block;
|
|
279
279
|
width: 100%;
|
|
280
|
-
`,
|
|
280
|
+
`,Qi=o.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
width: 100%;
|
|
283
283
|
justify-content: space-between;
|
|
284
|
-
`,
|
|
284
|
+
`,Xi=o.div`
|
|
285
285
|
display: flex;
|
|
286
286
|
flex-direction: column;
|
|
287
287
|
column-gap: 12px;
|
|
288
288
|
align-items: flex-start;
|
|
289
|
-
`,
|
|
289
|
+
`,eo=o.div`
|
|
290
290
|
display: flex;
|
|
291
291
|
flex-direction: row;
|
|
292
292
|
gap: ${i.sp1};
|
|
293
293
|
align-items: center;
|
|
294
294
|
margin-right: ${i.sp3};
|
|
295
295
|
color: ${e=>e.theme.colors.hero};
|
|
296
|
-
`,
|
|
296
|
+
`,to=o(O)`
|
|
297
297
|
color: ${e=>e.theme.colors.hero};
|
|
298
298
|
flex-grow: 1;
|
|
299
299
|
word-break: break-word;
|
|
@@ -303,13 +303,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
303
303
|
overflow: hidden;
|
|
304
304
|
text-overflow: ellipsis;
|
|
305
305
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
306
|
-
`,
|
|
306
|
+
`,io=o(O)`
|
|
307
307
|
display: flex;
|
|
308
308
|
color: ${e=>e.theme.colors.hero};
|
|
309
309
|
justify-content: flex-end;
|
|
310
|
-
`,
|
|
310
|
+
`,oo=o(W)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,
|
|
312
|
+
`,lo=o(W)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -327,7 +327,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: center;
|
|
330
|
-
`,
|
|
330
|
+
`,no=o.div`
|
|
331
331
|
color: ${e=>e.theme.colors.hero};
|
|
332
332
|
box-sizing: border-box;
|
|
333
333
|
display: flex;
|
|
@@ -336,32 +336,32 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
336
336
|
justify-content: center;
|
|
337
337
|
`,je=o(W)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,
|
|
339
|
+
`,ro=o.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
|
-
`,
|
|
342
|
+
`,so=o.div`
|
|
343
343
|
display: flex;
|
|
344
344
|
flex-direction: column;
|
|
345
|
-
`,
|
|
345
|
+
`,ao=o.div`
|
|
346
346
|
display: flex;
|
|
347
347
|
align-items: center;
|
|
348
348
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
349
|
-
`,
|
|
349
|
+
`,co=o(_t)`
|
|
350
350
|
width: 12px;
|
|
351
351
|
height: 12px;
|
|
352
352
|
color: inherit;
|
|
353
|
-
`,
|
|
353
|
+
`,po=o.div`
|
|
354
354
|
display: flex;
|
|
355
355
|
flex-direction: row;
|
|
356
356
|
gap: ${i.sp2};
|
|
357
|
-
`,
|
|
357
|
+
`,mo=o(Bt)`
|
|
358
358
|
width: ${i.sp3};
|
|
359
359
|
height: ${i.sp3};
|
|
360
360
|
color: ${e=>e.theme.colors.hero};
|
|
361
361
|
:hover {
|
|
362
362
|
color: ${e=>e.theme.colors.primary};
|
|
363
363
|
}
|
|
364
|
-
`,
|
|
364
|
+
`,uo=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Ee={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Me={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Ne={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Fe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Ee,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],ho=[Ee,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],go=[Ee,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],yo=[Ee,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],Lt={draft:pe,pending_approval:ho,scheduled:go,paid:yo},_e={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[3],p[4])};function bo({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const h=X(),y=qe(),[x,$]=_.useState(we(Lt[l]));_.useEffect(()=>{const n=[...x];for(const g of n)g.key===r.sortKey?g.sortOrder=r.sortOrder:g.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,g)=>{let T=g;r.sortKey===n&&(T=g==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,T),d?.(n,T)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(g=>g.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return h==="small"?t.jsxs(ct,{height:vt,windowSize:h,children:[t.jsx(wo,{children:t.jsx($o,{})}),t.jsx(ft,{title:s.sortBy,placeholder:s.sortBy,pickerValues:w,valueToLabel:u,selectedValue:r.sortKey,onPickerSelectionChanged:n=>{f(n,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(Po,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:St,windowSize:h,children:x.map(n=>t.jsxs(fo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:h,children:[t.jsxs(ko,{onClick:()=>f(n.key,n.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(ae,{children:n.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(mt,{})})]}),t.jsx(So,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(vo,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const xo=It.memo(bo),ct=o(ae)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -374,7 +374,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
374
374
|
padding: ${e=>`${_e.headerLastColumnTopPadding.valuePx(e.windowSize)} ${_e.headerLastColumnRightPadding.valuePx(e.windowSize)} ${_e.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${_e.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
375
375
|
background-color: ${e=>e.theme.colors.grey4};
|
|
376
376
|
position: sticky;
|
|
377
|
-
`,
|
|
377
|
+
`,fo=o.div`
|
|
378
378
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
379
379
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
380
380
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -387,15 +387,15 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
387
387
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
388
388
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
389
389
|
box-sizing: border-box;
|
|
390
|
-
|
|
390
|
+
`,wo=o.div`
|
|
391
391
|
margin-right: ${i.sp1};
|
|
392
392
|
display: flex;
|
|
393
393
|
align-items: center;
|
|
394
|
-
|
|
394
|
+
`,$o=o(Pt)`
|
|
395
395
|
width: 12px;
|
|
396
396
|
height: 12px;
|
|
397
397
|
color: inherit;
|
|
398
|
-
`,
|
|
398
|
+
`,vo=o(Ct)`
|
|
399
399
|
width: 12px;
|
|
400
400
|
height: 12px;
|
|
401
401
|
cursor: pointer;
|
|
@@ -414,14 +414,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
414
414
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
415
|
align-items: center;
|
|
416
416
|
padding-top: 2px;
|
|
417
|
-
`,
|
|
417
|
+
`,ko=o.div`
|
|
418
418
|
display: flex;
|
|
419
419
|
cursor: pointer;
|
|
420
420
|
gap: 5px;
|
|
421
421
|
&:hover {
|
|
422
422
|
color: ${e=>e.theme.colors.primary};
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Po=o.div`
|
|
425
425
|
display: flex;
|
|
426
426
|
cursor: pointer;
|
|
427
427
|
gap: 5px;
|
|
@@ -429,20 +429,20 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,
|
|
432
|
+
`,ke={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},q=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,To=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:h,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=X(),u=Ye(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*kt)},[b]);const g=Je().analytics,T=Ze(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=Ie(y),z=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(G=>G.resolved===!1),[L]),Z=G=>{G.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),g.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(P=>et(P)),void 0,void 0,"comment on field")};return t.jsxs(Co,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(jo,{children:t.jsxs(_o,{children:[t.jsxs(Bo,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(Io,{windowSize:b,reportNameWidth:s,children:e.reportTitle??q.newReimbursementTitle}),a!=null&&t.jsx(zo,{children:`${q.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[1].width,children:h}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(J,{title:q.reimbursementType.both,placement:"bottom-start",display:"flex",children:q.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:q.reimbursementType[j[0]]}),t.jsxs(Ro,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Eo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??q.hyphenText}):t.jsx(Do,{children:q.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(J,{title:`${q.byText} `+S.join(` ${q.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${q.byText} `+S[0]+`${q.dots}`})}):t.jsx(He,{children:`${q.byText} `+S[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Ao,{windowSize:b,responsiveWidth:pe[4].width,children:ze("0,0[.]00",e.amount)})]})}),$&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:Z}):null]})},Co=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
436
|
-
padding-left: ${e=>
|
|
437
|
-
padding-right: ${e=>
|
|
438
|
-
padding-top: ${e=>
|
|
439
|
-
padding-bottom: ${e=>
|
|
436
|
+
padding-left: ${e=>ke.containerPaddingLeft.valuePx(e.windowSize)};
|
|
437
|
+
padding-right: ${e=>ke.containerPaddingRight.valuePx(e.windowSize)};
|
|
438
|
+
padding-top: ${e=>ke.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
|
+
padding-bottom: ${e=>ke.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
445
|
-
${e=>e.isProcessing?
|
|
445
|
+
${e=>e.isProcessing?Y`
|
|
446
446
|
color: ${e.theme.colors.grey2};
|
|
447
447
|
border-color: ${e.theme.colors.grey2};
|
|
448
448
|
div {
|
|
@@ -454,7 +454,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?Y`
|
|
458
458
|
color: ${e.theme.colors.primary};
|
|
459
459
|
border-color: ${e.theme.colors.primary};
|
|
460
460
|
div {
|
|
@@ -466,7 +466,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
466
466
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
467
467
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
468
468
|
}
|
|
469
|
-
`:
|
|
469
|
+
`:Y`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -482,50 +482,50 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
482
482
|
}
|
|
483
483
|
`}
|
|
484
484
|
|
|
485
|
-
margin-right: ${e=>
|
|
485
|
+
margin-right: ${e=>ke.containerMarginLeft.valuePx(e.windowSize)};
|
|
486
486
|
margin-left: ${i.sp0};
|
|
487
|
-
`,
|
|
487
|
+
`,jo=o.div`
|
|
488
488
|
display: flex;
|
|
489
489
|
width: 100%;
|
|
490
|
-
`,
|
|
490
|
+
`,_o=o.div`
|
|
491
491
|
display: flex;
|
|
492
492
|
width: 100%;
|
|
493
493
|
height: 42px;
|
|
494
|
-
`,
|
|
494
|
+
`,Bo=o.div`
|
|
495
495
|
display: flex;
|
|
496
496
|
flex-direction: column;
|
|
497
497
|
justify-content: center;
|
|
498
498
|
column-gap: 12px;
|
|
499
499
|
align-items: flex-start;
|
|
500
500
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
501
|
-
`,
|
|
501
|
+
`,Io=o(O)`
|
|
502
502
|
color: ${e=>e.theme.colors.hero};
|
|
503
503
|
align-items: center;
|
|
504
504
|
white-space: nowrap;
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
text-overflow: ellipsis;
|
|
507
|
-
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${
|
|
508
|
-
`,
|
|
507
|
+
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${kt*100}%`};
|
|
508
|
+
`,zo=o(ae)`
|
|
509
509
|
color: ${e=>e.theme.colors.grey1};
|
|
510
|
-
`,
|
|
510
|
+
`,Ao=o(O)`
|
|
511
511
|
display: flex;
|
|
512
512
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
515
515
|
justify-content: flex-end;
|
|
516
|
-
`,
|
|
516
|
+
`,Lo=o(O)`
|
|
517
517
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
518
518
|
color: ${e=>e.theme.colors.hero};
|
|
519
519
|
box-sizing: border-box;
|
|
520
520
|
display: flex;
|
|
521
521
|
align-items: center;
|
|
522
|
-
`,
|
|
522
|
+
`,Do=o(O)``,ut=o(O)`
|
|
523
523
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
524
524
|
color: ${e=>e.theme.colors.hero};
|
|
525
525
|
box-sizing: border-box;
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
|
-
`,
|
|
528
|
+
`,Ro=o(O)`
|
|
529
529
|
position: relative;
|
|
530
530
|
top: 2px;
|
|
531
531
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -535,11 +535,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
align-items: flex-start;
|
|
537
537
|
justify-content: center;
|
|
538
|
-
`,
|
|
538
|
+
`,He=o(W)`
|
|
539
539
|
position: relative;
|
|
540
540
|
top: 1px;
|
|
541
541
|
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,
|
|
542
|
+
`,Eo=o(W)`
|
|
543
543
|
display: flex;
|
|
544
544
|
color: ${e=>e.color};
|
|
545
545
|
align-items: center;
|
|
@@ -547,7 +547,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},
|
|
550
|
+
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},V=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Mo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:h,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=X(),{getValues:n,setValue:g}=wt(),T=e.reimbursementTypesIncluded,I=Ie(b),c=we(Lt[d]),j=n(h),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&g(h,[...j,e.id])},[h,y,a,g,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),L=_.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=At({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(No,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Fo,{onClick:L,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Oo,{children:[t.jsxs(Ko,{children:[t.jsxs(Wo,{children:[t.jsx(Uo,{windowSize:s,children:e.reportTitle??V.newReimbursementTitle}),$!=null&&t.jsx(Ho,{children:`${V.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(qo,{children:[c[1].value+": ",f]}),T.length>1?t.jsx(J,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType[T[0]]]})]}),t.jsxs(Vo,{children:[t.jsx(Go,{children:ze("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[l!==void 0?t.jsx(Zo,{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&&I.length>0?I.length>1?t.jsx(J,{title:`${V.byText} `+I.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]+`${V.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},No=o.div`
|
|
551
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -556,10 +556,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
556
556
|
padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
557
|
padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
|
|
558
558
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
559
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
559
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?
|
|
562
|
+
${e=>e.isProcessing?Y`
|
|
563
563
|
color: ${e.theme.colors.grey2};
|
|
564
564
|
border-color: ${e.theme.colors.grey2};
|
|
565
565
|
div {
|
|
@@ -571,7 +571,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?Y`
|
|
575
575
|
color: ${e.theme.colors.primary};
|
|
576
576
|
border-color: ${e.theme.colors.primary};
|
|
577
577
|
div {
|
|
@@ -583,7 +583,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
583
583
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
584
584
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
585
585
|
}
|
|
586
|
-
`:
|
|
586
|
+
`:Y`
|
|
587
587
|
&:hover {
|
|
588
588
|
color: ${e.theme.colors.primary};
|
|
589
589
|
border-color: ${e.theme.colors.primary};
|
|
@@ -601,26 +601,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
601
601
|
|
|
602
602
|
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
603
|
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,
|
|
604
|
+
`,Fo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Oo=o.div`
|
|
608
608
|
display: flex;
|
|
609
609
|
width: 100%;
|
|
610
610
|
justify-content: space-between;
|
|
611
611
|
`,Ko=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
|
-
`,
|
|
614
|
+
`,Vo=o.div`
|
|
615
615
|
display: flex;
|
|
616
616
|
flex-direction: column;
|
|
617
617
|
text-align: right;
|
|
618
|
-
`,
|
|
618
|
+
`,Wo=o.div`
|
|
619
619
|
display: flex;
|
|
620
620
|
flex-direction: column;
|
|
621
621
|
column-gap: 12px;
|
|
622
622
|
align-items: flex-start;
|
|
623
|
-
`,
|
|
623
|
+
`,Uo=o(O)`
|
|
624
624
|
color: ${e=>e.theme.colors.hero};
|
|
625
625
|
flex-grow: 1;
|
|
626
626
|
word-break: break-word;
|
|
@@ -630,13 +630,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Ho=o(W)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Go=o(O)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,
|
|
639
|
+
`,qo=o(W)`
|
|
640
640
|
color: ${e=>e.theme.colors.grey1};
|
|
641
641
|
box-sizing: border-box;
|
|
642
642
|
display: flex;
|
|
@@ -646,14 +646,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
648
648
|
align-items: center;
|
|
649
|
-
`,
|
|
649
|
+
`,Yo=o.div`
|
|
650
650
|
color: ${e=>e.theme.colors.hero};
|
|
651
651
|
box-sizing: border-box;
|
|
652
652
|
display: flex;
|
|
653
653
|
flex-direction: column;
|
|
654
|
-
`,
|
|
654
|
+
`,Ge=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,
|
|
656
|
+
`,Zo=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,22 +663,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
666
|
-
`,Yo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Xo}},spendManagement:{billPay:Dt,reimbursement:el}}=v,H=Dt.bulkActions,F=el.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",tl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:h,transactionsSelectedForBulkAction:k,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),P=T=>{const M=w==="bill_pay"?e[T].vendor?.name??e[T].candidateVendorName??N:e[T].reportTitle??N;return ri(M,C)},q=_.useRef(null);_.useEffect(()=>{q.current?.resetAfterIndex(0)},[C,q,d,r]);const G=_.forwardRef((T,M)=>{const{children:re,style:ie,...se}=T;return t.jsx(Pl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,qt({componentName:`${yi(w)}.${bi(d,w)}`,enabled:c==="Completed"}),t.jsx(gl,{children:c==="Error"?t.jsxs(xl,{children:[t.jsx(fl,{onClick:z,children:t.jsx(wl,{})}),t.jsx($l,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Qt,{fetchState:c,styles:{margin:"auto"}}):t.jsx(vl,{windowSize:C,children:t.jsx(Yt,{children:({height:T,width:M})=>t.jsx(Xt,{ref:q,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:P,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:h,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:k,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:il})})})})},Hl=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:h,isBulkActionAllowed:k,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:P,onReloadTransactions:q,onColumnSortConfigChanged:G,analytics:T,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Vt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===h)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);T?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));T?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Ve=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,V]=_.useState(!1),[U,We]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);P==="Completed"&&A!=null&&T?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[T,a,u,s,P]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ul(s,c.length,a,I);if(We({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);T?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));T?.trackReimbursementBulkDeleted(c.length,a,u,R)}V(!0)},[s,T,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length);We({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ft={onOkClick:A=>{if(V(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);T?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));T?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),V(!1),We({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);T?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));T?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,T,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(bl,{children:[t.jsx(gi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(yl,{onSubmit:se.handleSubmit(Ve),children:[t.jsx(tl,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:P,onReloadTransactions:q,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(Jt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Zt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:dl(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:cl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:pl(j,ye)},leftSideComponent:sl(c.length,h,s,ye),rightSideComponent:j.includes("delete")?al(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},il=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:h,analytics:k,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=Ze(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(kl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:nl(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:rl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=f?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:hl(C,a),exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:P?"info":yt(C)}})]:[{label:t.jsx(fo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:k,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=b?.includes(C.id)??!1;return{label:t.jsx(ll,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:g,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:P}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:P?"info":yt(C)}})]})})},ol=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?qi:Li,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Le(s?.type),h=b?.includes(e.id)??!1,k=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:h,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||h?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?k():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ll=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?No:Co,w=Ie(),s=pi(w),n=mi(d,e.submittedBy,s),{bulkProcessingDetail:h}=e,k=Le(h?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:n,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:g.includes(e.id),isProcessing:k,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:hi(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:ui(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:k?()=>null:f})})},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 a=d==="bill_pay"?H.bill:F.report,g=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(_l,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Bl,{multiDigit:e>=10,children:e}),t.jsx(Il,{children:g}),e===l?t.jsx(zl,{children:Xo}):null]}):null},al=(e,l,d,r)=>e>0?t.jsx(Tl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Cl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(Q,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(jl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Le(d?.type),g=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},dl=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},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:a,payments:g,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ul=(e,l,d,r)=>{const{this_:a,these:g,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let h=N;e==="bill_pay"?h=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):h=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let k=N;return d==="draft"?e==="bill_pay"?k=H.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f):k=F.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("__report__",n?u:b):r?k=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?k=H.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):k=F.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:h,description:k}},hl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Le(e.bulkProcessingDetail?.type)?"info":"alert",gl=o.div`
|
|
666
|
+
`,Jo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Qo}},spendManagement:{billPay:Dt,reimbursement:Xo}}=v,H=Dt.bulkActions,F=Xo.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",el=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:g,transactionsSelectedForBulkAction:T,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),k=P=>{const M=w==="bill_pay"?e[P].vendor?.name??e[P].candidateVendorName??N:e[P].reportTitle??N;return ri(M,C)},Z=_.useRef(null);_.useEffect(()=>{Z.current?.resetAfterIndex(0)},[C,Z,d,r]);const G=_.forwardRef((P,M)=>{const{children:re,style:ie,...se}=P;return t.jsx(kl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Zt({componentName:`${gi(w)}.${yi(d,w)}`,enabled:c==="Completed"}),t.jsx(hl,{children:c==="Error"?t.jsxs(bl,{children:[t.jsx(xl,{onClick:z,children:t.jsx(fl,{})}),t.jsx(wl,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Jt,{fetchState:c,styles:{margin:"auto"}}):t.jsx($l,{windowSize:C,children:t.jsx(Qt,{children:({height:P,width:M})=>t.jsx(Xt,{ref:Z,height:P,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:k,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:g,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:T,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:tl})})})})},Ul=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:g,isBulkActionAllowed:T,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:k,onReloadTransactions:Z,onColumnSortConfigChanged:G,analytics:P,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Kt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Vt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===g)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);P?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));P?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Oe=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,K]=_.useState(!1),[U,Ve]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);k==="Completed"&&A!=null&&P?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[P,a,u,s,k]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length,a,I);if(Ve({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);P?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));P?.trackReimbursementBulkDeleted(c.length,a,u,R)}K(!0)},[s,P,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=pl(s,c.length);Ve({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),K(!0)},[s,c.length]),Ft={onOkClick:A=>{if(K(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);P?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));P?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),K(!1),Ve({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);P?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));P?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,P,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(yl,{children:[t.jsx(hi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(gl,{onSubmit:se.handleSubmit(Oe),children:[t.jsx(el,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:k,onReloadTransactions:Z,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:P,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:g,isBulkActionAllowed:T,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(qt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Yt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:al(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:dl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:cl(j,ye)},leftSideComponent:rl(c.length,g,s,ye),rightSideComponent:j.includes("delete")?sl(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},tl=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:h,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:g,analytics:T,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=qe(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(vl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:ll(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:nl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=f?.includes(C.id)??!1;return{label:t.jsx(il,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:ul(C,a),exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:k?"info":yt(C)}})]:[{label:t.jsx(xo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:T,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=b?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:h,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:k}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:"checked_or_hover",exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:k?"info":yt(C)}})]})})},il=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:h,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?Yi:Ai,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Ae(s?.type),g=b?.includes(e.id)??!1,T=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:g,isBulkSelectionLimitReached:r.length===h,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||g?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?T():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ol=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:h,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?Mo:To,w=pi(d,e.submittedBy),{bulkProcessingDetail:s}=e,n=Ae(s?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:h.includes(e.id),isProcessing:n,isBulkSelectionLimitReached:h.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:ui(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:mi(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n?()=>null:f})})},ll=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},nl=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},rl=(e,l,d,r)=>{const a=d==="bill_pay"?H.bill:F.report,h=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(jl,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(_l,{multiDigit:e>=10,children:e}),t.jsx(Bl,{children:h}),e===l?t.jsx(Il,{children:Qo}):null]}):null},sl=(e,l,d,r)=>e>0?t.jsx(Pl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Tl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(J,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(Cl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Ae(d?.type),h=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(h)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},al=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},dl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},cl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},pl=(e,l)=>{const{this_:d,these:r,payment:a,payments:h,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",h)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",h)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ml=(e,l,d,r)=>{const{this_:a,these:h,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let g=N;e==="bill_pay"?g=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):g=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let T=N;return d==="draft"?e==="bill_pay"?T=H.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f):T=F.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("__report__",n?u:b):r?T=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?T=H.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):T=F.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:g,description:T}},ul=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",hl=o.div`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
|
-
`,
|
|
669
|
+
`,gl=o.form`
|
|
670
670
|
height: 100%;
|
|
671
|
-
`,
|
|
671
|
+
`,yl=o.div`
|
|
672
672
|
height: calc(100% - 120px);
|
|
673
673
|
margin: auto;
|
|
674
|
-
`,
|
|
674
|
+
`,bl=o.div`
|
|
675
675
|
display: flex;
|
|
676
676
|
width: 100%;
|
|
677
677
|
height: calc(100% - 60px);
|
|
678
678
|
flex-direction: column;
|
|
679
679
|
justify-content: center;
|
|
680
680
|
align-items: center;
|
|
681
|
-
`,
|
|
681
|
+
`,xl=o.div`
|
|
682
682
|
height: 96px;
|
|
683
683
|
width: 96px;
|
|
684
684
|
display: flex;
|
|
@@ -687,25 +687,25 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,
|
|
690
|
+
`,fl=o(oi)`
|
|
691
691
|
height: ${i.sp5};
|
|
692
692
|
width: ${i.sp5};
|
|
693
693
|
color: ${e=>e.theme.colors.grey1};
|
|
694
694
|
&:hover {
|
|
695
695
|
color: ${e=>e.theme.colors.primary};
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
`,wl=o(li)`
|
|
698
698
|
margin-top: ${i.sp3};
|
|
699
699
|
color: ${e=>e.theme.colors.hero};
|
|
700
|
-
|
|
700
|
+
`,$l=o.div`
|
|
701
701
|
/** Subtract top so list can occupy remaining available height */
|
|
702
702
|
height: calc(100vh - 243px);
|
|
703
703
|
max-width: 99.9%;
|
|
704
704
|
.spend-management-list-item:last-of-type {
|
|
705
|
-
height: ${e=>
|
|
705
|
+
height: ${e=>Jo.lastListItemHeight.valuePx(e.windowSize)} !important;
|
|
706
706
|
padding-bottom: ${i.sp9};
|
|
707
707
|
}
|
|
708
|
-
`,
|
|
708
|
+
`,vl=o.div`
|
|
709
709
|
top: ${i.sp0};
|
|
710
710
|
left: ${i.sp0};
|
|
711
711
|
padding-bottom: ${i.sp3};
|
|
@@ -714,31 +714,31 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
714
714
|
position: relative;
|
|
715
715
|
width: auto;
|
|
716
716
|
height: 100%;
|
|
717
|
-
`,
|
|
717
|
+
`,kl=o.div``,Rt=o.div`
|
|
718
718
|
position: relative;
|
|
719
719
|
width: 100%;
|
|
720
|
-
`,
|
|
720
|
+
`,Pl=o.div`
|
|
721
721
|
display: flex;
|
|
722
722
|
justify-content: flex-end;
|
|
723
|
-
`,
|
|
723
|
+
`,Tl=o.div`
|
|
724
724
|
margin-right: ${i.sp8};
|
|
725
725
|
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
726
|
-
color: ${e=>e.windowSize==="small"?
|
|
727
|
-
`,
|
|
726
|
+
color: ${e=>e.windowSize==="small"?Q.important:e.theme.colors.grey1};
|
|
727
|
+
`,Cl=o(si)`
|
|
728
728
|
width: ${i.sp4};
|
|
729
729
|
height: ${i.sp4};
|
|
730
730
|
cursor: pointer;
|
|
731
731
|
color: inherit;
|
|
732
732
|
&:hover {
|
|
733
|
-
color: ${
|
|
733
|
+
color: ${Q.important};
|
|
734
734
|
}
|
|
735
|
-
`,
|
|
735
|
+
`,jl=o.div`
|
|
736
736
|
display: flex;
|
|
737
737
|
justify-content: flex-start;
|
|
738
738
|
align-items: center;
|
|
739
739
|
gap: ${i.sp2};
|
|
740
740
|
margin-left: ${i.sp8};
|
|
741
|
-
`,
|
|
741
|
+
`,_l=o(W)`
|
|
742
742
|
height: 18px;
|
|
743
743
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
744
744
|
padding: ${i.sp0} 6px;
|
|
@@ -747,8 +747,8 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
747
747
|
display: flex;
|
|
748
748
|
justify-content: center;
|
|
749
749
|
align-items: center;
|
|
750
|
-
`,
|
|
750
|
+
`,Bl=o(O)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
|
-
`,
|
|
753
|
-
color: ${
|
|
754
|
-
`;export{
|
|
752
|
+
`,Il=o(ae)`
|
|
753
|
+
color: ${Q.important};
|
|
754
|
+
`;export{Ul as default};
|