@zeniai/web-cockpit-ui 1.15.48-dev → 1.15.49-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-CXIFSMnN-Coq6wI87.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-C-O0nWEk.js → AIPerformancePage-DgrMh-mY-Bylt20RS.js} +104 -104
- package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-yixZKJJd.js → AccountInfoPageContent-DeptuP1q-CsYE_k70.js} +20 -20
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-BghUJRSx.js → AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js → AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js} +19 -19
- package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js → AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-DPPfaq4h.js → AddToWalletPage-BlExjuu4-B196FBl9.js} +18 -18
- package/dist/assets/{AgingReportsPage-vAvkUfOS-eLupiUU4.js → AgingReportsPage-D9UyMHCS-CUKIok_T.js} +7 -7
- package/dist/assets/{AllUserItems-qrYg6Gdx-CexfoJXZ.js → AllUserItems-DGGAZCTH-DA8Osx0t.js} +11 -11
- package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-Bq2ai-ng.js → AppBasePage-ANWa38-v-Dui1Sxci.js} +8 -8
- package/dist/assets/{AppDrawerContent-ATbZG_cu-C_LUaX21.js → AppDrawerContent-UhQJdUmA-CkRUhLQ3.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-CBzkLPD8.js → ArAgingChart-CuFQTCRF-BBoOHiTE.js} +6 -6
- package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +46 -0
- package/dist/assets/{AttachmentView-BrQRChzc-gMo83IaQ.js → AttachmentView-D6K3YHdZ-Bap3B_dh.js} +6 -6
- package/dist/assets/{BankAccountSection-hcKEMs80-C67in8I4.js → BankAccountSection-B51-Hpnt-BDzmY8Fy.js} +6 -6
- package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js → BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js} +30 -30
- package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js → BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js → BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js} +19 -19
- package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BT3nFT0U.js → BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js} +9 -9
- package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +1 -0
- package/dist/assets/{BoxItem-CACRFWG2-ByiTZQgF.js → BoxItem-C-VST523-DMPXmLe8.js} +1 -1
- package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +138 -0
- package/dist/assets/{CardNumberSubText-C-oVdziK-Cq3VPImW.js → CardNumberSubText-BUvXykSn-DR27wA6E.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-ewrE6dWH.js → CashbackDetailPage-BhHWEtnP-BIMVCNfp.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js → ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js} +20 -20
- package/dist/assets/{ChargeCardListPage-tdUKyHdz--1Qr1SRx.js → ChargeCardListPage-D5H9U0h8-DeNsZOzv.js} +16 -16
- package/dist/assets/{ChargeCardListTable-CByk3iqX-BeCD5LdA.js → ChargeCardListTable-Byme0rAu-ych_Qx-x.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js → ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js → ChargeCardPromoPage-VSqN0247-7AKJMP0k.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js → ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js → ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js → CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js → CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js → CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CHaKk74P-B2_ZiFli.js → CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js} +12 -12
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-BSWnHzV_.js → CompanyPassportPage-DoOtHRwj-7bnAHUeu.js} +20 -20
- package/dist/assets/{CompleteProfile-ChaWsK6t-BWU7y1Ur.js → CompleteProfile-DsEoizlG-DOegmHNH.js} +2 -2
- package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js → ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js → CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js → CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js} +15 -15
- package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js → CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js → CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js → CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js → CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js → CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js} +8 -8
- package/dist/assets/{Dashboard-Csggwob0-BEFQIWvp.js → Dashboard-BcjA6DTL-B8wtUrMY.js} +66 -66
- package/dist/assets/{DashboardReportPage-DFIdi_I0-CkaE8ALl.js → DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js → DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js → DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js → DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-BVIQGklQ.js → DownloadOverlay-CfWDWIbC-DcGZOT8A.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-BOp9n67_.js → DrawerPage-CfIhiBhn-A5CC3xdl.js} +11 -11
- package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +865 -0
- package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-Do-s3IXr.js → EntitySummarySection-Bie5ZOV3-BZu2b-HP.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js → ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-B1eI11Un.js → ExpressPayPage-C6Jb6WrN-BeqBD08K.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js → FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js} +3 -3
- package/dist/assets/{FollowStepsSection-GaWu1kt9-BRvlMtUk.js → FollowStepsSection-BlgHPyvL-BhwHykaB.js} +44 -44
- package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-C-FgUaQe.js → InformationCardStack-BkuCjydF-ClSDOapP.js} +6 -6
- package/dist/assets/{InsightsCardStack-BlXkyuyz-DfwZenu8.js → InsightsCardStack-BFrwV0PC-CZ45PRa1.js} +10 -10
- package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js → InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-CWNB58up.js → InviteFormPage-D8zySzlG-B662YNtS.js} +21 -21
- package/dist/assets/{InvitePageListView-B88FW48q-DLYg-1DF.js → InvitePageListView-DUng4fOl-Bw5RtSsX.js} +63 -63
- package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +12 -0
- package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js → IssueChargeCardPage-Vzj9appY-09K43VT7.js} +18 -18
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-DLETXjJP.js → LabeledAddressValue-inaQliHs-Dg9xTHiz.js} +2 -2
- package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js → LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js → LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js → LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js} +8 -8
- package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js → LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js} +7 -7
- package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js → LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js → LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js → LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js} +16 -16
- package/dist/assets/{LockCardPage-CHv1xi2J-CdU6oKR8.js → LockCardPage-CPUbpfrv-3LEgf1Eq.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cb55PGLc-D5jF-boV.js → LowBalancePopup-Cg-JRo7A-zj6pzOkP.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js → MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js} +5 -5
- package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js → MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +85 -0
- package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-CpYsSVtE.js → NavigationArrow-CqK2Gxhj-JoTM067o.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-C4MvpAYN.js → NavigationDots-C7DGhAsk-BigsWf2H.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-MrP90led.js → NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js} +40 -40
- package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-B4Won1bo.js → NoDataTable-B355xDAT-DcAZ4j4d.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-BbSR46rN.js → NotFoundPage-Bfp9Pyxw-DVJn2b4k.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-BApCLVwG.js → NotificationSettingsPage-1OEolmCL-DbOSpAhH.js} +20 -20
- package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +1 -0
- package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +685 -0
- package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js → OverlayContainerPage-D4QU0p4o-CR2TYg0o.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js → PandLWithForecastPage-ChIPvp4R-qyv7RUis.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js → PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js} +13 -13
- package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +727 -0
- package/dist/assets/{Preview-D0sjWWj-.js → Preview-qBYtkSAF.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-CeYUIWta.js → ProductsCarousel-eVPl5t0I-BGcfqmV6.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-Bd7EQvVS.js → PromoBaseCards-HrcAWM4W-BKT0vHPP.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-SmKPuRPN.js → QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js} +6 -6
- package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js → ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js → ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js → ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js → ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +1 -0
- package/dist/assets/{ReloadCard-vAhL7B8U-t1zAQv25.js → ReloadCard-DrAfrMOy-Dp01MRiJ.js} +8 -8
- package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +150 -0
- package/dist/assets/{ReportsPage-DKM0gVzR-Bx9Ahq8r.js → ReportsPage-E9MU25NS-BG-K0aaI.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-CJFUFXPf.js → RevenueChart-CzVs6lFB-CetzZFOl.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js → ReviewDetailsPage-DR0MCIgO-DeTv48zq.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-Cm7uPP59.js → ReviewOverlay-jDgQyzfL-CrHwzWa9.js} +24 -24
- package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js → ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js → ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +324 -0
- package/dist/assets/{ScreenRoutes-B2hsHPEr.js → ScreenRoutes-CyJpBFvr.js} +48 -48
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-7U497n--.js → SetUpAccountSection-Bq2qSGml-DouG9J1c.js} +7 -7
- package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +491 -0
- package/dist/assets/SignInScreen-Crh_lnSg.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js → SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js} +114 -114
- package/dist/assets/{SpendManagementSection-D8rBpC-y-FHAIQmms.js → SpendManagementSection-DJfAJzAL-ig4GL1ZT.js} +22 -22
- package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +31 -0
- package/dist/assets/{StatementsPage-DiY2BOcu-APBz42WN.js → StatementsPage-BgYeg1T4-C88dmgbV.js} +5 -5
- package/dist/assets/{StatusSwitcher-B9MARTyR-P7RIwFRO.js → StatusSwitcher-C4MmXvmy-xYxIiuBt.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3rtSwro-DGcZkDgz.js → SubTabSwitcher-UW2b0f3g-Dn63h3aS.js} +2 -2
- package/dist/assets/{SummaryCard-CShVbqhj-D8ckNEht.js → SummaryCard-BLqrfWMN-BoOQqfaJ.js} +1 -1
- package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js → TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js} +4 -4
- package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-Dg0iyuar.js → TopExCard-BKUm1fVu-CdS4qfxw.js} +6 -6
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-z65VL4y3.js → TopExDetailPage-BpaKGiXB-_eDwMn8-.js} +18 -18
- package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +195 -0
- package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +903 -0
- package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +153 -0
- package/dist/assets/{TransactionListBig-DWQXH4ID-BXeSpaXE.js → TransactionListBig-C1i2HOEm-BoHPxhV4.js} +18 -18
- package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js → TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js} +15 -15
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-BDrE92fY.js → TransferDrawerPage-enFS8KsH-pWKe3GIV.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js → TreasuryOverviewPage-BT--Br6F-DZD_F62z.js} +36 -36
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js → TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js} +27 -27
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js → TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js → TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js} +3 -3
- package/dist/assets/{TrendChart-C6B61CAm-DSOogQNb.js → TrendChart-CWaL1-sD-jHXMg1Jt.js} +4 -4
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js → TrendWithTransactions-ULrBa2b0-DV504Izy.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js → UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js → UnitIntegrationPage-KbEwifey-DfbiDH3c.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +38 -0
- package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +1 -0
- package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-PDTA30fp.js → VendorDetailPage-BwbESVFq-BHZW_2ez.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js → VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js → VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-DmS6BFzF.js → VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js} +4 -4
- package/dist/assets/{VerifyDevice-Cxc9CVMi-Brvk1hge.js → VerifyDevice-BRCRNTf1-Dw4vKeVk.js} +11 -11
- package/dist/assets/{VideoPlayer-9UkKMhGy-QE0dUH77.js → VideoPlayer-BgWCDJp3-CbPNc--2.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-CZD9BvVe.js → VideoPopup-ckAw3yZZ-CPBR9ffY.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-BplyTtEg.js → WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js → ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-i09iw6my.js → ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js → ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js → ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js} +22 -22
- package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +36 -0
- package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js → ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-Cs3ZFbTn.js → add-to-wallet-DgdBD8_G-DgloNLoG.js} +1 -1
- package/dist/assets/{analytics-hCfYtzJT.js → analytics-BxsZVqMD.js} +30 -30
- package/dist/assets/{analyticsHelper-DKGNBdrX.js → analyticsHelper-BROaWFlP.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-Du0DTPF_.js → analyticsHelper-YXL3oVeL-st_q3oRE.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CzrrwgSg.js → arrow-south-east-round-PEovUgvH-Cgw5LgRs.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B_xw5P5j.js → auto-transfer-rule-mbafm5D3-DEP8Cseu.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-BMc10nJG.js → chartTypes-BPQ65VEE-6yZpeJsO.js} +1 -1
- package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-DqsczfuL.js → commonTypes-WZYufpaN-dYh7B5Qi.js} +1 -1
- package/dist/assets/{constants-y09M8DFT.js → constants-cBgt-jnp.js} +1 -1
- package/dist/assets/{core-Ce1HnmCU.js → core-CCdM5htn.js} +1 -1
- package/dist/assets/{dash.all.min-BLN3VaU-.js → dash.all.min-BhdX5A-b.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-CC3Vv-5k.js → detailCommon-cqZF9ZV8-CcqFhiCw.js} +6 -6
- package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +1 -0
- package/dist/assets/{empty-BjLibp41.js → empty-21UCvCWa.js} +1 -1
- package/dist/assets/{empty-CHvpDZ25.js → empty-Ci7PTPdn.js} +1 -1
- package/dist/assets/epic-DjY7Y3Uv.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-tPfmdYN9.js → gift-box-Cmt9OgIZ-fL_gav59.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DgWqYmly.js → graphic-no-data-l-DU4J8fDt-CsPk6hIb.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js → graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CvblpTUh.js → handshake-BPg58FML-CJV_gJfO.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-D6TxHUGT.js → helper-GwFcgf4f-QTj7P4Bk.js} +3 -3
- package/dist/assets/{index-Dwr9jsgf.js → index-8HE4yJ5t.js} +1 -1
- package/dist/assets/{index-DV0-LoHG.js → index-BsaB-Va2.js} +1 -1
- package/dist/assets/{index-BWlQ-rZN.js → index-C96UtQPZ.js} +1 -1
- package/dist/assets/{index-CbBDw148.js → index-Cq3X29cS.js} +4594 -4589
- package/dist/assets/{index-DXatjVel.js → index-D2yPgh5G.js} +1 -1
- package/dist/assets/{index-BMSo18eq.js → index-DBail5F5.js} +1 -1
- package/dist/assets/{index-CnMDhZ-z.js → index-DQtDqiLj.js} +1 -1
- package/dist/assets/{lexical-Dk2CPrxk.js → lexical-BfjdJw9p.js} +1 -1
- package/dist/assets/{liveblocks-ivZsDCw2.js → liveblocks-hPir54fv.js} +1 -1
- package/dist/assets/{lottie-solWV_WO.js → lottie-B9oE3WTk.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js → mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +1 -0
- package/dist/assets/{mui-BLUOobNq.js → mui-DzE-7sTl.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-mLiSYxOb.js → page-detail-CWX5S47F-CU2PSbaV.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-BwLFYKqj.js → radio-default-CiSgisfh-Bxc-V1Pu.js} +1 -1
- package/dist/assets/{react-gwEklu5z.js → react-BZ8J0jw1.js} +2 -2
- package/dist/assets/{react-DiVyX7it.js → react-BldneNt8.js} +1 -1
- package/dist/assets/{react-DwW_czRA.js → react-CCRxUGC8.js} +3 -3
- package/dist/assets/{react-nPRE2jd8.js → react-CI8KeqtZ.js} +1 -1
- package/dist/assets/{react-BR1Eke5i.js → react-CrnvOta1.js} +1 -1
- package/dist/assets/{react-ChJntTSM.js → react-DukPPAPu.js} +1 -1
- package/dist/assets/{react-BZ0TRoDf.js → react-IwpftXW_.js} +1 -1
- package/dist/assets/{react-OybbRboE.js → react-iFe9VXnX.js} +1 -1
- package/dist/assets/{recharts-J8hRG6fl.js → recharts-CiLmNGsl.js} +1 -1
- package/dist/assets/{sentry-ClS5bwGc.js → sentry-DQ_HstYV.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DyyzcGvz.js → shield-DOlUxcFf-B21f1_cN.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +1 -0
- package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BojPE85u.js → uploadAttachment-htF-2xC2-BK-WmHcD.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +1 -0
- package/dist/assets/{url-VN-yF4_H.js → url-D8jqtRfm.js} +1 -1
- package/dist/assets/{url-ckMdLfnk.js → url-vYaM0QEj.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BBsdk_o7.js → useLongPress-GCK2COYQ-BEGNcNvC.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DYPeqq64.js → usp-line-BBd1wKwW-R5RCG5WU.js} +1 -1
- package/dist/assets/{utils-DG8PAOHO.js → utils-wDk5ojg7.js} +1 -1
- package/dist/assets/{zeni-epic-state-W0HMFHDj.js → zeni-epic-state-B4gyGBI3.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-Bfz777OP.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +0 -18
- package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +0 -47
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +0 -46
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +0 -51
- package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +0 -266
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +0 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +0 -138
- package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +0 -865
- package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +0 -140
- package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +0 -45
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +0 -41
- package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +0 -31
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +0 -1
- package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +0 -685
- package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +0 -1
- package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +0 -150
- package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +0 -22
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +0 -324
- package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +0 -491
- package/dist/assets/SignInScreen-DeJvfsin.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +0 -134
- package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +0 -31
- package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +0 -195
- package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +0 -903
- package/dist/assets/TransactionList-80KjM8Kg-CGTGojKw.js +0 -153
- package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +0 -35
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js +0 -36
- package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +0 -1
- package/dist/assets/epic-CIKGU6HT.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
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 Jt,aT as Zt,o as i,b as te,cf as qt,co as lt,gb as Qt,b5 as Yt,cw as Xt,i$ as ei,j0 as ti,L as ii,bV as Q,bQ as oi,aV as li,x as m,y as Ze,gc as ni,lb as ri,p as Y,d1 as si,ao as W,an as O,ak as ae,lc as ai,ff as di,ld as ci,le as bt,lf as xt,ay as Ie,fZ as pi,kj as mi,lg as ui,lh as hi,bT as ft,w as Be,ac as ee,gQ as qe,a9 as Qe,kR as Ye,cM as wt,li as $t,lj as ze,aQ as Ae,lk as Xe,aM as we,j8 as vt,j9 as kt,ll as St,j7 as Pt,cC as Tt,cF as Ct,lm as E,ln as jt,gB as _t,d0 as Bt,dx as et,u as p}from"./index-Cq3X29cS.js";import{a as _,P as It}from"./sentry-DQ_HstYV.js";import{n as o,c as Z}from"./mui-DzE-7sTl.js";import{Hq as Pe,H5 as Te,Gy as Le,bp as zt}from"./zeni-epic-state-B4gyGBI3.js";import{K as gi,L as yi,_ as bi}from"./StatusSwitcher-C4MmXvmy-xYxIiuBt.js";import{d as At}from"./useLongPress-GCK2COYQ-BEGNcNvC.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="663e44be-71f6-4841-a7ac-3dade077d6d7",e._sentryDebugIdIdentifier="sentry-dbid-663e44be-71f6-4841-a7ac-3dade077d6d7")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},xi={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)},fi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[De,Re,xi,it,Ee],wi=[De,Re,tt,it,Ee],$i=[De,Re,tt,it,Ee],vi=[De,Re,tt,fi,Ee],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,kt)};function ki({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=Ze(),g=X(),[y,x]=_.useState(Ai(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let h=n;r.sortKey===s&&(h=n==="ascending"?"descending":"ascending"),d?.(s,h)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(nt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ci,{children:[t.jsx(_i,{children:t.jsx(ji,{})}),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(zi,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:g,children:y.map(s=>t.jsxs(Pi,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:g,children:[t.jsxs(Ii,{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(Bi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Ti,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(ki),nt=o(ae)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -12,7 +12,7 @@ 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
|
|
|
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
|
+
`,Pi=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{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
|
|
|
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
|
+
`,Ti=o(Ct)`
|
|
29
29
|
width: 12px;
|
|
30
30
|
height: 12px;
|
|
31
31
|
cursor: pointer;
|
|
@@ -40,36 +40,36 @@ 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
|
|
|
40
40
|
height: 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
color: inherit;
|
|
43
|
-
`,
|
|
43
|
+
`,Ci=o.div`
|
|
44
44
|
gap: ${i.sp1};
|
|
45
45
|
display: flex;
|
|
46
|
-
`,
|
|
46
|
+
`,ji=o(Pt)`
|
|
47
47
|
width: 12px;
|
|
48
48
|
height: 12px;
|
|
49
49
|
color: inherit;
|
|
50
|
-
`,
|
|
50
|
+
`,_i=o.div`
|
|
51
51
|
margin-right: ${i.sp1};
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
|
-
`,
|
|
54
|
+
`,Bi=o.div`
|
|
55
55
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
56
56
|
align-items: center;
|
|
57
57
|
padding-top: 2px;
|
|
58
|
-
`,
|
|
58
|
+
`,Ii=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
|
+
`,zi=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
|
+
`,Ai=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we(wi);case"scheduled":return we($i);case"paid":return we(vi)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ue,space:ve}}}=te.getLocalizedStrings(),Li=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:g,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=g||y,n=X(),h=Ie(),k=qe(),I=Qe().analytics,c=`dashboard_${h.currentTenant?.companyId}`,{threads:j,isLoading:S}=Ye({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(T=>T.resolved===!1),[j]),L=T=>{T.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:h.currentTenant?.companyId??Ue,companyName:h.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",h.currentTenant?.companyName??Ue,h.controllersList.controllers.map(M=>et(M)),void 0,void 0,"comment on field")},C=_.useCallback(()=>{w(e.id)},[e.id]),P=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze($),q=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(Di,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Ri,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ei,{children:[t.jsxs(Mi,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Ni,{children:[t.jsx(Fi,{windowSize:n,children:q}),e.isRecurring?t.jsx(Q,{title:G(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Gi,{isProcessing:s,children:t.jsx(Ji,{})})}):null]}),t.jsx(Vi,{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(Hi,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Ui,{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(Wi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Q,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Zi,{})}):null]}),$!==void 0&&P.length>0?P.length>1?t.jsx(Q,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${P.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${P[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Oi,{windowSize:n,responsiveWidth:xe[4].width,children:Ae("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]})},Di=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{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
|
|
|
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"?`${Y.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Y.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?Z`
|
|
86
86
|
color: ${e.theme.colors.grey2};
|
|
87
87
|
border-color: ${e.theme.colors.grey2};
|
|
88
88
|
div {
|
|
@@ -94,7 +94,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?Z`
|
|
98
98
|
color: ${e.theme.colors.primary};
|
|
99
99
|
border-color: ${e.theme.colors.primary};
|
|
100
100
|
div {
|
|
@@ -106,7 +106,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs 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
|
+
`:Z`
|
|
110
110
|
&:hover {
|
|
111
111
|
color: ${e.theme.colors.primary};
|
|
112
112
|
border-color: ${e.theme.colors.primary};
|
|
@@ -125,28 +125,28 @@ 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
|
|
|
125
125
|
margin-left: ${i.sp0};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Ri=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Ei=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
height: 42px;
|
|
136
|
-
`,
|
|
136
|
+
`,Mi=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
|
+
`,Ni=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
|
+
`,Fi=o(O)`
|
|
150
150
|
flex-grow: 1;
|
|
151
151
|
word-break: break-word;
|
|
152
152
|
display: -webkit-box;
|
|
@@ -155,13 +155,13 @@ 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
|
|
|
155
155
|
overflow: hidden;
|
|
156
156
|
text-overflow: ellipsis;
|
|
157
157
|
max-width: ${e=>e.windowSize==="small"?"200px":"initial"};
|
|
158
|
-
`,
|
|
158
|
+
`,Oi=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
|
+
`,Vi=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
@@ -181,18 +181,18 @@ 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
|
|
|
181
181
|
display: inline-block;
|
|
182
182
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
183
|
border-radius: ${i.sp1};
|
|
184
|
-
`,
|
|
184
|
+
`,Wi=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
|
+
`,Ui=o.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${i.sp2};
|
|
195
|
-
`,
|
|
195
|
+
`,Hi=o.div`
|
|
196
196
|
position: relative;
|
|
197
197
|
top: 2px;
|
|
198
198
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -206,22 +206,22 @@ 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
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Gi=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
|
+
`,Ji=o(_t)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
217
|
-
`,
|
|
217
|
+
`,Zi=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:He,space:ke}}}=te.getLocalizedStrings(),qi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:g,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:h})=>{const k=d||r,I=X(),c=Ie(),j=qe(),S=Qe().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:L,isLoading:C}=Ye({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>L.filter(V=>V.resolved===!1),[L]),q=V=>{V.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??He,companyName:c.currentTenant?.companyName??He,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??He,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,"comment on field")},{getValues:G,setValue:T}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):ze(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=G(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&T(y,[...se,e.id])},[y,x,a,T,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Ve=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),$?ge():h(e.id)},[ge,$,h,e.id]),Ke=At({onLongPress:Ve},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Qi,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:k,children:[t.jsx(Yi,{onClick:ye,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Xi,{children:[t.jsxs(so,{children:[t.jsxs(eo,{children:[t.jsxs(to,{children:[t.jsx(io,{windowSize:I,children:re}),e.isRecurring?t.jsx(Q,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(co,{isProcessing:k,children:t.jsx(po,{})})}):null]}),t.jsx(lo,{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(ao,{children:[t.jsx(oo,{children:Ae("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(ro,{hasAlertIcon:b!=null,children:[t.jsxs(mo,{children:[l!==void 0?t.jsx(no,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(ho,{onClick:V=>V.stopPropagation(),children:t.jsx(Q,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(uo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(Q,{title:`${ne.byText}${ke}${M.join(`${ke}${ne.orText}${ke}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${ke}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${ke}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),g&&P.length>0?t.jsx(Xe,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:q}):null]})},Qi=o.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -230,10 +230,10 @@ 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
|
|
|
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"?`${Y.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Y.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?
|
|
236
|
+
${e=>e.isProcessing?Z`
|
|
237
237
|
color: ${e.theme.colors.grey2};
|
|
238
238
|
border-color: ${e.theme.colors.grey2};
|
|
239
239
|
div {
|
|
@@ -245,7 +245,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?Z`
|
|
249
249
|
color: ${e.theme.colors.primary};
|
|
250
250
|
border-color: ${e.theme.colors.primary};
|
|
251
251
|
div {
|
|
@@ -257,7 +257,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs 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
|
+
`:Z`
|
|
261
261
|
&:hover {
|
|
262
262
|
color: ${e.theme.colors.primary};
|
|
263
263
|
border-color: ${e.theme.colors.primary};
|
|
@@ -274,26 +274,26 @@ 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
|
|
|
274
274
|
`}
|
|
275
275
|
margin-right: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
276
276
|
margin-left: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
277
|
-
`,
|
|
277
|
+
`,Yi=o.div`
|
|
278
278
|
display: block;
|
|
279
279
|
width: 100%;
|
|
280
|
-
`,
|
|
280
|
+
`,Xi=o.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
width: 100%;
|
|
283
283
|
justify-content: space-between;
|
|
284
|
-
`,
|
|
284
|
+
`,eo=o.div`
|
|
285
285
|
display: flex;
|
|
286
286
|
flex-direction: column;
|
|
287
287
|
column-gap: 12px;
|
|
288
288
|
align-items: flex-start;
|
|
289
|
-
`,
|
|
289
|
+
`,to=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
|
+
`,io=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{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
|
|
|
303
303
|
overflow: hidden;
|
|
304
304
|
text-overflow: ellipsis;
|
|
305
305
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
306
|
-
`,
|
|
306
|
+
`,oo=o(O)`
|
|
307
307
|
display: flex;
|
|
308
308
|
color: ${e=>e.theme.colors.hero};
|
|
309
309
|
justify-content: flex-end;
|
|
310
|
-
`,oo=o(W)`
|
|
311
|
-
color: ${e=>e.theme.colors.grey1};
|
|
312
310
|
`,lo=o(W)`
|
|
311
|
+
color: ${e=>e.theme.colors.grey1};
|
|
312
|
+
`,no=o(W)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -327,7 +327,7 @@ 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
|
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: center;
|
|
330
|
-
`,
|
|
330
|
+
`,ro=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{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
|
|
|
336
336
|
justify-content: center;
|
|
337
337
|
`,je=o(W)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,ro=o.div`
|
|
340
|
-
display: flex;
|
|
341
|
-
flex-direction: column;
|
|
342
339
|
`,so=o.div`
|
|
343
340
|
display: flex;
|
|
344
341
|
flex-direction: column;
|
|
345
342
|
`,ao=o.div`
|
|
343
|
+
display: flex;
|
|
344
|
+
flex-direction: column;
|
|
345
|
+
`,co=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
|
+
`,po=o(_t)`
|
|
350
350
|
width: 12px;
|
|
351
351
|
height: 12px;
|
|
352
352
|
color: inherit;
|
|
353
|
-
`,
|
|
353
|
+
`,mo=o.div`
|
|
354
354
|
display: flex;
|
|
355
355
|
flex-direction: row;
|
|
356
356
|
gap: ${i.sp2};
|
|
357
|
-
`,
|
|
357
|
+
`,uo=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
|
+
`,ho=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Ne={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Fe={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Oe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Me,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],go=[Me,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],yo=[Me,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],bo=[Me,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Ne,Fe,Oe],Lt={draft:pe,pending_approval:go,scheduled:yo,paid:bo},_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 xo({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const g=X(),y=Ze(),[x,$]=_.useState(we(Lt[l]));_.useEffect(()=>{const n=[...x];for(const h of n)h.key===r.sortKey?h.sortOrder=r.sortOrder:h.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,h)=>{let k=h;r.sortKey===n&&(k=h==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,k),d?.(n,k)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(h=>h.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return g==="small"?t.jsxs(ct,{height:vt,windowSize:g,children:[t.jsx($o,{children:t.jsx(vo,{})}),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(To,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:kt,windowSize:g,children:x.map(n=>t.jsxs(wo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:g,children:[t.jsxs(Po,{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:g,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(ko,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const fo=It.memo(xo),ct=o(ae)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -374,7 +374,7 @@ 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
|
|
|
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
|
+
`,wo=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{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
|
|
|
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
|
+
`,$o=o.div`
|
|
391
391
|
margin-right: ${i.sp1};
|
|
392
392
|
display: flex;
|
|
393
393
|
align-items: center;
|
|
394
|
-
|
|
394
|
+
`,vo=o(Pt)`
|
|
395
395
|
width: 12px;
|
|
396
396
|
height: 12px;
|
|
397
397
|
color: inherit;
|
|
398
|
-
`,
|
|
398
|
+
`,ko=o(Ct)`
|
|
399
399
|
width: 12px;
|
|
400
400
|
height: 12px;
|
|
401
401
|
cursor: pointer;
|
|
@@ -414,14 +414,14 @@ 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
|
|
|
414
414
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
415
|
align-items: center;
|
|
416
416
|
padding-top: 2px;
|
|
417
|
-
`,
|
|
417
|
+
`,Po=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
|
+
`,To=o.div`
|
|
425
425
|
display: flex;
|
|
426
426
|
cursor: pointer;
|
|
427
427
|
gap: 5px;
|
|
@@ -429,20 +429,20 @@ 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
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,
|
|
432
|
+
`,Se={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},J=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Co=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:g,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=X(),u=Ie(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*St)},[b]);const h=Qe().analytics,k=qe(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=ze(y),z=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:C}=Ye({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),P=_.useMemo(()=>L.filter(G=>G.resolved===!1),[L]),q=G=>{G.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),h.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(T=>et(T)),void 0,void 0,"comment on field")};return t.jsxs(jo,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(_o,{children:t.jsxs(Bo,{children:[t.jsxs(Io,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(zo,{windowSize:b,reportNameWidth:s,children:e.reportTitle??J.newReimbursementTitle}),a!=null&&t.jsx(Ao,{children:`${J.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(Do,{windowSize:b,responsiveWidth:pe[1].width,children:g}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Q,{title:J.reimbursementType.both,placement:"bottom-start",display:"flex",children:J.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:J.reimbursementType[j[0]]}),t.jsxs(Eo,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Mo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??J.hyphenText}):t.jsx(Ro,{children:J.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(Q,{title:`${J.byText} `+S.join(` ${J.orText} `),placement:"bottom-start",children:t.jsx(Ge,{children:`${J.byText} `+S[0]+`${J.dots}`})}):t.jsx(Ge,{children:`${J.byText} `+S[0]}):null,x!=null?t.jsx(Ge,{children:x}):null]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[4].width,children:Ae("0,0[.]00",e.amount)})]})}),$&&P.length>0?t.jsx(Xe,{isLoading:C,count:P.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:q}):null]})},jo=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=>Se.containerPaddingLeft.valuePx(e.windowSize)};
|
|
437
|
+
padding-right: ${e=>Se.containerPaddingRight.valuePx(e.windowSize)};
|
|
438
|
+
padding-top: ${e=>Se.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
|
+
padding-bottom: ${e=>Se.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Y.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Y.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?Z`
|
|
446
446
|
color: ${e.theme.colors.grey2};
|
|
447
447
|
border-color: ${e.theme.colors.grey2};
|
|
448
448
|
div {
|
|
@@ -454,7 +454,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?Z`
|
|
458
458
|
color: ${e.theme.colors.primary};
|
|
459
459
|
border-color: ${e.theme.colors.primary};
|
|
460
460
|
div {
|
|
@@ -466,7 +466,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs 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
|
+
`:Z`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -482,50 +482,50 @@ 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
|
|
|
482
482
|
}
|
|
483
483
|
`}
|
|
484
484
|
|
|
485
|
-
margin-right: ${e=>
|
|
485
|
+
margin-right: ${e=>Se.containerMarginLeft.valuePx(e.windowSize)};
|
|
486
486
|
margin-left: ${i.sp0};
|
|
487
|
-
`,
|
|
487
|
+
`,_o=o.div`
|
|
488
488
|
display: flex;
|
|
489
489
|
width: 100%;
|
|
490
|
-
`,
|
|
490
|
+
`,Bo=o.div`
|
|
491
491
|
display: flex;
|
|
492
492
|
width: 100%;
|
|
493
493
|
height: 42px;
|
|
494
|
-
`,
|
|
494
|
+
`,Io=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
|
+
`,zo=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`:`${St*100}%`};
|
|
508
|
+
`,Ao=o(ae)`
|
|
509
509
|
color: ${e=>e.theme.colors.grey1};
|
|
510
|
-
`,
|
|
510
|
+
`,Lo=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
|
+
`,Do=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
|
+
`,Ro=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
|
+
`,Eo=o(O)`
|
|
529
529
|
position: relative;
|
|
530
530
|
top: 2px;
|
|
531
531
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -535,11 +535,11 @@ 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
|
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
align-items: flex-start;
|
|
537
537
|
justify-content: center;
|
|
538
|
-
`,
|
|
538
|
+
`,Ge=o(W)`
|
|
539
539
|
position: relative;
|
|
540
540
|
top: 1px;
|
|
541
541
|
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,
|
|
542
|
+
`,Mo=o(W)`
|
|
543
543
|
display: flex;
|
|
544
544
|
color: ${e=>e.color};
|
|
545
545
|
align-items: center;
|
|
@@ -547,7 +547,7 @@ 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
|
|
|
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)},K=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,No=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:g,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=X(),{getValues:n,setValue:h}=wt(),k=e.reimbursementTypesIncluded,I=ze(b),c=we(Lt[d]),j=n(g),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&h(g,[...j,e.id])},[g,y,a,h,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),L=_.useCallback(P=>{P.stopPropagation(),P.cancelable&&P.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=At({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Fo,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Oo,{onClick:L,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Vo,{children:[t.jsxs(Ko,{children:[t.jsxs(Uo,{children:[t.jsx(Ho,{windowSize:s,children:e.reportTitle??K.newReimbursementTitle}),$!=null&&t.jsx(Go,{children:`${K.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Zo,{children:[c[1].value+": ",f]}),k.length>1?t.jsx(Q,{title:K.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[K.reimbursementType.type+": ",K.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[K.reimbursementType.type+": ",K.reimbursementType[k[0]]]})]}),t.jsxs(Wo,{children:[t.jsx(Jo,{children:Ae("0,0[.]00",e.amount)}),t.jsxs(qo,{children:[l!==void 0?t.jsx(Qo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??K.hyphenText}):t.jsx(t.Fragment,{children:K.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(Q,{title:`${K.byText} `+I.join(` ${K.orText} `),placement:"bottom-start",children:t.jsx(Je,{style:{marginLeft:"auto"},children:`${K.byText} `+I[0]+`${K.dots}`})}):t.jsx(Je,{style:{marginLeft:"auto"},children:`${K.byText} `+I[0]}):null,u!=null?t.jsx(Je,{children:u}):null]})]})]})})})},Fo=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{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
|
|
|
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"?`${Y.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Y.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?
|
|
562
|
+
${e=>e.isProcessing?Z`
|
|
563
563
|
color: ${e.theme.colors.grey2};
|
|
564
564
|
border-color: ${e.theme.colors.grey2};
|
|
565
565
|
div {
|
|
@@ -571,7 +571,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?Z`
|
|
575
575
|
color: ${e.theme.colors.primary};
|
|
576
576
|
border-color: ${e.theme.colors.primary};
|
|
577
577
|
div {
|
|
@@ -583,7 +583,7 @@ import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs 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
|
+
`:Z`
|
|
587
587
|
&:hover {
|
|
588
588
|
color: ${e.theme.colors.primary};
|
|
589
589
|
border-color: ${e.theme.colors.primary};
|
|
@@ -601,26 +601,26 @@ 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
|
|
|
601
601
|
|
|
602
602
|
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
603
|
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,
|
|
604
|
+
`,Oo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Vo=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
|
+
`,Wo=o.div`
|
|
615
615
|
display: flex;
|
|
616
616
|
flex-direction: column;
|
|
617
617
|
text-align: right;
|
|
618
|
-
`,
|
|
618
|
+
`,Uo=o.div`
|
|
619
619
|
display: flex;
|
|
620
620
|
flex-direction: column;
|
|
621
621
|
column-gap: 12px;
|
|
622
622
|
align-items: flex-start;
|
|
623
|
-
`,
|
|
623
|
+
`,Ho=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{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
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Go=o(W)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Jo=o(O)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,
|
|
639
|
+
`,Zo=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{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
|
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
648
648
|
align-items: center;
|
|
649
|
-
`,
|
|
649
|
+
`,qo=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
|
+
`,Je=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,
|
|
656
|
+
`,Qo=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,22 +663,22 @@ 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
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
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`
|
|
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`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
|
-
`,
|
|
669
|
+
`,yl=o.form`
|
|
670
670
|
height: 100%;
|
|
671
|
-
`,
|
|
671
|
+
`,bl=o.div`
|
|
672
672
|
height: calc(100% - 120px);
|
|
673
673
|
margin: auto;
|
|
674
|
-
`,
|
|
674
|
+
`,xl=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
|
+
`,fl=o.div`
|
|
682
682
|
height: 96px;
|
|
683
683
|
width: 96px;
|
|
684
684
|
display: flex;
|
|
@@ -687,25 +687,25 @@ 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
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,
|
|
690
|
+
`,wl=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
|
+
`,$l=o(li)`
|
|
698
698
|
margin-top: ${i.sp3};
|
|
699
699
|
color: ${e=>e.theme.colors.hero};
|
|
700
|
-
|
|
700
|
+
`,vl=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=>Yo.lastListItemHeight.valuePx(e.windowSize)} !important;
|
|
706
706
|
padding-bottom: ${i.sp9};
|
|
707
707
|
}
|
|
708
|
-
`,
|
|
708
|
+
`,kl=o.div`
|
|
709
709
|
top: ${i.sp0};
|
|
710
710
|
left: ${i.sp0};
|
|
711
711
|
padding-bottom: ${i.sp3};
|
|
@@ -714,31 +714,31 @@ 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
|
|
|
714
714
|
position: relative;
|
|
715
715
|
width: auto;
|
|
716
716
|
height: 100%;
|
|
717
|
-
`,
|
|
717
|
+
`,Pl=o.div``,Rt=o.div`
|
|
718
718
|
position: relative;
|
|
719
719
|
width: 100%;
|
|
720
|
-
`,
|
|
720
|
+
`,Tl=o.div`
|
|
721
721
|
display: flex;
|
|
722
722
|
justify-content: flex-end;
|
|
723
|
-
`,
|
|
723
|
+
`,Cl=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"?Y.important:e.theme.colors.grey1};
|
|
727
|
+
`,jl=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: ${Y.important};
|
|
734
734
|
}
|
|
735
|
-
`,
|
|
735
|
+
`,_l=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
|
+
`,Bl=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{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
|
|
|
747
747
|
display: flex;
|
|
748
748
|
justify-content: center;
|
|
749
749
|
align-items: center;
|
|
750
|
-
`,
|
|
750
|
+
`,Il=o(O)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
|
-
`,
|
|
753
|
-
color: ${
|
|
754
|
-
`;export{
|
|
752
|
+
`,zl=o(ae)`
|
|
753
|
+
color: ${Y.important};
|
|
754
|
+
`;export{Hl as default};
|