@zeniai/web-cockpit-ui 1.14.32-prod → 1.14.33-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-MP6kdpXK-mXgY4FoK.js → ACHDetailsPage-BeF1WMnC-1VBfz86m.js} +1 -1
- package/dist/assets/{AIPerformancePage-BhOaFmfv-Ck2Vsrs_.js → AIPerformancePage-CxD_UAbI-CDXEWRTT.js} +26 -26
- package/dist/assets/{AccountInfoPage-D9Ft_CT9-UBKCGyV1.js → AccountInfoPage-DcY-ZzlZ-B4iecNyJ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DvWx52e0-DBXpP6e6.js → AccountInfoPageContent-CaoKCM-U-CngVOAi6.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CCpUHHDw.js → AccountLockedInfoModal-CJmhyeRY-C979nTcy.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-BcLmhY6M.js → AccountReconDetailsDrawerPage-sSMPfl5H-IX-cEHy1.js} +13 -13
- package/dist/assets/{AccountRow-CiIWoLq3-DnETnEs8.js → AccountRow-Buzf5t6f-kuIKrhUG.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-CC72plKm-eywwRX88.js → AccountsPromoCardStack-Dlcbuic0-Kc3shiMd.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-CDnmuMpI.js → AddAddressForCardDrawer-BLTkxUcq-D-V6n_7V.js} +1 -1
- package/dist/assets/{AddToWalletPage-B3vdkyWl-BpwvV_Yt.js → AddToWalletPage-B5LKICXr-nsC3Wra1.js} +17 -17
- package/dist/assets/{AgingReportsPage-CbkMxxO_-Cfk5vpwm.js → AgingReportsPage-_hwnvPm7-Bkolnb9C.js} +15 -15
- package/dist/assets/{AllUserItems-DJo9kLSI-woqaTiN-.js → AllUserItems-DohW-333-Bg7h27YQ.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-DcAh6DLg-B3pFO6wY.js → ApAgingDetailPage-CfzCrv7O-Cr8uPh7t.js} +3 -3
- package/dist/assets/{AppBasePage-DztnPkfs-BDuARS-8.js → AppBasePage-Nz4YL7cO-BTGamgks.js} +16 -16
- package/dist/assets/{AppDrawerContent-DDmKn21i-H0Rqcj5H.js → AppDrawerContent-DipGyZ1n-BX_zKp-X.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-DUHTdTXW.js → ApprovalRulesSettingsPage-CDJ2Pb6i-IB0wqs_T.js} +1 -1
- package/dist/assets/ArAgingChart-C2EOYS7A-C5CyuZdZ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-B3JQ08nH-CrkQ4R8k.js → ArAgingDetailPage-hLTSTpD2-Bw2ArYRS.js} +1 -1
- package/dist/assets/{AttachmentView-p8mBqYjm-D-KAfu7b.js → AttachmentView-BMvudk_o-Dwirdwse.js} +6 -6
- package/dist/assets/{BankAccountSection-AuQLRvdb-DQoUiHyf.js → BankAccountSection-BKK0TqfR-LMfrwS2j.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-HvUMABu0-DER3zfEz.js → BankAccountWarningSection-DvJdsXOf-4phuqOcH.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-Cbu8rTGU.js → BankConnectionsSettingsPage-jdyMMWYg-Bm41i4Ok.js} +8 -8
- package/dist/assets/{BillDetailPage-nqHoph6T-omHRYVvP.js → BillDetailPage-BAc9ZaEX-C9SGsi6f.js} +7 -7
- package/dist/assets/BillPayApprovalRuleDetailPage-C8VknJRe-CzEtziL7.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-CjXiDgsw.js → BillPayApprovalRulesPage-ycrs-KJM-BHzKI2PU.js} +7 -7
- package/dist/assets/{BillPayPromoPage-CNiTD_mM-CL0u9OKF.js → BillPayPromoPage-B3cmYoMb-CSle0M5N.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-BUSwkzqv-Dxo0A25E.js → BillPaySetUpPage-Fs62VXvw-Bx0yDXtw.js} +2 -2
- package/dist/assets/{BillingSettingsPage-aPRvtlqA-DtkoBYtr.js → BillingSettingsPage-Dt9jBMTF-CKtbFl0q.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-C7NN2Xmz.js → BillsBulkReviewDrawerPage-Qcl9aUuk-D6jtO37l.js} +1 -1
- package/dist/assets/{BoxItem-CZKWkdxd-Dfy_6ZAY.js → BoxItem-BYcXwroy-BhSt87hz.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CeDGi-RH-Cp7o4xxw.js → BusinessVerificationPage-il8wYjJ_-BF6mKhyz.js} +5 -5
- package/dist/assets/CardNumberSubText-Cz8Y1Z97-BSIcPMWK.js +21 -0
- package/dist/assets/{CashbackDetailPage-V-W_U5k1-doC9RVzZ.js → CashbackDetailPage-Dv5Z7Tvy-DUAllv2v.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-4zwKmLMd.js → ChargeCardDetailPage-CGTduWWN-DnO3oIwM.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DORW9YE4-goCliHtX.js → ChargeCardListPage-DNLZxp9I-CaP_yIbe.js} +16 -16
- package/dist/assets/{ChargeCardListTable-C32mZrwY-DoEvYUTO.js → ChargeCardListTable-BnHOs06b-DLTVfaw9.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-B567yD1E.js → ChargeCardPromoPage-C9ByS2z5-BjMS3S7B.js} +13 -13
- package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-Bsg7iGla.js → ChargeCardSetupPage-Baw4VtU6-D0oScUuZ.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-BuEYST8n.js → ChargeCardStatementsPage-D0nZbDIZ-1YWyw7g9.js} +6 -6
- package/dist/assets/ChargeCardUtils-CTnXnilO-BBCNz-CS.js +1 -0
- package/dist/assets/{ChaseOverlay-BGZfbx0H-CBapYrmC.js → ChaseOverlay-2qpcZYP8-CJCeLw1J.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-C78K4Qka-r2b9sK0R.js +206 -0
- package/dist/assets/{CollapsableReportTable-B0wI9SM1-CXZN1jAY.js → CollapsableReportTable-CPOIqiL0-DbaBQG3h.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-rXFLr0Cj.js → CompanyOfficerDetailsSection-D1BmCIsK-m6kNq19-.js} +33 -33
- package/dist/assets/{CompanyPassportCard-C_YUK3R3-C8J9LZbt.js → CompanyPassportCard-B9fOwnpa-DBu7cZ44.js} +5 -5
- package/dist/assets/{CompanyPassportPage-QFJ0G7X7-CWAUYaTd.js → CompanyPassportPage-BzDOHw_n-dFO_707Z.js} +29 -29
- package/dist/assets/{CompleteProfile-DVE16v3y-Cdj1Hud-.js → CompleteProfile-BTqueNNu-B4BPhx4J.js} +1 -1
- package/dist/assets/{ConfettiBurst-BA8BvtO--D7FhGSOU.js → ConfettiBurst-BlFjJIUj-BOxRLp2J.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-Bf68hRSy.js → CreateOrEditVendorPage-DAGCdI1c-CqgwhqM1.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DTCA8s7f.js → CreditCardPaymentDrawerPage-KsuS7yuN-N-hLZRAg.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-ClWPQ0Nj.js → CreditCardPaymentPlgSection-BfhV7QBL-BhBBV1aP.js} +8 -8
- package/dist/assets/{CurrencySelectField-BEb19UaA-DWrGWLIz.js → CurrencySelectField-oVIC5R45-C6cv-Oxl.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-CMM9TmPz.js → CustomerOnboardingActivationPage-6I-6xoA6-Cwq_b8uj.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BXvzWHpN-S0OXpAyk.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-4fgjGvwb.js → CustomerOnboardingDetailPageSkeleton-DYXcx90D-BxeHZzZC.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-BEe2mOi9.js → CustomerOnboardingNoStepsPage-DEUNNIB_-BP-ljsoU.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-D3zpI1df-DRSAEmH8.js → CustomerOnboardingPage-kAcxVmRC-DNxJ1pNK.js} +2 -2
- package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-C37I17XQ.js → CustomerOnboardingProductSuitePage-BbRqtmnL-BAF_MH-3.js} +1 -1
- package/dist/assets/{Dashboard-wY0FneRs-BRbJ1E7T.js → Dashboard-usLyPMhz-DKjprsmr.js} +114 -114
- package/dist/assets/{DashboardReportPage-CMgr0CSc-DXWUQa9u.js → DashboardReportPage-CoozPVLS-CcNCmbui.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-BeDJlsLk.js → DashboardSidebarBackgroundAnimation-BNQW5HZE-Bnv32Td_.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DrqBG940-C_r0wIek.js → DepositAccTransactionItem-CsLHfDqr-CddFy5eB.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-CgNs2M1G-D-tMCRB2.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-BZeLAjFc.js → DomesticWireDetailsPage-CwYc-sKw-DZOTiRB6.js} +1 -1
- package/dist/assets/{DownloadOverlay-D_UoB4Xy-CcwTPDuA.js → DownloadOverlay-ttUEv-XY-B3Vfsv4m.js} +1 -1
- package/dist/assets/{DrawerPage-ijHe0bCp-DULxNxlZ.js → DrawerPage-5dnYzzvI-CLtoYH0R.js} +5 -5
- package/dist/assets/{EditPeoplePage-BehcmP1s-Boo5nqYn.js → EditPeoplePage-DUr2MZOG-DxkDxmQg.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-NCJTUn5q.js → EditReimbursementDetailPage-Byuxh0RG-DRJG6qtk.js} +51 -51
- package/dist/assets/{EntityDetailPage-CN-ewzjy-DVhK4H42.js → EntityDetailPage-DBjBJovr-BZu-LHUW.js} +2 -2
- package/dist/assets/{EntitySummarySection-B4ozhtlU-Qstf5tMS.js → EntitySummarySection-NvNokzqb-CeOsDBDU.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-uSONJ6IL.js → ExpenseAutomationOverviewPage-Cc7NPgFU-9lD98Awj.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-Cz3JsW-E-CUtMz5u1.js → ExpenseAutomationPage-zQeR27lq-D9JB9UuZ.js} +30 -30
- package/dist/assets/{ExpressPayPage-CgrGtZ4F-_3daDdkj.js → ExpressPayPage-P0p3Ao-R-6DvUhx-N.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-BDCzjePu.js → FeaturePreviewPage-CbR7b5uO-BzHxS3Tw.js} +2 -2
- package/dist/assets/{FollowStepsSection-BVi7m38_-jyY18IU_.js → FollowStepsSection-9Kfkt8Hp-vQQ1D5qp.js} +22 -22
- package/dist/assets/{GlobalReviewListPage-DiZGC9B1-lXguPNuY.js → GlobalReviewListPage-B3b-DcRO-BNwj7Mm0.js} +14 -14
- package/dist/assets/{HelpButton-DiIoYeXn-B9pTtXAF.js → HelpButton-3gV_f3S3-lwdvDDRM.js} +4 -4
- package/dist/assets/{InformationCardStack-C8-4dhWR-BdQjjZMr.js → InformationCardStack-B67nQ7o3-70ioyZnE.js} +4 -4
- package/dist/assets/{InsightsCardStack-BKm0dSeJ-NwmRr3b6.js → InsightsCardStack-BLuzgFq1-CYTvRA9m.js} +9 -9
- package/dist/assets/{InsightsSection-C9MHOCQd-Dl6BNsPa.js → InsightsSection-B95Utg4C-iNRD4dcB.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-CBAx1IhA.js → IntegrationsSettingsPage-Cj9RN4lm-CCmWJemi.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-BP7AtPOL.js → InternationalWireSwiftDetailsPage-CnvGCMx6-D7qGQOLS.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-CU9U1hDc.js → InternationalWireVerificationPage-BO-9Inma-D_Mt5TJx.js} +10 -10
- package/dist/assets/{InviteFormPage-L6j0rOBW-Bkkgowwi.js → InviteFormPage-BcKX87YR-CYsY9f6q.js} +20 -20
- package/dist/assets/{InvitePageListView-KYjMIc4q-CxtFMX57.js → InvitePageListView-pwXs_uWn-CHeWg1i1.js} +34 -34
- package/dist/assets/{InvitePeoplePage-CbZqVsTp-fnBnGPLF.js → InvitePeoplePage-DyqidszV-DRWrwVY4.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-DZC4oscG-B4YE5xNw.js → InvoiceUploadSection-Bwx4jgsp-C4xLrK-Y.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-DMdZCfqA-DBP896EY.js → IssueChargeCardPage-B4uzwROv-BzOoA0d9.js} +16 -16
- package/dist/assets/{LabeledAddressValue-CBOrzSsG-CM0OlDqv.js → LabeledAddressValue-_1wNunap-DPLTMfFc.js} +1 -1
- package/dist/assets/LabeledAddressValueField-CLeHoJsD-px_h_iQz.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-DLWp6dS8.js → LabeledControlledCheckBoxField-DUmCd9rT-BXqi_HoZ.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-D2aM_mQ3.js → LabeledCreatableSingleSelectField-Ca24Ziei--NVG8mh3.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DEeeTuVw-DtYK1IoZ.js → LabeledDocumentField-DtGNCNrD-wnVc7cxH.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--BuLzW0MX.js → LabeledDropDownFormattedTextField-CEhwMb_t-CLtWVSHb.js} +1 -1
- package/dist/assets/{LabeledText-DQiR_FIX-lqG2eZSL.js → LabeledText-DR7J2Gsy-D6g3ui7D.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-6WGH99sZ.js → LabeledUserSingleSelectWithSubtitlesField-DdWbwo9k-Czxe1ikP.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-DSebK6bp.js → LabeledZeniRolesDropDownField-CmUbFFow-BrHi88m7.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CrWgQPVX.js → LinkJETransactionPage-oW3lDkXa-DkODhkzT.js} +5 -5
- package/dist/assets/{LowBalancePopup-Zvy2iURT-Be93-biw.js → LowBalancePopup-C5KvkK3M-BgprDmea.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-SL-tIHm4.js → MagicLinkACHDetailsPage-BVWg6hrX-C9bebDTy.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-bzoMX_4e.js → MagicLinkDomesticWireDetailsPage-S1k7ze9H-BgzVGtM2.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-eGjgXzGf.js → MagicLinkInternationalWireDetailsPage-DpzfQbRD-cJcinQZd.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd2HDoOF.js → MagicLinkSuccessPage-m9Kweywk-DPq-0HkP.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-fsnIT9fi.js → MagicLinkTitleSection-BPRyg1HR-DwrF96BI.js} +9 -9
- package/dist/assets/{MailingDetailsSection-DgdAYgpS-CpK2Zius.js → MailingDetailsSection-BX5rIuJZ-GJvkvLxh.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CeH05vu8.js → MeetingCalenderPopup-CCW2D5Ua-5MpvaUBJ.js} +1 -1
- package/dist/assets/{Menu-bleLgSLu-CWe46wAv.js → Menu-CD6YLYW5-BUcHbzF7.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-DIkyF-zq.js → MyBankConnectionsSettingsPage-DBU4_Dkv-CA478OM7.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-nGsEvhoC.js → MyPendingActivationChargeCardListPage-0eqXgmvH-DDnJ08y8.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-jn-p1GeP.js → MyProfileSettingsPage-D1sATCot-CiU5osoA.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BE2MW7hB-DCPdpAcW.js → NavBarWithPicker-BcrWHAVt-DQ0-NtsG.js} +5 -5
- package/dist/assets/{NavigationArrow-eEaMttBX-Db8RfAC0.js → NavigationArrow-DTaeLGbL-DWcftJmW.js} +1 -1
- package/dist/assets/{NavigationDots-CNwL0a7I-Bu8Q_lGW.js → NavigationDots-D5YXMwOb-ClISbBMH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-_iGexdlz.js → NewGlobalMerchantPage-CN03ui3Y-C_ZaSy9f.js} +9 -9
- package/dist/assets/{NoDataChart-DNmdY5gQ-DtmYfS5g.js → NoDataChart-DUJ9H-CB-CyrJ4tsx.js} +3 -3
- package/dist/assets/{NoDataTable-DW2wAX3o-BpxgsISd.js → NoDataTable-D5EYJl2y-D34hDm8V.js} +1 -1
- package/dist/assets/{NotFoundPage-BMJTG-tj-B4dub16Q.js → NotFoundPage-C2-zYoie-CGmUYuaR.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-DWC95tuC.js → NotificationSettingsPage-Cb4Zozvx-oYcOdShZ.js} +11 -11
- package/dist/assets/NotificationsListConfig-BjKpPm-b-CxIsjRl-.js +1 -0
- package/dist/assets/{NotificationsPage-BaekDEw7-DQUXKS-e.js → NotificationsPage-AZg3QlbQ-D78nbIsq.js} +7 -7
- package/dist/assets/{OpExByVendorPage-DNyTA9nx-D4UEuNv3.js → OpExByVendorPage-BdIQF_eO-BbwfOOQV.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-DbGdhTg8.js → OverlayContainerPage-Bmu909Fo-GqncdcC9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DbP4ybN4-CKFQr6An.js → PandLWithForecastPage-Cmvdl5M2-CNGL67AQ.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-BD8kr9-Q.js → PaymentAccountSetupBillingAddressSection-B8u08pzI-DF4VkZQD.js} +7 -7
- package/dist/assets/{PeoplePage-B3n7ek2h-DHll679W.js → PeoplePage-DUgY9uhQ-BI4tRk6e.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-DiZUSmD8.js → PortfolioAllocationFormPage-8W6M--6J-DJsnJ4Vy.js} +7 -7
- package/dist/assets/{PortfolioDetails-Drgv4Osg-Dgvv0ZCZ.js → PortfolioDetails-Cgsx9aCA-CD6Y9pXv.js} +23 -23
- package/dist/assets/{ProductsCarousel-BnnfJR0o-BHYmKMl-.js → ProductsCarousel-Bm2Y2y3o-D8cSCMGA.js} +5 -5
- package/dist/assets/{PromoBaseCards-BGHJivI8-Ch_pM2QM.js → PromoBaseCards-B8vPeDYr-Bg7A0tbR.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-uiW9eeZu-BD1JBgoK.js → QBOConnectionDialog-i-PJJPa4-DxwwTSCV.js} +6 -6
- package/dist/assets/{QBOSetupSection-DPb0VAii-DxUqn74l.js → QBOSetupSection-CRrnYKUh-BMqz355n.js} +9 -9
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DfsK1S1y-CiVWnu5i.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-DXf_rFdp.js → ReimbursementApprovalRulesPage-Chrc3t9S-DMaAKkim.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-Du6R1zje-CSDUqdF0.js → ReimbursementDetailPage-DGNdthlv-DXOu_PKg.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-nAKl1tS9.js → ReimbursementPromoPage-BvFwudpI-fyHwGBP5.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-D2_CC-ZO.js → ReimbursementSetUpPage-Cbax1ApT-Kz2PKPQw.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-vhtiYbWq-Lzawyxxx.js +1 -0
- package/dist/assets/{ReloadCard-Dvn17Oxl-g6WmGwNe.js → ReloadCard-7jt7MZTY-jJYtAM8l.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C5_qr5qe-CkGEy7jp.js → ReportTableViewSelector-BiBxQPuW-B7nOy64b.js} +10 -10
- package/dist/assets/{ReportsPage-BNcymVwf-B4kpec4N.js → ReportsPage-DFob2c55-CLnoeHN_.js} +9 -9
- package/dist/assets/{RevenueChart-DILkui6c-CXkve67m.js → RevenueChart-ClhUfdMh-CpBjkld6.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-ZYzvK95X-6VV1mxx9.js → ReviewDetailsPage-FQiCTlke-BueAy9wA.js} +5 -5
- package/dist/assets/{ReviewOverlay-DhUFI1ES-CEW_vmrb.js → ReviewOverlay-CfF_qd7Q-BVas4NW7.js} +4 -4
- package/dist/assets/{RoleWithToolTip-_W95JBwt-BwsUqYYm.js → RoleWithToolTip-BF8jX30M-BQV_yix7.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-CgwvY879.js → ScheduleDetailsFixedAssetsPage-C_eajy25-BQa4CLNT.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-zxlEzZA4.js → ScheduleDetailsPage-CEyK426x-DlwSFPgG.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-CVtRbbOD.js → ScheduleSequenceTable-CzCC1xOo-EzBXtTh_.js} +12 -12
- package/dist/assets/{ScreenRoutes-C9jejgZm.js → ScreenRoutes-Dmw--oxB.js} +1 -1
- package/dist/assets/SetUpAccountSection-nOqMRPh8-vlNwq74j.js +378 -0
- package/dist/assets/{SetUpDefaultSection-CI0mxu3H-BYUaSUWi.js → SetUpDefaultSection-BbQ_Qx2--B86sDbA4.js} +4 -4
- package/dist/assets/{SignIn-DslenepV-Brtvbq9M.js → SignIn-DTytMyjr-DTD0fjUW.js} +11 -11
- package/dist/assets/{SignInScreen-FXLaio9F.js → SignInScreen-BrlyZMZC.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-BmkfIUQC.js → SpendManagementListViewPage-CD0Beu1e-D4PVe6Wj.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-BnAetJZy.js → SpendManagementPerTabPage-ILwwf3e3-COE_74Nb.js} +20 -20
- package/dist/assets/{SpendManagementSection-Ddfq2u6H-CJT5q3F6.js → SpendManagementSection-o0Xvlal3-BKW5ZBrL.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--DwOx73Ij.js → SpendMgmtSetupAccountSection-DkUfJ6ei-eGKMrIbZ.js} +6 -6
- package/dist/assets/StatementItem-GyeTS2vu-I_cwOwLC.js +31 -0
- package/dist/assets/StatementsPage-DU5Dhq7q-X7x6AfrD.js +58 -0
- package/dist/assets/{StatusSwitcher-kWLQCCwS-DhdTyoS-.js → StatusSwitcher-u6thj-sM-D7WcEtAO.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BKm9FxhL-DTzufkEo.js → SubTabSwitcher-B9ILKi1e-C1FFp5it.js} +1 -1
- package/dist/assets/{SummaryCard-DBMfNfN2-DoMsjoBW.js → SummaryCard-Drap3bb1-OUDJGe2t.js} +1 -1
- package/dist/assets/{TaskManagementPage-D_wjK-S2-CzH2gZdk.js → TaskManagementPage-DoT0Xz7g-BnIzBFOV.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-DSoFwTB2.js → TimeRangeSwitcher-DbGrn4DP-BrqZ4F1S.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-BB3_i5V0-DzvaUBYM.js → TimeframeSwitcher-sbgG6A6l-DKwQYGX_.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Da6suGXu.js → TimeframeSwitcherWithToggle-arAZfZIA-BYSHVoSf.js} +1 -1
- package/dist/assets/{TopExCard-BGgGFzmK-DUAgrWaA.js → TopExCard-97hb0R08-oohbJ27j.js} +6 -6
- package/dist/assets/{TopExDetailPage-CbzYG54M-BLhnnftr.js → TopExDetailPage-CoLyDCB7-BRzep-Wg.js} +14 -14
- package/dist/assets/{TransactionDetailPage-C-CfEtCO-Ca6Qq7Yb.js → TransactionDetailPage-q5aE5bnJ-C9mH8fBv.js} +36 -36
- package/dist/assets/{TransactionList-C0xK6_zI-V0PqCTtq.js → TransactionList-C8S87idW-B0vRhDhu.js} +5 -5
- package/dist/assets/{TransactionListBig-CIX6CdX--g3sGBymu.js → TransactionListBig-B0GroSXv-ojyO1c5S.js} +13 -13
- package/dist/assets/{TransactionListPage-B7ppBJig-BHPhgPik.js → TransactionListPage-CP6h2Q1r-BmmiKCLG.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage---HGdQiZ--z0wQoiv.js → TransactionVendorDetailPage-Cgsraa0T-BApyW7FO.js} +5 -5
- package/dist/assets/{TransferDrawerPage-DerGmul8-CSsNuNkb.js → TransferDrawerPage-0MWoLTHi-C82yVCJT.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-DW2gZwip-Dw5IScse.js → TreasuryOverviewPage-CaP2pdVj-CkpX4aDB.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-DzqdEmPJ-DORtHtoQ.js → TreasuryPromoPage-CjCAsIAs-CadFGU9_.js} +13 -13
- package/dist/assets/{TreasurySetupPage-Bo0HQeeU-or7EVJcf.js → TreasurySetupPage-zxxClgmz-BWHuPLvU.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Djy_7rtt.js → TreasuryStatementsPage-BCDakhB_-Dkxgdp5X.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-DTOb7qDc.js → TreasuryTaxLetterPage-Bq3Zcz28-DnH415Xd.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B2exNOGA.js → TreasuryTransferOrReviewPage-C8OGAEPm-eyZeuDLP.js} +41 -41
- package/dist/assets/{TrendChart-D07k3uRr-BizV2Doj.js → TrendChart-BVaBWGSG-Ds21FTze.js} +4 -4
- package/dist/assets/{TrendWithTransactions-ibwuOssC-DEIyFLX7.js → TrendWithTransactions-wA_XpWa7-C0mi4yW2.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-D-M_NIFe.js → UncategorizedAccountsMappingPage-CZyZ7HgM-D-Ryn1XR.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-BJxRjjfK-8XeAb4ey.js → UnitIntegrationPage-ahzf74jD-CPsHbbNb.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-C0HW1ZE2.js → UploadAdditionalDocumentOverlay-DT_NocG4-CIDmugko.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-80vvc7gE-VuU8TUPK.js → Vendor2FAPopup-_SmOnjiJ-BvddVgMj.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-Y799WSgz.js → VendorACHDetailsPage-qP4fOIER-l6-CVPAY.js} +1 -1
- package/dist/assets/{VendorDetailPage-Dx_yfZDH-BV9MTsdg.js → VendorDetailPage-BKztI9LK-CKRgyPOO.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-DwYK3lBf.js → VendorDomesticWireDetailsPage-CcIVgYDR-BfKkkMo5.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-CD8Sjk1O.js → VendorFiling1099EditablePage-j3wx_7VO-1cKCPd5J.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-CokvYaRq-COLCPdNO.js → VendorFirstReviewPage-Tael17gH-BSZ6S2Fg.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-CVlhIT2D.js → VendorInternationalWireDetailsPage-CQU1yW6x-D3zIOhMs.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-BL1wN9Up.js → VendorInternationalWireSwiftDetailsPage-YdTFG4UK-HD_aU67y.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BqoW4DlP-DbQ0LHxR.js → VendorsAccountsSection-DA43fzxN-CEnHSVzd.js} +2 -2
- package/dist/assets/{VerifyDevice-D8iPRJ3k-DSuAMuQv.js → VerifyDevice-qwJe3UlY-DI265SnA.js} +1 -1
- package/dist/assets/{VideoPopup-SdlRHLkM-C8u22oza.js → VideoPopup-DjHyf6Dq-C8Ilxi36.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-qYWFsE3s-CYfk6-4G.js → WarningsDrawerPage-B3y_Dk0z-CVkQeOY3.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-C1StQxM9.js → ZeniAccountDetailPage-3Rwc-ka_-CYgkNxj0.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DWbBDvt7.js → ZeniAccountListViewPage-Dz4Ts37w-BlEIF_qT.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-DOWoY-ph-BAkijH3D.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-BE1XLlB5.js → ZeniAccountPromoPage-BdOMtMQi-qk2A1Lmg.js} +7 -7
- package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-D-R3XfH4.js → ZeniAccountSetupPage-BaAbcpDN-CSOgtN8Q.js} +3 -3
- package/dist/assets/{ZeniCopyright-BUctH39C-Bm9h8mC0.js → ZeniCopyright-CDUB4TcP-DBmQcK_q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BvyfsZDl-QvFPfzOa.js +63 -0
- package/dist/assets/{analyticsHelper-BYK4WyNL.js → analyticsHelper-BV1ACqmi.js} +1 -1
- package/dist/assets/{analyticsHelper-B3uAu0es-DeP2G2Ik.js → analyticsHelper-BvNZGrlc-zOCblMc4.js} +1 -1
- package/dist/assets/{chartTypes-CJmQ6FtI-CvvCwGfo.js → chartTypes-eIJ-SPRj-DgIvSxsR.js} +1 -1
- package/dist/assets/{commonDimensions-WRL2ZVK_-DmUd7tEJ.js → commonDimensions-BhQMg8M1--cVW0mQg.js} +1 -1
- package/dist/assets/{detailCommon-Dfxas1Kf-KP_O7bXD.js → detailCommon--19QlDMD-5WfydMar.js} +6 -6
- package/dist/assets/{downloadPdf-B1f0mDl2-OM_u0J6Y.js → downloadPdf-CdQzDva3-CMvkrxkC.js} +1 -1
- package/dist/assets/{index-BniN3Vor.js → index-DgtolMNd.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-Wbre_Hl-.js → mapLoadingInProgressToTreeNode-5V5katgj-pmtLmZyl.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DYIAdHUn.js → mapSectionWithAcOnlyToTreeNode-BJxygmqD-B65-U7gY.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-CjwEwDzY.js → mapSpacerToTreeNode-D64394wQ-BNpO7tp-.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-B6siwyjX.js → mapTimeframeBalancesToTreeNode-DCKSi6a2-BUe3Z-yR.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CIqsRXJ6.js → mapTimeframeBalancesToTreeNode-n7enawjr-hpvcbBQH.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-CRbQQm43.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B_QU_sNV-DhxtbpgW.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DTfegixr-CpjReCGZ.js → toCOABalancesWithID-BzuCDtG--YB748AUv.js} +1 -1
- package/dist/assets/{toChartData-CH5DcWUY-PR9QaIUj.js → toChartData-CYJPtvhS-BAYbqY8t.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BdPkQoh7-D4MVhsbu.js → treasuryColorHelper-BKdnWQWY-COtNKsBN.js} +1 -1
- package/dist/assets/{uploadAttachment-COwu5Mqo-DugifZEA.js → uploadAttachment-joBVPGv5-DTeHZMKC.js} +13 -13
- package/dist/assets/{uploadReceipts-dxsKhm9I-sfR1TpBq.js → uploadReceipts-dxsKhm9I-D8UHf0Pl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ArAgingChart-tm5ZiNuY-CuZe4uOg.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-BLBpoheC.js +0 -27
- package/dist/assets/CardNumberSubText-1BRQQyfd-DZzrWvjT.js +0 -21
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-CJSY7Dbi.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Bl52b4SW-DFeEOElA.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C7BS9mq1.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-tV7Tpf2Y.js +0 -66
- package/dist/assets/LabeledAddressValueField-YuLcra47-c2Miur6B.js +0 -45
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-DsOA0hcX.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-B5vRXui9.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-DFws7cUz.js +0 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL-CXn_wRED.js +0 -378
- package/dist/assets/StatementItem-B2uPIFUk-DW6LPk9K.js +0 -31
- package/dist/assets/StatementsPage-o7MvNKvd-DZTp-bUD.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-CNlrzs66.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-DEgZ2UH_.js +0 -63
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{e as K,
|
|
1
|
+
import{e as K,V as Ge,x as X,a as Ne,M as y,j as i,b as v,G as We,F as qe,R as Ke,o as n,c as ce,C,d as Xe,J as ge,g as be,f as m,T as Qe,n as Ye,w as je,h as ke,i as ei,l as pe,m as ii,k as ni,K as Ie,p as oi,B as ze,q as ri,r as E,v as A,s as ti,t as si,y as ai,H as li,z as di}from"./index-DgtolMNd.js";import{b as d,n as o,f as ci,k as ve,j as gi}from"./vendor-rkTZJa59.js";import{a as pi}from"./ZeniCopyright-CDUB4TcP-DBmQcK_q.js";import{_ as hi}from"./ProductsCarousel-Bm2Y2y3o-D8cSCMGA.js";import{t as mi}from"./handshake-BPg58FML-CVKh3Eii.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const wi=(e=.68,c=1.3,t=1440,g=2560)=>{const[p,s]=d.useState(()=>typeof window<"u"?window.innerWidth:t);return d.useEffect(()=>{const w=()=>{s(window.innerWidth)};return window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)},[]),ui(p,e,c,t,g)},ui=(e,c,t,g,p)=>{const s=Math.max(g,Math.min(p,e)),w=t-c,u=p-g,f=u>0?(s-g)/u:0;return c+w*f},xi=e=>d.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),d.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),d.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),d.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),d.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),fi=e=>d.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),d.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),d.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),d.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),$i=o.div`
|
|
2
2
|
margin-left: ${n.sp3};
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
font-family: ${di.Roboto};
|
|
5
|
-
${e=>{const c=e.windowSize==="small"?
|
|
5
|
+
${e=>{const c=e.windowSize==="small"?A.standardMedium:A.largeMedium;return`
|
|
6
6
|
font-size: ${c.fontSize};
|
|
7
7
|
font-weight: ${c.fontWeight};
|
|
8
8
|
line-height: ${c.lineHeight};
|
|
@@ -36,7 +36,7 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
36
36
|
`,bi=o(fi)`
|
|
37
37
|
height: ${n.sp3};
|
|
38
38
|
width: ${n.sp3};
|
|
39
|
-
`;function Ee({type:e,titleText:c,disabled:t,loadingIndication:g,onClick:p}){const s=K(),w=i.jsxs(Ci,{children:[e==="Google"?i.jsx(yi,{}):i.jsx(bi,{}),i.jsx($i,{windowSize:s,children:c})]});return i.jsx(Si,{windowSize:s,disabled:t===!0,onClick:t===!0?void 0:p,children:g===!0?i.jsx(ii,{size:"Standard",start:g===!0}):w})}const ji=({inProgress:e,disabled:c,onSuccess:t,onSignedInCallback:g,getSignedInUser:p,onError:s})=>{const{analytics:w}=X(),u=ei({onSuccess:t,flow:"auth-code",onError:s}),f=()=>{if(p()!=null){g();return}w.trackSignInClick("google"),u()};return i.jsx(Ee,{onClick:f,disabled:c,type:"Google",titleText:y.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},ki=e=>{const{clientId:c,scopes:t,getSignedInUser:g,onSignedInCallback:p,render:s,onSuccess:w,onFailure:u,disabled:f}=e,{analytics:P}=X();let{responseType:b,responseMode:$,prompt:z,redirectUri:M}=e,a,S;const R="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",U=["openid","profile"];b=b??"code",$=$??"fragment",z=z??"consent",ci.useEffect(()=>{const x=pe.toZeniUrl(window.location[$==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(x.code!=null||x.access_token!=null||x.error!=null)&&L()},[]);const T=()=>{const x=encodeURIComponent((t??U).join(" "));return M=M??window.location.origin+window.location.pathname,`${R}?client_id=${c}&response_type=${b}&redirect_uri=${encodeURIComponent(M)}&scope=${x}&prompt=${z}&response_mode=${$}`},L=()=>{window.opener?.authScope.authCompletedCB(pe.toZeniUrl(window.location[$==="fragment"?"hash":"search"],!0).query),window.close()};return s({onClick:()=>{if(g()!=null){p();return}P.trackSignInClick("microsoft"),a=!1;const x=(h,F)=>{const
|
|
39
|
+
`;function Ee({type:e,titleText:c,disabled:t,loadingIndication:g,onClick:p}){const s=K(),w=i.jsxs(Ci,{children:[e==="Google"?i.jsx(yi,{}):i.jsx(bi,{}),i.jsx($i,{windowSize:s,children:c})]});return i.jsx(Si,{windowSize:s,disabled:t===!0,onClick:t===!0?void 0:p,children:g===!0?i.jsx(ii,{size:"Standard",start:g===!0}):w})}const ji=({inProgress:e,disabled:c,onSuccess:t,onSignedInCallback:g,getSignedInUser:p,onError:s})=>{const{analytics:w}=X(),u=ei({onSuccess:t,flow:"auth-code",onError:s}),f=()=>{if(p()!=null){g();return}w.trackSignInClick("google"),u()};return i.jsx(Ee,{onClick:f,disabled:c,type:"Google",titleText:y.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},ki=e=>{const{clientId:c,scopes:t,getSignedInUser:g,onSignedInCallback:p,render:s,onSuccess:w,onFailure:u,disabled:f}=e,{analytics:P}=X();let{responseType:b,responseMode:$,prompt:z,redirectUri:M}=e,a,S;const R="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",U=["openid","profile"];b=b??"code",$=$??"fragment",z=z??"consent",ci.useEffect(()=>{const x=pe.toZeniUrl(window.location[$==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(x.code!=null||x.access_token!=null||x.error!=null)&&L()},[]);const T=()=>{const x=encodeURIComponent((t??U).join(" "));return M=M??window.location.origin+window.location.pathname,`${R}?client_id=${c}&response_type=${b}&redirect_uri=${encodeURIComponent(M)}&scope=${x}&prompt=${z}&response_mode=${$}`},L=()=>{window.opener?.authScope.authCompletedCB(pe.toZeniUrl(window.location[$==="fragment"?"hash":"search"],!0).query),window.close()};return s({onClick:()=>{if(g()!=null){p();return}P.trackSignInClick("microsoft"),a=!1;const x=(h,F)=>{const V=window.screen.width/2-287.5,_=window.screen.height/2-600/2,O=window.open(h,F,`toolbar=0,status=0, width=575, height=600, top=${_}, left=${V}`);S=setInterval(()=>{O.closed&&!a&&(u({error:y.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(S))},500)};window.authScope={authCompletedCB:h=>{a=!0,clearInterval(S),b==="code"&&h.code?w({code:h.code}):b==="token"&&h.access_token?w({accessToken:h.access_token,tokenType:h.token_type,scope:h.scope}):h.error==="access_denied"?u({error:y.getLocalizedStrings().signIn.signInAuthError,errorDetail:h}):u({error:y.getLocalizedStrings().signIn.signInError,errorDetail:h})}},x(T(),"Microsoft Sign In")},disabled:f})},B={width:new C(343,572,572),containerTop:new C(17,25,25)},{signIn:{emailNotFoundPopup:Z},common:{gotIt:Ii}}=y.getLocalizedStrings();function zi({signInError:e,onClose:c}){const t=K(),[g,p]=d.useState(!1),s=e?.email;return i.jsx(vi,{windowSize:t,role:"presentation",style:{background:m.overlayDark},children:i.jsx(ri,{onClickAway:()=>{p(!0),c()},children:i.jsxs(Li,{windowSize:t,className:g?"containerClass fade":"containerClass",fade:g,children:[i.jsxs(_i,{children:[Z.title,i.jsx(Vi,{children:s})]}),i.jsxs(Oi,{children:[i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Pi,{})}),i.jsx(W,{windowSize:t,children:Z.confirmEmail})]}),i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Fi,{})}),i.jsx(W,{windowSize:t,children:Z.checkAccess})]}),i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Ti,{})}),i.jsx(W,{windowSize:t,children:Z.contactZeni})]})]}),i.jsx(Ie,{label:Ii,variant:"primary",onClick:()=>{p(!0),c()}})]})})})}const vi=o.div`
|
|
40
40
|
position: fixed;
|
|
41
41
|
top: 0;
|
|
42
42
|
left: 0;
|
|
@@ -126,11 +126,11 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
126
126
|
${Q};
|
|
127
127
|
`,Fi=o(li)`
|
|
128
128
|
${Q};
|
|
129
|
-
`,
|
|
129
|
+
`,Vi=o(si)`
|
|
130
130
|
word-break: break-all;
|
|
131
|
-
`,
|
|
131
|
+
`,Oi=o.div`
|
|
132
132
|
padding: ${n.sp0} ${n.sp6};
|
|
133
|
-
`,l=y.getLocalizedStrings(),Me={signInHeading:new ge("h5Regular","h2Regular"),signInMessage:new ge("standardRegular","h6Regular")},I={ZeniLogoContainerLeftMargin:new C(E[0],E[5]),ZeniLogoContainerTopMargin:new C(12,E[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(E[12],E[4]),emailInputFontSize:new C(
|
|
133
|
+
`,l=y.getLocalizedStrings(),Me={signInHeading:new ge("h5Regular","h2Regular"),signInMessage:new ge("standardRegular","h6Regular")},I={ZeniLogoContainerLeftMargin:new C(E[0],E[5]),ZeniLogoContainerTopMargin:new C(12,E[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(E[12],E[4]),emailInputFontSize:new C(A.standardRegular.fontSizeValue,A.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(E[3],12)},Di=o.div`
|
|
134
134
|
background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="light"?"l":"d"}.svg)`};
|
|
135
135
|
|
|
136
136
|
background-color: ${e=>e.theme.colors.background};
|
|
@@ -143,7 +143,7 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
143
143
|
background-position: 50px ${n.sp0};
|
|
144
144
|
background-repeat: no-repeat;
|
|
145
145
|
overflow-x: hidden;
|
|
146
|
-
`,
|
|
146
|
+
`,Zi=o.div`
|
|
147
147
|
display: flex;
|
|
148
148
|
flex: 1 1 auto;
|
|
149
149
|
padding: ${n.sp0} ${n.sp4} ${n.sp0} ${n.sp4};
|
|
@@ -169,7 +169,7 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
169
169
|
margin: ${n.sp1} ${n.sp0} ${n.sp1} ${n.sp0};
|
|
170
170
|
color: ${e=>e.theme.colors.hero};
|
|
171
171
|
text-decoration: none;
|
|
172
|
-
`,
|
|
172
|
+
`,Ai=o(oi)`
|
|
173
173
|
color: ${m.important};
|
|
174
174
|
text-align: center;
|
|
175
175
|
white-space: pre;
|
|
@@ -232,7 +232,7 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
232
232
|
opacity: 1;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,Hi=o(je)`
|
|
236
236
|
color: ${m.important};
|
|
237
237
|
text-align: center;
|
|
238
238
|
width: 100%;
|
|
@@ -250,7 +250,7 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
250
250
|
border-radius: 50px;
|
|
251
251
|
padding: 12px ${n.sp4};
|
|
252
252
|
box-sizing: border-box;
|
|
253
|
-
`,
|
|
253
|
+
`,Ji=o(ke)`
|
|
254
254
|
width: ${n.sp3};
|
|
255
255
|
height: ${n.sp3};
|
|
256
256
|
color: ${e=>e.theme.colors.brandColorSapphire};
|
|
@@ -326,4 +326,4 @@ import{e as K,z as Ge,x as X,a as Ne,B as y,j as i,b as v,G as We,F as qe,R as K
|
|
|
326
326
|
overflow: visible;
|
|
327
327
|
`,nn=o(Ie)`
|
|
328
328
|
padding: ${n.sp2} ${n.sp3};
|
|
329
|
-
`;function wn({googleClientId:e,microsoftClientId:c,fetchState:t,signInError:g={},showEmailLogin:p=!1,sendMagicLinkStatus:s,magicLinkExpired:w,magicLinkExpiredEmail:u,getSignedInUser:f,onSignedInCallback:P,clearSignInError:b,onOAuthSuccess:$,onOAuthError:z,sendMagicLink:M}){const a=K(),{dark:S}=Ge(),{analytics:R}=X(),U=wi(.68,1.3,1440,2560),T=t==="In-Progress",L=t==="Error",[x,h]=d.useState(void 0),[F,
|
|
329
|
+
`;function wn({googleClientId:e,microsoftClientId:c,fetchState:t,signInError:g={},showEmailLogin:p=!1,sendMagicLinkStatus:s,magicLinkExpired:w,magicLinkExpiredEmail:u,getSignedInUser:f,onSignedInCallback:P,clearSignInError:b,onOAuthSuccess:$,onOAuthError:z,sendMagicLink:M}){const a=K(),{dark:S}=Ge(),{analytics:R}=X(),U=wi(.68,1.3,1440,2560),T=t==="In-Progress",L=t==="Error",[x,h]=d.useState(void 0),[F,V]=d.useState(""),[_,O]=d.useState(!1),[Y,H]=d.useState(!1),[J,Le]=d.useState(p),_e=t==="In-Progress"&&F==="google",Pe=t==="In-Progress"&&F==="microsoft",ee=Ne({mode:"onSubmit",defaultValues:{email:""}}),{register:Te,handleSubmit:Fe,formState:{errors:ie},setValue:ne,watch:Ve,clearErrors:Oe}=ee,D=s.fetchState==="Error"&&s.error?.error?.type==="email_not_found",oe=s.fetchState==="Error"&&s.error?.details?.application_error_code!=="LOGIN_VIA_EMAIL_LOCKED"&&!D,re=Ve("email"),te=!!ie.email||Y||oe,se=!!ie.email;d.useEffect(()=>{p&&w===!0&&u!=null&&u.trim()!==""&&(ne("email",u),H(!0),Le(!0))},[p,w,u,ne]);const De=r=>{H(!1),r.email.trim()&&(R.trackSignInClick("email"),M(r.email))},Ze=()=>{H(!1),Oe("email")},ae=L&&g.type==="email_not_found";d.useEffect(()=>{(ae||D)&&O(!0)},[D,ae]);const Ae=r=>{console.log(JSON.stringify(r)),h(void 0),$(r.code,"google"),V("google")},Be=r=>{const k="Error = "+r?.error+" Error Description = "+r?.error_description;h(k),z?.(JSON.stringify(r),"google")},Re=r=>{console.log(JSON.stringify(r)),h(void 0),$(r.code,"microsoft"),V("microsoft")},Ue=r=>{console.log(JSON.stringify(r)),h(r.error??"Microsoft authorization failed."),z?.(JSON.stringify(r),"microsoft")},He=()=>{let r="";return(L||x!=null)&&_===!1&&(r=x??l.signIn.signInAuthError),r},le=s.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,de=l.signIn.message,j=s.fetchState==="Completed",Je=D&&s.error?.error?s.error.error:g;return i.jsxs(Di,{windowSize:a,children:[i.jsxs(Zi,{windowSize:a,children:[i.jsxs(Yi,{children:[i.jsx(Xi,{windowSize:a,children:i.jsx(Qi,{className:"zeni-logo"})}),i.jsxs(ye,{isMagicLinkSent:j,windowSize:a,style:{display:a==="small"?"flex":"none"},children:[i.jsx(he,{windowSize:a,children:le}),i.jsx(v,{controller:!j,children:i.jsx(me,{windowSize:a,children:de})}),i.jsx(v,{controller:j,children:i.jsxs(xe,{children:[i.jsx(fe,{isDarkTheme:S,children:i.jsx($e,{isDarkTheme:S,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,k,G)=>i.jsxs("span",{children:[r,k<G.length-1&&i.jsx(Se,{children:re})]},k))})}),i.jsx(Ce,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsxs(ye,{isMagicLinkSent:j,windowSize:a,style:{display:a==="small"?"none":"flex"},children:[i.jsx(he,{windowSize:a,children:le}),i.jsx(v,{controller:!j,children:i.jsx(me,{windowSize:a,children:de})}),i.jsx(v,{controller:j,children:i.jsxs(xe,{children:[i.jsxs(fe,{isDarkTheme:S,children:[i.jsx(Gi,{children:i.jsx(Ji,{})}),i.jsx($e,{isDarkTheme:S,children:y.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,k,G)=>i.jsxs("span",{children:[r,k<G.length-1&&i.jsx(Se,{children:re})]},k))})]}),i.jsx(Ce,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsx(v,{controller:!j,children:i.jsxs(Ni,{windowSize:a,children:[i.jsxs(Wi,{showEmailError:te,showEmailForm:J,children:[!J&&i.jsxs(qi,{windowSize:a,children:[i.jsx(We,{clientId:e,children:i.jsx(ji,{disabled:T,inProgress:_e,getSignedInUser:f,onSuccess:Ae,onSignedInCallback:P,onError:Be})}),i.jsx(ki,{clientId:c,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:f,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>i.jsx(Ee,{onClick:r.onClick,disabled:T||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Pe}),onSignedInCallback:P,onSuccess:Re,onFailure:Ue})]}),p&&J&&i.jsx(qe,{...ee,children:i.jsxs(Bi,{windowSize:a,children:[i.jsx("form",{onSubmit:Fe(De),children:i.jsxs(Ri,{windowSize:a,hasError:se,children:[i.jsx(Ui,{windowSize:a,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!se,autoComplete:"off",...Te("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ke,message:l.signIn.invalidEmailMessage},onChange:Ze})}),i.jsx(nn,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:s.fetchState==="In-Progress"})]})}),te&&i.jsx(Hi,{children:Y?l.signIn.magicLinkExpired:oe?l.common.errorMessage.somethingWentWrongPleaseTryAgain:l.signIn.invalidEmailMessage})]})})]}),_===!1&&L&&i.jsx(Ki,{children:i.jsx(Ai,{children:He()})})]})})]}),i.jsx(v,{controller:a!=="small",children:i.jsx(en,{children:i.jsx(hi,{scale:U})})}),i.jsx(we,{style:{maxWidth:"100%",textAlign:"center",marginBottom:a==="small"?n.sp5:n.sp1},children:i.jsxs(we,{children:[i.jsxs(ue,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,i.jsx(ce,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",i.jsx(ce,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),i.jsx(ue,{children:i.jsx(pi,{})})]})})]}),_&&i.jsx(zi,{signInError:Je,onClose:()=>{b(),O(!1)}})]})}export{wn as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as d}from"./mui-C42whWwM.js";import{b as S,f as m}from"./vendor-rkTZJa59.js";import{g as f,u as l,f as I}from"./redux-2gfZRks6.js";import{kc as u,u as w,l as r,
|
|
1
|
+
import{j as d}from"./mui-C42whWwM.js";import{b as S,f as m}from"./vendor-rkTZJa59.js";import{g as f,u as l,f as I}from"./redux-2gfZRks6.js";import{kc as u,u as w,l as r,M as h,kb as C,I as E,kJ as v,kf as p}from"./index-DgtolMNd.js";import{f as U}from"./analyticsHelper-BV1ACqmi.js";import{a as x,u as y,N as k}from"./routing-VwiwPky5.js";import{c as L}from"./sentry-osuhWjvS.js";import"./analytics-B3n5JGPc.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{L({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const b=I(T,P)(v),z=m.memo(b);function J(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=w().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),h.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(k,{to:n,state:{...c.state,origin:""}})}else return d.jsx(z,{navigate:a,location:c})}export{J as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-
|
|
2
|
-
import{u as Ue,Y as He,e as z,l as y,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-ILwwf3e3-COE_74Nb.js","assets/index-DgtolMNd.js","assets/mui-C42whWwM.js","assets/vendor-rkTZJa59.js","assets/analytics-B3n5JGPc.js","assets/routing-VwiwPky5.js","assets/sentry-osuhWjvS.js","assets/redux-2gfZRks6.js","assets/liveblocks-CP09Cz-7.js","assets/crypto-BDNqpTKX.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-BoJXFS3o.js","assets/StatusSwitcher-u6thj-sM-D7WcEtAO.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{u as Ue,Y as He,e as z,l as y,M as U,fO as Ge,fQ as Ye,j as o,g8 as qe,aX as Ke,v as Qe,o as t,dy as Ve,go as F,aC as We,fZ as Je,C,gp as Xe,fi as Ze,fj as et,f as S,q as tt,r as x,gq as ot,a3 as at,br as it,y as nt,bO as st,fk as lt,az as rt,B as ct}from"./index-DgtolMNd.js";import{b as u,n as r,k as H}from"./vendor-rkTZJa59.js";import{_ as dt}from"./liveblocks-CP09Cz-7.js";import{Y as mt}from"./SpendManagementSection-o0Xvlal3-BKW5ZBrL.js";import{K as ut}from"./StatusSwitcher-u6thj-sM-D7WcEtAO.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-BDNqpTKX.js";const M=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
5
5
|
left: 0;
|
|
@@ -106,7 +106,7 @@ import{u as Ue,Y as He,e as z,l as y,B as U,fO as Ge,fQ as Ye,j as o,g8 as qe,aX
|
|
|
106
106
|
color: ${e=>e.theme.colors.primary};
|
|
107
107
|
position: absolute;
|
|
108
108
|
bottom: 22px;
|
|
109
|
-
`,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx(Bt,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx($t,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Xe(()=>ot(()=>import("./SpendManagementPerTabPage-
|
|
109
|
+
`,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx(Bt,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx($t,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Xe(()=>ot(()=>import("./SpendManagementPerTabPage-ILwwf3e3-COE_74Nb.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Xt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:Y,searchText:$,filters:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:Q,createdByUserList:V,createdByUserListFetchState:E,downloadParams:W,downloadState:J,isDownloadEnabled:X,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:Y,searchText:$,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),Be=b=>{ke(b)},$e=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:$,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:$e,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:W,downloadState:J,filters:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:Q,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:Be,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,V??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ge),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Ye({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Fe=(b,B)=>{const{companyId:Me,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:B,companyId:Me,entityType:ze}),R(Ne,g)};return o.jsx(qe,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Ft,{children:[o.jsx(Ke,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...Qe.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Mt,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ve,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(We,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Je,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,B)=>Fe(b,B),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Ft=r.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
min-height: 100%;
|
|
112
112
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Et,ca as
|
|
1
|
+
import{a as Et,ca as Mt,M as te,l as W,e as Z,kK as Ft,j as t,F as Nt,bV as Ot,bX as Vt,bY as Wt,a4 as Ut,o as i,bS as et,fE as Kt,aj as qt,b_ as Gt,i9 as Ht,ia as Yt,m as Qt,bp as Q,bg as Xt,a6 as Zt,C as h,u as Ue,fF as Jt,kL as ei,f as X,cu as ti,B as U,y as N,w as se,kM as ii,cO as oi,kN as ni,kO as ut,kP as ht,jk as li,kQ as ri,kR as si,bn as gt,v as je,_ as ee,Y as Ke,gb as qe,x as Ge,fQ as He,cn as yt,kS as bt,kT as Ce,a0 as Be,kU as Ye,W as we,id as xt,ie as wt,kV as ft,ic as $t,c3 as vt,c6 as St,kW as R,kX as kt,g0 as Tt,cs as Pt,dt as Qe,r as p}from"./index-DgtolMNd.js";import{b as P,n as o,f as jt,j as Y}from"./vendor-rkTZJa59.js";import{d as Ct}from"./useLongPress-GCK2COYQ-BoJXFS3o.js";import{K as ai}from"./StatusSwitcher-u6thj-sM-D7WcEtAO.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ue=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,_e={key:"name",value:ue.name,sortOrder:"ascending",width:new h(p[5],p[5])},Le={key:"invoiceDate",value:ue.invoiceDate,sortOrder:"ascending",width:new h(20,20)},di={key:"dueDate",value:ue.dueDate,sortOrder:"ascending",width:new h(20,20)},Xe={key:"dueDate",value:ue.paymentDate,sortOrder:"ascending",width:new h(20,20)},Ze={key:"status",value:ue.status,sortOrder:"ascending",width:new h(18,18)},ci={key:"paymentMethod",value:ue.paymentMethod,sortOrder:"ascending",width:new h(18,18)},ze={key:"amount",value:ue.amount,sortOrder:"ascending",width:new h(10,10)},be=[_e,Le,di,Ze,ze],pi=[_e,Le,Xe,Ze,ze],mi=[_e,Le,Xe,Ze,ze],ui=[_e,Le,Xe,ci,ze],ye={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(xt,wt)};function hi({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:c,sortConfig:l}){const d=Ue(),g=Z(),[b,x]=P.useState(ki(n));P.useEffect(()=>{const a=[...b];for(const r of a)r.key===l.sortKey?r.sortOrder=l.sortOrder:r.sortOrder="ascending";x(a)},[l.sortKey,l.sortOrder]);const f=(a,r)=>{let $=r;l.sortKey===a&&($=r==="ascending"?"descending":"ascending"),c?.(a,$)},u=b.find(a=>a.key===l.sortKey)??b[0],y=a=>b.find(r=>r.key===a)?.value??"",m=b.map(a=>a.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(tt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(xi,{children:[t.jsx(fi,{children:t.jsx(wi,{})}),t.jsx(gt,{title:w.sortBy,placeholder:w.sortBy,pickerValues:m,valueToLabel:y,selectedValue:l.sortKey,onPickerSelectionChanged:a=>{f(a,"ascending")},optionTextStyle:je.smallRegular,titleTextStyle:je.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Si,{onClick:()=>f(u.key,u.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",l.sortKey),children:[t.jsx(se,{children:u.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:u,children:t.jsx(ot,{})})]})]}):t.jsx(tt,{companyNameSticky:e,windowSize:g,children:b.map(a=>t.jsxs(yi,{companyNameSticky:e&&a.key==="name",sortDataValue:l.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(vi,{onClick:()=>f(a.key,a.sortOrder),"data-testid":ee("bill-pay-list-header",l.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(it,{sortDataValue:l.sortKey,headerdata:a,children:t.jsx(ot,{})})]}),t.jsx($i,{sortDataValue:l.sortKey,windowSize:g,isVisible:l.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(bi,{onClick:()=>f("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",l.sortKey)})})]},a.key))})}const gi=jt.memo(hi),tt=o(se)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -69,7 +69,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,ki=e=>{switch(e){case"draft":return we(be);case"pending_approval":return we(pi);case"scheduled":return we(mi);case"paid":return we(ui)}},xe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ne,space:$e}}}=te.getLocalizedStrings(),Ti=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:c,isSelected:l,isBillPayCommentingEnabled:d,isProcessing:g,lowBalanceAlert:b,approvers:x,deletionAdditionalInfo:f,paidAdditionalInfo:u,showLowBalanceTooltip:y,onTransactionRowClick:m})=>{const w=Z(),a=Ke(),r=qe(),$=Ge().analytics,s=`dashboard_${a.currentTenant?.companyId}`,{threads:k,isLoading:B}=He({application:"dashboard",companyId:a.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>k.filter(S=>S.resolved===!1),[k]),j=S=>{S.stopPropagation(),r?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:s,companyId:a.currentTenant?.companyId??Ne,companyName:a.currentTenant?.companyName??Ne,entityType:"bill.details",entityId:e.id}),$.trackCommentActivity("bill","clicked",a.currentTenant?.companyName??Ne,a.controllersList.controllers.map(D=>
|
|
72
|
+
`,ki=e=>{switch(e){case"draft":return we(be);case"pending_approval":return we(pi);case"scheduled":return we(mi);case"paid":return we(ui)}},xe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ne,space:$e}}}=te.getLocalizedStrings(),Ti=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:c,isSelected:l,isBillPayCommentingEnabled:d,isProcessing:g,lowBalanceAlert:b,approvers:x,deletionAdditionalInfo:f,paidAdditionalInfo:u,showLowBalanceTooltip:y,onTransactionRowClick:m})=>{const w=Z(),a=Ke(),r=qe(),$=Ge().analytics,s=`dashboard_${a.currentTenant?.companyId}`,{threads:k,isLoading:B}=He({application:"dashboard",companyId:a.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>k.filter(S=>S.resolved===!1),[k]),j=S=>{S.stopPropagation(),r?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:s,companyId:a.currentTenant?.companyId??Ne,companyName:a.currentTenant?.companyName??Ne,entityType:"bill.details",entityId:e.id}),$.trackCommentActivity("bill","clicked",a.currentTenant?.companyName??Ne,a.controllersList.controllers.map(D=>Qe(D)),void 0,void 0,"comment on field")},v=P.useCallback(()=>{m(e.id)},[e.id]),z=W.isAwaitingMarkAsPaid(e.billPayInfo.billPaymentStatus.code)?bt(e.createdByUser):Ce(x),K=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,E=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Pi,{windowSize:w,statusCode:n?.code??"",isSelected:l,isProcessing:g,children:[t.jsx(ji,{onClick:v,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ci,{children:[t.jsxs(Bi,{windowSize:w,responsiveWidth:be[0].width,children:[t.jsxs(_i,{children:[t.jsx(Li,{windowSize:w,children:K}),e.isRecurring?t.jsx(Q,{title:E(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Mi,{isProcessing:g,children:t.jsx(Fi,{})})}):null]}),t.jsx(Di,{children:`${c[0].label} ${c[0].value}`})]}),t.jsx(nt,{windowSize:w,responsiveWidth:be[1].width,children:c[1].value}),t.jsx(nt,{windowSize:w,responsiveWidth:be[2].width,children:c[2].value}),t.jsxs(Ei,{windowSize:w,responsiveWidth:be[3].width,children:[t.jsxs(Ri,{children:[n!==void 0?t.jsx(Ii,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??ne.hyphenText}):t.jsx(Ai,{children:ne.hyphenText}),y===!0&&b!=null&&b.length>0?t.jsx(Q,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Ni,{})}):null]}),x!==void 0&&z.length>0?z.length>1?t.jsx(Q,{style:{padding:"2px 5px"},title:`${ne.byText}${$e}${z.join(`${$e}${ne.orText}${$e}`)}`,placement:"bottom-start",children:t.jsx(ke,{children:`${ne.byText}${$e}${z[0]}${ne.dots}`})}):t.jsx(ke,{children:`${ne.byText}${$e}${z[0]}`}):null,f!=null?t.jsx(ke,{children:f}):null,u!=null?t.jsx(ke,{children:u}):null]}),t.jsx(zi,{windowSize:w,responsiveWidth:be[4].width,children:Be("0,0[.]00",e.totalAmountInUSD)})]})}),d&&L.length>0?t.jsx(Ye,{isLoading:B,count:L.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:j}):null]})},Pi=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,7 +78,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
78
78
|
padding-top: ${e=>xe.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
79
|
padding-bottom: ${e=>xe.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"?`${X.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${X.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
@@ -206,11 +206,11 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Mi=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
|
+
`,Fi=o(Tt)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
@@ -221,7 +221,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
223
|
}
|
|
224
|
-
`,de={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Oe,space:ve}}}=te.getLocalizedStrings(),Oi=({transactionDetail:e,tagStatus:n,isProcessing:c,isSelected:l,isBillPayCommentingEnabled:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,lowBalanceAlert:u,approvers:y,deletionAdditionalInfo:m,paidAdditionalInfo:w,showLowBalanceTooltip:a,onTransactionRowClick:r})=>{const $=Z(),s=Ke(),k=qe(),B=Ge().analytics,L=`dashboard_${s.currentTenant?.companyId}`,{threads:j,isLoading:v}=He({application:"dashboard",companyId:s.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=P.useMemo(()=>j.filter(O=>O.resolved===!1),[j]),K=O=>{O.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:L,companyId:s.currentTenant?.companyId??Oe,companyName:s.currentTenant?.companyName??Oe,entityType:"bill.details",entityId:e.id}),B.trackCommentActivity("bill","clicked",s.currentTenant?.companyName??Oe,s.controllersList.controllers.map(q=>
|
|
224
|
+
`,de={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Oe,space:ve}}}=te.getLocalizedStrings(),Oi=({transactionDetail:e,tagStatus:n,isProcessing:c,isSelected:l,isBillPayCommentingEnabled:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,lowBalanceAlert:u,approvers:y,deletionAdditionalInfo:m,paidAdditionalInfo:w,showLowBalanceTooltip:a,onTransactionRowClick:r})=>{const $=Z(),s=Ke(),k=qe(),B=Ge().analytics,L=`dashboard_${s.currentTenant?.companyId}`,{threads:j,isLoading:v}=He({application:"dashboard",companyId:s.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=P.useMemo(()=>j.filter(O=>O.resolved===!1),[j]),K=O=>{O.stopPropagation(),k?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:L,companyId:s.currentTenant?.companyId??Oe,companyName:s.currentTenant?.companyName??Oe,entityType:"bill.details",entityId:e.id}),B.trackCommentActivity("bill","clicked",s.currentTenant?.companyName??Oe,s.controllersList.controllers.map(q=>Qe(q)),void 0,void 0,"comment on field")},{getValues:E,setValue:S}=yt(),D=W.isAwaitingMarkAsPaid(e.billPayInfo.billPaymentStatus.code)?bt(e.createdByUser):Ce(y),J=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,ie=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,re=E(g),he=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!l&&S(g,[...re,e.id])},[g,b,l,S,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,re]),Ee=P.useCallback(()=>{he()},[he]),ge=P.useCallback(O=>{O.stopPropagation(),O.cancelable&&O.preventDefault(),x?he():r(e.id)},[he,x,r,e.id]),Me=Ct({onLongPress:Ee},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Vi,{windowSize:$,statusCode:n?.code??"",isSelected:l,isProcessing:c,children:[t.jsx(Wi,{onClick:ge,...Me,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Ui,{children:[t.jsxs(Zi,{children:[t.jsxs(Ki,{children:[t.jsxs(qi,{children:[t.jsx(Gi,{windowSize:$,children:J}),e.isRecurring?t.jsx(Q,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(eo,{isProcessing:c,children:t.jsx(to,{})})}):null]}),t.jsx(Yi,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(lt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(lt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(Ji,{children:[t.jsx(Hi,{children:Be("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(Xi,{hasAlertIcon:u!=null,children:[t.jsxs(io,{children:[n!==void 0?t.jsx(Qi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(t.Fragment,{children:le.hyphenText}),a===!0&&u!=null&&u.length>0?t.jsx(no,{onClick:O=>O.stopPropagation(),children:t.jsx(Q,{title:u,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(oo,{})})}):null]}),y!==void 0&&D.length>0?D.length>1?t.jsx(Q,{title:`${le.byText}${ve}${D.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Te,{children:`${le.byText}${ve}${D[0]}${le.dots}`})}):t.jsx(Te,{children:`${le.byText}${ve}${D[0]}`}):null,m!=null?t.jsx(Te,{children:m}):null,w!=null?t.jsx(Te,{children:w}):null]})]})]})}),d&&z.length>0?t.jsx(Ye,{isLoading:v,count:z.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:K}):null]})},Vi=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,7 +230,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
230
230
|
padding-top: ${e=>de.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
231
|
padding-bottom: ${e=>de.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"?`${X.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${X.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
236
|
${e=>e.isProcessing?Y`
|
|
@@ -309,7 +309,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
309
309
|
justify-content: flex-end;
|
|
310
310
|
`,Yi=o(U)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,
|
|
312
|
+
`,Qi=o(U)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -327,7 +327,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: center;
|
|
330
|
-
`,
|
|
330
|
+
`,Xi=o.div`
|
|
331
331
|
color: ${e=>e.theme.colors.hero};
|
|
332
332
|
box-sizing: border-box;
|
|
333
333
|
display: flex;
|
|
@@ -429,7 +429,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,Se={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},H=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,xo=({reimbursementDetail:e,tagStatus:n,isProcessing:c,isSelected:l,reportTitleAdditionalInfo:d,date:g,approvers:b,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:f,onTransactionRowClick:u})=>{const y=Z(),m=Ke(),w=P.useRef(null),[a,r]=P.useState(0);P.useLayoutEffect(()=>{w.current&&r(w.current.offsetWidth*ft)},[y]);const $=Ge().analytics,s=qe(),k=`dashboard_${m.currentTenant?.companyId}`,B=()=>{u(e.id)},L=e.reimbursementTypesIncluded,j=Ce(b),v=te.getLocalizedStrings().common.strings.empty,{threads:z,isLoading:K}=He({application:"dashboard",companyId:m.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),E=P.useMemo(()=>z.filter(D=>D.resolved===!1),[z]),S=D=>{D.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:k,companyId:m.currentTenant?.companyId??v,companyName:m.currentTenant?.companyName??v,entityType:"reimbursement.details",entityId:e.id??v}),$.trackCommentActivity("reimbursement","clicked",m.currentTenant?.companyName??v,m.controllersList.controllers.map(J=>
|
|
432
|
+
`,Se={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],12),containerPaddingBottom:new h(p[2],12),containerMarginLeft:new h(p[4],p[8])},H=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,xo=({reimbursementDetail:e,tagStatus:n,isProcessing:c,isSelected:l,reportTitleAdditionalInfo:d,date:g,approvers:b,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:f,onTransactionRowClick:u})=>{const y=Z(),m=Ke(),w=P.useRef(null),[a,r]=P.useState(0);P.useLayoutEffect(()=>{w.current&&r(w.current.offsetWidth*ft)},[y]);const $=Ge().analytics,s=qe(),k=`dashboard_${m.currentTenant?.companyId}`,B=()=>{u(e.id)},L=e.reimbursementTypesIncluded,j=Ce(b),v=te.getLocalizedStrings().common.strings.empty,{threads:z,isLoading:K}=He({application:"dashboard",companyId:m.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),E=P.useMemo(()=>z.filter(D=>D.resolved===!1),[z]),S=D=>{D.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:k,companyId:m.currentTenant?.companyId??v,companyName:m.currentTenant?.companyName??v,entityType:"reimbursement.details",entityId:e.id??v}),$.trackCommentActivity("reimbursement","clicked",m.currentTenant?.companyName??v,m.controllersList.controllers.map(J=>Qe(J)),void 0,void 0,"comment on field")};return t.jsxs(wo,{windowSize:y,onClick:B,isProcessing:c,isSelected:l,statusCode:n?.code??v,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(fo,{children:t.jsxs($o,{children:[t.jsxs(vo,{windowSize:y,responsiveWidth:ce[0].width,ref:w,children:[t.jsx(So,{windowSize:y,reportNameWidth:a,children:e.reportTitle??H.newReimbursementTitle}),d!=null&&t.jsx(ko,{children:`${H.byText} ${d?.firstName} ${d?.lastName}`})]}),t.jsx(Po,{windowSize:y,responsiveWidth:ce[1].width,children:g}),L.length>1?t.jsx(dt,{windowSize:y,responsiveWidth:ce[2].width,children:t.jsx(Q,{title:H.reimbursementType.both,placement:"bottom-start",display:"flex",children:H.reimbursementType.titleForBoth})}):t.jsx(dt,{windowSize:y,responsiveWidth:ce[2].width,children:H.reimbursementType[L[0]]}),t.jsxs(Co,{windowSize:y,responsiveWidth:ce[3].width,children:[n!==void 0?t.jsx(Bo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??H.hyphenText}):t.jsx(jo,{children:H.hyphenText}),b!==void 0&&j.length>0?j.length>1?t.jsx(Q,{title:`${H.byText} `+j.join(` ${H.orText} `),placement:"bottom-start",children:t.jsx(Ve,{children:`${H.byText} `+j[0]+`${H.dots}`})}):t.jsx(Ve,{children:`${H.byText} `+j[0]}):null,x!=null?t.jsx(Ve,{children:x}):null]}),t.jsx(To,{windowSize:y,responsiveWidth:ce[4].width,children:Be("0,0[.]00",e.amount)})]})}),f&&E.length>0?t.jsx(Ye,{isLoading:K,count:E.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:S}):null]})},wo=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -438,7 +438,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
438
438
|
padding-top: ${e=>Se.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
439
|
padding-bottom: ${e=>Se.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${X.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${X.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
@@ -547,7 +547,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,pe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},V=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,_o=({reimbursementDetail:e,tagStatus:n,currentTab:c,isProcessing:l,isSelected:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,date:u,approvers:y,deletionAdditionalInfo:m,onTransactionRowClick:w})=>{const a=Z(),{getValues:r,setValue:$}=yt(),s=e.reimbursementTypesIncluded,k=Ce(y),B=we(Bt[c]),L=r(g),j=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&$(g,[...L,e.id])},[g,b,d,$,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,L]),v=P.useCallback(()=>{j()},[j]),z=P.useCallback(E=>{E.stopPropagation(),E.cancelable&&E.preventDefault(),x?j():w(e.id)},[j,x,w,e.id]),K=Ct({onLongPress:v},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Lo,{windowSize:a,statusCode:n?.code??"",isProcessing:l,isSelected:d,children:t.jsx(zo,{onClick:z,...K,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Do,{children:[t.jsxs(Io,{children:[t.jsxs(Ro,{children:[t.jsx(Eo,{windowSize:a,children:e.reportTitle??V.newReimbursementTitle}),f!=null&&t.jsx(
|
|
550
|
+
`,pe={containerPaddingLeft:new h(p[3],p[4]),containerPaddingRight:new h(p[3],p[4]),containerPaddingTop:new h(p[2],p[3]),containerPaddingBottom:new h(p[2],p[3]),containerMarginLeft:new h(p[3],p[8]),webkitLineClamp:new h(2,2,1,1,1)},V=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,_o=({reimbursementDetail:e,tagStatus:n,currentTab:c,isProcessing:l,isSelected:d,bulkSelectFormId:g,isBulkSelectionLimitReached:b,isSelectionMode:x,reportTitleAdditionalInfo:f,date:u,approvers:y,deletionAdditionalInfo:m,onTransactionRowClick:w})=>{const a=Z(),{getValues:r,setValue:$}=yt(),s=e.reimbursementTypesIncluded,k=Ce(y),B=we(Bt[c]),L=r(g),j=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&$(g,[...L,e.id])},[g,b,d,$,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,L]),v=P.useCallback(()=>{j()},[j]),z=P.useCallback(E=>{E.stopPropagation(),E.cancelable&&E.preventDefault(),x?j():w(e.id)},[j,x,w,e.id]),K=Ct({onLongPress:v},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Lo,{windowSize:a,statusCode:n?.code??"",isProcessing:l,isSelected:d,children:t.jsx(zo,{onClick:z,...K,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Do,{children:[t.jsxs(Io,{children:[t.jsxs(Ro,{children:[t.jsx(Eo,{windowSize:a,children:e.reportTitle??V.newReimbursementTitle}),f!=null&&t.jsx(Mo,{children:`${V.byText} ${f?.firstName} ${f?.lastName}`})]}),t.jsxs(No,{children:[B[1].value+": ",u]}),s.length>1?t.jsx(Q,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ct,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ct,{children:[V.reimbursementType.type+": ",V.reimbursementType[s[0]]]})]}),t.jsxs(Ao,{children:[t.jsx(Fo,{children:Be("0,0[.]00",e.amount)}),t.jsxs(Oo,{children:[n!==void 0?t.jsx(Vo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??V.hyphenText}):t.jsx(t.Fragment,{children:V.hyphenText}),y!==void 0&&k.length>0?k.length>1?t.jsx(Q,{title:`${V.byText} `+k.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(We,{style:{marginLeft:"auto"},children:`${V.byText} `+k[0]+`${V.dots}`})}):t.jsx(We,{style:{marginLeft:"auto"},children:`${V.byText} `+k[0]}):null,m!=null?t.jsx(We,{children:m}):null]})]})]})})})},Lo=o.div`
|
|
551
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -556,7 +556,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
556
556
|
padding-top: ${e=>pe.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
557
|
padding-bottom: ${e=>pe.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"?`${X.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${X.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
562
|
${e=>e.isProcessing?Y`
|
|
@@ -630,9 +630,9 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${kt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Mo=o(U)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Fo=o(N)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -663,7 +663,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
666
|
-
`,Wo={lastListItemHeight:new h(200,158)},T=te.getLocalizedStrings(),{common:{texts:{maxLimit:Uo}},spendManagement:{billPay:_t,reimbursement:Ko}}=T,G=_t.bulkActions,M=Ko.bulkActions,F=T.common.strings.empty,me="bulkSelectIds",qo=({transactionList:e,botEmail:n,selectedTab:c,selectedSubTab:l,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,searchText:f,isAdmin:u,entity:y,uiState:m,bulkSubmissionLimit:w,isBulkActionAllowed:a,transactionsSelectedForBulkAction:r,isDetectInsufficientFundsEnabled:$,fetchState:s,analytics:k,onTransactionRowClick:B,onReloadTransactions:L,onColumnSortConfigChanged:j})=>{const v=Z(),z=S=>{const D=y==="bill_pay"?e[S].vendor?.name??e[S].candidateVendorName??F:e[S].reportTitle??F;return ei(D,v)},K=P.useRef(null);P.useEffect(()=>{K.current?.resetAfterIndex(0)},[v,K,c,l]);const E=P.forwardRef((S,D)=>{const{children:J,style:ie,...re}=S;return t.jsx(bn,{ref:D,style:{...ie,width:"auto"},...re,children:t.jsx(yn,{children:J})})});return E.displayName=T.spendManagement.billPay.billsByTabs.headerElementDisplayName,t.jsx(sn,{children:s==="Error"?t.jsxs(cn,{children:[t.jsx(pn,{onClick:L,children:t.jsx(mn,{})}),t.jsx(un,{children:T.peoplePage.reloadPage.label})]}):s==="Completed"&&e.length===0&&f!=F?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataWithFilterText:T.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):s==="Completed"&&e.length===0?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataText:T.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataTextViaMail:T.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:y==="bill_pay"?void 0:T.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):s==="Not-Started"||s==="In-Progress"?t.jsx(Kt,{fetchState:s,styles:{margin:"auto"}}):t.jsx(hn,{windowSize:v,children:t.jsx(qt,{children:({height:S,width:D})=>t.jsx(Gt,{ref:K,height:S,itemCount:y==="bill_pay"||y==="reimbursement"?1:e.length,innerElementType:E,itemSize:z,estimatedItemSize:Yt,itemKey:J=>e[J].id,width:D,overscanCount:Ht,itemData:{entity:y,isBulkActionAllowed:a,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,transactionList:e,isAdmin:u,selectedTab:c,transactionsSelectedForBulkAction:r,bulkSubmissionLimit:w,uiState:m,analytics:k,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:B,onColumnSortConfigChanged:j},initialScrollOffset:0,children:Go})})})})},Rn=({transactionList:e,botEmail:n,allSubTabs:c,isAdmin:l,selectedTab:d,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,selectedSubTab:u,searchText:y,entity:m,uiState:w,bulkSubmissionLimit:a,isBulkActionAllowed:r,isRecurringBillInBulkActionList:$,transactionsSelectedForBulkAction:s,allowedBulkActions:k,bulkSubmissionFetchState:B,isDetectInsufficientFundsEnabled:L,onTransactionRowClick:j,onSubtabChange:v,fetchState:z,onReloadTransactions:K,onColumnSortConfigChanged:E,analytics:S,updateBulkActionList:D,removeAllTransactionsFromBulkActionList:J,onProceedForBulkActionClick:ie})=>{const re=Et({defaultValues:{bulkSelectIds:s},values:{bulkSelectIds:s}});P.useEffect(()=>{const _=re.watch((I,{name:C})=>{C!=null&&I!=null&&Ft(()=>he(C,I))});return()=>{_.unsubscribe()}});const he=async(_,I)=>{if(_===me){let C=[];if(I[me].includes(T.common.all.toLowerCase())){if(d==="scheduled"&&s.length===0){C=[];for(const A of e)if(A.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&C.push(A.id),C.length===a)break}else C=I[me].filter(A=>A!==T.common.all.toLowerCase());if(m==="bill_pay"){const A=e.filter(fe=>C.includes(fe.id)),oe=W.getBillListUniqueType(A);S?.trackBillPayBulkSelectAll(d,u,oe)}else{const A=e.filter(fe=>C.includes(fe.id)),oe=W.getRemiListUniqueType(A.map(fe=>fe.reimbursementTypesIncluded));S?.trackReimbursementBulkSelectAll(d,u,oe)}}else C=I[me];D?.(C)}},Ee=()=>{k.includes("cancel")?It():Rt()},ge=Z(),[Fe,O]=P.useState(!1),[q,Me]=P.useState({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F});P.useEffect(()=>{const _=Mt(d,u,m);z==="Completed"&&_!=null&&S?.trackPageLoaded(_,m==="bill_pay"?"Bills":"Reimbursements")},[S,d,u,m,z]);const zt=_=>{v(_)},Dt=P.useCallback(()=>{const{title:_,description:I}=ln(m,s.length,d,$);if(Me({type:"delete",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),m==="bill_pay"){const C=e.filter(oe=>s.includes(oe.id)),A=W.getBillListUniqueType(C);S?.trackBillPayBulkDeleted(s.length,d,u,A)}else{const C=e.filter(oe=>s.includes(oe.id)),A=W.getRemiListUniqueType(C.map(oe=>oe.reimbursementTypesIncluded));S?.trackReimbursementBulkDeleted(s.length,d,u,A)}O(!0)},[m,S,$,u,d,e,s]),It=P.useCallback(()=>{const{title:_,description:I}=nn(m,s.length);Me({type:"cancel",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),O(!0)},[m,s.length]),At={onOkClick:_=>{if(O(!1),m==="bill_pay"){const I=e.filter(A=>s.includes(A.id)),C=W.getBillListUniqueType(I);S?.trackBillPayBulkPopupConfirm(q.type,d,u,C)}else{const I=e.filter(A=>s.includes(A.id)),C=W.getRemiListUniqueType(I.map(A=>A.reimbursementTypesIncluded));S?.trackReimbursementBulkPopupConfirm(q.type,d,u,C)}q.type==="delete"?ie?.("delete",_):ie?.("cancel",_)},onCancelClick:()=>{J?.(),O(!1),Me({type:F,title:F,description:F,primaryButtonText:F,secondaryButtonText:F})}},Rt=P.useCallback(()=>{if(m==="bill_pay"){const _=e.filter(C=>s.includes(C.id)),I=W.getBillListUniqueType(_);S?.trackBillPayBulkSelection(s.length,d,u,I)}else{const _=e.filter(C=>s.includes(C.id)),I=W.getRemiListUniqueType(_.map(C=>C.reimbursementTypesIncluded));S?.trackReimbursementBulkSelection(s.length,d,u,I)}k.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(L?"approve":"review")},[m,k,e,S,s,d,u,ie,L]),Je=k.filter(_=>_!=="delete").length>0;return t.jsxs(dn,{children:[t.jsx(ai,{tabIds:c,selectedTab:u,hasSubTabs:c.length>0,entity:m,enablePerformanceTracking:!1,onTabSelectedChange:zt,isSwitcherLeftAlign:!0}),t.jsx(Nt,{...re,children:t.jsxs(an,{onSubmit:re.handleSubmit(Ee),children:[t.jsx(qo,{botEmail:n,selectedTab:d,selectedSubTab:u,searchText:y,transactionList:e,fetchState:z,onReloadTransactions:K,onTransactionRowClick:j,entity:m,uiState:w,isAdmin:l,onColumnSortConfigChanged:E,analytics:S,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,bulkSubmissionLimit:a,isBulkActionAllowed:r,transactionsSelectedForBulkAction:s,isDetectInsufficientFundsEnabled:L}),Fe?t.jsx(Ot,{titleComponent:t.jsx(Wt,{children:q.title}),descriptionComponent:t.jsx(Vt,{children:q.description}),primaryButtonText:q.primaryButtonText,proceedButtonVariant:q.type==="delete"?"danger":"primary",secondaryButtonText:q.secondaryButtonText,action:At,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,s.length>0?t.jsx(Ut,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&Je?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:Je,primaryBtn:{label:en(m,k,s.length),isLoading:q.type!=="delete"&&B==="In-Progress",isDisabled:q.type==="delete"&&B==="In-Progress",type:"submit",style:tn(k)},cancelBtn:{label:T.common.texts.goBack,isDisabled:B==="In-Progress",onClick:J,style:on(k,ge)},leftSideComponent:Zo(s.length,a,m,ge),rightSideComponent:k.includes("delete")?Jo(s.length,q.type==="delete"&&B==="In-Progress",Dt,ge):null}):null]})})]})},Go=({style:e,data:n})=>{const{entity:c,transactionList:l,transactionsSelectedForBulkAction:d,isAdmin:g,isBulkActionAllowed:b,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:f,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:y,bulkSubmissionLimit:m,selectedTab:w,uiState:a,analytics:r,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:s,onColumnSortConfigChanged:k}=n,B=Z(),L=Ue(),j=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(gn,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(Jt,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:B==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:Xo(B),labelCheckBoxStyle:{marginLeft:B==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:L.colors.grey4},infoIconContainerStyle:Qo(B),name:me,mode:j,selectionLimit:m,checkBoxes:c==="bill_pay"?[{label:t.jsx(gi,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Ho,{transactionDetail:v,selectedTab:w,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:s,billsSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on",isDetectInsufficientFundsEnabled:$}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:rn(v,d),exceptionInfo:pt(c,v),exceptionType:mt(v)}))]:[{label:t.jsx(co,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,analytics:r,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Yo,{transactionDetail:v,isShowDeletedReimbursementEnabled:f,isReimbursementCommentingEnabled:y,selectedTab:w,isAdmin:g,onTransactionRowClick:s,remisSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on"}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:pt(c,v),exceptionType:mt(v)}))]})})},Ho=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:c,billsSelectedForBulkAction:l,bulkSelectFormId:d,bulkSelectLimit:g,isBillPayCommentingEnabled:b,isSelectionMode:x,isDetectInsufficientFundsEnabled:f,onTransactionRowClick:u})=>{const y=Z()==="small"?Oi:Ti,m=ii(e,n),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type),r=()=>{const B=e.billPayInfo.outsideZeniTransactionPaymentMode;if(B==null||B==="other")return;const L=_t.billDetails.paymentOutsideZeni.paymentModeOptions.find(j=>j.value===B)?.label;return`${T.common.via} ${L}`},$=f&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?oi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,s=ni(e.billPayInfo,n,c,e.isDeleted,e.dueDate),k=$!=null&&s?.code!=="failed"&&s?.code!=="processing"&&s?.code!=="cancelled"&&s?.code!=="returned"&&s?.code!=="rejected"&&s?.code!=="paid";return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:l.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:l.length===g,isSelectionMode:x,bulkSelectFormId:d,tagStatus:s,approvers:e.isDeleted===!0?void 0:ht(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u,paidAdditionalInfo:n==="paid"&&!e.isDeleted?r():void 0,lowBalanceAlert:$,showLowBalanceTooltip:k})})},Yo=({transactionDetail:e,selectedTab:n,isAdmin:c,isShowDeletedReimbursementEnabled:l,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:g,bulkSelectFormId:b,bulkSelectLimit:x,isSelectionMode:f,onTransactionRowClick:u})=>{const y=Z()==="small"?_o:xo,m=li(c,e.submittedBy),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type);return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:g.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:g.length===x,isSelectionMode:f,bulkSelectFormId:b,currentTab:n,date:si(e,n),approvers:e.isDeleted===!0?void 0:ht(e,n),tagStatus:ri(e,n,l),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u})})},Xo=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},Qo=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},Zo=(e,n,c,l)=>{const d=c==="bill_pay"?G.bill:M.report,g=(e>1?d+"s":d)+G.selected;return e>0?t.jsxs($n,{style:l==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(vn,{multiDigit:e>=10,children:e}),t.jsx(Sn,{children:g}),e===n?t.jsx(kn,{children:Uo}):null]}):null},Jo=(e,n,c,l)=>e>0?t.jsx(xn,{style:l==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(wn,{isLoading:n,windowSize:l,className:"delete-icon-wrapper",onClick:n?()=>null:c,children:n?t.jsx(Xt,{size:"Small",start:!0}):t.jsx(X,{enterDelay:600,title:T.common.delete,placement:"top",children:t.jsx(fn,{})})})}):null,pt=(e,n)=>{const{bulkProcessingDetail:c,bulkSelectInfo:l}=n,d=W.isBulkProcessing(c?.type),g=c?.type==="error";let b;if(d)b=c?.inProgressMessage;else if(g)b=c.error?.message;else if(l?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=T.spendManagement.billPay.bulkActions;b=x[l.bulkSelectExceptionInfo]}else{const{exceptions:x}=T.spendManagement.reimbursement.bulkActions;b=x[l.bulkSelectExceptionInfo]}return b},en=(e,n,c)=>{const{billPay:l}=T.spendManagement;return n.includes("cancel")?e==="reimbursement"?M.popUps.cancel.title.replace("__report__",c>1?M.reports:M.report):l.bulkActions.popUps.cancel.title.replace("<_bill_>",c>1?l.bulkActions.bills:l.bulkActions.bill):n.includes("send_for_approval")?l.billDetails.sendForApproval:T.common.review},tn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},on=(e,n)=>{let c;return n!=="small"&&(e.includes("cancel")?c={minWidth:"116px"}:e.includes("send_for_approval")&&(c={minWidth:"160px"})),c},nn=(e,n)=>{const{this_:c,these:l,payment:d,payments:g,bills:b,bill:x,reports:f,report:u,they:y,it:m}=T.common.texts;return n>1?e==="bill_pay"?{title:G.popUps.cancel.title.replace("<_bill_>",T.drawerMenus.bills),description:G.popUps.cancel.description.replace("<_this_>",l).replace("<_bill_>",b).replace("<_it_>",y).replace("<_payment_>",g)}:{title:M.popUps.cancel.title.replace("__report__",M.reports),description:M.popUps.cancel.description.replace("<_this_>",l).replace("__report__",f).replace("<_it_>",y).replace("<_payment_>",g)}:e==="reimbursement"?{title:M.popUps.cancel.title.replace("__report__",M.report),description:M.popUps.cancel.description.replace("<_this_>",c).replace("__report__",u).replace("<_it_>",m).replace("<_payment_>",d)}:{title:G.popUps.cancel.title.replace("<_bill_>",G.bill),description:G.popUps.cancel.description.replace("<_this_>",c).replace("<_bill_>",x).replace("<_it_>",m).replace("<_payment_>",d)}},ln=(e,n,c,l)=>{const{this_:d,these:g,payment:b,payments:x,bills:f,bill:u,report:y,reports:m,they:w,it:a}=T.common.texts,r=n>1;let $=F;e==="bill_pay"?$=G.popUps.delete.title.replace("<_bill_>",r?G.bills:G.bill):$=M.popUps.delete.title.replace("__report__",r?M.reports:M.report);let s=F;return c==="draft"?e==="bill_pay"?s=G.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u):s=M.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("__report__",r?m:y):l?s=G.popUps.delete.descriptionRecurring.replace("<_payment_>",r?b:x):e==="bill_pay"?s=G.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b):s=M.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("__report__",r?m:y).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b),{title:$,description:s}},rn=(e,n)=>{const c=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&c!=null&&(c==="bookCloseDateProcessing"||c==="noActionRecurring")?"hover_only":"checked_or_hover"},mt=e=>W.isBulkProcessing(e.bulkProcessingDetail?.type)?"info":"alert",sn=o.div`
|
|
666
|
+
`,Wo={lastListItemHeight:new h(200,158)},T=te.getLocalizedStrings(),{common:{texts:{maxLimit:Uo}},spendManagement:{billPay:_t,reimbursement:Ko}}=T,G=_t.bulkActions,F=Ko.bulkActions,M=T.common.strings.empty,me="bulkSelectIds",qo=({transactionList:e,botEmail:n,selectedTab:c,selectedSubTab:l,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,searchText:f,isAdmin:u,entity:y,uiState:m,bulkSubmissionLimit:w,isBulkActionAllowed:a,transactionsSelectedForBulkAction:r,isDetectInsufficientFundsEnabled:$,fetchState:s,analytics:k,onTransactionRowClick:B,onReloadTransactions:L,onColumnSortConfigChanged:j})=>{const v=Z(),z=S=>{const D=y==="bill_pay"?e[S].vendor?.name??e[S].candidateVendorName??M:e[S].reportTitle??M;return ei(D,v)},K=P.useRef(null);P.useEffect(()=>{K.current?.resetAfterIndex(0)},[v,K,c,l]);const E=P.forwardRef((S,D)=>{const{children:J,style:ie,...re}=S;return t.jsx(bn,{ref:D,style:{...ie,width:"auto"},...re,children:t.jsx(yn,{children:J})})});return E.displayName=T.spendManagement.billPay.billsByTabs.headerElementDisplayName,t.jsx(sn,{children:s==="Error"?t.jsxs(cn,{children:[t.jsx(pn,{onClick:L,children:t.jsx(mn,{})}),t.jsx(un,{children:T.peoplePage.reloadPage.label})]}):s==="Completed"&&e.length===0&&f!=M?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataWithFilterText:T.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):s==="Completed"&&e.length===0?t.jsx(et,{message:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataText:T.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:y==="bill_pay"?T.spendManagement.billPay.billsByTabs.noDataTextViaMail:T.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:y==="bill_pay"?void 0:T.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):s==="Not-Started"||s==="In-Progress"?t.jsx(Kt,{fetchState:s,styles:{margin:"auto"}}):t.jsx(hn,{windowSize:v,children:t.jsx(qt,{children:({height:S,width:D})=>t.jsx(Gt,{ref:K,height:S,itemCount:y==="bill_pay"||y==="reimbursement"?1:e.length,innerElementType:E,itemSize:z,estimatedItemSize:Yt,itemKey:J=>e[J].id,width:D,overscanCount:Ht,itemData:{entity:y,isBulkActionAllowed:a,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:g,isBillPayCommentingEnabled:b,isReimbursementCommentingEnabled:x,transactionList:e,isAdmin:u,selectedTab:c,transactionsSelectedForBulkAction:r,bulkSubmissionLimit:w,uiState:m,analytics:k,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:B,onColumnSortConfigChanged:j},initialScrollOffset:0,children:Go})})})})},Rn=({transactionList:e,botEmail:n,allSubTabs:c,isAdmin:l,selectedTab:d,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,selectedSubTab:u,searchText:y,entity:m,uiState:w,bulkSubmissionLimit:a,isBulkActionAllowed:r,isRecurringBillInBulkActionList:$,transactionsSelectedForBulkAction:s,allowedBulkActions:k,bulkSubmissionFetchState:B,isDetectInsufficientFundsEnabled:L,onTransactionRowClick:j,onSubtabChange:v,fetchState:z,onReloadTransactions:K,onColumnSortConfigChanged:E,analytics:S,updateBulkActionList:D,removeAllTransactionsFromBulkActionList:J,onProceedForBulkActionClick:ie})=>{const re=Et({defaultValues:{bulkSelectIds:s},values:{bulkSelectIds:s}});P.useEffect(()=>{const _=re.watch((I,{name:C})=>{C!=null&&I!=null&&Mt(()=>he(C,I))});return()=>{_.unsubscribe()}});const he=async(_,I)=>{if(_===me){let C=[];if(I[me].includes(T.common.all.toLowerCase())){if(d==="scheduled"&&s.length===0){C=[];for(const A of e)if(A.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&C.push(A.id),C.length===a)break}else C=I[me].filter(A=>A!==T.common.all.toLowerCase());if(m==="bill_pay"){const A=e.filter(fe=>C.includes(fe.id)),oe=W.getBillListUniqueType(A);S?.trackBillPayBulkSelectAll(d,u,oe)}else{const A=e.filter(fe=>C.includes(fe.id)),oe=W.getRemiListUniqueType(A.map(fe=>fe.reimbursementTypesIncluded));S?.trackReimbursementBulkSelectAll(d,u,oe)}}else C=I[me];D?.(C)}},Ee=()=>{k.includes("cancel")?It():Rt()},ge=Z(),[Me,O]=P.useState(!1),[q,Fe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const _=Ft(d,u,m);z==="Completed"&&_!=null&&S?.trackPageLoaded(_,m==="bill_pay"?"Bills":"Reimbursements")},[S,d,u,m,z]);const zt=_=>{v(_)},Dt=P.useCallback(()=>{const{title:_,description:I}=ln(m,s.length,d,$);if(Fe({type:"delete",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),m==="bill_pay"){const C=e.filter(oe=>s.includes(oe.id)),A=W.getBillListUniqueType(C);S?.trackBillPayBulkDeleted(s.length,d,u,A)}else{const C=e.filter(oe=>s.includes(oe.id)),A=W.getRemiListUniqueType(C.map(oe=>oe.reimbursementTypesIncluded));S?.trackReimbursementBulkDeleted(s.length,d,u,A)}O(!0)},[m,S,$,u,d,e,s]),It=P.useCallback(()=>{const{title:_,description:I}=nn(m,s.length);Fe({type:"cancel",title:_,description:I,primaryButtonText:T.common.texts.confirm,secondaryButtonText:T.common.texts.close}),O(!0)},[m,s.length]),At={onOkClick:_=>{if(O(!1),m==="bill_pay"){const I=e.filter(A=>s.includes(A.id)),C=W.getBillListUniqueType(I);S?.trackBillPayBulkPopupConfirm(q.type,d,u,C)}else{const I=e.filter(A=>s.includes(A.id)),C=W.getRemiListUniqueType(I.map(A=>A.reimbursementTypesIncluded));S?.trackReimbursementBulkPopupConfirm(q.type,d,u,C)}q.type==="delete"?ie?.("delete",_):ie?.("cancel",_)},onCancelClick:()=>{J?.(),O(!1),Fe({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M})}},Rt=P.useCallback(()=>{if(m==="bill_pay"){const _=e.filter(C=>s.includes(C.id)),I=W.getBillListUniqueType(_);S?.trackBillPayBulkSelection(s.length,d,u,I)}else{const _=e.filter(C=>s.includes(C.id)),I=W.getRemiListUniqueType(_.map(C=>C.reimbursementTypesIncluded));S?.trackReimbursementBulkSelection(s.length,d,u,I)}k.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(L?"approve":"review")},[m,k,e,S,s,d,u,ie,L]),Je=k.filter(_=>_!=="delete").length>0;return t.jsxs(dn,{children:[t.jsx(ai,{tabIds:c,selectedTab:u,hasSubTabs:c.length>0,entity:m,enablePerformanceTracking:!1,onTabSelectedChange:zt,isSwitcherLeftAlign:!0}),t.jsx(Nt,{...re,children:t.jsxs(an,{onSubmit:re.handleSubmit(Ee),children:[t.jsx(qo,{botEmail:n,selectedTab:d,selectedSubTab:u,searchText:y,transactionList:e,fetchState:z,onReloadTransactions:K,onTransactionRowClick:j,entity:m,uiState:w,isAdmin:l,onColumnSortConfigChanged:E,analytics:S,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:b,isBillPayCommentingEnabled:x,isReimbursementCommentingEnabled:f,bulkSubmissionLimit:a,isBulkActionAllowed:r,transactionsSelectedForBulkAction:s,isDetectInsufficientFundsEnabled:L}),Me?t.jsx(Ot,{titleComponent:t.jsx(Wt,{children:q.title}),descriptionComponent:t.jsx(Vt,{children:q.description}),primaryButtonText:q.primaryButtonText,proceedButtonVariant:q.type==="delete"?"danger":"primary",secondaryButtonText:q.secondaryButtonText,action:At,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,s.length>0?t.jsx(Ut,{helperContainerStyle:ge==="small"?{margin:`${i.sp5} ${k.includes("delete")&&Je?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:Je,primaryBtn:{label:en(m,k,s.length),isLoading:q.type!=="delete"&&B==="In-Progress",isDisabled:q.type==="delete"&&B==="In-Progress",type:"submit",style:tn(k)},cancelBtn:{label:T.common.texts.goBack,isDisabled:B==="In-Progress",onClick:J,style:on(k,ge)},leftSideComponent:Zo(s.length,a,m,ge),rightSideComponent:k.includes("delete")?Jo(s.length,q.type==="delete"&&B==="In-Progress",Dt,ge):null}):null]})})]})},Go=({style:e,data:n})=>{const{entity:c,transactionList:l,transactionsSelectedForBulkAction:d,isAdmin:g,isBulkActionAllowed:b,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:f,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:y,bulkSubmissionLimit:m,selectedTab:w,uiState:a,analytics:r,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:s,onColumnSortConfigChanged:k}=n,B=Z(),L=Ue(),j=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(gn,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(Jt,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:B==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:Qo(B),labelCheckBoxStyle:{marginLeft:B==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:L.colors.grey4},infoIconContainerStyle:Xo(B),name:me,mode:j,selectionLimit:m,checkBoxes:c==="bill_pay"?[{label:t.jsx(gi,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Ho,{transactionDetail:v,selectedTab:w,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:s,billsSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on",isDetectInsufficientFundsEnabled:$}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:rn(v,d),exceptionInfo:pt(c,v),exceptionType:mt(v)}))]:[{label:t.jsx(co,{companyNameSticky:!1,currentTab:w,onColumnSortConfigChanged:k,analytics:r,sortConfig:{sortKey:a.sortKey,sortOrder:a.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:T.common.all.toLowerCase(),isException:!1},...l.map(v=>({label:t.jsx(Yo,{transactionDetail:v,isShowDeletedReimbursementEnabled:f,isReimbursementCommentingEnabled:y,selectedTab:w,isAdmin:g,onTransactionRowClick:s,remisSelectedForBulkAction:d,bulkSelectFormId:me,bulkSelectLimit:m,isSelectionMode:j==="always_on"}),value:v.id,groupLabel:!1,defaultChecked:!1,isException:v.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:pt(c,v),exceptionType:mt(v)}))]})})},Ho=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:c,billsSelectedForBulkAction:l,bulkSelectFormId:d,bulkSelectLimit:g,isBillPayCommentingEnabled:b,isSelectionMode:x,isDetectInsufficientFundsEnabled:f,onTransactionRowClick:u})=>{const y=Z()==="small"?Oi:Ti,m=ii(e,n),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type),r=()=>{const B=e.billPayInfo.outsideZeniTransactionPaymentMode;if(B==null||B==="other")return;const L=_t.billDetails.paymentOutsideZeni.paymentModeOptions.find(j=>j.value===B)?.label;return`${T.common.via} ${L}`},$=f&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?oi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,s=ni(e.billPayInfo,n,c,e.isDeleted,e.dueDate),k=$!=null&&s?.code!=="failed"&&s?.code!=="processing"&&s?.code!=="cancelled"&&s?.code!=="returned"&&s?.code!=="rejected"&&s?.code!=="paid";return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:l.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:l.length===g,isSelectionMode:x,bulkSelectFormId:d,tagStatus:s,approvers:e.isDeleted===!0?void 0:ht(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u,paidAdditionalInfo:n==="paid"&&!e.isDeleted?r():void 0,lowBalanceAlert:$,showLowBalanceTooltip:k})})},Yo=({transactionDetail:e,selectedTab:n,isAdmin:c,isShowDeletedReimbursementEnabled:l,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:g,bulkSelectFormId:b,bulkSelectLimit:x,isSelectionMode:f,onTransactionRowClick:u})=>{const y=Z()==="small"?_o:xo,m=li(c,e.submittedBy),{bulkProcessingDetail:w}=e,a=W.isBulkProcessing(w?.type);return t.jsx(Lt,{children:t.jsx(y,{reportTitleAdditionalInfo:m,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:g.includes(e.id),isProcessing:a,isBulkSelectionLimitReached:g.length===x,isSelectionMode:f,bulkSelectFormId:b,currentTab:n,date:si(e,n),approvers:e.isDeleted===!0?void 0:ht(e,n),tagStatus:ri(e,n,l),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?ut(e,n):void 0,onTransactionRowClick:a?()=>null:u})})},Qo=e=>{let n={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(n={...n,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),n},Xo=e=>{let n={zIndex:1,marginBottom:i.sp2};return e==="small"&&(n={...n,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),n},Zo=(e,n,c,l)=>{const d=c==="bill_pay"?G.bill:F.report,g=(e>1?d+"s":d)+G.selected;return e>0?t.jsxs($n,{style:l==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(vn,{multiDigit:e>=10,children:e}),t.jsx(Sn,{children:g}),e===n?t.jsx(kn,{children:Uo}):null]}):null},Jo=(e,n,c,l)=>e>0?t.jsx(xn,{style:l==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(wn,{isLoading:n,windowSize:l,className:"delete-icon-wrapper",onClick:n?()=>null:c,children:n?t.jsx(Qt,{size:"Small",start:!0}):t.jsx(Q,{enterDelay:600,title:T.common.delete,placement:"top",children:t.jsx(fn,{})})})}):null,pt=(e,n)=>{const{bulkProcessingDetail:c,bulkSelectInfo:l}=n,d=W.isBulkProcessing(c?.type),g=c?.type==="error";let b;if(d)b=c?.inProgressMessage;else if(g)b=c.error?.message;else if(l?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=T.spendManagement.billPay.bulkActions;b=x[l.bulkSelectExceptionInfo]}else{const{exceptions:x}=T.spendManagement.reimbursement.bulkActions;b=x[l.bulkSelectExceptionInfo]}return b},en=(e,n,c)=>{const{billPay:l}=T.spendManagement;return n.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",c>1?F.reports:F.report):l.bulkActions.popUps.cancel.title.replace("<_bill_>",c>1?l.bulkActions.bills:l.bulkActions.bill):n.includes("send_for_approval")?l.billDetails.sendForApproval:T.common.review},tn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},on=(e,n)=>{let c;return n!=="small"&&(e.includes("cancel")?c={minWidth:"116px"}:e.includes("send_for_approval")&&(c={minWidth:"160px"})),c},nn=(e,n)=>{const{this_:c,these:l,payment:d,payments:g,bills:b,bill:x,reports:f,report:u,they:y,it:m}=T.common.texts;return n>1?e==="bill_pay"?{title:G.popUps.cancel.title.replace("<_bill_>",T.drawerMenus.bills),description:G.popUps.cancel.description.replace("<_this_>",l).replace("<_bill_>",b).replace("<_it_>",y).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",l).replace("__report__",f).replace("<_it_>",y).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",c).replace("__report__",u).replace("<_it_>",m).replace("<_payment_>",d)}:{title:G.popUps.cancel.title.replace("<_bill_>",G.bill),description:G.popUps.cancel.description.replace("<_this_>",c).replace("<_bill_>",x).replace("<_it_>",m).replace("<_payment_>",d)}},ln=(e,n,c,l)=>{const{this_:d,these:g,payment:b,payments:x,bills:f,bill:u,report:y,reports:m,they:w,it:a}=T.common.texts,r=n>1;let $=M;e==="bill_pay"?$=G.popUps.delete.title.replace("<_bill_>",r?G.bills:G.bill):$=F.popUps.delete.title.replace("__report__",r?F.reports:F.report);let s=M;return c==="draft"?e==="bill_pay"?s=G.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u):s=F.popUps.delete.descriptionDraft.replace("<_this_>",r?g:d).replace("__report__",r?m:y):l?s=G.popUps.delete.descriptionRecurring.replace("<_payment_>",r?b:x):e==="bill_pay"?s=G.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("<_bill_>",r?f:u).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b):s=F.popUps.delete.descriptionOther.replace("<_this_>",r?g:d).replace("__report__",r?m:y).replace("<_it_>",r?w:a).replace("<_payment_>",r?x:b),{title:$,description:s}},rn=(e,n)=>{const c=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&c!=null&&(c==="bookCloseDateProcessing"||c==="noActionRecurring")?"hover_only":"checked_or_hover"},mt=e=>W.isBulkProcessing(e.bulkProcessingDetail?.type)?"info":"alert",sn=o.div`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
669
|
`,an=o.form`
|
|
@@ -687,7 +687,7 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,mn=o(
|
|
690
|
+
`,mn=o(Xt)`
|
|
691
691
|
height: ${i.sp5};
|
|
692
692
|
width: ${i.sp5};
|
|
693
693
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -723,14 +723,14 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
723
723
|
`,wn=o.div`
|
|
724
724
|
margin-right: ${i.sp8};
|
|
725
725
|
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
726
|
-
color: ${e=>e.windowSize==="small"?
|
|
726
|
+
color: ${e=>e.windowSize==="small"?X.important:e.theme.colors.grey1};
|
|
727
727
|
`,fn=o(ti)`
|
|
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: ${X.important};
|
|
734
734
|
}
|
|
735
735
|
`,$n=o.div`
|
|
736
736
|
display: flex;
|
|
@@ -750,5 +750,5 @@ import{a as Et,ca as Ft,B as te,l as W,e as Z,kK as Mt,j as t,F as Nt,bV as Ot,b
|
|
|
750
750
|
`,Sn=o(N)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
752
|
`,kn=o(se)`
|
|
753
|
-
color: ${
|
|
753
|
+
color: ${X.important};
|
|
754
754
|
`;export{Rn as default};
|