@zeniai/web-cockpit-ui 1.14.33-qa → 1.14.34-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-BeF1WMnC-BWTFW_6p.js → ACHDetailsPage-MP6kdpXK-Cin5vYxN.js} +1 -1
- package/dist/assets/{AIPerformancePage-CxD_UAbI-fpnYflEr.js → AIPerformancePage-BhOaFmfv-DCRtVIyb.js} +26 -26
- package/dist/assets/{AccountInfoPage-DcY-ZzlZ-FJ-oHq0G.js → AccountInfoPage-D9Ft_CT9-CUD4qbPd.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-CaoKCM-U-OO81J74X.js → AccountInfoPageContent-DvWx52e0-D9gXo091.js} +30 -30
- package/dist/assets/{AccountLockedInfoModal-CJmhyeRY--53RI3ma.js → AccountLockedInfoModal-B1_3C1ER-DGCTA7OW.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-sSMPfl5H-Cm3BYdgG.js → AccountReconDetailsDrawerPage-D9e7qhm0-B1t_x7P2.js} +13 -13
- package/dist/assets/{AccountRow-Buzf5t6f-etnrcHrJ.js → AccountRow-CiIWoLq3-F6m6e5Xn.js} +14 -14
- package/dist/assets/{AccountsPromoCardStack-Dlcbuic0-DRWRcJqq.js → AccountsPromoCardStack-CC72plKm-DV-DNWnY.js} +30 -30
- package/dist/assets/{AddAddressForCardDrawer-BLTkxUcq-B7vSwKJ4.js → AddAddressForCardDrawer-CIj76DoU-BugVt0Ax.js} +1 -1
- package/dist/assets/{AddToWalletPage-B5LKICXr-DfBDWY3N.js → AddToWalletPage-B3vdkyWl-C3sTnRDu.js} +17 -17
- package/dist/assets/{AgingReportsPage-_hwnvPm7-D_aTfDR9.js → AgingReportsPage-CbkMxxO_-bDdYzvvz.js} +15 -15
- package/dist/assets/{AllUserItems-DohW-333-CUu4xgSa.js → AllUserItems-DJo9kLSI-aOrBm21L.js} +11 -11
- package/dist/assets/{ApAgingDetailPage-CfzCrv7O-RqAF3Vu6.js → ApAgingDetailPage-DcAh6DLg-YRnOeaE1.js} +3 -3
- package/dist/assets/{AppBasePage-Nz4YL7cO-BsmPZ1Al.js → AppBasePage-DztnPkfs-_Sh0VXAS.js} +16 -16
- package/dist/assets/{AppDrawerContent-DipGyZ1n-CCl34G60.js → AppDrawerContent-DDmKn21i-C68rKgNZ.js} +8 -8
- package/dist/assets/{ApprovalRulesSettingsPage-CDJ2Pb6i-CcP0ubc3.js → ApprovalRulesSettingsPage-Di8tAJ8K-CDv_E-0W.js} +1 -1
- package/dist/assets/ArAgingChart-tm5ZiNuY-C229BTlQ.js +24 -0
- package/dist/assets/{ArAgingDetailPage-hLTSTpD2-Dg69wqux.js → ArAgingDetailPage-B3JQ08nH-C3xUIMRe.js} +1 -1
- package/dist/assets/{AttachmentView-BMvudk_o-BvnNjIGX.js → AttachmentView-p8mBqYjm-BaF-qc0k.js} +6 -6
- package/dist/assets/{BankAccountSection-BKK0TqfR-iktNn3d0.js → BankAccountSection-AuQLRvdb-Bwa0DuGQ.js} +6 -6
- package/dist/assets/{BankAccountWarningSection-DvJdsXOf-DX0Kkmja.js → BankAccountWarningSection-HvUMABu0-DrqrNnez.js} +19 -19
- package/dist/assets/{BankConnectionsSettingsPage-jdyMMWYg-7sjYy26b.js → BankConnectionsSettingsPage-D61w90F9-DCAF3Rvl.js} +8 -8
- package/dist/assets/{BillDetailPage-BAc9ZaEX-DiuazQaS.js → BillDetailPage-nqHoph6T-BaIucFqg.js} +7 -7
- package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-BE94bEje.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-ycrs-KJM-CJpx4ouQ.js → BillPayApprovalRulesPage-Bd87v4ca-D8uVymLg.js} +7 -7
- package/dist/assets/{BillPayPromoPage-B3cmYoMb-DSMVy0gV.js → BillPayPromoPage-CNiTD_mM-Dj_ToxT_.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-Fs62VXvw-D8p1-eX3.js → BillPaySetUpPage-BUSwkzqv-0u4Y1nRn.js} +2 -2
- package/dist/assets/{BillingSettingsPage-Dt9jBMTF-C295NK9o.js → BillingSettingsPage-aPRvtlqA-D2cPcuYt.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-Qcl9aUuk-_YOWCRG0.js → BillsBulkReviewDrawerPage-BU3VuxEm-ByErXz92.js} +1 -1
- package/dist/assets/{BoxItem-BYcXwroy-DxqwCE3J.js → BoxItem-CZKWkdxd-BeOlY6b0.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-il8wYjJ_-CT3C0oTK.js → BusinessVerificationPage-CeDGi-RH-DBq4N4qO.js} +5 -5
- package/dist/assets/CardNumberSubText-1BRQQyfd-DTVfoanD.js +21 -0
- package/dist/assets/{CashbackDetailPage-Dv5Z7Tvy-Bfso-Y3l.js → CashbackDetailPage-V-W_U5k1-BFabFlQi.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-CGTduWWN-BkYrdXDY.js → ChargeCardDetailPage-BP-zAMYI-CpMkI6_j.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DNLZxp9I-hEX4MRS2.js → ChargeCardListPage-DORW9YE4-C9A5hHUd.js} +16 -16
- package/dist/assets/{ChargeCardListTable-BnHOs06b-Bept2oom.js → ChargeCardListTable-C32mZrwY-C-_ZN5EL.js} +14 -14
- package/dist/assets/{ChargeCardPromoPage-C9ByS2z5-ZBsmIOzb.js → ChargeCardPromoPage-CE4kH4Js-C0K_9IRw.js} +13 -13
- package/dist/assets/{ChargeCardSetupPage-Baw4VtU6-whYjNQ5s.js → ChargeCardSetupPage-CumpB2GQ-D9_LS2bE.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-D0nZbDIZ-CqoukG-c.js → ChargeCardStatementsPage-DPIAjww0-qtfYIF5i.js} +6 -6
- package/dist/assets/ChargeCardUtils-Wp4Ko18L-zmLd-lJK.js +1 -0
- package/dist/assets/{ChaseOverlay-2qpcZYP8-DZC2amkp.js → ChaseOverlay-BGZfbx0H-Cy6SXtpe.js} +8 -8
- package/dist/assets/CheckDepositDrawerPage-Bl52b4SW-D474gpb4.js +206 -0
- package/dist/assets/{CollapsableReportTable-CPOIqiL0-CeOTbT0I.js → CollapsableReportTable-B0wI9SM1-DLN2kcqg.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-D1BmCIsK-Cg7hHlgd.js → CompanyOfficerDetailsSection-DyOVRvtQ-D3TSBaYy.js} +33 -33
- package/dist/assets/{CompanyPassportCard-B9fOwnpa-DsuUYKGw.js → CompanyPassportCard-C_YUK3R3-Tw3Mhb57.js} +5 -5
- package/dist/assets/{CompanyPassportPage-BzDOHw_n-BFDOwRWJ.js → CompanyPassportPage-QFJ0G7X7-9FRZMTlm.js} +29 -29
- package/dist/assets/{CompleteProfile-BTqueNNu-C0IgFiTo.js → CompleteProfile-DVE16v3y-JdgrMYZk.js} +1 -1
- package/dist/assets/{ConfettiBurst-BlFjJIUj-D3PzCoP-.js → ConfettiBurst-BA8BvtO--ChjQJAxk.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DAGCdI1c-mmdPlAVt.js → CreateOrEditVendorPage-ncBGwfXK-DYgCQOxT.js} +8 -8
- package/dist/assets/{CreditCardPaymentDrawerPage-KsuS7yuN-DA_e7yg1.js → CreditCardPaymentDrawerPage-DqEVQgMx-DmTsuXGo.js} +16 -16
- package/dist/assets/{CreditCardPaymentPlgSection-BfhV7QBL-GxG2RoKF.js → CreditCardPaymentPlgSection-vmErttTD-BxhyQLa5.js} +8 -8
- package/dist/assets/{CurrencySelectField-oVIC5R45-DO0BaMPk.js → CurrencySelectField-BEb19UaA-ayd8ypxk.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-6I-6xoA6-BvOS7YcY.js → CustomerOnboardingActivationPage-L4l1ybmh-CjOAphEc.js} +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-22xRu68e.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYXcx90D-Cjqv90OE.js → CustomerOnboardingDetailPageSkeleton-D3Zm658F-BjyCIV27.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-DEUNNIB_-xCnv_1xo.js → CustomerOnboardingNoStepsPage-BXsJFpEX-BO1c66C-.js} +2 -2
- package/dist/assets/{CustomerOnboardingPage-kAcxVmRC-Dng6IoBs.js → CustomerOnboardingPage-D3zpI1df-BpsmxlbR.js} +2 -2
- package/dist/assets/{CustomerOnboardingProductSuitePage-BbRqtmnL-BumjYc1t.js → CustomerOnboardingProductSuitePage-DjVZfC2C-rASo3ZM3.js} +1 -1
- package/dist/assets/{Dashboard-usLyPMhz-T83f6_ic.js → Dashboard-wY0FneRs-K0H1LO4c.js} +114 -114
- package/dist/assets/{DashboardReportPage-CoozPVLS-CfCi-7lF.js → DashboardReportPage-CMgr0CSc-CTqQy7Z3.js} +19 -19
- package/dist/assets/{DashboardSidebarBackgroundAnimation-BNQW5HZE-B5t6wuDS.js → DashboardSidebarBackgroundAnimation-B73UBY5T-DxfAcbVQ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CsLHfDqr-CC_1ybiy.js → DepositAccTransactionItem-DrqBG940-U_s0mHE8.js} +3 -3
- package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-CmHU0p_6.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-CwYc-sKw-XNW-idse.js → DomesticWireDetailsPage-vRHD5DmW-v4Oe5SWK.js} +1 -1
- package/dist/assets/{DownloadOverlay-ttUEv-XY-vEcCF5hB.js → DownloadOverlay-D_UoB4Xy-DPm0LxIQ.js} +1 -1
- package/dist/assets/{DrawerPage-5dnYzzvI-C-zfRz8P.js → DrawerPage-ijHe0bCp-CyRbPalv.js} +5 -5
- package/dist/assets/{EditPeoplePage-DUr2MZOG-CWSHHw-m.js → EditPeoplePage-BehcmP1s-CtCgWObL.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-Byuxh0RG-CIXuQ0er.js → EditReimbursementDetailPage-Cz82Vz26-BkH-yQZq.js} +51 -51
- package/dist/assets/{EntityDetailPage-DBjBJovr-GAvyHnKI.js → EntityDetailPage-CN-ewzjy-D8rWv-Yn.js} +2 -2
- package/dist/assets/{EntitySummarySection-NvNokzqb-atl44xa1.js → EntitySummarySection-B4ozhtlU-BbJmZsFm.js} +5 -5
- package/dist/assets/{ExpenseAutomationOverviewPage-Cc7NPgFU-DDwBfHGE.js → ExpenseAutomationOverviewPage-BmNuSoUs-B4ZMF43g.js} +12 -12
- package/dist/assets/{ExpenseAutomationPage-zQeR27lq-rCLHkoiU.js → ExpenseAutomationPage-Cz3JsW-E-Cz15ZpzI.js} +30 -30
- package/dist/assets/{ExpressPayPage-P0p3Ao-R-i9gfNImU.js → ExpressPayPage-CgrGtZ4F-BicqIV-J.js} +9 -9
- package/dist/assets/{FeaturePreviewPage-CbR7b5uO-0LIj_UpA.js → FeaturePreviewPage-Dk_c37Rm-CXHB1WFu.js} +2 -2
- package/dist/assets/{FollowStepsSection-9Kfkt8Hp-CoGOQM-s.js → FollowStepsSection-BVi7m38_-C99RMZ_B.js} +22 -22
- package/dist/assets/{GlobalReviewListPage-B3b-DcRO-DmpyBeU0.js → GlobalReviewListPage-DiZGC9B1-DIzsLBmo.js} +14 -14
- package/dist/assets/{HelpButton-3gV_f3S3-BNW7ywMF.js → HelpButton-DiIoYeXn-FbkReN34.js} +4 -4
- package/dist/assets/{InformationCardStack-B67nQ7o3-Cl5LgXZR.js → InformationCardStack-C8-4dhWR-Bdte_JFA.js} +4 -4
- package/dist/assets/{InsightsCardStack-BLuzgFq1-ChqYsKwx.js → InsightsCardStack-BKm0dSeJ-YxbfeRpK.js} +9 -9
- package/dist/assets/{InsightsSection-B95Utg4C-D7fPPHgQ.js → InsightsSection-C9MHOCQd-B3v5Vy0i.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-Cj9RN4lm-CSLCHkMN.js → IntegrationsSettingsPage-4qlL5Dsx-NL-7Vuhq.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-CnvGCMx6--PeOQhJI.js → InternationalWireSwiftDetailsPage-DqCtPykV-BUWM-1ua.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-BO-9Inma-BWHslahx.js → InternationalWireVerificationPage-Cl-p0inO-BPrmH8Q-.js} +10 -10
- package/dist/assets/{InviteFormPage-BcKX87YR-DV5_crlj.js → InviteFormPage-L6j0rOBW-DZzXMjr6.js} +20 -20
- package/dist/assets/{InvitePageListView-pwXs_uWn-Z97ORdSb.js → InvitePageListView-KYjMIc4q-LkWl7l25.js} +34 -34
- package/dist/assets/{InvitePeoplePage-DyqidszV-nOc3GIdz.js → InvitePeoplePage-CbZqVsTp-CPZYz4n0.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-Bwx4jgsp-D9TPwHrf.js → InvoiceUploadSection-DZC4oscG-DoaD8XBg.js} +6 -6
- package/dist/assets/{IssueChargeCardPage-B4uzwROv-Bk2Fezky.js → IssueChargeCardPage-DMdZCfqA-2_AAwzJw.js} +16 -16
- package/dist/assets/{LabeledAddressValue-_1wNunap-nTViFxi6.js → LabeledAddressValue-CBOrzSsG-zl4Cn7F6.js} +1 -1
- package/dist/assets/LabeledAddressValueField-YuLcra47-D1rCVkct.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DUmCd9rT-BMEF7Bdb.js → LabeledControlledCheckBoxField-BoXsUqpR-BDprT0oc.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Ca24Ziei-CBC6Lsco.js → LabeledCreatableSingleSelectField-CQPkrdRe-BP0IH1kb.js} +2 -2
- package/dist/assets/{LabeledDocumentField-DtGNCNrD-BmU3HUR-.js → LabeledDocumentField-DEeeTuVw-DjAbPGjO.js} +3 -3
- package/dist/assets/{LabeledDropDownFormattedTextField-CEhwMb_t-DelBUgv4.js → LabeledDropDownFormattedTextField-DYRkxlY--C9ZM89bQ.js} +1 -1
- package/dist/assets/{LabeledText-DR7J2Gsy-BXmYVhAs.js → LabeledText-DQiR_FIX-Co4J3TbF.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DdWbwo9k-B_izL22O.js → LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-CjWMU4DS.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-CmUbFFow-C71nvk8D.js → LabeledZeniRolesDropDownField-azPB8idg-BmyhVq5l.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-oW3lDkXa-pDAZrnuw.js → LinkJETransactionPage-Ct0HcxvN-C9ALJkXZ.js} +5 -5
- package/dist/assets/{LowBalancePopup-C5KvkK3M-BJ53QfOd.js → LowBalancePopup-Zvy2iURT-BHU6RUxm.js} +4 -4
- package/dist/assets/{MagicLinkACHDetailsPage-BVWg6hrX-Dqp8qscs.js → MagicLinkACHDetailsPage-BY6pEieF-BnE5qaIA.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-S1k7ze9H-BD9CxLYS.js → MagicLinkDomesticWireDetailsPage-BK5RZSiS-DZf3dWg8.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DpzfQbRD-Czk6cq3a.js → MagicLinkInternationalWireDetailsPage-hK5cNiNB-B4J-Gaxj.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-m9Kweywk-BK-TFI1J.js → MagicLinkSuccessPage-Drn_p982-z_mnlocR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BPRyg1HR-D82FSUKq.js → MagicLinkTitleSection-DRMHVOzF-vSOOyfRm.js} +9 -9
- package/dist/assets/{MailingDetailsSection-BX5rIuJZ-8h9F_QfJ.js → MailingDetailsSection-DgdAYgpS-CzYOsfT_.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CCW2D5Ua-AdsUfqxp.js → MeetingCalenderPopup-CAh7iae0-BpiINuek.js} +1 -1
- package/dist/assets/{Menu-CD6YLYW5-xYOZpEb0.js → Menu-bleLgSLu-Ccrr2YDB.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DBU4_Dkv-CJUGJFn3.js → MyBankConnectionsSettingsPage-DRxmQCbq-7MgmeMyL.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-0eqXgmvH-CHdZhWCy.js → MyPendingActivationChargeCardListPage-BYLhb47G-DdwAZhiS.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-D1sATCot-BFxBz8wl.js → MyProfileSettingsPage-eVfCRTfx-BNmP0sTQ.js} +11 -11
- package/dist/assets/{NavBarWithPicker-BcrWHAVt-Bp97Wb_6.js → NavBarWithPicker-BE2MW7hB-DXAufzd3.js} +5 -5
- package/dist/assets/{NavigationArrow-DTaeLGbL-Rg77_mEU.js → NavigationArrow-eEaMttBX-B_OAAp0o.js} +1 -1
- package/dist/assets/{NavigationDots-D5YXMwOb-DwbgBSQV.js → NavigationDots-CNwL0a7I-CifVGTqc.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CN03ui3Y-C7Wnlo8N.js → NewGlobalMerchantPage-CSWqCqAC-CM5vKN1K.js} +9 -9
- package/dist/assets/{NoDataChart-DUJ9H-CB-CJSw-339.js → NoDataChart-DNmdY5gQ-I17nHhNI.js} +3 -3
- package/dist/assets/{NoDataTable-D5EYJl2y-Bt6-luGg.js → NoDataTable-DW2wAX3o-CmvIHNA2.js} +1 -1
- package/dist/assets/{NotFoundPage-C2-zYoie-Dqz-wiMB.js → NotFoundPage-BMJTG-tj-KX8Yl0C8.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-Cb4Zozvx-D0BMc4CK.js → NotificationSettingsPage-Vd3UvdLu-CYwoglab.js} +11 -11
- package/dist/assets/NotificationsListConfig-DbHYPEWZ-CWezw8M_.js +1 -0
- package/dist/assets/{NotificationsPage-AZg3QlbQ-BHdpJes9.js → NotificationsPage-BaekDEw7-DM6qz84i.js} +7 -7
- package/dist/assets/{OpExByVendorPage-BdIQF_eO-omQlG_Ls.js → OpExByVendorPage-DNyTA9nx-AqH3jm4s.js} +6 -6
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-eL-vIEjp.js → OverlayContainerPage-Bmu909Fo-D0brL_nl.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Cmvdl5M2-BhFSUFSZ.js → PandLWithForecastPage-DbP4ybN4-CjX2B57O.js} +6 -6
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-B8u08pzI-DmEmzort.js → PaymentAccountSetupBillingAddressSection-Dd4Aen8j-DhFeVMmy.js} +7 -7
- package/dist/assets/{PeoplePage-DUgY9uhQ-Cr96soIc.js → PeoplePage-B3n7ek2h-Bozbjh3K.js} +18 -18
- package/dist/assets/{PortfolioAllocationFormPage-8W6M--6J-DR9Ndj0M.js → PortfolioAllocationFormPage-CzA_c7hR-CWaP7kP_.js} +7 -7
- package/dist/assets/{PortfolioDetails-Cgsx9aCA-DeeNxIS6.js → PortfolioDetails-Drgv4Osg-n5MRYPkF.js} +23 -23
- package/dist/assets/{ProductsCarousel-Bm2Y2y3o-BXHDZ7Bz.js → ProductsCarousel-BnnfJR0o-69mJVwF1.js} +5 -5
- package/dist/assets/{PromoBaseCards-B8vPeDYr-DKbnXhuy.js → PromoBaseCards-BGHJivI8-iKisrOi3.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-i-PJJPa4-B0SC4TfV.js → QBOConnectionDialog-uiW9eeZu-BUSCcjkj.js} +6 -6
- package/dist/assets/{QBOSetupSection-CRrnYKUh-BbRn7wM8.js → QBOSetupSection-DPb0VAii-CawJiqRt.js} +9 -9
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-CNtIL-aY.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Chrc3t9S-DT2ivR9l.js → ReimbursementApprovalRulesPage-C1AFF_DM-JcrRx1zz.js} +32 -32
- package/dist/assets/{ReimbursementDetailPage-DGNdthlv-LfuXXHFQ.js → ReimbursementDetailPage-Du6R1zje-DFFAPJro.js} +7 -7
- package/dist/assets/{ReimbursementPromoPage-BvFwudpI-Cv-4tXUE.js → ReimbursementPromoPage-CW9eyjp9-D3Pfks5-.js} +9 -9
- package/dist/assets/{ReimbursementSetUpPage-Cbax1ApT-E7Ui2lvq.js → ReimbursementSetUpPage-CbPwgIqt-DD9o1r2m.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-CkqM4nh9.js +1 -0
- package/dist/assets/{ReloadCard-7jt7MZTY-lIyJZnnS.js → ReloadCard-Dvn17Oxl-CBzKop0_.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BiBxQPuW-CLgWnlTn.js → ReportTableViewSelector-C5_qr5qe-lIXMBIXQ.js} +10 -10
- package/dist/assets/{ReportsPage-DFob2c55-D23AFFaM.js → ReportsPage-BNcymVwf-ClQkz7Qq.js} +9 -9
- package/dist/assets/{RevenueChart-ClhUfdMh-DYskvLwM.js → RevenueChart-DILkui6c-Bn7jhZor.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-FQiCTlke-Q5authsi.js → ReviewDetailsPage-ZYzvK95X-CostS9P2.js} +5 -5
- package/dist/assets/{ReviewOverlay-CfF_qd7Q-qDrq1AtB.js → ReviewOverlay-DhUFI1ES-LUmDitH1.js} +4 -4
- package/dist/assets/{RoleWithToolTip-BF8jX30M-C92wOLzi.js → RoleWithToolTip-_W95JBwt-D4GQ0PLV.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-C_eajy25-B_Z0JCSO.js → ScheduleDetailsFixedAssetsPage-iQXV-V_H-BVQFXrep.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-CEyK426x-nrWcby4m.js → ScheduleDetailsPage-KgHwQGrw-DNkLJeLN.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CzCC1xOo-D8B0ej3Q.js → ScheduleSequenceTable-Bixq8Q7W-DZJIVO-x.js} +12 -12
- package/dist/assets/{ScreenRoutes-Dikl0nac.js → ScreenRoutes-Ce8X3bBt.js} +1 -1
- package/dist/assets/SetUpAccountSection-D8FMVhkL-0Pe99EFt.js +378 -0
- package/dist/assets/{SetUpDefaultSection-BbQ_Qx2--C5lXu4vU.js → SetUpDefaultSection-CI0mxu3H-DcvSJDVc.js} +4 -4
- package/dist/assets/{SignIn-DTytMyjr-BxhE66O7.js → SignIn-DslenepV-CPPxlLcj.js} +11 -11
- package/dist/assets/{SignInScreen-DKV5tLc9.js → SignInScreen-B1GYtWiH.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CD0Beu1e-DaoCCXM5.js → SpendManagementListViewPage-D7SzmCmM-BJf-og4i.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-ILwwf3e3-CE45DDqu.js → SpendManagementPerTabPage-DKaDr4mu-DxptYFft.js} +20 -20
- package/dist/assets/{SpendManagementSection-o0Xvlal3-C0zjrllO.js → SpendManagementSection-Ddfq2u6H-DmMZ9eyK.js} +5 -5
- package/dist/assets/{SpendMgmtSetupAccountSection-DkUfJ6ei-oFxBfg7R.js → SpendMgmtSetupAccountSection-CPnNzjr--B78i6hxA.js} +6 -6
- package/dist/assets/StatementItem-B2uPIFUk-BwrPLJ8M.js +31 -0
- package/dist/assets/StatementsPage-o7MvNKvd-C1dFevGn.js +58 -0
- package/dist/assets/{StatusSwitcher-u6thj-sM-8T1PWXo9.js → StatusSwitcher-kWLQCCwS-BcuNtj6J.js} +4 -4
- package/dist/assets/{SubTabSwitcher-B9ILKi1e-DAbNMl3T.js → SubTabSwitcher-BKm9FxhL-euRzTmRU.js} +1 -1
- package/dist/assets/{SummaryCard-Drap3bb1-nVRx_VJE.js → SummaryCard-DBMfNfN2-plAS3Det.js} +1 -1
- package/dist/assets/{TaskManagementPage-DoT0Xz7g-DMFrchv7.js → TaskManagementPage-D_wjK-S2-ckyJVLkK.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DbGrn4DP-BT1wbdLA.js → TimeRangeSwitcher-2vDR_AEV-D-I6mwQS.js} +3 -3
- package/dist/assets/{TimeframeSwitcher-sbgG6A6l-gjTqG61O.js → TimeframeSwitcher-BB3_i5V0-DSWHJLc3.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-arAZfZIA-BY46uNld.js → TimeframeSwitcherWithToggle-CdP0ViK8-CSTf2noq.js} +1 -1
- package/dist/assets/{TopExCard-97hb0R08-DsF24-mR.js → TopExCard-BGgGFzmK-Bh9OLnE6.js} +6 -6
- package/dist/assets/{TopExDetailPage-CoLyDCB7-D8kHhqmk.js → TopExDetailPage-CbzYG54M-DO9gCz75.js} +14 -14
- package/dist/assets/{TransactionDetailPage-q5aE5bnJ-jYWbJJ_Z.js → TransactionDetailPage-C-CfEtCO-BGrY5UL4.js} +36 -36
- package/dist/assets/{TransactionList-C8S87idW-CkmfZ-_y.js → TransactionList-C0xK6_zI-BWkO5U-i.js} +5 -5
- package/dist/assets/{TransactionListBig-B0GroSXv-Bt_lEoX-.js → TransactionListBig-CIX6CdX--LTkFgM7t.js} +13 -13
- package/dist/assets/{TransactionListPage-CP6h2Q1r-CJzCvI7Q.js → TransactionListPage-B7ppBJig-uGcfhXLt.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-Cgsraa0T-Bvuj8pKB.js → TransactionVendorDetailPage---HGdQiZ-CZOQ9lvG.js} +5 -5
- package/dist/assets/{TransferDrawerPage-0MWoLTHi-BGT-JW0Z.js → TransferDrawerPage-DerGmul8-62lI-YY8.js} +19 -19
- package/dist/assets/{TreasuryOverviewPage-CaP2pdVj-CEEbDthH.js → TreasuryOverviewPage-DW2gZwip-DVFW4hhW.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-CjCAsIAs-DVDda824.js → TreasuryPromoPage-DzqdEmPJ-CoyHUnTy.js} +13 -13
- package/dist/assets/{TreasurySetupPage-zxxClgmz-B49PuUcQ.js → TreasurySetupPage-Bo0HQeeU-A0y2k-4p.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-BCDakhB_-BFM4MV11.js → TreasuryStatementsPage-DS_VK4WN-DmTwCwC0.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-Bq3Zcz28-CaeCwr68.js → TreasuryTaxLetterPage-DgwqyL6v-B7MPhwnZ.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-C8OGAEPm-MHGVeol0.js → TreasuryTransferOrReviewPage-ZrSACgLJ-CShzQj1Z.js} +41 -41
- package/dist/assets/{TrendChart-BVaBWGSG-Bsmd11nW.js → TrendChart-D07k3uRr-DkExi6rv.js} +4 -4
- package/dist/assets/{TrendWithTransactions-wA_XpWa7-CiZEQQ3v.js → TrendWithTransactions-ibwuOssC-C0qp9MFm.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-CZyZ7HgM-Cfcp8jrs.js → UncategorizedAccountsMappingPage-D1m2Ok2e-DbU6jOlH.js} +12 -12
- package/dist/assets/{UnitIntegrationPage-ahzf74jD-BhU3F_FY.js → UnitIntegrationPage-BJxRjjfK-DtvhQiip.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DT_NocG4-Bq1bl1aO.js → UploadAdditionalDocumentOverlay-DI_GZA8A-DOiCRzdE.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-_SmOnjiJ-Bzcvad4z.js → Vendor2FAPopup-80vvc7gE-CZyjqzsA.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-qP4fOIER-DjK69kdl.js → VendorACHDetailsPage-CQcuiNPr-ZTYmcvJP.js} +1 -1
- package/dist/assets/{VendorDetailPage-BKztI9LK-BWXxargk.js → VendorDetailPage-Dx_yfZDH-Dm378Xm3.js} +8 -8
- package/dist/assets/{VendorDomesticWireDetailsPage-CcIVgYDR-AxQuezcA.js → VendorDomesticWireDetailsPage-DN5x3F_Z-XOWyPxP1.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-j3wx_7VO-DhWyFbHa.js → VendorFiling1099EditablePage-8Jz187lD-0m7mNuWb.js} +10 -10
- package/dist/assets/{VendorFirstReviewPage-Tael17gH-DhgjGUhL.js → VendorFirstReviewPage-CokvYaRq-Cb9NI798.js} +10 -10
- package/dist/assets/{VendorInternationalWireDetailsPage-CQU1yW6x-D9yyy6s6.js → VendorInternationalWireDetailsPage-lo9l2Q88-DFczs5XD.js} +7 -7
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-YdTFG4UK-BmTkjHNI.js → VendorInternationalWireSwiftDetailsPage-CPj3zrDk-DRMFLwZ9.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DA43fzxN-C-aSfcSH.js → VendorsAccountsSection-BqoW4DlP-K9mGVuVh.js} +2 -2
- package/dist/assets/{VerifyDevice-qwJe3UlY-C8JhMBq8.js → VerifyDevice-D8iPRJ3k-Didr6pca.js} +1 -1
- package/dist/assets/{VideoPopup-DjHyf6Dq-Caoe-41_.js → VideoPopup-SdlRHLkM-0X18VPqO.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-B3y_Dk0z-BDJbRvuV.js → WarningsDrawerPage-qYWFsE3s-PgntUxKS.js} +3 -3
- package/dist/assets/{ZeniAccountDetailPage-3Rwc-ka_-CZGU5GGZ.js → ZeniAccountDetailPage-BL2a5Dmz-iag3jdsk.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-Dz4Ts37w-C7bBnvjh.js → ZeniAccountListViewPage-CWqzDWcO-BoCUgkRw.js} +14 -14
- package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-D9pY_iW0.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BdOMtMQi-eO57NyVA.js → ZeniAccountPromoPage-CBm3w0kN-ZGm0kki_.js} +7 -7
- package/dist/assets/{ZeniAccountSetupPage-BaAbcpDN-Dz74SoJa.js → ZeniAccountSetupPage-C5VzT9lH-CmNUeSAP.js} +3 -3
- package/dist/assets/{ZeniCopyright-CDUB4TcP-GE4oQ9V1.js → ZeniCopyright-BUctH39C-DplfFfSP.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-Baob6Y6l.js +63 -0
- package/dist/assets/{analyticsHelper-BvNZGrlc-BJa5RIFt.js → analyticsHelper-B3uAu0es-QTXf1Ev3.js} +1 -1
- package/dist/assets/{analyticsHelper-Dx5oOGyQ.js → analyticsHelper-CXIp8rdA.js} +1 -1
- package/dist/assets/{chartTypes-eIJ-SPRj-DNmHJom3.js → chartTypes-CJmQ6FtI-XyTHIuvE.js} +1 -1
- package/dist/assets/{commonDimensions-BhQMg8M1-BL_2J79f.js → commonDimensions-WRL2ZVK_-BkSU0Zqq.js} +1 -1
- package/dist/assets/{detailCommon--19QlDMD-CzDyWg-5.js → detailCommon-Dfxas1Kf-Cs5j6wK3.js} +6 -6
- package/dist/assets/{downloadPdf-CdQzDva3-8WZMObW_.js → downloadPdf-B1f0mDl2-DR3N1swU.js} +1 -1
- package/dist/assets/{index-tsOp9BQk.js → index-C3eIsUEB.js} +3415 -3415
- package/dist/assets/{mapLoadingInProgressToTreeNode-5V5katgj-CVFQIMUP.js → mapLoadingInProgressToTreeNode-BG784RuM-D-SsN93J.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BJxygmqD-h90lXkUP.js → mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DFzyPyCl.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D64394wQ-pSHkWnxf.js → mapSpacerToTreeNode-CcgVbOH5-C822drj0.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-n7enawjr-B0jvlyrF.js → mapTimeframeBalancesToTreeNode-CU583ICK-BsI9dw9j.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DCKSi6a2-DS9WQRVo.js → mapTimeframeBalancesToTreeNode-DTlwFauL-BnT0AYvx.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_QU_sNV-BAbZgSg9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-CxzLxNpV.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BzuCDtG--VHioxKWJ.js → toCOABalancesWithID-DTfegixr-INQY6aSS.js} +1 -1
- package/dist/assets/{toChartData-CYJPtvhS-C0w2egjH.js → toChartData-CH5DcWUY-CUE_ejao.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BKdnWQWY-D8OCa9aZ.js → treasuryColorHelper-BdPkQoh7-DNZcPnEX.js} +1 -1
- package/dist/assets/{uploadAttachment-joBVPGv5-gtEaySAh.js → uploadAttachment-COwu5Mqo-5xUhTy_F.js} +13 -13
- package/dist/assets/{uploadReceipts-dxsKhm9I-Cn41OXkr.js → uploadReceipts-dxsKhm9I-BfDIlt9K.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ArAgingChart-C2EOYS7A-HVEaEPzA.js +0 -24
- package/dist/assets/BillPayApprovalRuleDetailPage-C8VknJRe-DRpgLYbu.js +0 -27
- package/dist/assets/CardNumberSubText-Cz8Y1Z97-LpaJD4_Y.js +0 -21
- package/dist/assets/ChargeCardUtils-CTnXnilO-DMAAzxCn.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-C78K4Qka-BgHYkZOt.js +0 -206
- package/dist/assets/CustomerOnboardingContainerPage-BXvzWHpN-CpyPZ7nS.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-CgNs2M1G-Jw4rbr_L.js +0 -66
- package/dist/assets/LabeledAddressValueField-CLeHoJsD-lkNMl3uF.js +0 -45
- package/dist/assets/NotificationsListConfig-BjKpPm-b-CViXYy_9.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DfsK1S1y-wuwm32sm.js +0 -26
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-vhtiYbWq-D8igsH6s.js +0 -1
- package/dist/assets/SetUpAccountSection-nOqMRPh8-DaY9rNyz.js +0 -378
- package/dist/assets/StatementItem-GyeTS2vu-C7aG3yI8.js +0 -31
- package/dist/assets/StatementsPage-DU5Dhq7q-11U-8ioz.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-DOWoY-ph-CzwV0Amu.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-BvyfsZDl-BfSyc7LO.js +0 -63
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{e as K,
|
|
1
|
+
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 Ke,o as n,c as ce,C,M as Xe,J as ge,y as be,g as m,T as Qe,d as Ye,w as je,f as ke,h as ei,l as pe,m as ii,i as ni,K as Ie,k as oi,n as ze,p as ri,q as E,v as Z,r as ti,s as si,t as ai,A as li,D as di}from"./index-C3eIsUEB.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-BUctH39C-DplfFfSP.js";import{_ as hi}from"./ProductsCarousel-BnnfJR0o-69mJVwF1.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"?Z.standardMedium:Z.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,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 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 O=window.screen.width/2-287.5,_=window.screen.height/2-600/2,D=window.open(h,F,`toolbar=0,status=0, width=575, height=600, top=${_}, left=${O}`);S=setInterval(()=>{D.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:A},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:[A.title,i.jsx(Oi,{children:s})]}),i.jsxs(Di,{children:[i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Pi,{})}),i.jsx(W,{windowSize:t,children:A.confirmEmail})]}),i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Fi,{})}),i.jsx(W,{windowSize:t,children:A.checkAccess})]}),i.jsxs(q,{children:[i.jsx(N,{children:i.jsx(Ti,{})}),i.jsx(W,{windowSize:t,children:A.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,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 K
|
|
|
126
126
|
${Q};
|
|
127
127
|
`,Fi=o(li)`
|
|
128
128
|
${Q};
|
|
129
|
-
`,
|
|
129
|
+
`,Oi=o(si)`
|
|
130
130
|
word-break: break-all;
|
|
131
|
-
`,
|
|
131
|
+
`,Di=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(Z.standardRegular.fontSizeValue,Z.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(E[3],12)},Vi=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,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 K
|
|
|
143
143
|
background-position: 50px ${n.sp0};
|
|
144
144
|
background-repeat: no-repeat;
|
|
145
145
|
overflow-x: hidden;
|
|
146
|
-
`,
|
|
146
|
+
`,Ai=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,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 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
|
+
`,Zi=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,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 K
|
|
|
232
232
|
opacity: 1;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
`,
|
|
235
|
+
`,Ji=o(je)`
|
|
236
236
|
color: ${m.important};
|
|
237
237
|
text-align: center;
|
|
238
238
|
width: 100%;
|
|
@@ -250,7 +250,7 @@ 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 K
|
|
|
250
250
|
border-radius: 50px;
|
|
251
251
|
padding: 12px ${n.sp4};
|
|
252
252
|
box-sizing: border-box;
|
|
253
|
-
`,
|
|
253
|
+
`,Hi=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,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 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,O]=d.useState(""),[_,D]=d.useState(!1),[Y,J]=d.useState(!1),[H,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:Oe,clearErrors:De}=ee,V=s.fetchState==="Error"&&s.error?.error?.type==="email_not_found",oe=s.fetchState==="Error"&&s.error?.details?.application_error_code!=="LOGIN_VIA_EMAIL_LOCKED"&&!V,re=Oe("email"),te=!!ie.email||Y||oe,se=!!ie.email;d.useEffect(()=>{p&&w===!0&&u!=null&&u.trim()!==""&&(ne("email",u),J(!0),Le(!0))},[p,w,u,ne]);const Ve=r=>{J(!1),r.email.trim()&&(R.trackSignInClick("email"),M(r.email))},Ae=()=>{J(!1),De("email")},ae=L&&g.type==="email_not_found";d.useEffect(()=>{(ae||V)&&D(!0)},[V,ae]);const Ze=r=>{console.log(JSON.stringify(r)),h(void 0),$(r.code,"google"),O("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"),O("microsoft")},Ue=r=>{console.log(JSON.stringify(r)),h(r.error??"Microsoft authorization failed."),z?.(JSON.stringify(r),"microsoft")},Je=()=>{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",He=V&&s.error?.error?s.error.error:g;return i.jsxs(Vi,{windowSize:a,children:[i.jsxs(Ai,{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(Hi,{})}),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:H,children:[!H&&i.jsxs(qi,{windowSize:a,children:[i.jsx(We,{clientId:e,children:i.jsx(ji,{disabled:T,inProgress:_e,getSignedInUser:f,onSuccess:Ze,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&&H&&i.jsx(qe,{...ee,children:i.jsxs(Bi,{windowSize:a,children:[i.jsx("form",{onSubmit:Fe(Ve),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:Ae})}),i.jsx(nn,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:s.fetchState==="In-Progress"})]})}),te&&i.jsx(Ji,{children:Y?l.signIn.magicLinkExpired:oe?l.common.errorMessage.somethingWentWrongPleaseTryAgain:l.signIn.invalidEmailMessage})]})})]}),_===!1&&L&&i.jsx(Ki,{children:i.jsx(Zi,{children:Je()})})]})})]}),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:He,onClose:()=>{b(),D(!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,B as h,kb as C,N as E,kJ as v,kf as p}from"./index-C3eIsUEB.js";import{f as U}from"./analyticsHelper-CXIp8rdA.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 N(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 P=I(T,N)(v),b=m.memo(P);function F(){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(b,{navigate:a,location:c})}export{F 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-DKaDr4mu-DxptYFft.js","assets/index-C3eIsUEB.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-kWLQCCwS-BcuNtj6J.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
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 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,g as S,p as tt,q as x,gq as ot,a3 as at,br as it,t as nt,bO as st,fk as lt,az as rt,n as ct}from"./index-C3eIsUEB.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-Ddfq2u6H-DmMZ9eyK.js";import{K as ut}from"./StatusSwitcher-kWLQCCwS-BcuNtj6J.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,M 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-DKaDr4mu-DxptYFft.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 Ft,B as te,l as W,e as Z,kK as Mt,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 Xt,bp as X,bg as Qt,a6 as Zt,C as h,u as Ue,fF as Jt,kL as ei,g as Q,cu as ti,n as U,t 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,X 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 Xe,q as p}from"./index-C3eIsUEB.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-kWLQCCwS-BcuNtj6J.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)},Qe={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,Qe,Ze,ze],mi=[_e,Le,Qe,Ze,ze],ui=[_e,Le,Qe,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 Mt,M as te,l as W,e as Z,kK as Ft,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=>Xe(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(X,{title:E(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Fi,{isProcessing:g,children:t.jsx(Mi,{})})}):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(X,{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(X,{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 Mt,M as te,l as W,e as Z,kK as Ft,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"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
@@ -206,11 +206,11 @@ 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,b
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Fi=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
|
+
`,Mi=o(Tt)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
@@ -221,7 +221,7 @@ 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,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=>Xe(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]),Fe=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,...Fe,"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(X,{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(Qi,{hasAlertIcon:u!=null,children:[t.jsxs(io,{children:[n!==void 0?t.jsx(Xi,{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(X,{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(X,{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 Mt,M as te,l as W,e as Z,kK as Ft,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"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
236
|
${e=>e.isProcessing?Y`
|
|
@@ -309,7 +309,7 @@ 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,b
|
|
|
309
309
|
justify-content: flex-end;
|
|
310
310
|
`,Yi=o(U)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,
|
|
312
|
+
`,Xi=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 Mt,M as te,l as W,e as Z,kK as Ft,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
|
+
`,Qi=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 Mt,M as te,l as W,e as Z,kK as Ft,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=>Xe(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(X,{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(X,{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 Mt,M as te,l as W,e as Z,kK as Ft,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"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
@@ -547,7 +547,7 @@ 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,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(Fo,{children:`${V.byText} ${f?.firstName} ${f?.lastName}`})]}),t.jsxs(No,{children:[B[1].value+": ",u]}),s.length>1?t.jsx(X,{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(Mo,{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(X,{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 Mt,M as te,l as W,e as Z,kK as Ft,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"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
562
|
${e=>e.isProcessing?Y`
|
|
@@ -630,9 +630,9 @@ 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,b
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${kt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Fo=o(U)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Mo=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 Mt,M as te,l as W,e as Z,kK as Ft,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,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`
|
|
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`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
669
|
`,an=o.form`
|
|
@@ -687,7 +687,7 @@ 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,b
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,mn=o(
|
|
690
|
+
`,mn=o(Qt)`
|
|
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 Mt,M as te,l as W,e as Z,kK as Ft,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"?Q.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: ${Q.important};
|
|
734
734
|
}
|
|
735
735
|
`,$n=o.div`
|
|
736
736
|
display: flex;
|
|
@@ -750,5 +750,5 @@ 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,b
|
|
|
750
750
|
`,Sn=o(N)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
752
|
`,kn=o(se)`
|
|
753
|
-
color: ${
|
|
753
|
+
color: ${Q.important};
|
|
754
754
|
`;export{Rn as default};
|