@zeniai/web-cockpit-ui 1.15.49-dev → 1.15.50-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-D2Xav-UW-BWiZ-Bc8.js +21 -0
- package/dist/assets/{AIPerformancePage-DgrMh-mY-Bylt20RS.js → AIPerformancePage-DlTdGosv-BKn1Oy_U.js} +104 -104
- package/dist/assets/AccountInfoPage-B8-8kUGD-BEAC6yCh.js +18 -0
- package/dist/assets/{AccountInfoPageContent-DeptuP1q-CsYE_k70.js → AccountInfoPageContent-BS2TBUSE-BCLlNmfm.js} +20 -20
- package/dist/assets/{AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js → AccountLockedInfoModal-aukulrV7-s7lDLksb.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js → AccountReconDetailsDrawerPage-kQJld6_N-DFQbdeu8.js} +19 -19
- package/dist/assets/AccountRow-BiEYR4Y1-0x0DgsfU.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js → AccountsPromoCardStack-DBQnDPXQ-ByY919CJ.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-W1_tMZDc.js +6 -0
- package/dist/assets/{AddToWalletPage-BlExjuu4-B196FBl9.js → AddToWalletPage-C4EwdLZJ-BDf59l0V.js} +18 -18
- package/dist/assets/{AgingReportsPage-D9UyMHCS-CUKIok_T.js → AgingReportsPage-vAvkUfOS-BTtgXal2.js} +7 -7
- package/dist/assets/{AllUserItems-DGGAZCTH-DA8Osx0t.js → AllUserItems-qrYg6Gdx-CI4cfipf.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BX8bMzFl.js +46 -0
- package/dist/assets/{AppBasePage-ANWa38-v-Dui1Sxci.js → AppBasePage-DrE-W6d7-BXIwSS1q.js} +8 -8
- package/dist/assets/{AppDrawerContent-UhQJdUmA-CkRUhLQ3.js → AppDrawerContent-ATbZG_cu-DJYf_h0a.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-D8Ej2tQP.js +47 -0
- package/dist/assets/{ArAgingChart-CuFQTCRF-BBoOHiTE.js → ArAgingChart-CuzG9AZY-D20yOcSu.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BPn8BqM4.js +46 -0
- package/dist/assets/{AttachmentView-D6K3YHdZ-Bap3B_dh.js → AttachmentView-BrQRChzc-DmBnJDly.js} +6 -6
- package/dist/assets/{BankAccountSection-B51-Hpnt-BDzmY8Fy.js → BankAccountSection-hcKEMs80-IayGgYsa.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-4MGZTw8n.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js → BankConnectionsSettingsPage-Bdw1K00m-BfrIZwzh.js} +30 -30
- package/dist/assets/BillDetailPage-D0NLFZXA-Ca284Kwb.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js → BillPayApprovalRuleDetailPage-DkpCvYvo--bCxfSFy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js → BillPayApprovalRulesPage-BEqZD0GU-uvL85aev.js} +19 -19
- package/dist/assets/BillPayPromoPage-BMcP4EU5-BVIvwbQi.js +84 -0
- package/dist/assets/{BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js → BillPaySetUpPage-WdEdbf16-Cj5_BixU.js} +9 -9
- package/dist/assets/BillingSettingsPage-GtRUqSZm-BdxhpxlY.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DkmBDuWQ.js +1 -0
- package/dist/assets/{BoxItem-C-VST523-DMPXmLe8.js → BoxItem-CACRFWG2-X3bucjjy.js} +1 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-DWp5zQxs.js +138 -0
- package/dist/assets/{CardNumberSubText-BUvXykSn-DR27wA6E.js → CardNumberSubText-C-oVdziK-B680WGcf.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhHWEtnP-BIMVCNfp.js → CashbackDetailPage-BhFKSl4p-4MnwVNWx.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js → ChargeCardDetailPage-D8J6HINu-Bb53RVMq.js} +20 -20
- package/dist/assets/{ChargeCardListPage-D5H9U0h8-DeNsZOzv.js → ChargeCardListPage-tdUKyHdz-BUynNnwQ.js} +16 -16
- package/dist/assets/{ChargeCardListTable-Byme0rAu-ych_Qx-x.js → ChargeCardListTable-CByk3iqX-B66ckaF5.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BtDyG6dw.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-VSqN0247-7AKJMP0k.js → ChargeCardPromoPage-C4cgx2gm-D0VU2K9B.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js → ChargeCardSetupPage-DtwiTNKA-B7eJu1ZO.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js → ChargeCardStatementsPage-B0KPw52e-BeAyJDnJ.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js → CheckDepositDrawerPage-DKNAXI77-RBR5olq2.js} +15 -15
- package/dist/assets/{CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js → CollapsableReportTable-Cq8bhaYC-BggtU0rR.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js → CompanyOfficerDetailsSection-Rk0B5cB5-Bje8HDKM.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js → CompanyPassportCard-CHaKk74P-DDpNpfNq.js} +12 -12
- package/dist/assets/{CompanyPassportPage-DoOtHRwj-7bnAHUeu.js → CompanyPassportPage-DXWXFFKM-GfiP2rfO.js} +20 -20
- package/dist/assets/{CompleteProfile-DsEoizlG-DOegmHNH.js → CompleteProfile-ChaWsK6t-CmD-Ajg7.js} +2 -2
- package/dist/assets/ConfettiBurst-CdB5fRMt-BV3aXXBM.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js → ConstrainedInnerElement-BeIpAPjB-CvXQTLMk.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js → CreateOrEditVendorPage-C_8Jqubo-BeXFdKcj.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js → CreditCardPaymentDrawerPage-lOjOtk28-BP0yToaF.js} +15 -15
- package/dist/assets/CurrencySelectField-BDqU4HVy-DnlyHMKA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js → CustomerOnboardingActivationPage-DO6NCakm-CAMuBBQX.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DsqzICHM.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BAapr03j.js} +17 -17
- package/dist/assets/{CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js → CustomerOnboardingNoStepsPage-CbG5WshV-f-4FUEfq.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js → CustomerOnboardingPage-DyVyf8oK-B51u1QyT.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DRVVAjzS.js} +8 -8
- package/dist/assets/{Dashboard-BcjA6DTL-B8wtUrMY.js → Dashboard-Csggwob0-CucBwf-E.js} +66 -66
- package/dist/assets/{DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js → DashboardReportPage-DFIdi_I0-CWCqUDts.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BERUL4nF.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js → DepositAccTransactionItem-CZ7v1T4S-kDEbOJw2.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js → DepositAccTransactionListPage-FldPGX6K-KLK81P63.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js → DomesticWireDetailsPage-C--eZ-UG-BJZT9cWR.js} +2 -2
- package/dist/assets/{DownloadOverlay-CfWDWIbC-DcGZOT8A.js → DownloadOverlay-4f9deyJS-B9_tQwKs.js} +26 -26
- package/dist/assets/{DrawerPage-CfIhiBhn-A5CC3xdl.js → DrawerPage-roO3xvRT-XI38_I4m.js} +11 -11
- package/dist/assets/EditPeoplePage-pi5RclAj-BMVndFcH.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-dOARMfmM.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-D_gGJiJl.js +18 -0
- package/dist/assets/{EntitySummarySection-Bie5ZOV3-BZu2b-HP.js → EntitySummarySection-fBL4TZpT-UlHv9GhZ.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js → ExpenseAutomationOverviewPage-CnhNINCc-XNKWWalz.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-D6CY7q0l.js +1703 -0
- package/dist/assets/{ExpressPayPage-C6Jb6WrN-BeqBD08K.js → ExpressPayPage-c8oTCnBR-DDI22yPw.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js → FeaturePreviewPage-DkiAajs2-CWm_NPeh.js} +3 -3
- package/dist/assets/{FollowStepsSection-BlgHPyvL-BhwHykaB.js → FollowStepsSection-GaWu1kt9-Dj5MvViw.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-HfAvAlvB.js +291 -0
- package/dist/assets/{InformationCardStack-BkuCjydF-ClSDOapP.js → InformationCardStack-dMFbHUWM-CihvCd5l.js} +6 -6
- package/dist/assets/{InsightsCardStack-BFrwV0PC-CZ45PRa1.js → InsightsCardStack-BlXkyuyz-D4zNF2IR.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-Sip59hWk.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-D-hfghuq-Mtjw-TfK.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js → InternationalWireSwiftDetailsPage-DxdKE300-Ch6ktxWV.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-lLeWAn7t.js +65 -0
- package/dist/assets/{InviteFormPage-D8zySzlG-B662YNtS.js → InviteFormPage-BCdalqtP-CVBiHF3V.js} +21 -21
- package/dist/assets/{InvitePageListView-DUng4fOl-Bw5RtSsX.js → InvitePageListView-B88FW48q-CtwT_lzJ.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-ClTTRQa0.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-CRXs_Kj8.js +140 -0
- package/dist/assets/{IssueChargeCardPage-Vzj9appY-09K43VT7.js → IssueChargeCardPage-B6wmvbEr-Cv_7MvaD.js} +18 -18
- package/dist/assets/{LabeledAddressValue-inaQliHs-Dg9xTHiz.js → LabeledAddressValue-CQrDCgNs-DDPb7wFI.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BoHS44YO-CKpxgqiE.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js → LabeledControlledCheckBoxField-BsFqjCpn-C-MKXj71.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js → LabeledCountryMultiSelectField-D1fVDYR_-G9fOGY2T.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js → LabeledCreatableSingleSelectField-Bhka-Faj-ClLZPurA.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CzOQUZqO.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js → LabeledDropDownFormattedTextField-ChgtJqPr-CsaX1P25.js} +7 -7
- package/dist/assets/LabeledText-2EDpuXZ4-a0ADggfE.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-D8_YdZ3M.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js → LabeledZeniRolesDropDownField-CpH0eDWO-6StOP0Bl.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js → LinkJETransactionPage-BhV2MnCY-C5nCEtkl.js} +16 -16
- package/dist/assets/{LockCardPage-CPUbpfrv-3LEgf1Eq.js → LockCardPage-CHv1xi2J-Cv1DZ57L.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cg-JRo7A-zj6pzOkP.js → LowBalancePopup-Cb55PGLc-C-9hACKT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-C_YtTDeW.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-x-i9NvXL.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-SOQoBcnA.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-D7qzUiN9.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js → MagicLinkTitleSection-BA-i6vzA-DvG_5pI3.js} +5 -5
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-DY2G7v7G.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js → MyBankConnectionsSettingsPage-Aer6AWxY-OPBcC9m9.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-DCzEYRtr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-DFvmYVLb.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--C0o9Lnmp.js +30 -0
- package/dist/assets/{NavigationArrow-CqK2Gxhj-JoTM067o.js → NavigationArrow-kQWS5Pzb-C4S_N1iY.js} +7 -7
- package/dist/assets/{NavigationDots-C7DGhAsk-BigsWf2H.js → NavigationDots-BQb_Fodq-C-HossK2.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js → NewGlobalMerchantPage-z86XZorn-DwDob9mX.js} +40 -40
- package/dist/assets/NoDataChart-CyYJ6icu-Ceu_3WWQ.js +26 -0
- package/dist/assets/{NoDataTable-B355xDAT-DcAZ4j4d.js → NoDataTable-DVe7sQhD-BBFOa9Zf.js} +1 -1
- package/dist/assets/{NotFoundPage-Bfp9Pyxw-DVJn2b4k.js → NotFoundPage-B1XCmhSe-DdSt4ytI.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-1OEolmCL-DbOSpAhH.js → NotificationSettingsPage-BaN20EGV-Dm0Kwnze.js} +20 -20
- package/dist/assets/NotificationsListConfig-BOW_TmPC-DUp1zUEg.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-CBn4Fnze.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-DGRhEX_U.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CR2TYg0o.js → OverlayContainerPage-D4QU0p4o-DbSGoowZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChIPvp4R-qyv7RUis.js → PandLWithForecastPage-CXtJhnA_-BFrCmEg5.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-Bh7-OVHS.js} +13 -13
- package/dist/assets/PeoplePage-DXC2CtOt-4lEc5swH.js +675 -0
- package/dist/assets/{Preview-qBYtkSAF.js → Preview-g00Qv-CI.js} +1 -1
- package/dist/assets/{ProductsCarousel-eVPl5t0I-BGcfqmV6.js → ProductsCarousel-ufZlh7Rx-YeOo5bg7.js} +7 -7
- package/dist/assets/{PromoBaseCards-HrcAWM4W-BKT0vHPP.js → PromoBaseCards-D2UbhBhT-Dd_eb1rN.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js → QBOConnectionDialog-BrQ71F06-BFCLzqHE.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--BS9o_yyg.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-UTev4YQ6.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js → ReimbursementApprovalRulesPage-CMpYn5y_-BTiJVJE0.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-B78GpO_0.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js → ReimbursementPromoPage-DXTAY8c7-D8cCc8YJ.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js → ReimbursementSetUpPage-KrGPXTCb-DUpAQJx9.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DolkTDgY.js +1 -0
- package/dist/assets/{ReloadCard-DrAfrMOy-Dp01MRiJ.js → ReloadCard-vAhL7B8U-DZ4WBcY6.js} +8 -8
- package/dist/assets/ReportTableViewSelector-Y97ney3W-CBFTsSDh.js +150 -0
- package/dist/assets/{ReportsPage-E9MU25NS-BG-K0aaI.js → ReportsPage-DKM0gVzR-Bgk3sBQb.js} +4 -4
- package/dist/assets/{RevenueChart-CzVs6lFB-CetzZFOl.js → RevenueChart-BEjDS1u4-DgwGxFpp.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-DR0MCIgO-DeTv48zq.js → ReviewDetailsPage-BlQLrN9z-qgNa8kL5.js} +53 -53
- package/dist/assets/{ReviewOverlay-jDgQyzfL-CrHwzWa9.js → ReviewOverlay-Bn3TFqfi-BnMlRqTB.js} +24 -24
- package/dist/assets/RoleWithToolTip-DhBFvJea-DHVvHPTc.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-B3WrOgao.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js → ScheduleDetailsPage-BP0wdtoP-C14XLmp4.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-DIny0FLI.js +324 -0
- package/dist/assets/{ScreenRoutes-CyJpBFvr.js → ScreenRoutes-DskSNpKQ.js} +48 -48
- package/dist/assets/{SetUpAccountSection-Bq2qSGml-DouG9J1c.js → SetUpAccountSection-CoVrSSYL-BK8eb8iH.js} +7 -7
- package/dist/assets/SignIn-BoAejo7r-C4az_GoA.js +491 -0
- package/dist/assets/SignInScreen-Di7l6F78.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BJKHzfnG.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js → SpendManagementPerTabPage-BWDjZyLp-B3fMmOF_.js} +114 -114
- package/dist/assets/{SpendManagementSection-DJfAJzAL-ig4GL1ZT.js → SpendManagementSection-D8rBpC-y-aWPmGHDr.js} +22 -22
- package/dist/assets/StatementItem-Cu6dlAsl-CEMP7iv_.js +31 -0
- package/dist/assets/{StatementsPage-BgYeg1T4-C88dmgbV.js → StatementsPage-DiY2BOcu-BFWv5aAG.js} +5 -5
- package/dist/assets/{StatusSwitcher-C4MmXvmy-xYxIiuBt.js → StatusSwitcher-B9MARTyR-RwzQ_fCz.js} +4 -4
- package/dist/assets/{SubTabSwitcher-UW2b0f3g-Dn63h3aS.js → SubTabSwitcher-C3rtSwro-BMElQQQG.js} +2 -2
- package/dist/assets/{SummaryCard-BLqrfWMN-BoOQqfaJ.js → SummaryCard-CShVbqhj-Dhj3DzIG.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-BsJrrOep.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js → TimeRangeSwitcher-DFnX6_WT-CZfjpBqG.js} +4 -4
- package/dist/assets/TimeframeSwitcher-CW08yYgo-ComQ5EHq.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-Bk-ycr2q.js +31 -0
- package/dist/assets/{TopExCard-BKUm1fVu-CdS4qfxw.js → TopExCard-dI_WEGWb-BU3wMngO.js} +6 -6
- package/dist/assets/{TopExDetailPage-BpaKGiXB-_eDwMn8-.js → TopExDetailPage-BWy5E8Lp-DtvjK_xS.js} +18 -18
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-DnNtacww.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-XsnlScFV.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CbkPg3Zf.js +153 -0
- package/dist/assets/{TransactionListBig-C1i2HOEm-BoHPxhV4.js → TransactionListBig-DWQXH4ID-DD5UPGD_.js} +18 -18
- package/dist/assets/TransactionListPage-DC08rCC9-dt6exeNm.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js → TransactionVendorDetailPage-CzfJ5b_3-CL7XOBkn.js} +15 -15
- package/dist/assets/{TransferDrawerPage-enFS8KsH-pWKe3GIV.js → TransferDrawerPage-6z-MoZZP-Dp04U_Kt.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-BT--Br6F-DZD_F62z.js → TreasuryOverviewPage-CF_ter0o-BGqEPdpU.js} +36 -36
- package/dist/assets/{TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js → TreasuryPromoPage-Do-PTcjI-2DZrhiFT.js} +27 -27
- package/dist/assets/{TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js → TreasuryStatementsPage-l_HC4zsb-lMujmf6c.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js → TreasuryTaxLetterPage-B8YxWytK-BmggpXbf.js} +3 -3
- package/dist/assets/{TrendChart-CWaL1-sD-jHXMg1Jt.js → TrendChart-C6B61CAm-Ye7o4G34.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ULrBa2b0-DV504Izy.js → TrendWithTransactions-Bp3vhaPa-B97DwabO.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js → UncategorizedAccountsMappingPage-cbFqKAv4-DRcpc90f.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-KbEwifey-DfbiDH3c.js → UnitIntegrationPage-DZ0ZpE5p-BO2em7A8.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-XuWx6jLi.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-BubnwwOl.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C1dwXSNh.js +1 -0
- package/dist/assets/{VendorDetailPage-BwbESVFq-BHZW_2ez.js → VendorDetailPage-C4g_Gfsl-Bc5VCqyN.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-BdLmKxae.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js → VendorFiling1099EditablePage-Ckt2MiVN-Dvui8jZZ.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-ChJc6Bvu.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js → VendorInternationalWireDetailsPage-Dz8mMD8d-s76HnOyI.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BrH5PbpD.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js → VendorsAccountsSection-BT-RADSV-D8dDuRZ5.js} +4 -4
- package/dist/assets/{VerifyDevice-BRCRNTf1-Dw4vKeVk.js → VerifyDevice-Cxc9CVMi-DsFVHfxT.js} +11 -11
- package/dist/assets/{VideoPlayer-BgWCDJp3-CbPNc--2.js → VideoPlayer-9UkKMhGy-CfYKM_4G.js} +2 -2
- package/dist/assets/{VideoPopup-ckAw3yZZ-CPBR9ffY.js → VideoPopup-rfiYmtio-cGZkVWLj.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js → WarningsDrawerPage-DrUA4asI-D1jrLnQQ.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js → ZeniAccountDetailPage-K016HgQt-CpwqGrdv.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js → ZeniAccountListViewPage-1oZZynB1-CTCKXOm1.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js → ZeniAccountNavBarPieces-C6Oicpue-CDronLj9.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js → ZeniAccountPromoPage-BCgys-YM-B4PBTYBK.js} +22 -22
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-ED0NkT0J.js +36 -0
- package/dist/assets/ZeniCopyright-BxIwmms--CB7vwHQ2.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js → ZeniTransferAmountSlider-DVJ0puXA-BbQe3edZ.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DgloNLoG.js → add-to-wallet-DgdBD8_G-F5LVW0PA.js} +1 -1
- package/dist/assets/{analytics-BxsZVqMD.js → analytics-CahM0ApT.js} +30 -30
- package/dist/assets/{analyticsHelper-YXL3oVeL-st_q3oRE.js → analyticsHelper-CT5zOInj--DKtKqan.js} +1 -1
- package/dist/assets/{analyticsHelper-BROaWFlP.js → analyticsHelper-Dt-Wvzj6.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cgw5LgRs.js → arrow-south-east-round-PEovUgvH-CEqKeUmQ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DEP8Cseu.js → auto-transfer-rule-mbafm5D3-CoGwDI0h.js} +1 -1
- package/dist/assets/{chartTypes-BPQ65VEE-6yZpeJsO.js → chartTypes-Ddw_3-6f-iughbCu_.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-Cl9ebfDm.js +1 -0
- package/dist/assets/{commonTypes-WZYufpaN-dYh7B5Qi.js → commonTypes-B-foaEwJ-Dxy4bmoK.js} +1 -1
- package/dist/assets/{constants-cBgt-jnp.js → constants-DLQpBQr_.js} +1 -1
- package/dist/assets/{core-CCdM5htn.js → core-DhOBLUcR.js} +1 -1
- package/dist/assets/{dash.all.min-BhdX5A-b.js → dash.all.min-D9C7dpy1.js} +1 -1
- package/dist/assets/{detailCommon-cqZF9ZV8-CcqFhiCw.js → detailCommon-Cpgf9GLg-CVrer6Nv.js} +6 -6
- package/dist/assets/downloadPdf-DfRYmfsd-Ci0FssC9.js +1 -0
- package/dist/assets/{empty-21UCvCWa.js → empty-B0kqq7AF.js} +1 -1
- package/dist/assets/{empty-Ci7PTPdn.js → empty-DXLckAFq.js} +1 -1
- package/dist/assets/epic-CTsLkOVJ.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-fL_gav59.js → gift-box-Cmt9OgIZ-7HACeG8S.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CsPk6hIb.js → graphic-no-data-l-DU4J8fDt-DXaGx8Uq.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js → graphic-no-data-net-burn-l-CzmycA0m-DMYfos4l.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CJV_gJfO.js → handshake-BPg58FML-C3Tu6ob6.js} +1 -1
- package/dist/assets/{helper-GwFcgf4f-QTj7P4Bk.js → helper-DP3YY99s-Dat90eJR.js} +3 -3
- package/dist/assets/{index-DBail5F5.js → index-58NM9fG5.js} +1 -1
- package/dist/assets/{index-BsaB-Va2.js → index-BA-jk0ze.js} +1 -1
- package/dist/assets/{index-C96UtQPZ.js → index-BPjVYw8N.js} +1 -1
- package/dist/assets/{index-D2yPgh5G.js → index-CNYrrT7d.js} +1 -1
- package/dist/assets/{index-8HE4yJ5t.js → index-CNbvhErF.js} +1 -1
- package/dist/assets/{index-DQtDqiLj.js → index-DDUTPJHS.js} +1 -1
- package/dist/assets/{index-Cq3X29cS.js → index-DmMELGnq.js} +4589 -4594
- package/dist/assets/{lexical-BfjdJw9p.js → lexical-CjsD_DZd.js} +1 -1
- package/dist/assets/{liveblocks-hPir54fv.js → liveblocks-Ckq-Ca_6.js} +1 -1
- package/dist/assets/{lottie-B9oE3WTk.js → lottie-D9uGWJnR.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DzM3IPUV.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-CWbZz_DM.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DY4vMoqX.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-DQV8mQPm.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-CdLTDjgE.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DT3UAyAi.js +1 -0
- package/dist/assets/{mui-DzE-7sTl.js → mui-D89AqdoX.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CU2PSbaV.js → page-detail-CWX5S47F-DbQrivxF.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-D4-lfmac.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-Bxc-V1Pu.js → radio-default-CiSgisfh-raG5dxC1.js} +1 -1
- package/dist/assets/{react-CCRxUGC8.js → react-7Ri_94Fu.js} +3 -3
- package/dist/assets/{react-CI8KeqtZ.js → react-BVKhHWWR.js} +1 -1
- package/dist/assets/{react-iFe9VXnX.js → react-C00KSCiy.js} +1 -1
- package/dist/assets/{react-BZ8J0jw1.js → react-C7JpWPz-.js} +2 -2
- package/dist/assets/{react-BldneNt8.js → react-CawXqPwY.js} +1 -1
- package/dist/assets/{react-DukPPAPu.js → react-CmfaUpNO.js} +1 -1
- package/dist/assets/{react-IwpftXW_.js → react-CwOq2FWn.js} +1 -1
- package/dist/assets/{react-CrnvOta1.js → react-GdMEeNvP.js} +1 -1
- package/dist/assets/{recharts-CiLmNGsl.js → recharts-BGD0T3Yu.js} +1 -1
- package/dist/assets/{sentry-DQ_HstYV.js → sentry-D7VPqxYq.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B21f1_cN.js → shield-DOlUxcFf-BJuX-oII.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BQ5-SiQ7.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--Ci9QGOR0.js +1 -0
- package/dist/assets/{uploadAttachment-htF-2xC2-BK-WmHcD.js → uploadAttachment-DUpHzqMe-BsXZIlq1.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-DZBMoenL.js +1 -0
- package/dist/assets/{url-D8jqtRfm.js → url-BmPGVW_-.js} +1 -1
- package/dist/assets/{url-vYaM0QEj.js → url-DKbKH14f.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BEGNcNvC.js → useLongPress-GCK2COYQ-BEJWN3qx.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-R5RCG5WU.js → usp-line-BBd1wKwW-5sdZ_HyE.js} +1 -1
- package/dist/assets/{utils-wDk5ojg7.js → utils-HSFXD1Qz.js} +1 -1
- package/dist/assets/{zeni-epic-state-B4gyGBI3.js → zeni-epic-state-C513CLlc.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-CXIFSMnN-Coq6wI87.js +0 -21
- package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +0 -18
- package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +0 -6
- package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +0 -47
- package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +0 -46
- package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +0 -51
- package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +0 -266
- package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +0 -84
- package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +0 -1
- package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +0 -138
- package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +0 -1
- package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +0 -12
- package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +0 -865
- package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +0 -3001
- package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +0 -291
- package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +0 -65
- package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +0 -12
- package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +0 -140
- package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +0 -45
- package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +0 -41
- package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +0 -31
- package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +0 -85
- package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +0 -30
- package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +0 -26
- package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +0 -1
- package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +0 -685
- package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +0 -100
- package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +0 -727
- package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +0 -79
- package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +0 -1
- package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +0 -150
- package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +0 -22
- package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +0 -324
- package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +0 -491
- package/dist/assets/SignInScreen-Crh_lnSg.js +0 -1
- package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +0 -134
- package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +0 -31
- package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +0 -508
- package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +0 -31
- package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +0 -195
- package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +0 -903
- package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +0 -153
- package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +0 -35
- package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +0 -38
- package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +0 -1
- package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +0 -36
- package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +0 -1
- package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +0 -1
- package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +0 -1
- package/dist/assets/epic-DjY7Y3Uv.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +0 -3
- package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +0 -1
- package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as qt,aS as Yt,o as i,F as te,ce as Zt,cn as lt,g9 as Jt,b4 as Qt,cu as Xt,iV as ei,iW as ti,T as ii,bU as J,bP as oi,aU as li,y as m,d as qe,ga as ni,l1 as ri,p as Q,c$ as si,am as W,al as O,ai as ae,l2 as ai,fd as di,l3 as ci,l4 as bt,l5 as xt,kd as pi,l6 as mi,l7 as ui,bS as ft,b as Be,aQ as ee,aw as Ye,gM as Ze,a8 as Je,gm as Qe,cK as wt,l8 as $t,l9 as Ie,aO as ze,la as Xe,aK as we,j2 as vt,j3 as St,lb as kt,j1 as Pt,cA as Tt,cD as Ct,lc as E,ld as jt,gy as _t,c_ as Bt,dw as et,u as p}from"./index-DmMELGnq.js";import{a as _,P as It}from"./sentry-D7VPqxYq.js";import{n as o,c as Y}from"./mui-D89AqdoX.js";import{GI as Pe,Go as Te,FR as Ae,bp as zt}from"./zeni-epic-state-C513CLlc.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-B9MARTyR-RwzQ_fCz.js";import{d as At}from"./useLongPress-GCK2COYQ-BEJWN3qx.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./recharts-BGD0T3Yu.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b4267e21-10c8-4781-967d-7002e3dc4bcf",e._sentryDebugIdIdentifier="sentry-dbid-b4267e21-10c8-4781-967d-7002e3dc4bcf")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Le={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},De={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Re={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[Le,De,bi,it,Re],fi=[Le,De,tt,it,Re],wi=[Le,De,tt,it,Re],$i=[Le,De,tt,xi,Re],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,St)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),h=X(),[y,x]=_.useState(zi(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let g=n;r.sortKey===s&&(g=n==="ascending"?"descending":"ascending"),d?.(s,g)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return h==="small"?t.jsxs(nt,{windowSize:h,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Ii,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:h,children:y.map(s=>t.jsxs(ki,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:h,children:[t.jsxs(Bi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(_i,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Pi,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(vi),nt=o(ae)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -12,7 +12,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
12
12
|
background-color: ${e=>e.theme.colors.grey4};
|
|
13
13
|
justify-content: ${e=>e.windowSize==="small"?"space-between":"unset"};
|
|
14
14
|
position: sticky;
|
|
15
|
-
`,
|
|
15
|
+
`,ki=o.div`
|
|
16
16
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
17
17
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
18
18
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -25,7 +25,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
25
25
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
26
26
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,
|
|
28
|
+
`,Pi=o(Ct)`
|
|
29
29
|
width: 12px;
|
|
30
30
|
height: 12px;
|
|
31
31
|
cursor: pointer;
|
|
@@ -40,36 +40,36 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
40
40
|
height: 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
color: inherit;
|
|
43
|
-
`,
|
|
43
|
+
`,Ti=o.div`
|
|
44
44
|
gap: ${i.sp1};
|
|
45
45
|
display: flex;
|
|
46
|
-
`,
|
|
46
|
+
`,Ci=o(Pt)`
|
|
47
47
|
width: 12px;
|
|
48
48
|
height: 12px;
|
|
49
49
|
color: inherit;
|
|
50
|
-
`,
|
|
50
|
+
`,ji=o.div`
|
|
51
51
|
margin-right: ${i.sp1};
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
|
-
`,
|
|
54
|
+
`,_i=o.div`
|
|
55
55
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
56
56
|
align-items: center;
|
|
57
57
|
padding-top: 2px;
|
|
58
|
-
`,
|
|
58
|
+
`,Bi=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
cursor: pointer;
|
|
61
61
|
gap: 5px;
|
|
62
62
|
&:hover {
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,Ii=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
cursor: pointer;
|
|
68
68
|
gap: 5px;
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,zi=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we(fi);case"scheduled":return we(wi);case"paid":return we($i)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:We,space:ve}}}=te.getLocalizedStrings(),Ai=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:h,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=h||y,n=X(),g=Ye(),T=Ze(),I=Je().analytics,c=`dashboard_${g.currentTenant?.companyId}`,{threads:j,isLoading:S}=Qe({application:"dashboard",companyId:g.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(P=>P.resolved===!1),[j]),L=P=>{P.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:g.currentTenant?.companyId??We,companyName:g.currentTenant?.companyName??We,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",g.currentTenant?.companyName??We,g.controllersList.controllers.map(M=>et(M)),void 0,void 0,"comment on field")},C=_.useCallback(()=>{w(e.id)},[e.id]),k=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie($),Z=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,G=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Li,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Di,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ri,{children:[t.jsxs(Ei,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Mi,{children:[t.jsx(Ni,{windowSize:n,children:Z}),e.isRecurring?t.jsx(J,{title:G(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Hi,{isProcessing:s,children:t.jsx(Gi,{})})}):null]}),t.jsx(Oi,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(at,{windowSize:n,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(at,{windowSize:n,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Ui,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Wi,{children:[l!==void 0?t.jsx(Ki,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Vi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(J,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(qi,{})}):null]}),$!==void 0&&k.length>0?k.length>1?t.jsx(J,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${k.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Fi,{windowSize:n,responsiveWidth:xe[4].width,children:ze("0,0[.]00",e.totalAmountInUSD)})]})}),a&&z.length>0?t.jsx(Xe,{isLoading:S,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:L}):null]})},Li=o.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
margin-bottom: ${i.sp3};
|
|
75
75
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -78,11 +78,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
78
78
|
padding-top: ${e=>fe.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
79
|
padding-bottom: ${e=>fe.containerPaddingBottom.valuePx(e.windowSize)};
|
|
80
80
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
81
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
81
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
85
|
-
${e=>e.isProcessing?
|
|
85
|
+
${e=>e.isProcessing?Y`
|
|
86
86
|
color: ${e.theme.colors.grey2};
|
|
87
87
|
border-color: ${e.theme.colors.grey2};
|
|
88
88
|
div {
|
|
@@ -94,7 +94,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?Y`
|
|
98
98
|
color: ${e.theme.colors.primary};
|
|
99
99
|
border-color: ${e.theme.colors.primary};
|
|
100
100
|
div {
|
|
@@ -106,7 +106,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
106
106
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
107
107
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
108
108
|
}
|
|
109
|
-
`:
|
|
109
|
+
`:Y`
|
|
110
110
|
&:hover {
|
|
111
111
|
color: ${e.theme.colors.primary};
|
|
112
112
|
border-color: ${e.theme.colors.primary};
|
|
@@ -125,28 +125,28 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
125
125
|
margin-left: ${i.sp0};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Di=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Ri=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
height: 42px;
|
|
136
|
-
`,
|
|
136
|
+
`,Ei=o.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
column-gap: 12px;
|
|
140
140
|
align-items: flex-start;
|
|
141
141
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
142
|
-
`,
|
|
142
|
+
`,Mi=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
gap: ${i.sp1};
|
|
146
146
|
align-items: center;
|
|
147
147
|
margin-right: ${i.sp3};
|
|
148
148
|
color: ${e=>e.theme.colors.hero};
|
|
149
|
-
`,
|
|
149
|
+
`,Ni=o(O)`
|
|
150
150
|
flex-grow: 1;
|
|
151
151
|
word-break: break-word;
|
|
152
152
|
display: -webkit-box;
|
|
@@ -155,13 +155,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
155
155
|
overflow: hidden;
|
|
156
156
|
text-overflow: ellipsis;
|
|
157
157
|
max-width: ${e=>e.windowSize==="small"?"200px":"initial"};
|
|
158
|
-
`,
|
|
158
|
+
`,Fi=o(O)`
|
|
159
159
|
display: flex;
|
|
160
160
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
161
161
|
color: ${e=>e.theme.colors.hero};
|
|
162
162
|
justify-content: flex-end;
|
|
163
163
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,
|
|
164
|
+
`,Oi=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
@@ -181,18 +181,18 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
181
181
|
display: inline-block;
|
|
182
182
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
183
|
border-radius: ${i.sp1};
|
|
184
|
-
`,
|
|
184
|
+
`,Vi=o(O)``,at=o(O)`
|
|
185
185
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
186
186
|
color: ${e=>e.theme.colors.hero};
|
|
187
187
|
box-sizing: border-box;
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Wi=o.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${i.sp2};
|
|
195
|
-
`,
|
|
195
|
+
`,Ui=o.div`
|
|
196
196
|
position: relative;
|
|
197
197
|
top: 2px;
|
|
198
198
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -206,22 +206,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Hi=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
align-items: center;
|
|
212
212
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
213
|
-
`,
|
|
213
|
+
`,Gi=o(_t)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
217
|
-
`,
|
|
217
|
+
`,qi=o(Bt)`
|
|
218
218
|
width: ${i.sp3};
|
|
219
219
|
height: ${i.sp3};
|
|
220
220
|
color: ${e=>e.theme.colors.hero};
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
223
|
}
|
|
224
|
-
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:
|
|
224
|
+
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ue,space:Se}}}=te.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:h,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:g})=>{const T=d||r,I=X(),c=Ye(),j=Ze(),S=Je().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(K=>K.resolved===!1),[L]),Z=K=>{K.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Ue,companyName:c.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??Ue,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,"comment on field")},{getValues:G,setValue:P}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=G(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&P(y,[...se,e.id])},[y,x,a,P,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Oe=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(K=>{K.stopPropagation(),K.cancelable&&K.preventDefault(),$?ge():g(e.id)},[ge,$,g,e.id]),Ke=At({onLongPress:Oe},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Zi,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:T,children:[t.jsx(Ji,{onClick:ye,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Qi,{children:[t.jsxs(ro,{children:[t.jsxs(Xi,{children:[t.jsxs(eo,{children:[t.jsx(to,{windowSize:I,children:re}),e.isRecurring?t.jsx(J,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ao,{isProcessing:T,children:t.jsx(co,{})})}):null]}),t.jsx(oo,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(dt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(dt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(so,{children:[t.jsx(io,{children:ze("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(no,{hasAlertIcon:b!=null,children:[t.jsxs(po,{children:[l!==void 0?t.jsx(lo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(uo,{onClick:K=>K.stopPropagation(),children:t.jsx(J,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(mo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(J,{title:`${ne.byText}${Se}${M.join(`${Se}${ne.orText}${Se}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${Se}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${Se}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),h&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z}):null]})},Zi=o.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -230,10 +230,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
230
230
|
padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
231
|
padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
|
|
232
232
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
233
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
233
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?
|
|
236
|
+
${e=>e.isProcessing?Y`
|
|
237
237
|
color: ${e.theme.colors.grey2};
|
|
238
238
|
border-color: ${e.theme.colors.grey2};
|
|
239
239
|
div {
|
|
@@ -245,7 +245,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?Y`
|
|
249
249
|
color: ${e.theme.colors.primary};
|
|
250
250
|
border-color: ${e.theme.colors.primary};
|
|
251
251
|
div {
|
|
@@ -257,7 +257,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
257
257
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
258
258
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
259
259
|
}
|
|
260
|
-
`:
|
|
260
|
+
`:Y`
|
|
261
261
|
&:hover {
|
|
262
262
|
color: ${e.theme.colors.primary};
|
|
263
263
|
border-color: ${e.theme.colors.primary};
|
|
@@ -274,26 +274,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
274
274
|
`}
|
|
275
275
|
margin-right: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
276
276
|
margin-left: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
277
|
-
`,
|
|
277
|
+
`,Ji=o.div`
|
|
278
278
|
display: block;
|
|
279
279
|
width: 100%;
|
|
280
|
-
`,
|
|
280
|
+
`,Qi=o.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
width: 100%;
|
|
283
283
|
justify-content: space-between;
|
|
284
|
-
`,
|
|
284
|
+
`,Xi=o.div`
|
|
285
285
|
display: flex;
|
|
286
286
|
flex-direction: column;
|
|
287
287
|
column-gap: 12px;
|
|
288
288
|
align-items: flex-start;
|
|
289
|
-
`,
|
|
289
|
+
`,eo=o.div`
|
|
290
290
|
display: flex;
|
|
291
291
|
flex-direction: row;
|
|
292
292
|
gap: ${i.sp1};
|
|
293
293
|
align-items: center;
|
|
294
294
|
margin-right: ${i.sp3};
|
|
295
295
|
color: ${e=>e.theme.colors.hero};
|
|
296
|
-
`,
|
|
296
|
+
`,to=o(O)`
|
|
297
297
|
color: ${e=>e.theme.colors.hero};
|
|
298
298
|
flex-grow: 1;
|
|
299
299
|
word-break: break-word;
|
|
@@ -303,13 +303,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
303
303
|
overflow: hidden;
|
|
304
304
|
text-overflow: ellipsis;
|
|
305
305
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
306
|
-
`,
|
|
306
|
+
`,io=o(O)`
|
|
307
307
|
display: flex;
|
|
308
308
|
color: ${e=>e.theme.colors.hero};
|
|
309
309
|
justify-content: flex-end;
|
|
310
|
-
`,
|
|
310
|
+
`,oo=o(W)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,
|
|
312
|
+
`,lo=o(W)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -327,7 +327,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: center;
|
|
330
|
-
`,
|
|
330
|
+
`,no=o.div`
|
|
331
331
|
color: ${e=>e.theme.colors.hero};
|
|
332
332
|
box-sizing: border-box;
|
|
333
333
|
display: flex;
|
|
@@ -336,32 +336,32 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
336
336
|
justify-content: center;
|
|
337
337
|
`,je=o(W)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,
|
|
339
|
+
`,ro=o.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
|
-
`,
|
|
342
|
+
`,so=o.div`
|
|
343
343
|
display: flex;
|
|
344
344
|
flex-direction: column;
|
|
345
|
-
`,
|
|
345
|
+
`,ao=o.div`
|
|
346
346
|
display: flex;
|
|
347
347
|
align-items: center;
|
|
348
348
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
349
|
-
`,
|
|
349
|
+
`,co=o(_t)`
|
|
350
350
|
width: 12px;
|
|
351
351
|
height: 12px;
|
|
352
352
|
color: inherit;
|
|
353
|
-
`,
|
|
353
|
+
`,po=o.div`
|
|
354
354
|
display: flex;
|
|
355
355
|
flex-direction: row;
|
|
356
356
|
gap: ${i.sp2};
|
|
357
|
-
`,
|
|
357
|
+
`,mo=o(Bt)`
|
|
358
358
|
width: ${i.sp3};
|
|
359
359
|
height: ${i.sp3};
|
|
360
360
|
color: ${e=>e.theme.colors.hero};
|
|
361
361
|
:hover {
|
|
362
362
|
color: ${e=>e.theme.colors.primary};
|
|
363
363
|
}
|
|
364
|
-
`,
|
|
364
|
+
`,uo=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Ee={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Me={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Ne={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Fe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Ee,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],ho=[Ee,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],go=[Ee,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],yo=[Ee,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],Lt={draft:pe,pending_approval:ho,scheduled:go,paid:yo},_e={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[3],p[4])};function bo({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const h=X(),y=qe(),[x,$]=_.useState(we(Lt[l]));_.useEffect(()=>{const n=[...x];for(const g of n)g.key===r.sortKey?g.sortOrder=r.sortOrder:g.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,g)=>{let T=g;r.sortKey===n&&(T=g==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,T),d?.(n,T)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(g=>g.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return h==="small"?t.jsxs(ct,{height:vt,windowSize:h,children:[t.jsx(wo,{children:t.jsx($o,{})}),t.jsx(ft,{title:s.sortBy,placeholder:s.sortBy,pickerValues:w,valueToLabel:u,selectedValue:r.sortKey,onPickerSelectionChanged:n=>{f(n,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(Po,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:St,windowSize:h,children:x.map(n=>t.jsxs(fo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:h,children:[t.jsxs(ko,{onClick:()=>f(n.key,n.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(ae,{children:n.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(mt,{})})]}),t.jsx(So,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(vo,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const xo=It.memo(bo),ct=o(ae)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -374,7 +374,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
374
374
|
padding: ${e=>`${_e.headerLastColumnTopPadding.valuePx(e.windowSize)} ${_e.headerLastColumnRightPadding.valuePx(e.windowSize)} ${_e.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${_e.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
375
375
|
background-color: ${e=>e.theme.colors.grey4};
|
|
376
376
|
position: sticky;
|
|
377
|
-
`,
|
|
377
|
+
`,fo=o.div`
|
|
378
378
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
379
379
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
380
380
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -387,15 +387,15 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
387
387
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
388
388
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
389
389
|
box-sizing: border-box;
|
|
390
|
-
|
|
390
|
+
`,wo=o.div`
|
|
391
391
|
margin-right: ${i.sp1};
|
|
392
392
|
display: flex;
|
|
393
393
|
align-items: center;
|
|
394
|
-
|
|
394
|
+
`,$o=o(Pt)`
|
|
395
395
|
width: 12px;
|
|
396
396
|
height: 12px;
|
|
397
397
|
color: inherit;
|
|
398
|
-
`,
|
|
398
|
+
`,vo=o(Ct)`
|
|
399
399
|
width: 12px;
|
|
400
400
|
height: 12px;
|
|
401
401
|
cursor: pointer;
|
|
@@ -414,14 +414,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
414
414
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
415
|
align-items: center;
|
|
416
416
|
padding-top: 2px;
|
|
417
|
-
`,
|
|
417
|
+
`,ko=o.div`
|
|
418
418
|
display: flex;
|
|
419
419
|
cursor: pointer;
|
|
420
420
|
gap: 5px;
|
|
421
421
|
&:hover {
|
|
422
422
|
color: ${e=>e.theme.colors.primary};
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Po=o.div`
|
|
425
425
|
display: flex;
|
|
426
426
|
cursor: pointer;
|
|
427
427
|
gap: 5px;
|
|
@@ -429,20 +429,20 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,
|
|
432
|
+
`,ke={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},q=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,To=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:h,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=X(),u=Ye(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*kt)},[b]);const g=Je().analytics,T=Ze(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=Ie(y),z=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(G=>G.resolved===!1),[L]),Z=G=>{G.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),g.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(P=>et(P)),void 0,void 0,"comment on field")};return t.jsxs(Co,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(jo,{children:t.jsxs(_o,{children:[t.jsxs(Bo,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(Io,{windowSize:b,reportNameWidth:s,children:e.reportTitle??q.newReimbursementTitle}),a!=null&&t.jsx(zo,{children:`${q.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[1].width,children:h}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(J,{title:q.reimbursementType.both,placement:"bottom-start",display:"flex",children:q.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:q.reimbursementType[j[0]]}),t.jsxs(Ro,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Eo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??q.hyphenText}):t.jsx(Do,{children:q.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(J,{title:`${q.byText} `+S.join(` ${q.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${q.byText} `+S[0]+`${q.dots}`})}):t.jsx(He,{children:`${q.byText} `+S[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Ao,{windowSize:b,responsiveWidth:pe[4].width,children:ze("0,0[.]00",e.amount)})]})}),$&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:Z}):null]})},Co=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
436
|
-
padding-left: ${e=>
|
|
437
|
-
padding-right: ${e=>
|
|
438
|
-
padding-top: ${e=>
|
|
439
|
-
padding-bottom: ${e=>
|
|
436
|
+
padding-left: ${e=>ke.containerPaddingLeft.valuePx(e.windowSize)};
|
|
437
|
+
padding-right: ${e=>ke.containerPaddingRight.valuePx(e.windowSize)};
|
|
438
|
+
padding-top: ${e=>ke.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
|
+
padding-bottom: ${e=>ke.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
445
|
-
${e=>e.isProcessing?
|
|
445
|
+
${e=>e.isProcessing?Y`
|
|
446
446
|
color: ${e.theme.colors.grey2};
|
|
447
447
|
border-color: ${e.theme.colors.grey2};
|
|
448
448
|
div {
|
|
@@ -454,7 +454,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?Y`
|
|
458
458
|
color: ${e.theme.colors.primary};
|
|
459
459
|
border-color: ${e.theme.colors.primary};
|
|
460
460
|
div {
|
|
@@ -466,7 +466,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
466
466
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
467
467
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
468
468
|
}
|
|
469
|
-
`:
|
|
469
|
+
`:Y`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -482,50 +482,50 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
482
482
|
}
|
|
483
483
|
`}
|
|
484
484
|
|
|
485
|
-
margin-right: ${e=>
|
|
485
|
+
margin-right: ${e=>ke.containerMarginLeft.valuePx(e.windowSize)};
|
|
486
486
|
margin-left: ${i.sp0};
|
|
487
|
-
`,
|
|
487
|
+
`,jo=o.div`
|
|
488
488
|
display: flex;
|
|
489
489
|
width: 100%;
|
|
490
|
-
`,
|
|
490
|
+
`,_o=o.div`
|
|
491
491
|
display: flex;
|
|
492
492
|
width: 100%;
|
|
493
493
|
height: 42px;
|
|
494
|
-
`,
|
|
494
|
+
`,Bo=o.div`
|
|
495
495
|
display: flex;
|
|
496
496
|
flex-direction: column;
|
|
497
497
|
justify-content: center;
|
|
498
498
|
column-gap: 12px;
|
|
499
499
|
align-items: flex-start;
|
|
500
500
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
501
|
-
`,
|
|
501
|
+
`,Io=o(O)`
|
|
502
502
|
color: ${e=>e.theme.colors.hero};
|
|
503
503
|
align-items: center;
|
|
504
504
|
white-space: nowrap;
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
text-overflow: ellipsis;
|
|
507
|
-
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${
|
|
508
|
-
`,
|
|
507
|
+
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${kt*100}%`};
|
|
508
|
+
`,zo=o(ae)`
|
|
509
509
|
color: ${e=>e.theme.colors.grey1};
|
|
510
|
-
`,
|
|
510
|
+
`,Ao=o(O)`
|
|
511
511
|
display: flex;
|
|
512
512
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
515
515
|
justify-content: flex-end;
|
|
516
|
-
`,
|
|
516
|
+
`,Lo=o(O)`
|
|
517
517
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
518
518
|
color: ${e=>e.theme.colors.hero};
|
|
519
519
|
box-sizing: border-box;
|
|
520
520
|
display: flex;
|
|
521
521
|
align-items: center;
|
|
522
|
-
`,
|
|
522
|
+
`,Do=o(O)``,ut=o(O)`
|
|
523
523
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
524
524
|
color: ${e=>e.theme.colors.hero};
|
|
525
525
|
box-sizing: border-box;
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
|
-
`,
|
|
528
|
+
`,Ro=o(O)`
|
|
529
529
|
position: relative;
|
|
530
530
|
top: 2px;
|
|
531
531
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -535,11 +535,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
align-items: flex-start;
|
|
537
537
|
justify-content: center;
|
|
538
|
-
`,
|
|
538
|
+
`,He=o(W)`
|
|
539
539
|
position: relative;
|
|
540
540
|
top: 1px;
|
|
541
541
|
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,
|
|
542
|
+
`,Eo=o(W)`
|
|
543
543
|
display: flex;
|
|
544
544
|
color: ${e=>e.color};
|
|
545
545
|
align-items: center;
|
|
@@ -547,7 +547,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},
|
|
550
|
+
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},V=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Mo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:h,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=X(),{getValues:n,setValue:g}=wt(),T=e.reimbursementTypesIncluded,I=Ie(b),c=we(Lt[d]),j=n(h),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&g(h,[...j,e.id])},[h,y,a,g,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),L=_.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=At({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(No,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Fo,{onClick:L,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Oo,{children:[t.jsxs(Ko,{children:[t.jsxs(Wo,{children:[t.jsx(Uo,{windowSize:s,children:e.reportTitle??V.newReimbursementTitle}),$!=null&&t.jsx(Ho,{children:`${V.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(qo,{children:[c[1].value+": ",f]}),T.length>1?t.jsx(J,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType[T[0]]]})]}),t.jsxs(Vo,{children:[t.jsx(Go,{children:ze("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[l!==void 0?t.jsx(Zo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??V.hyphenText}):t.jsx(t.Fragment,{children:V.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(J,{title:`${V.byText} `+I.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]+`${V.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},No=o.div`
|
|
551
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -556,10 +556,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
556
556
|
padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
557
|
padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
|
|
558
558
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
559
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
559
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?
|
|
562
|
+
${e=>e.isProcessing?Y`
|
|
563
563
|
color: ${e.theme.colors.grey2};
|
|
564
564
|
border-color: ${e.theme.colors.grey2};
|
|
565
565
|
div {
|
|
@@ -571,7 +571,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?Y`
|
|
575
575
|
color: ${e.theme.colors.primary};
|
|
576
576
|
border-color: ${e.theme.colors.primary};
|
|
577
577
|
div {
|
|
@@ -583,7 +583,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
583
583
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
584
584
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
585
585
|
}
|
|
586
|
-
`:
|
|
586
|
+
`:Y`
|
|
587
587
|
&:hover {
|
|
588
588
|
color: ${e.theme.colors.primary};
|
|
589
589
|
border-color: ${e.theme.colors.primary};
|
|
@@ -601,26 +601,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
601
601
|
|
|
602
602
|
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
603
|
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,
|
|
604
|
+
`,Fo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Oo=o.div`
|
|
608
608
|
display: flex;
|
|
609
609
|
width: 100%;
|
|
610
610
|
justify-content: space-between;
|
|
611
611
|
`,Ko=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
|
-
`,
|
|
614
|
+
`,Vo=o.div`
|
|
615
615
|
display: flex;
|
|
616
616
|
flex-direction: column;
|
|
617
617
|
text-align: right;
|
|
618
|
-
`,
|
|
618
|
+
`,Wo=o.div`
|
|
619
619
|
display: flex;
|
|
620
620
|
flex-direction: column;
|
|
621
621
|
column-gap: 12px;
|
|
622
622
|
align-items: flex-start;
|
|
623
|
-
`,
|
|
623
|
+
`,Uo=o(O)`
|
|
624
624
|
color: ${e=>e.theme.colors.hero};
|
|
625
625
|
flex-grow: 1;
|
|
626
626
|
word-break: break-word;
|
|
@@ -630,13 +630,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Ho=o(W)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Go=o(O)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,
|
|
639
|
+
`,qo=o(W)`
|
|
640
640
|
color: ${e=>e.theme.colors.grey1};
|
|
641
641
|
box-sizing: border-box;
|
|
642
642
|
display: flex;
|
|
@@ -646,14 +646,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
648
648
|
align-items: center;
|
|
649
|
-
`,
|
|
649
|
+
`,Yo=o.div`
|
|
650
650
|
color: ${e=>e.theme.colors.hero};
|
|
651
651
|
box-sizing: border-box;
|
|
652
652
|
display: flex;
|
|
653
653
|
flex-direction: column;
|
|
654
|
-
`,
|
|
654
|
+
`,Ge=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,
|
|
656
|
+
`,Zo=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,22 +663,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
666
|
-
`,Yo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Xo}},spendManagement:{billPay:Dt,reimbursement:el}}=v,H=Dt.bulkActions,F=el.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",tl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:h,transactionsSelectedForBulkAction:k,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),P=T=>{const M=w==="bill_pay"?e[T].vendor?.name??e[T].candidateVendorName??N:e[T].reportTitle??N;return ri(M,C)},q=_.useRef(null);_.useEffect(()=>{q.current?.resetAfterIndex(0)},[C,q,d,r]);const G=_.forwardRef((T,M)=>{const{children:re,style:ie,...se}=T;return t.jsx(Pl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,qt({componentName:`${yi(w)}.${bi(d,w)}`,enabled:c==="Completed"}),t.jsx(gl,{children:c==="Error"?t.jsxs(xl,{children:[t.jsx(fl,{onClick:z,children:t.jsx(wl,{})}),t.jsx($l,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Qt,{fetchState:c,styles:{margin:"auto"}}):t.jsx(vl,{windowSize:C,children:t.jsx(Yt,{children:({height:T,width:M})=>t.jsx(Xt,{ref:q,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:P,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:h,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:k,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:il})})})})},Hl=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:h,isBulkActionAllowed:k,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:P,onReloadTransactions:q,onColumnSortConfigChanged:G,analytics:T,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Vt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===h)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);T?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));T?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Ve=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,V]=_.useState(!1),[U,We]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);P==="Completed"&&A!=null&&T?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[T,a,u,s,P]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ul(s,c.length,a,I);if(We({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);T?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));T?.trackReimbursementBulkDeleted(c.length,a,u,R)}V(!0)},[s,T,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length);We({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ft={onOkClick:A=>{if(V(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);T?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));T?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),V(!1),We({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);T?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));T?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,T,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(bl,{children:[t.jsx(gi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(yl,{onSubmit:se.handleSubmit(Ve),children:[t.jsx(tl,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:P,onReloadTransactions:q,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(Jt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Zt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:dl(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:cl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:pl(j,ye)},leftSideComponent:sl(c.length,h,s,ye),rightSideComponent:j.includes("delete")?al(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},il=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:h,analytics:k,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=Ze(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(kl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:nl(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:rl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=f?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:hl(C,a),exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:P?"info":yt(C)}})]:[{label:t.jsx(fo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:k,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=b?.includes(C.id)??!1;return{label:t.jsx(ll,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:g,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:P}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:P?"info":yt(C)}})]})})},ol=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?qi:Li,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Le(s?.type),h=b?.includes(e.id)??!1,k=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:h,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||h?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?k():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ll=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?No:Co,w=Ie(),s=pi(w),n=mi(d,e.submittedBy,s),{bulkProcessingDetail:h}=e,k=Le(h?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:n,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:g.includes(e.id),isProcessing:k,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:hi(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:ui(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:k?()=>null:f})})},nl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},rl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},sl=(e,l,d,r)=>{const a=d==="bill_pay"?H.bill:F.report,g=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(_l,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Bl,{multiDigit:e>=10,children:e}),t.jsx(Il,{children:g}),e===l?t.jsx(zl,{children:Xo}):null]}):null},al=(e,l,d,r)=>e>0?t.jsx(Tl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Cl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(Q,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(jl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Le(d?.type),g=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},dl=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},cl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},pl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},ml=(e,l)=>{const{this_:d,these:r,payment:a,payments:g,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ul=(e,l,d,r)=>{const{this_:a,these:g,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let h=N;e==="bill_pay"?h=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):h=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let k=N;return d==="draft"?e==="bill_pay"?k=H.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f):k=F.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("__report__",n?u:b):r?k=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?k=H.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):k=F.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:h,description:k}},hl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Le(e.bulkProcessingDetail?.type)?"info":"alert",gl=o.div`
|
|
666
|
+
`,Jo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Qo}},spendManagement:{billPay:Dt,reimbursement:Xo}}=v,H=Dt.bulkActions,F=Xo.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",el=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:g,transactionsSelectedForBulkAction:T,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),k=P=>{const M=w==="bill_pay"?e[P].vendor?.name??e[P].candidateVendorName??N:e[P].reportTitle??N;return ri(M,C)},Z=_.useRef(null);_.useEffect(()=>{Z.current?.resetAfterIndex(0)},[C,Z,d,r]);const G=_.forwardRef((P,M)=>{const{children:re,style:ie,...se}=P;return t.jsx(kl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Zt({componentName:`${gi(w)}.${yi(d,w)}`,enabled:c==="Completed"}),t.jsx(hl,{children:c==="Error"?t.jsxs(bl,{children:[t.jsx(xl,{onClick:z,children:t.jsx(fl,{})}),t.jsx(wl,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Jt,{fetchState:c,styles:{margin:"auto"}}):t.jsx($l,{windowSize:C,children:t.jsx(Qt,{children:({height:P,width:M})=>t.jsx(Xt,{ref:Z,height:P,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:k,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:g,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:T,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:tl})})})})},Ul=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:g,isBulkActionAllowed:T,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:k,onReloadTransactions:Z,onColumnSortConfigChanged:G,analytics:P,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Kt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Vt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===g)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);P?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));P?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Oe=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,K]=_.useState(!1),[U,Ve]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);k==="Completed"&&A!=null&&P?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[P,a,u,s,k]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length,a,I);if(Ve({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);P?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));P?.trackReimbursementBulkDeleted(c.length,a,u,R)}K(!0)},[s,P,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=pl(s,c.length);Ve({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),K(!0)},[s,c.length]),Ft={onOkClick:A=>{if(K(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);P?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));P?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),K(!1),Ve({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);P?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));P?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,P,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(yl,{children:[t.jsx(hi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(gl,{onSubmit:se.handleSubmit(Oe),children:[t.jsx(el,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:k,onReloadTransactions:Z,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:P,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:g,isBulkActionAllowed:T,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(qt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Yt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:al(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:dl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:cl(j,ye)},leftSideComponent:rl(c.length,g,s,ye),rightSideComponent:j.includes("delete")?sl(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},tl=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:h,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:g,analytics:T,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=qe(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(vl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:ll(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:nl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=f?.includes(C.id)??!1;return{label:t.jsx(il,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:ul(C,a),exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:k?"info":yt(C)}})]:[{label:t.jsx(xo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:T,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=b?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:h,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:k}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:"checked_or_hover",exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:k?"info":yt(C)}})]})})},il=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:h,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?Yi:Ai,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Ae(s?.type),g=b?.includes(e.id)??!1,T=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:g,isBulkSelectionLimitReached:r.length===h,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||g?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?T():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ol=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:h,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?Mo:To,w=pi(d,e.submittedBy),{bulkProcessingDetail:s}=e,n=Ae(s?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:h.includes(e.id),isProcessing:n,isBulkSelectionLimitReached:h.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:ui(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:mi(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n?()=>null:f})})},ll=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},nl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},rl=(e,l,d,r)=>{const a=d==="bill_pay"?H.bill:F.report,h=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(jl,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(_l,{multiDigit:e>=10,children:e}),t.jsx(Bl,{children:h}),e===l?t.jsx(Il,{children:Qo}):null]}):null},sl=(e,l,d,r)=>e>0?t.jsx(Pl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Tl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(J,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(Cl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Ae(d?.type),h=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(h)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},al=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},dl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},cl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},pl=(e,l)=>{const{this_:d,these:r,payment:a,payments:h,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",h)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",h)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ml=(e,l,d,r)=>{const{this_:a,these:h,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let g=N;e==="bill_pay"?g=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):g=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let T=N;return d==="draft"?e==="bill_pay"?T=H.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f):T=F.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("__report__",n?u:b):r?T=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?T=H.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):T=F.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:g,description:T}},ul=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",hl=o.div`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
|
-
`,
|
|
669
|
+
`,gl=o.form`
|
|
670
670
|
height: 100%;
|
|
671
|
-
`,
|
|
671
|
+
`,yl=o.div`
|
|
672
672
|
height: calc(100% - 120px);
|
|
673
673
|
margin: auto;
|
|
674
|
-
`,
|
|
674
|
+
`,bl=o.div`
|
|
675
675
|
display: flex;
|
|
676
676
|
width: 100%;
|
|
677
677
|
height: calc(100% - 60px);
|
|
678
678
|
flex-direction: column;
|
|
679
679
|
justify-content: center;
|
|
680
680
|
align-items: center;
|
|
681
|
-
`,
|
|
681
|
+
`,xl=o.div`
|
|
682
682
|
height: 96px;
|
|
683
683
|
width: 96px;
|
|
684
684
|
display: flex;
|
|
@@ -687,25 +687,25 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,
|
|
690
|
+
`,fl=o(oi)`
|
|
691
691
|
height: ${i.sp5};
|
|
692
692
|
width: ${i.sp5};
|
|
693
693
|
color: ${e=>e.theme.colors.grey1};
|
|
694
694
|
&:hover {
|
|
695
695
|
color: ${e=>e.theme.colors.primary};
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
`,wl=o(li)`
|
|
698
698
|
margin-top: ${i.sp3};
|
|
699
699
|
color: ${e=>e.theme.colors.hero};
|
|
700
|
-
|
|
700
|
+
`,$l=o.div`
|
|
701
701
|
/** Subtract top so list can occupy remaining available height */
|
|
702
702
|
height: calc(100vh - 243px);
|
|
703
703
|
max-width: 99.9%;
|
|
704
704
|
.spend-management-list-item:last-of-type {
|
|
705
|
-
height: ${e=>
|
|
705
|
+
height: ${e=>Jo.lastListItemHeight.valuePx(e.windowSize)} !important;
|
|
706
706
|
padding-bottom: ${i.sp9};
|
|
707
707
|
}
|
|
708
|
-
`,
|
|
708
|
+
`,vl=o.div`
|
|
709
709
|
top: ${i.sp0};
|
|
710
710
|
left: ${i.sp0};
|
|
711
711
|
padding-bottom: ${i.sp3};
|
|
@@ -714,31 +714,31 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
714
714
|
position: relative;
|
|
715
715
|
width: auto;
|
|
716
716
|
height: 100%;
|
|
717
|
-
`,
|
|
717
|
+
`,kl=o.div``,Rt=o.div`
|
|
718
718
|
position: relative;
|
|
719
719
|
width: 100%;
|
|
720
|
-
`,
|
|
720
|
+
`,Pl=o.div`
|
|
721
721
|
display: flex;
|
|
722
722
|
justify-content: flex-end;
|
|
723
|
-
`,
|
|
723
|
+
`,Tl=o.div`
|
|
724
724
|
margin-right: ${i.sp8};
|
|
725
725
|
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
726
|
-
color: ${e=>e.windowSize==="small"?
|
|
727
|
-
`,
|
|
726
|
+
color: ${e=>e.windowSize==="small"?Q.important:e.theme.colors.grey1};
|
|
727
|
+
`,Cl=o(si)`
|
|
728
728
|
width: ${i.sp4};
|
|
729
729
|
height: ${i.sp4};
|
|
730
730
|
cursor: pointer;
|
|
731
731
|
color: inherit;
|
|
732
732
|
&:hover {
|
|
733
|
-
color: ${
|
|
733
|
+
color: ${Q.important};
|
|
734
734
|
}
|
|
735
|
-
`,
|
|
735
|
+
`,jl=o.div`
|
|
736
736
|
display: flex;
|
|
737
737
|
justify-content: flex-start;
|
|
738
738
|
align-items: center;
|
|
739
739
|
gap: ${i.sp2};
|
|
740
740
|
margin-left: ${i.sp8};
|
|
741
|
-
`,
|
|
741
|
+
`,_l=o(W)`
|
|
742
742
|
height: 18px;
|
|
743
743
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
744
744
|
padding: ${i.sp0} 6px;
|
|
@@ -747,8 +747,8 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
747
747
|
display: flex;
|
|
748
748
|
justify-content: center;
|
|
749
749
|
align-items: center;
|
|
750
|
-
`,
|
|
750
|
+
`,Bl=o(O)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
|
-
`,
|
|
753
|
-
color: ${
|
|
754
|
-
`;export{
|
|
752
|
+
`,Il=o(ae)`
|
|
753
|
+
color: ${Q.important};
|
|
754
|
+
`;export{Ul as default};
|