@zeniai/web-cockpit-ui 1.14.93-qa → 1.14.94-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-Cmt4zlsa-CDZiD7uq.js → ACHDetailsPage--3bIj7tB-3F9dwMR-.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bll3cTy1-b27VXKt9.js → AIPerformancePage-DBCeKLy6-DoFLATw5.js} +1 -1
- package/dist/assets/AccountInfoPage-CITo61GF-CgwHepBH.js +18 -0
- package/dist/assets/{AccountInfoPageContent-9wbA8niq-BQPlrhif.js → AccountInfoPageContent-Zb49sPy6-B7XnQcW_.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CLvVkdLW-DCJDL5e-.js → AccountLockedInfoModal-BcokXO2D-CS3sAEh5.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BXa1TZA0-CAajw4V5.js → AccountReconDetailsDrawerPage-BWydimgX-dIMZ3KX3.js} +3 -3
- package/dist/assets/{AccountRow-Ba39SxP8-BDy0Ghaj.js → AccountRow-XnGMYfcj-CkjY0dM_.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-W5TW8HPU-BTkK4mI8.js → AccountsPromoCardStack-BQeRFxKs-CSqaKnps.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-nEnaGKnm-CAOQViJ5.js → AddAddressForCardDrawer-DOXNDswm-JiOm9hW4.js} +1 -1
- package/dist/assets/{AddToWalletPage-CQYHG0Yj-0jpf7AZf.js → AddToWalletPage-D4yEGRLZ-9f9p7H0-.js} +1 -1
- package/dist/assets/{AgingReportsPage-BWCU11pF-BQ-PtZ_4.js → AgingReportsPage-Bos6Ptg1-u0-8eZRf.js} +3 -3
- package/dist/assets/{AllUserItems-DPxoQeZA-bZH6ly1p.js → AllUserItems-JjQPLLSr-CHIofzkk.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-cslGsO08-DaNljmbC.js → ApAgingDetailPage-Y4VWhY78-OPeQ-zhp.js} +2 -2
- package/dist/assets/{AppBasePage-BZINcjPW-BkU74Qad.js → AppBasePage-CaAadL3t-B5dacIto.js} +1 -1
- package/dist/assets/{AppDrawerContent-V7jCH_90-BcsXCj8u.js → AppDrawerContent-BKsLlcGq-C-I5tgBW.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BC6CLesU-3XYsHbPE.js → ApprovalRulesSettingsPage-sHR8nTbf-CvweKKJv.js} +1 -1
- package/dist/assets/{ArAgingChart-C7VtW0AI-DEMe1eER.js → ArAgingChart-Cn2M7EaL-CioxnnU1.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-Bttq4jQR-CnsZwMCV.js → ArAgingDetailPage-vdpIT5_o-BuX_9MW_.js} +5 -5
- package/dist/assets/{AttachmentView-BijZrB02-D9PbSyO-.js → AttachmentView-QyMOK54a-_Wag7_iK.js} +1 -1
- package/dist/assets/{BankAccountSection-De0m3zrf-BQt18cNm.js → BankAccountSection-BexfgJ02-CJbDgNfM.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DoqOr9h0-DbOY-a-J.js → BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BaySatUW-FG6Z5V4J.js → BankConnectionsSettingsPage-DP9KRNaJ-CmsjOmvw.js} +1 -1
- package/dist/assets/{BillDetailPage-Bg_3myu0-Ce1Egex3.js → BillDetailPage-jNE4rg05-BvKca9U-.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-C8hROA4_-CB0BAa6k.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-BQywFC8e-BuMp1BIY.js +235 -0
- package/dist/assets/{BillPayPromoPage-SUtLQemf-gCiMxmlk.js → BillPayPromoPage-D2OmNki0-COFGRb92.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BbIjaE2K-DSFxL_SK.js → BillPaySetUpPage-C81gx8-a-DAG36bWE.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Bmd6ET1I-DQb7bbNw.js → BillingSettingsPage-CIUisdZK-mQpXJmxB.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CYSMvAbC-BflldkPi.js → BillsBulkReviewDrawerPage-DqjW9AqP-D7YAQNvr.js} +1 -1
- package/dist/assets/{BoxItem-B8HVRhgE-CWOe4vur.js → BoxItem-YBSbdQ7d-D8N3mTZg.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cn1b1hk4-045nVDqZ.js → BusinessVerificationPage-DeJbdegJ-n2Ac3MMR.js} +1 -1
- package/dist/assets/{CardNumberSubText-BcJnpRxI-BBy68c92.js → CardNumberSubText-Bq9G3f38-BaBJQ2OX.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BkIotpWn-Dl5OkwTJ.js → CashbackDetailPage-C-0eaJVF-Bmh2Azca.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-kKKhppzB-DdFxPSZ5.js → ChargeCardDetailPage-CBB5up99-C7PliMpM.js} +21 -21
- package/dist/assets/{ChargeCardListPage-CP778-GK-CbLxjXoj.js → ChargeCardListPage-52TDMfjH-XC6zwUdm.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DBryLHST-WKtHlBqi.js → ChargeCardListTable-BdHKiQtr-BoKeTaBP.js} +11 -11
- package/dist/assets/ChargeCardPromoPage-D43dBHNx-Dmge2_bT.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-m8dUXi38-BoklBBdh.js → ChargeCardSetupPage-CgzI8qMq-8aOP9gWV.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-Dq5NpUXk-DFKaCFU_.js → ChargeCardStatementsPage-C1PYOcuH-DSHTFs6J.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-BJQ2GSoP-B2ngCuBp.js → CheckDepositDrawerPage-CrYCkxKl-DX8fhtud.js} +1 -1
- package/dist/assets/{CollapsableReportTable-l16Ixpgb-DLPmakbL.js → CollapsableReportTable-CvXUxopt-CWXKqXg0.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-mKcrRkb5-CKYOdtvi.js → CompanyOfficerDetailsSection-DYAECWJz-C-5qszuR.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DUwjb7jY-5By1D8Ys.js → CompanyPassportCard-CLoIl-hE-CX-RLpgg.js} +2 -2
- package/dist/assets/{CompanyPassportPage-mQ_Le1I1-DjufVjcH.js → CompanyPassportPage-B3opPlfY-CffcaeWU.js} +13 -13
- package/dist/assets/{CompleteProfile-CesiGAex-CGlxomCD.js → CompleteProfile-DKCP0ZOq-CCpcvdBI.js} +1 -1
- package/dist/assets/{ConfettiBurst-CXF_94LB-BPT2fe0G.js → ConfettiBurst-Ccs36Y8q-BoEyotYe.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMVOhEEP-BYnaIOr4.js → CreateOrEditVendorPage-CC5jroI_-C5qdwHAS.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Cl4vJBjO-jN6hG5nU.js → CreditCardPaymentDrawerPage-BNSfaY2k-4QGMMrZP.js} +1 -1
- package/dist/assets/{CurrencySelectField-CvnrYpdi-2Zo75Egb.js → CurrencySelectField-CfFOlEnM-CfS03uxO.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CmengYgm-BvZ0VfeS.js → CustomerOnboardingActivationPage-Cac_xdpd-DG_j3gPE.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DOZu4r0V-CARfFPsC.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-hF2fjE7f-C4vs0VMm.js → CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js} +6 -6
- package/dist/assets/{CustomerOnboardingNoStepsPage-B-pbVz1_--ihgoaxq.js → CustomerOnboardingNoStepsPage-BVW1Hd-G-CEYYL4XK.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CUj-SOSh-C8piDFOY.js → CustomerOnboardingPage-CSTODxiL-B0YN-L_5.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLJg9lqc-BSOnv8FC.js → CustomerOnboardingProductSuitePage-dcjDfxm3-DmmzRM-K.js} +1 -1
- package/dist/assets/{Dashboard-DUBT_4AU-02rhMcb1.js → Dashboard-DHwjF8AD-euUt_v4D.js} +1 -1
- package/dist/assets/{DashboardReportPage-cTPn6w4q-8aV02WCJ.js → DashboardReportPage-BbFqvGcc-Bm6bvb04.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation--y1-phUW-Bt_H2fey.js → DashboardSidebarBackgroundAnimation-Aepv0x8n-BRMC8BKu.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BJ6rNbQF-VwiYfZOw.js → DepositAccTransactionItem-B6bYU73--Bk-F2M5u.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BXu7yVC4-DHoc-nzx.js → DepositAccTransactionListPage-DdCwnDuw-DoIQ6X_F.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-D5wDMrfR-Dnw1Nv9m.js → DomesticWireDetailsPage-DXlw9Ok--f2WgPebu.js} +1 -1
- package/dist/assets/{DownloadOverlay-BF8Uzj65-DU4IzGTl.js → DownloadOverlay-KKP34aVT-GDmhikON.js} +1 -1
- package/dist/assets/{DrawerPage-4QqiD5ag-CHJx5rEc.js → DrawerPage-DXGL0DM7-Bc-jzyXP.js} +1 -1
- package/dist/assets/{EditPeoplePage-BFROUzlu-DbH6MX1W.js → EditPeoplePage-DWmJ1PpR-B171l_6f.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-Bz32u6U5-ByvxQ-VQ.js → EditReimbursementDetailPage-B_5V1IzS-CpmdAjAk.js} +1 -1
- package/dist/assets/EntityDetailPage-BUzV8V9O-CDFw7Jz4.js +18 -0
- package/dist/assets/{EntitySummarySection-0nKZeBKn-CxDzlgPW.js → EntitySummarySection-CdjupOWB-Bdi92weZ.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dvyn5ovf-Dh_1NuUv.js → ExpenseAutomationOverviewPage-Bx47Uuzu-r5x-Txwb.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DPmIOATd-H9uO6DCm.js → ExpenseAutomationPage-aVCW740N-y9h0gDFl.js} +1 -1
- package/dist/assets/{ExpressPayPage-DGTh3qGM-hx60EgHF.js → ExpressPayPage-xIDJP3---15Mg_KmG.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CHUVkqak--PnBOI8w.js → FeaturePreviewPage-BeGkbhpj-XrVvhthA.js} +1 -1
- package/dist/assets/{FollowStepsSection-C_pWSlPc-CNxhobiG.js → FollowStepsSection-9Bp032CO-BrD2qQBR.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BjPOnObQ-BoVAoUv0.js → GlobalReviewListPage-BKgbn5KU-DMdX8GV6.js} +1 -1
- package/dist/assets/{InformationCardStack-DvFu-gjh-BSt4ac6w.js → InformationCardStack-DR09Frl5-og6T9hD3.js} +6 -6
- package/dist/assets/{InsightsCardStack-CR3wSnhE-CeoxR_4s.js → InsightsCardStack-Bs9n7ddB-B2Kwtl5L.js} +5 -5
- package/dist/assets/{InsightsSection-DCFjudcA-ZH-CYvlE.js → InsightsSection-Bt4Z2mKl-xYOXRNGL.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-DpPc99qg-DfOzY_vz.js → IntegrationsSettingsPage-Ce3RYvgj-Bxed6b4a.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-xXEk6Ubv-CcZYQF-w.js → InternationalWireSwiftDetailsPage-Dl6FL0Lc-BaPHN9iA.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-uh0GqYQA-DPUb5rUD.js → InternationalWireVerificationPage-MYSltOya-BZ90_Q4i.js} +5 -5
- package/dist/assets/{InviteFormPage-5xqk5ISe-LF5dwR2M.js → InviteFormPage-C0ezbQfC-ClPGWuNA.js} +1 -1
- package/dist/assets/{InvitePageListView-CpmTnQLj-t_m815b9.js → InvitePageListView-SMhlCNKA-B22x1b9R.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BeCWfFpI-qVy_wkS4.js → InvitePeoplePage-Dna0gg0J-kTwq0Am9.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BvaKEakI-By_ZVvOJ.js → InvoiceUploadSection-QGU5U32X-Bt28YEXu.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bomvo_PH-DPoESmHo.js → IssueChargeCardPage-jai5Nd4c-BHDpP46s.js} +1 -1
- package/dist/assets/{LabeledAddressValue-b4zlBP-g-DhADQjsR.js → LabeledAddressValue-cvWoRExB-DOimN9ER.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DpcuqwLy-Cmfk083A.js → LabeledAddressValueField-BewnvHGP-Cy17-5a4.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BTjbeJMZ-Cg7yDZmx.js → LabeledControlledCheckBoxField-DFKeD5HK-jfbQYMID.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-D_oWjB4_-Bia0PLfa.js → LabeledCreatableSingleSelectField-nc8iZ1C1-CV4i9q1e.js} +1 -1
- package/dist/assets/{LabeledDocumentField-dtnakMLl-jYpuR46_.js → LabeledDocumentField-DmRNRSkb-CDplxK9C.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DDtxGo1u-VTNlZkCL.js → LabeledDropDownFormattedTextField-BP1jmZf7-D3OI0FNX.js} +1 -1
- package/dist/assets/{LabeledText-CUs3VIof-Cvm8EKo3.js → LabeledText-CIupsEGL-vKnChPk0.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-q3jCk6Er.js → LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-DnFoIROQ.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DYkmOsOP-BPuWz2hY.js → LabeledZeniRolesDropDownField-CDmiz3py-JlLIrijY.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbP6jfzn-fKg3yGaJ.js → LinkJETransactionPage-BtUXXguK-BX6h2lWE.js} +1 -1
- package/dist/assets/{LockCardPage-CWEZyzEM-BSGmLwo3.js → LockCardPage-TzEwLGD1-Cmclt9pm.js} +1 -1
- package/dist/assets/{LowBalancePopup-BQ9JPBTS-CsnR6U3v.js → LowBalancePopup-BWD6Kz-D-JhqQW5Xo.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CZQ8tUTD-Da6izWW_.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DHZY9sKi-DpYSqAI_.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BJtMjz1M-Dw8wDVtb.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DU1RM5NI-ChKPq-l1.js → MagicLinkSuccessPage-DQAUDzEV-D_oG7NAX.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-RWEjrx8m-C9NF9igZ.js → MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.js} +1 -1
- package/dist/assets/MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js +21 -0
- package/dist/assets/{Menu-BTZYMOTT-Dr0t7odP.js → Menu-B05IRjpP-oB6ZIzEi.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DufaL9n8-DDos_p1w.js → MyBankConnectionsSettingsPage-D2a7LgLg-CVhBWNpq.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DwCUyRec-DFxL-ZIz.js → MyPendingActivationChargeCardListPage-pDexjhqy-DP1wPJrc.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-geduKqxy-s7eWbMFw.js → MyProfileSettingsPage-CRkrD2Bn-FBlqtq-o.js} +2 -2
- package/dist/assets/{NavBarWithPicker-edkm8kW--BSVNjduX.js → NavBarWithPicker-9HjZDzt5-FKds7wXE.js} +1 -1
- package/dist/assets/{NavigationArrow-DAOz2wst-tG8IGOKf.js → NavigationArrow-CgBj8o4H-BlFGUhy1.js} +1 -1
- package/dist/assets/{NavigationDots-Dm8SYcdL--7WpuL09.js → NavigationDots-BcSXYcwF-cwaSYMDv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-enaZFSVb-DInVAo0j.js → NewGlobalMerchantPage-Dv9JrWDT-BA8nAIgM.js} +1 -1
- package/dist/assets/{NoDataChart-BIcLmdso-CfY1R0LV.js → NoDataChart-tkUQHi-b-C5CjlXPt.js} +1 -1
- package/dist/assets/{NoDataTable-C9ywvwy4--OJw2Ozq.js → NoDataTable-DHZ1gQeV-DFGtLWam.js} +1 -1
- package/dist/assets/{NotFoundPage-B0Pfc4vD-D1bPY-GY.js → NotFoundPage-D59UVi8i-5MNYbcKK.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-Di4KhoPI-BvChH4Ms.js → NotificationSettingsPage-xVOogGxf-BuNP_ADs.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CHb7phwi-D6AWL70s.js → NotificationsListConfig-CkDLXlK_-Dyu4QQzt.js} +1 -1
- package/dist/assets/{NotificationsPage-B4KMZZ0V-hcFdhwJL.js → NotificationsPage-C8zx5kJx-Dl-4CqVn.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CAxLWg7x-CtZ9giOs.js → OpExByVendorPage-BaUEnLMo-DqlhH9_M.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-CimFomY0.js → OverlayContainerPage-Daz3A7cI-CjSleqHo.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Dx56-ypM-DK1GJPJa.js → PandLWithForecastPage-BKWEOfwP-voM5FybB.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C8QwChEK-BLjfO0Lx.js → PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js} +1 -1
- package/dist/assets/{PeoplePage-CjD6uKA--BHaPhKgZ.js → PeoplePage-ChBsx1YC-C_Fl1jcc.js} +1 -1
- package/dist/assets/Preview-DWEhp9iP.js +1 -0
- package/dist/assets/{ProductsCarousel-DzOaqLVq-DpOWg2CM.js → ProductsCarousel-CaOQupY4-Bxf4CH6R.js} +1 -1
- package/dist/assets/{PromoBaseCards-B1h9AEH0-CHuvtaI2.js → PromoBaseCards-DeJ4J5Lp-BRCdntYT.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Bv6unk3C-C4_jlkWG.js → QBOConnectionDialog--nz5v12t-BznyDbQp.js} +1 -1
- package/dist/assets/{QBOSetupSection-BTjj7g98-Dapfrzs_.js → QBOSetupSection-DQTH1dAT--WL2Dx1Z.js} +1 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BottOscg-CAHU3Hml.js +24 -0
- package/dist/assets/ReimbursementApprovalRulesPage-B46nrYDg-DD0XiWBs.js +237 -0
- package/dist/assets/{ReimbursementDetailPage-DnXsG55s-Dtagyh2_.js → ReimbursementDetailPage-DvSn2LUG-B9MjjUuK.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Di39wgvD-BxNUKJJW.js → ReimbursementPromoPage-DRItpn0n-DjtSA1Xj.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CT5bs4wM-ByTF7QY9.js → ReimbursementSetUpPage-CRnE1XYI-C2_UvSyd.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BcB8hTar-BMbnui6b.js → ReimbursementsBulkReviewDrawerPage-C6Cn3AOg-WyMbQmuf.js} +1 -1
- package/dist/assets/{ReloadCard-BGPtXAV7-XTkROFfl.js → ReloadCard-CRQf0INS-CM9HcBcK.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-gEKTiiSk-yAHt6AaJ.js → ReportTableViewSelector-Dj9qmDS0-C79_BFmS.js} +4 -4
- package/dist/assets/{ReportsPage-Ctvnzlk1-9xU8MY_m.js → ReportsPage-BJmkDtu3-BHlyDsBo.js} +5 -5
- package/dist/assets/{RevenueChart-D1PfVLk0-1BQEFyGm.js → RevenueChart-LvTct9qg-CqMmRuwP.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-Ynw6pln--CN0sJcfC.js → ReviewDetailsPage-CDWKsdgl-_lQ4M5E9.js} +52 -52
- package/dist/assets/{ReviewOverlay-DQZwNpFY-BpRxW5CE.js → ReviewOverlay-Bh8LAnRM-CyjKd25e.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DbQ4ezrP-CEMERHZy.js → RoleWithToolTip-BHHwWcYs-BR4B_g9G.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlqQBt-s-BtvHlj3c.js → ScheduleDetailsFixedAssetsPage-C_nki9xG-C_v2_vCQ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CrVetPy7-12CzluPZ.js → ScheduleDetailsPage-BXmAqbuh-Gg4bs2eh.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-B7pQ00z8-B7tyn4Md.js → ScheduleSequenceTable-BePVgFIB-BxJLrQ2I.js} +1 -1
- package/dist/assets/{ScreenRoutes-d0ZspmbS.js → ScreenRoutes-xhTHWLYi.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BAsI7p1f-BQKv5JAR.js → SetUpAccountSection-B1mXaFmw-BQBAmCi3.js} +1 -1
- package/dist/assets/{SignIn-CE6gxhI3-Cwe0hMEG.js → SignIn-B8qL3jmy-CehNtVNp.js} +1 -1
- package/dist/assets/SignInScreen-Cp3MQQbP.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D-XwxN9o-C4dAHfpb.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CF7D2umh-zU9LbhKc.js +754 -0
- package/dist/assets/{SpendManagementSection-rHLuZG8_-wlUP3HQF.js → SpendManagementSection-CIqYxYxX-BVCp77Yh.js} +1 -1
- package/dist/assets/StatementItem-Cj9_LMwP-iOXv6bUO.js +31 -0
- package/dist/assets/{StatementsPage-5oimgNHp-Cik2GNOK.js → StatementsPage-CB8LocUZ-e2Dh9l46.js} +1 -1
- package/dist/assets/{StatusSwitcher-CLCkXs_4-BLM4_oql.js → StatusSwitcher-DetjWSRH-Q0yUcFVR.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DDR7LrDO-B46o4hWR.js → SubTabSwitcher-DNqrmpKa-CF4L1Kwg.js} +1 -1
- package/dist/assets/{SummaryCard-Cg5UVud3-D024tZI0.js → SummaryCard-CxlxmBvk-B-SyMhB-.js} +1 -1
- package/dist/assets/{TaskManagementPage-6_zt2ePp-DjEWnpm8.js → TaskManagementPage-zHTW1LJ--Dqvt7j5c.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-BTx3d66N-wus2PWOy.js → TimeRangeSwitcher-8D64-X4u-DSKeQDPn.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BkGiMDhd-OU0F34Ma.js → TimeframeSwitcher-YicRGCkf-D-mysr-q.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-M554ai9V-CRoAjStF.js → TimeframeSwitcherWithToggle-mP6ezXyM-B9RCQQMF.js} +3 -3
- package/dist/assets/{TopExCard-ym2uAvUy-DnigppX5.js → TopExCard-BDEoKFUO-Cqks_MY0.js} +10 -10
- package/dist/assets/{TopExDetailPage-DU1Qj5ea-LRwIFDCO.js → TopExDetailPage-CLUf9sHg-DjgQ-dJN.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BHyBhrM7-BYi-GSuY.js → TransactionDetailPage-C-GKDIp2-oZAwumRI.js} +1 -1
- package/dist/assets/{TransactionList-CIbSavhJ-1mjim1La.js → TransactionList-BqQVYWs_-CYNYQaes.js} +1 -1
- package/dist/assets/{TransactionListBig-kC4b3DAu-BmaMPZxd.js → TransactionListBig-CDgdq8hU-BFzaq7Iz.js} +1 -1
- package/dist/assets/{TransactionListPage-Ci98GcF7-DNyraU_a.js → TransactionListPage-CyGTX1pW-Cj8J8ecy.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DI4kq_vO-B82fS_UE.js → TransactionVendorDetailPage-NKocfHyN-C_fZiZg1.js} +1 -1
- package/dist/assets/{TransferDrawerPage-B342yNDJ-B7sPLTpd.js → TransferDrawerPage-qNh4Fww2-CNaDS1Go.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-cvOuWLTK-B1Ra99a3.js → TreasuryOverviewPage-D1RQYkoX-CQ3CkOfI.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DyseS2l1-w9bsCAsi.js → TreasuryPromoPage-najiDjYG-CYR1JzfB.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-CRR-Df5x-DF9p1Ylz.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DjV36uFi-Bi_ZZ4SJ.js → TreasuryTaxLetterPage-vKXs7eCx-B9A61B43.js} +2 -2
- package/dist/assets/{TrendChart--yie2Xkp-Ctp4-mkm.js → TrendChart-DtubLSsW-C9uVL_nf.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DVLdmgtU-S2aCQzJD.js → TrendWithTransactions-DB5hmoGk-BT0bTVEH.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CRypWMwQ-CD5tyyJq.js → UncategorizedAccountsMappingPage-ldBfy4n9-BSd43gPp.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DU6Luklp-DXGJziz-.js → UnitIntegrationPage-DPHlAm3E-k8T3V2L9.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-jNiTn6qG-CyN0ip8w.js → UploadAdditionalDocumentOverlay-C2kqDNTp-CLCo9ZjN.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BNA3GtkO-DBarOU6y.js → Vendor2FAPopup-_DrX-sZ2-C-ynpNGr.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-ims8AKLH-Ckg60c1E.js +1 -0
- package/dist/assets/{VendorDetailPage-B6s7kOX--uMKcoPFP.js → VendorDetailPage-dh7UBGAL-gseaFndd.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C_28sDKW-Ck0eXnl0.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DiVBfWTv-CUW53e28.js → VendorFiling1099EditablePage-CGEA0mkh-DtfOreYr.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CuM6lK63-Dvp1nLKR.js → VendorFirstReviewPage-BGktoc9W-h6QMXY4Y.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CcTippeu-Cd-dat-9.js → VendorInternationalWireDetailsPage-DidLa6Yx-BHcPntRA.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-YqE835gy-EXKEVzqz.js +1 -0
- package/dist/assets/{VendorsAccountsSection-zeM6PeT4-DbfJJIUQ.js → VendorsAccountsSection-BtjrsclQ-CCbXB7Vr.js} +1 -1
- package/dist/assets/{VerifyDevice-iKowLq-3-B1M5ehkG.js → VerifyDevice-DkibYc6v-B-zCOUZe.js} +7 -7
- package/dist/assets/{VideoPlayer-CN28Ho6V-C9X8iWgG.js → VideoPlayer-C8VeeJIx-Bo3SMitQ.js} +2 -2
- package/dist/assets/{VideoPopup-CfYmxIk4-CtU-zes6.js → VideoPopup-aA7dkXbZ-BQm8xqng.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-C4jqovLJ-BX5GJuEL.js → WarningsDrawerPage-CA0EogPY-DmMnG6Y0.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-M045ginI-BmZ9yaIJ.js → ZeniAccountDetailPage-Z7ZXcJ98-BoMU7_sz.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-C-eOjorO-BI7UOOes.js → ZeniAccountListViewPage-CllLl65J-C_iRgCJw.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Dz9ssqU1-BUAdtMrT.js → ZeniAccountNavBarPieces-CHXbVcQE-vXZ3dsMQ.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BxzNy8wF-B2j7-cEN.js → ZeniAccountPromoPage-DAtyHUfj-BSm4TiYG.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zWKttj2U-Bxni_B2X.js → ZeniAccountSetupPage-Cy6_fMVK-C8cnPKU9.js} +1 -1
- package/dist/assets/{ZeniCopyright-2oeOVh0P-CbjjvS5r.js → ZeniCopyright-D5JfDH77-jPfeHSFD.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BADEO33A-CRBj7Za4.js → ZeniTransferAmountSlider-Bk2gg7DY-CUDntV_F.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CE3qjZuH.js → add-to-wallet-DgdBD8_G-C5IoXTpL.js} +1 -1
- package/dist/assets/{analytics-B5pDs204.js → analytics-aL6KvWIc.js} +1 -1
- package/dist/assets/{analyticsHelper-C2XPB_2A-Cg5vkOR0.js → analyticsHelper-Cnk2OUU2-obG2D2We.js} +1 -1
- package/dist/assets/{analyticsHelper-C5DBFkb8.js → analyticsHelper-KEHx3dOo.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DXn2IDql.js → arrow-south-east-round-PEovUgvH-TX5SKWFw.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B7q3IbIp.js → auto-transfer-rule-mbafm5D3-Bk6z9OTx.js} +1 -1
- package/dist/assets/{chartTypes-PZyiFZrr-BuwhqnUh.js → chartTypes-CMIndIax-BEMOmico.js} +1 -1
- package/dist/assets/{commonDimensions-C_y3LIE8-DaT6d7Mw.js → commonDimensions-DSS8XDHZ-BEyzahKx.js} +1 -1
- package/dist/assets/{constants-sZKYfJG5.js → constants-BPxZQJPZ.js} +1 -1
- package/dist/assets/{core-DcqdNo0H.js → core-DesIUmVX.js} +1 -1
- package/dist/assets/{dash.all.min-DMmskpzZ.js → dash.all.min-C390RKsv.js} +1 -1
- package/dist/assets/{detailCommon-PTd6DPpO-DmTNZyzt.js → detailCommon-DWd4agOz-DxO_ewED.js} +3 -3
- package/dist/assets/{downloadPdf-BdoS2D6l-CiYpnZbY.js → downloadPdf-BCoq8NLc-6NV7wH9_.js} +1 -1
- package/dist/assets/{empty-BxmXnrZk.js → empty-SFYuBxta.js} +1 -1
- package/dist/assets/{empty-DnkbAo83.js → empty-VSZPEYlm.js} +1 -1
- package/dist/assets/{epic-Bx59pZdn.js → epic-BVf_osK2.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-B3o5Zg1h.js → gift-box-Cmt9OgIZ-TIfg-5OQ.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--3ATT7Qt.js → graphic-no-data-l-DU4J8fDt-DuzN_8KG.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XpHCs2R-.js → graphic-no-data-net-burn-l-CzmycA0m-DXtlpj6J.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-jt5_DBPg.js → handshake-BPg58FML-CsRg4PlR.js} +1 -1
- package/dist/assets/{index-D6Zob7EU.js → index-9kMzLkcy.js} +1 -1
- package/dist/assets/{index-B5d0r7Yf.js → index-BoDHThmj.js} +561 -561
- package/dist/assets/{index-BVPSEWzG.js → index-C68_2S6E.js} +1 -1
- package/dist/assets/{index-DT-1tkPQ.js → index-CznijgRQ.js} +1 -1
- package/dist/assets/{index-BlQ_Oyyj.js → index-DUHbU2Cn.js} +1 -1
- package/dist/assets/{index-CwVOVIdt.js → index-Do2Bw3DR.js} +1 -1
- package/dist/assets/{index-C1nDAmoC.js → index-Ibs5bNMX.js} +1 -1
- package/dist/assets/{lexical-zpRxoSKS.js → lexical-WHFPYU-_.js} +1 -1
- package/dist/assets/{liveblocks-4VX4OJFQ.js → liveblocks-2fUZ-mzS.js} +1 -1
- package/dist/assets/{lottie-C2a9Y5yd.js → lottie-BC5QDLx3.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-Dgkep7PZ-BYp3zSrW.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-BoSMxCv6.js → mapSectionWithAcOnlyToTreeNode-DF-WWO6U-CTOVPeIK.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CumKhTYV-Dl2RLlwx.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BttFKWAb-HZT5Q3k5.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BooGIyls-RwkDj_oc.js → mapTimeframeBalancesToTreeNode-CBfPdKyR-CzUv0SrG.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N-D82Zhv2q.js +1 -0
- package/dist/assets/{mui-CKwEUYbh.js → mui-DjUnBv6N.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BxOlrbPR.js → page-detail-CWX5S47F-BzMdmGGr.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-D7ndbp4a.js → radio-default-CiSgisfh-BaxkJ2IH.js} +1 -1
- package/dist/assets/{react-BuYDTl9N.js → react-C_7-vb8x.js} +1 -1
- package/dist/assets/{react-DlvMMjCe.js → react-ClWHGkrF.js} +2 -2
- package/dist/assets/{react-DJnrjIDe.js → react-D27rdI1k.js} +1 -1
- package/dist/assets/{react-mJ1u5MvS.js → react-DJeKvZ9o.js} +3 -3
- package/dist/assets/{react-BHUEll3W.js → react-Duprtjy6.js} +2 -2
- package/dist/assets/{react-CJu1cymU.js → react-alWVovel.js} +2 -2
- package/dist/assets/{react-C5e0T-7Y.js → react-pGoAOdu_.js} +1 -1
- package/dist/assets/{react-CO6rLI-o.js → react-rAAguZrV.js} +2 -2
- package/dist/assets/{recharts-BlDkob1i.js → recharts-CFBD4y8X.js} +1 -1
- package/dist/assets/{sentry-DzQhN3No.js → sentry-CAa_RBiQ.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-DTDJsrO9.js → shield-DOlUxcFf-DL1rYkPV.js} +1 -1
- package/dist/assets/toCOABalancesWithID-v28KjzUb-BufPkuG3.js +1 -0
- package/dist/assets/{toChartData-BUhYY9IR-DiW5_axO.js → toChartData-DuH-6FTe-D-qs3n2e.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-BUqW8t.js → transaction-placeholder-CpOwZAMG-CmGAjmF0.js} +1 -1
- package/dist/assets/{uploadAttachment-D-Lomshq-C_Ew8v0M.js → uploadAttachment-BkoEZkOd-bK4cqD66.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-Bg2U2LcG.js → uploadReceipts-CPw64UYa-UaFIqgAV.js} +1 -1
- package/dist/assets/{url-Wb1ccSRL.js → url-qjSvksOH.js} +1 -1
- package/dist/assets/{url-B9MZZX7S.js → url-sgt9CiMb.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BSW8jE0L.js → useLongPress-GCK2COYQ-BKjrZB1N.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-k25tt47-.js → usp-line-BBd1wKwW-DAbeFX6P.js} +1 -1
- package/dist/assets/{utils-CKnuWyyl.js → utils-MCudDogO.js} +1 -1
- package/dist/assets/{zeni-epic-state-CYBJ9Ksh.js → zeni-epic-state-BO46e_7F.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D2IedGAy-Cz5TLln_.js +0 -18
- package/dist/assets/BillPayApprovalRuleDetailPage-B7z1PKq6-Cf5yYldh.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-Cj55NkSk-CraBsE0m.js +0 -241
- package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-DSdm9hEo.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-B0bStTtk.js +0 -1
- package/dist/assets/EntityDetailPage-BnG_PBK5-Nxflpy3T.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-9gzlzqz1.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-lB6fkCG4.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B5csZV5I.js +0 -1
- package/dist/assets/MailingDetailsSection-BT3SGHhD-B74c5iH6.js +0 -21
- package/dist/assets/Preview-Dvnsp7t1.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CHXo51lU-DKyJaU9a.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-D7utb8vM-CyER6oRv.js +0 -243
- package/dist/assets/SignInScreen-eVmQ-DfD.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CURCimXb-CBLs-Eck.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-RY3B-92H-0Q1oDPVt.js +0 -785
- package/dist/assets/StatementItem-DcPGZchp-CSlg6IgE.js +0 -31
- package/dist/assets/TreasuryStatementsPage-rXMNPd2f-DPIn1ORC.js +0 -58
- package/dist/assets/VendorACHDetailsPage-B9UpKcN3-C3lYJogA.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DapV1CxI.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-BBNitL_n.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-9Yp9R5Je.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DqR98mLo-DOVy7yts.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-CyM2WyTo.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-DIijgkB1.js +0 -1
- package/dist/assets/toCOABalancesWithID-CPbzhUua-BBMB5d-t.js +0 -1
|
@@ -1,785 +0,0 @@
|
|
|
1
|
-
import{a8 as Gt,cB as Zt,q as Z,kR as Qt,V as t,ab as Ht,cm as Xt,cn as Jt,co as Yt,aO as ei,o as i,F as te,ca as ti,cj as rt,g1 as ii,b1 as oi,cq as ni,iL as li,iM as ri,m as si,bQ as Y,d as Le,bL as ai,aQ as di,y as p,g2 as ci,kS as pi,p as G,cV as mi,al as W,ak as F,ag as se,bB as ui,bO as ft,b as ze,aM as ee,aG as xe,iU as $t,iV as vt,kT as hi,f5 as gi,kU as bi,kV as St,kW as kt,k1 as yi,kX as xi,kY as wi,c,iT as Tt,cv as Pt,cy as Ct,av as Xe,gD as Je,a7 as Ye,ge as et,cO as jt,kZ as _t,k_ as De,aK as Ie,k$ as tt,l0 as Bt,l1 as E,l2 as zt,gq as Lt,cT as Dt,dr as it}from"./index-B5d0r7Yf.js";import{a as P,S as It}from"./sentry-DzQhN3No.js";import{n as o,c as X}from"./mui-CKwEUYbh.js";import{Gp as ke,G5 as Te,FB as Ae,bp as At}from"./zeni-epic-state-CYBJ9Ksh.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-CLCkXs_4-BLM4_oql.js";import{d as Rt}from"./useLongPress-GCK2COYQ-BSW8jE0L.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="55d10650-3c51-4947-bcf5-4f8cb56244fd",e._sentryDebugIdIdentifier="sentry-dbid-55d10650-3c51-4947-bcf5-4f8cb56244fd")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=Z(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Di,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Ii,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=It.memo(ji),st=o(se)`
|
|
2
|
-
width: 100%;
|
|
3
|
-
top: ${i.sp0};
|
|
4
|
-
left: ${i.sp0};
|
|
5
|
-
min-height: ${e=>ge.headerHeight.valuePx(e.windowSize)};
|
|
6
|
-
max-height: ${e=>ge.headerHeight.valuePx(e.windowSize)};
|
|
7
|
-
z-index: 2;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
padding: ${e=>`${ge.headerLastColumnTopPadding.valuePx(e.windowSize)} ${ge.headerLastColumnRightPadding.valuePx(e.windowSize)} ${ge.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${ge.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
12
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
13
|
-
justify-content: ${e=>e.windowSize==="small"?"space-between":"unset"};
|
|
14
|
-
position: sticky;
|
|
15
|
-
`,_i=o.div`
|
|
16
|
-
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
17
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
18
|
-
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
19
|
-
padding-left: ${e=>e.companyNameSticky?i.sp4:i.sp0};
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: 5px;
|
|
23
|
-
left: ${i.sp0};
|
|
24
|
-
justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
|
|
25
|
-
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
26
|
-
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
`,Bi=o(Ct)`
|
|
29
|
-
width: 12px;
|
|
30
|
-
height: 12px;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
color: ${e=>e.theme.colors.hero};
|
|
33
|
-
`,at=o.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
37
|
-
${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
|
|
38
|
-
`,dt=o(Pt)`
|
|
39
|
-
width: 12px;
|
|
40
|
-
height: 12px;
|
|
41
|
-
cursor: pointer;
|
|
42
|
-
color: inherit;
|
|
43
|
-
`,zi=o.div`
|
|
44
|
-
gap: ${i.sp1};
|
|
45
|
-
display: flex;
|
|
46
|
-
`,Li=o(Tt)`
|
|
47
|
-
width: 12px;
|
|
48
|
-
height: 12px;
|
|
49
|
-
color: inherit;
|
|
50
|
-
`,Di=o.div`
|
|
51
|
-
margin-right: ${i.sp1};
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
`,Ii=o.div`
|
|
55
|
-
display: ${e=>e.isVisible?"flex":"none"};
|
|
56
|
-
align-items: center;
|
|
57
|
-
padding-top: 2px;
|
|
58
|
-
`,Ai=o.div`
|
|
59
|
-
display: flex;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
gap: 5px;
|
|
62
|
-
&:hover {
|
|
63
|
-
color: ${e=>e.theme.colors.primary};
|
|
64
|
-
}
|
|
65
|
-
`,Ri=o.div`
|
|
66
|
-
display: flex;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
gap: 5px;
|
|
69
|
-
&:hover {
|
|
70
|
-
color: ${e=>e.theme.colors.primary};
|
|
71
|
-
}
|
|
72
|
-
`,Ei=e=>{switch(e){case"draft":return xe(be);case"pending_approval":return xe(Ti);case"scheduled":return xe(Pi);case"paid":return xe(Ci)}},ye={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8]),webkitLineClamp:new p(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:Ge,space:fe}}}=te.getLocalizedStrings(),Fi=({transactionDetail:e,tagStatus:n,reportTitleAdditionalInfo:a,isSelected:r,isBillPayCommentingEnabled:d,isProcessing:m,lowBalanceAlert:b,approvers:y,deletionAdditionalInfo:w,paidAdditionalInfo:$,showLowBalanceTooltip:x,onTransactionRowClick:h})=>{const u=Z(),l=Xe(),s=Je(),v=Ye().analytics,f=`dashboard_${l.currentTenant?.companyId}`,{threads:B,isLoading:g}=et({application:"dashboard",companyId:l.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),C=P.useMemo(()=>B.filter(O=>O.resolved===!1),[B]),T=O=>{O.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:f,companyId:l.currentTenant?.companyId??Ge,companyName:l.currentTenant?.companyName??Ge,entityType:"bill.details",entityId:e.id}),v.trackCommentActivity("bill","clicked",l.currentTenant?.companyName??Ge,l.controllersList.controllers.map(R=>it(R)),void 0,void 0,"comment on field")},k=P.useCallback(()=>{h(e.id)},[e.id]),L=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):De(y),U=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,A=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Mi,{windowSize:u,statusCode:n?.code??"",isSelected:r,isProcessing:m,children:[t.jsx(Ni,{onClick:k,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Oi,{children:[t.jsxs(Vi,{windowSize:u,responsiveWidth:be[0].width,children:[t.jsxs(Ki,{children:[t.jsx(Wi,{windowSize:u,children:U}),e.isRecurring?t.jsx(Y,{title:A(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Xi,{isProcessing:m,children:t.jsx(Ji,{})})}):null]}),t.jsx(qi,{children:`${a[0].label} ${a[0].value}`})]}),t.jsx(ct,{windowSize:u,responsiveWidth:be[1].width,children:a[1].value}),t.jsx(ct,{windowSize:u,responsiveWidth:be[2].width,children:a[2].value}),t.jsxs(Hi,{windowSize:u,responsiveWidth:be[3].width,children:[t.jsxs(Qi,{children:[n!==void 0?t.jsx(Gi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(Zi,{children:le.hyphenText}),x===!0&&b!=null&&b.length>0?t.jsx(Y,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Yi,{})}):null]}),y!==void 0&&L.length>0?L.length>1?t.jsx(Y,{style:{padding:"2px 5px"},title:`${le.byText}${fe}${L.join(`${fe}${le.orText}${fe}`)}`,placement:"bottom-start",children:t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}${le.dots}`})}):t.jsx(Pe,{children:`${le.byText}${fe}${L[0]}`}):null,w!=null?t.jsx(Pe,{children:w}):null,$!=null?t.jsx(Pe,{children:$}):null]}),t.jsx(Ui,{windowSize:u,responsiveWidth:be[4].width,children:Ie("0,0[.]00",e.totalAmountInUSD)})]})}),d&&C.length>0?t.jsx(tt,{isLoading:g,count:C.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:T}):null]})},Mi=o.div`
|
|
73
|
-
display: flex;
|
|
74
|
-
margin-bottom: ${i.sp3};
|
|
75
|
-
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
76
|
-
padding-left: ${e=>ye.containerPaddingLeft.valuePx(e.windowSize)};
|
|
77
|
-
padding-right: ${e=>ye.containerPaddingRight.valuePx(e.windowSize)};
|
|
78
|
-
padding-top: ${e=>ye.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
|
-
padding-bottom: ${e=>ye.containerPaddingBottom.valuePx(e.windowSize)};
|
|
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"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.dropShadowNormalLight}`};
|
|
82
|
-
border-radius: ${i.sp2};
|
|
83
|
-
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
|
-
|
|
85
|
-
${e=>e.isProcessing?X`
|
|
86
|
-
color: ${e.theme.colors.grey2};
|
|
87
|
-
border-color: ${e.theme.colors.grey2};
|
|
88
|
-
div {
|
|
89
|
-
:not(.statusTag) {
|
|
90
|
-
color: ${e.theme.colors.grey2};
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
.statusTag {
|
|
94
|
-
color: ${e.theme.colors.grey2};
|
|
95
|
-
border-color: ${e.theme.colors.grey2};
|
|
96
|
-
}
|
|
97
|
-
`:e.isSelected?X`
|
|
98
|
-
color: ${e.theme.colors.primary};
|
|
99
|
-
border-color: ${e.theme.colors.primary};
|
|
100
|
-
div {
|
|
101
|
-
:not(.statusTag) {
|
|
102
|
-
color: ${e.theme.colors.primary};
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.statusTag {
|
|
106
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
107
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
108
|
-
}
|
|
109
|
-
`:X`
|
|
110
|
-
&:hover {
|
|
111
|
-
color: ${e.theme.colors.primary};
|
|
112
|
-
border-color: ${e.theme.colors.primary};
|
|
113
|
-
div {
|
|
114
|
-
:not(.statusTag) {
|
|
115
|
-
color: ${e.theme.colors.primary};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
.statusTag {
|
|
119
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
120
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
`}
|
|
124
|
-
margin-right: ${e=>ye.containerMarginLeft.valuePx(e.windowSize)};
|
|
125
|
-
margin-left: ${i.sp0};
|
|
126
|
-
box-sizing: border-box;
|
|
127
|
-
align-items: center;
|
|
128
|
-
`,Ni=o.div`
|
|
129
|
-
display: block;
|
|
130
|
-
width: 100%;
|
|
131
|
-
`,Oi=o.div`
|
|
132
|
-
display: flex;
|
|
133
|
-
width: 100%;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
height: 42px;
|
|
136
|
-
`,Vi=o.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
column-gap: 12px;
|
|
140
|
-
align-items: flex-start;
|
|
141
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
142
|
-
`,Ki=o.div`
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: row;
|
|
145
|
-
gap: ${i.sp1};
|
|
146
|
-
align-items: center;
|
|
147
|
-
margin-right: ${i.sp3};
|
|
148
|
-
color: ${e=>e.theme.colors.hero};
|
|
149
|
-
`,Wi=o(F)`
|
|
150
|
-
flex-grow: 1;
|
|
151
|
-
word-break: break-word;
|
|
152
|
-
display: -webkit-box;
|
|
153
|
-
-webkit-line-clamp: ${e=>ye.webkitLineClamp.value(e.windowSize)};
|
|
154
|
-
-webkit-box-orient: vertical;
|
|
155
|
-
overflow: hidden;
|
|
156
|
-
text-overflow: ellipsis;
|
|
157
|
-
max-width: ${e=>e.windowSize==="small"?"200px":"initial"};
|
|
158
|
-
`,Ui=o(F)`
|
|
159
|
-
display: flex;
|
|
160
|
-
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
161
|
-
color: ${e=>e.theme.colors.hero};
|
|
162
|
-
justify-content: flex-end;
|
|
163
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,qi=o.div`
|
|
165
|
-
color: ${e=>e.theme.colors.grey1};
|
|
166
|
-
overflow: hidden;
|
|
167
|
-
text-overflow: ellipsis;
|
|
168
|
-
width: 90%;
|
|
169
|
-
white-space: nowrap;
|
|
170
|
-
`,Gi=o(W)`
|
|
171
|
-
display: flex;
|
|
172
|
-
color: ${e=>e.color};
|
|
173
|
-
height: 20px;
|
|
174
|
-
align-items: center;
|
|
175
|
-
justify-content: flex-end;
|
|
176
|
-
padding: ${i.sp0} 6px;
|
|
177
|
-
max-width: calc(100%);
|
|
178
|
-
text-overflow: ellipsis;
|
|
179
|
-
overflow: hidden;
|
|
180
|
-
white-space: nowrap;
|
|
181
|
-
display: inline-block;
|
|
182
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
|
-
border-radius: ${i.sp1};
|
|
184
|
-
`,Zi=o(F)``,ct=o(F)`
|
|
185
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
186
|
-
color: ${e=>e.theme.colors.hero};
|
|
187
|
-
box-sizing: border-box;
|
|
188
|
-
display: flex;
|
|
189
|
-
align-items: center;
|
|
190
|
-
`,Qi=o.div`
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: row;
|
|
193
|
-
align-items: center;
|
|
194
|
-
gap: ${i.sp2};
|
|
195
|
-
`,Hi=o.div`
|
|
196
|
-
position: relative;
|
|
197
|
-
top: 2px;
|
|
198
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
199
|
-
color: ${e=>e.theme.colors.hero};
|
|
200
|
-
box-sizing: border-box;
|
|
201
|
-
display: flex;
|
|
202
|
-
flex-direction: column;
|
|
203
|
-
align-items: flex-start;
|
|
204
|
-
justify-content: center;
|
|
205
|
-
`,Pe=o(W)`
|
|
206
|
-
position: relative;
|
|
207
|
-
top: 1px;
|
|
208
|
-
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,Xi=o.div`
|
|
210
|
-
display: flex;
|
|
211
|
-
align-items: center;
|
|
212
|
-
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
213
|
-
`,Ji=o(Lt)`
|
|
214
|
-
width: 12px;
|
|
215
|
-
height: 12px;
|
|
216
|
-
color: inherit;
|
|
217
|
-
`,Yi=o(Dt)`
|
|
218
|
-
width: ${i.sp3};
|
|
219
|
-
height: ${i.sp3};
|
|
220
|
-
color: ${e=>e.theme.colors.hero};
|
|
221
|
-
:hover {
|
|
222
|
-
color: ${e=>e.theme.colors.primary};
|
|
223
|
-
}
|
|
224
|
-
`,ce={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:re}},common:{strings:{empty:Ze,space:$e}}}=te.getLocalizedStrings(),eo=({transactionDetail:e,tagStatus:n,isProcessing:a,isSelected:r,isBillPayCommentingEnabled:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,lowBalanceAlert:$,approvers:x,deletionAdditionalInfo:h,paidAdditionalInfo:u,showLowBalanceTooltip:l,onTransactionRowClick:s})=>{const v=Z(),f=Xe(),B=Je(),g=Ye().analytics,C=`dashboard_${f.currentTenant?.companyId}`,{threads:T,isLoading:k}=et({application:"dashboard",companyId:f.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),L=P.useMemo(()=>T.filter(V=>V.resolved===!1),[T]),U=V=>{V.stopPropagation(),B?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:C,companyId:f.currentTenant?.companyId??Ze,companyName:f.currentTenant?.companyName??Ze,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ze,f.controllersList.controllers.map(Ue=>it(Ue)),void 0,void 0,"comment on field")},{getValues:A,setValue:O}=jt(),R=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):De(x),j=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:re.newBillTitle,ie=()=>`${re.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,oe=A(m),Q=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!r&&O(m,[...oe,e.id])},[m,b,r,O,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=P.useCallback(()=>{Q()},[Q]),Ke=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?Q():s(e.id)},[Q,y,s,e.id]),We=Rt({onLongPress:de},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(to,{windowSize:v,statusCode:n?.code??"",isSelected:r,isProcessing:a,children:[t.jsx(io,{onClick:Ke,...We,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(oo,{children:[t.jsxs(mo,{children:[t.jsxs(no,{children:[t.jsxs(lo,{children:[t.jsx(ro,{windowSize:v,children:j}),e.isRecurring?t.jsx(Y,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ho,{isProcessing:a,children:t.jsx(go,{})})}):null]}),t.jsx(ao,{children:`${w[0].label} ${w[0].value}`})]}),t.jsx(pt,{children:`${w[1].label} ${w[1].value}`}),t.jsx(pt,{children:`${w[2].label} ${w[2].value}`})]}),t.jsxs(uo,{children:[t.jsx(so,{children:Ie("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(po,{hasAlertIcon:$!=null,children:[t.jsxs(bo,{children:[n!==void 0?t.jsx(co,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??re.hyphenText}):t.jsx(t.Fragment,{children:re.hyphenText}),l===!0&&$!=null&&$.length>0?t.jsx(xo,{onClick:V=>V.stopPropagation(),children:t.jsx(Y,{title:$,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(yo,{})})}):null]}),x!==void 0&&R.length>0?R.length>1?t.jsx(Y,{title:`${re.byText}${$e}${R.join(`${$e}${re.orText}${$e}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}${re.dots}`})}):t.jsx(Ce,{children:`${re.byText}${$e}${R[0]}`}):null,h!=null?t.jsx(Ce,{children:h}):null,u!=null?t.jsx(Ce,{children:u}):null]})]})]})}),d&&L.length>0?t.jsx(tt,{isLoading:k,count:L.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:U}):null]})},to=o.div`
|
|
225
|
-
display: flex;
|
|
226
|
-
margin-bottom: ${i.sp3};
|
|
227
|
-
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
228
|
-
padding-left: ${e=>ce.containerPaddingLeft.valuePx(e.windowSize)};
|
|
229
|
-
padding-right: ${e=>ce.containerPaddingRight.valuePx(e.windowSize)};
|
|
230
|
-
padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
|
-
padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
|
|
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"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.dropShadowNormalLight}`};
|
|
234
|
-
border-radius: ${i.sp2};
|
|
235
|
-
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?X`
|
|
237
|
-
color: ${e.theme.colors.grey2};
|
|
238
|
-
border-color: ${e.theme.colors.grey2};
|
|
239
|
-
div {
|
|
240
|
-
:not(.statusTag) {
|
|
241
|
-
color: ${e.theme.colors.grey2};
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
.statusTag {
|
|
245
|
-
color: ${e.theme.colors.grey2};
|
|
246
|
-
border-color: ${e.theme.colors.grey2};
|
|
247
|
-
}
|
|
248
|
-
`:e.isSelected?X`
|
|
249
|
-
color: ${e.theme.colors.primary};
|
|
250
|
-
border-color: ${e.theme.colors.primary};
|
|
251
|
-
div {
|
|
252
|
-
:not(.statusTag) {
|
|
253
|
-
color: ${e.theme.colors.primary};
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
.statusTag {
|
|
257
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
258
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
259
|
-
}
|
|
260
|
-
`:X`
|
|
261
|
-
&:hover {
|
|
262
|
-
color: ${e.theme.colors.primary};
|
|
263
|
-
border-color: ${e.theme.colors.primary};
|
|
264
|
-
div {
|
|
265
|
-
:not(.statusTag) {
|
|
266
|
-
color: ${e.theme.colors.primary};
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
.statusTag {
|
|
270
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
271
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
`}
|
|
275
|
-
margin-right: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
276
|
-
margin-left: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
277
|
-
`,io=o.div`
|
|
278
|
-
display: block;
|
|
279
|
-
width: 100%;
|
|
280
|
-
`,oo=o.div`
|
|
281
|
-
display: flex;
|
|
282
|
-
width: 100%;
|
|
283
|
-
justify-content: space-between;
|
|
284
|
-
`,no=o.div`
|
|
285
|
-
display: flex;
|
|
286
|
-
flex-direction: column;
|
|
287
|
-
column-gap: 12px;
|
|
288
|
-
align-items: flex-start;
|
|
289
|
-
`,lo=o.div`
|
|
290
|
-
display: flex;
|
|
291
|
-
flex-direction: row;
|
|
292
|
-
gap: ${i.sp1};
|
|
293
|
-
align-items: center;
|
|
294
|
-
margin-right: ${i.sp3};
|
|
295
|
-
color: ${e=>e.theme.colors.hero};
|
|
296
|
-
`,ro=o(F)`
|
|
297
|
-
color: ${e=>e.theme.colors.hero};
|
|
298
|
-
flex-grow: 1;
|
|
299
|
-
word-break: break-word;
|
|
300
|
-
display: -webkit-box;
|
|
301
|
-
-webkit-line-clamp: ${e=>ce.webkitLineClamp.value(e.windowSize)};
|
|
302
|
-
-webkit-box-orient: vertical;
|
|
303
|
-
overflow: hidden;
|
|
304
|
-
text-overflow: ellipsis;
|
|
305
|
-
max-width: ${e=>e.windowSize==="small"?`${zt}px`:"initial"};
|
|
306
|
-
`,so=o(F)`
|
|
307
|
-
display: flex;
|
|
308
|
-
color: ${e=>e.theme.colors.hero};
|
|
309
|
-
justify-content: flex-end;
|
|
310
|
-
`,ao=o(W)`
|
|
311
|
-
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,co=o(W)`
|
|
313
|
-
color: ${e=>e.color};
|
|
314
|
-
height: 20px;
|
|
315
|
-
align-items: center;
|
|
316
|
-
justify-content: flex-end;
|
|
317
|
-
padding: ${i.sp0} 6px;
|
|
318
|
-
max-width: calc(100%);
|
|
319
|
-
text-overflow: ellipsis;
|
|
320
|
-
overflow: hidden;
|
|
321
|
-
white-space: nowrap;
|
|
322
|
-
display: inline-flex;
|
|
323
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
324
|
-
border-radius: ${i.sp1};
|
|
325
|
-
`,pt=o(W)`
|
|
326
|
-
color: ${e=>e.theme.colors.grey1};
|
|
327
|
-
box-sizing: border-box;
|
|
328
|
-
display: flex;
|
|
329
|
-
align-items: center;
|
|
330
|
-
`,po=o.div`
|
|
331
|
-
color: ${e=>e.theme.colors.hero};
|
|
332
|
-
box-sizing: border-box;
|
|
333
|
-
display: flex;
|
|
334
|
-
flex-direction: column;
|
|
335
|
-
align-items: ${e=>e.hasAlertIcon?"flex-start":"flex-end"};
|
|
336
|
-
justify-content: center;
|
|
337
|
-
`,Ce=o(W)`
|
|
338
|
-
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,mo=o.div`
|
|
340
|
-
display: flex;
|
|
341
|
-
flex-direction: column;
|
|
342
|
-
`,uo=o.div`
|
|
343
|
-
display: flex;
|
|
344
|
-
flex-direction: column;
|
|
345
|
-
`,ho=o.div`
|
|
346
|
-
display: flex;
|
|
347
|
-
align-items: center;
|
|
348
|
-
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
349
|
-
`,go=o(Lt)`
|
|
350
|
-
width: 12px;
|
|
351
|
-
height: 12px;
|
|
352
|
-
color: inherit;
|
|
353
|
-
`,bo=o.div`
|
|
354
|
-
display: flex;
|
|
355
|
-
flex-direction: row;
|
|
356
|
-
gap: ${i.sp2};
|
|
357
|
-
`,yo=o(Dt)`
|
|
358
|
-
width: ${i.sp3};
|
|
359
|
-
height: ${i.sp3};
|
|
360
|
-
color: ${e=>e.theme.colors.hero};
|
|
361
|
-
:hover {
|
|
362
|
-
color: ${e=>e.theme.colors.primary};
|
|
363
|
-
}
|
|
364
|
-
`,xo=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:ae.name,sortOrder:"ascending",width:new p(30,30)},Ne={key:"type",value:ae.type,sortOrder:"ascending",width:new p(20,20)},Oe={key:"status",value:ae.status,sortOrder:"ascending",width:new p(20,20)},Ve={key:"amount",value:ae.amount,sortOrder:"ascending",width:new p(10,10)},pe=[Me,{key:"submittedOn",value:ae.created,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],wo=[Me,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],fo=[Me,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],$o=[Me,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new p(20,20)},Ne,Oe,Ve],Ft={draft:pe,pending_approval:wo,scheduled:fo,paid:$o},je={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[3],c[4])};function vo({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r,analytics:d}){const m=Z(),b=Le(),[y,w]=P.useState(xe(Ft[n]));P.useEffect(()=>{const s=[...y];for(const v of s)v.key===r.sortKey?v.sortOrder=r.sortOrder:v.sortOrder="ascending";w(s)},[r.sortKey,r.sortOrder]);const $=(s,v)=>{let f=v;r.sortKey===s&&(f=v==="ascending"?"descending":"ascending"),d?.trackReimbursementListSort(s,f),a?.(s,f)},x=y.find(s=>s.key===r.sortKey)??y[0],h=s=>y.find(v=>v.key===s)?.value??"",u=y.map(s=>s.key),l=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return m==="small"?t.jsxs(mt,{height:$t,windowSize:m,children:[t.jsx(ko,{children:t.jsx(To,{})}),t.jsx(ft,{title:l.sortBy,placeholder:l.sortBy,pickerValues:u,valueToLabel:h,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:b.colors.primary,selectedOptionColor:b.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(_o,{onClick:()=>$(x.key,x.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(se,{children:x.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:x,children:t.jsx(ht,{})})]})]}):t.jsx(mt,{height:vt,windowSize:m,children:y.map(s=>t.jsxs(So,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:m,children:[t.jsxs(jo,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(se,{children:s.value}),t.jsx(ut,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(ht,{})})]}),t.jsx(Co,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===s.key&&s.key!=="submittedOn",children:t.jsx(Po,{onClick:()=>$("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},s.key))})}const Mt=It.memo(vo),mt=o(se)`
|
|
365
|
-
width: 100%;
|
|
366
|
-
top: 0;
|
|
367
|
-
left: 0;
|
|
368
|
-
min-height: ${e=>e.height}px;
|
|
369
|
-
max-height: ${e=>e.height}px;
|
|
370
|
-
z-index: 2;
|
|
371
|
-
display: flex;
|
|
372
|
-
align-items: center;
|
|
373
|
-
box-sizing: border-box;
|
|
374
|
-
padding: ${e=>`${je.headerLastColumnTopPadding.valuePx(e.windowSize)} ${je.headerLastColumnRightPadding.valuePx(e.windowSize)} ${je.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${je.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
375
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
376
|
-
position: sticky;
|
|
377
|
-
`,So=o.div`
|
|
378
|
-
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
379
|
-
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
380
|
-
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
381
|
-
padding-left: ${e=>e.companyNameSticky?i.sp4:i.sp0};
|
|
382
|
-
display: flex;
|
|
383
|
-
align-items: center;
|
|
384
|
-
gap: 5px;
|
|
385
|
-
left: ${i.sp0};
|
|
386
|
-
justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
|
|
387
|
-
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
388
|
-
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
389
|
-
box-sizing: border-box;
|
|
390
|
-
`,ko=o.div`
|
|
391
|
-
margin-right: ${i.sp1};
|
|
392
|
-
display: flex;
|
|
393
|
-
align-items: center;
|
|
394
|
-
`,To=o(Tt)`
|
|
395
|
-
width: 12px;
|
|
396
|
-
height: 12px;
|
|
397
|
-
color: inherit;
|
|
398
|
-
`,Po=o(Ct)`
|
|
399
|
-
width: 12px;
|
|
400
|
-
height: 12px;
|
|
401
|
-
cursor: pointer;
|
|
402
|
-
color: ${e=>e.theme.colors.hero};
|
|
403
|
-
`,ut=o.div`
|
|
404
|
-
display: flex;
|
|
405
|
-
align-items: center;
|
|
406
|
-
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
407
|
-
${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
|
|
408
|
-
`,ht=o(Pt)`
|
|
409
|
-
width: 12px;
|
|
410
|
-
height: 12px;
|
|
411
|
-
cursor: pointer;
|
|
412
|
-
color: inherit;
|
|
413
|
-
`,Co=o.div`
|
|
414
|
-
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
|
-
align-items: center;
|
|
416
|
-
padding-top: 2px;
|
|
417
|
-
`,jo=o.div`
|
|
418
|
-
display: flex;
|
|
419
|
-
cursor: pointer;
|
|
420
|
-
gap: 5px;
|
|
421
|
-
&:hover {
|
|
422
|
-
color: ${e=>e.theme.colors.primary};
|
|
423
|
-
}
|
|
424
|
-
`,_o=o.div`
|
|
425
|
-
display: flex;
|
|
426
|
-
cursor: pointer;
|
|
427
|
-
gap: 5px;
|
|
428
|
-
&:hover {
|
|
429
|
-
color: ${e=>e.theme.colors.primary};
|
|
430
|
-
}
|
|
431
|
-
margin-left: auto;
|
|
432
|
-
`,ve={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],12),containerPaddingBottom:new p(c[2],12),containerMarginLeft:new p(c[4],c[8])},H=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Bo=({reimbursementDetail:e,tagStatus:n,isProcessing:a,isSelected:r,reportTitleAdditionalInfo:d,date:m,approvers:b,deletionAdditionalInfo:y,isReimbursementCommentingEnabled:w,onTransactionRowClick:$})=>{const x=Z(),h=Xe(),u=P.useRef(null),[l,s]=P.useState(0);P.useLayoutEffect(()=>{u.current&&s(u.current.offsetWidth*Bt)},[x]);const v=Ye().analytics,f=Je(),B=`dashboard_${h.currentTenant?.companyId}`,g=()=>{$(e.id)},C=e.reimbursementTypesIncluded,T=De(b),k=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:U}=et({application:"dashboard",companyId:h.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),A=P.useMemo(()=>L.filter(R=>R.resolved===!1),[L]),O=R=>{R.stopPropagation(),f?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:B,companyId:h.currentTenant?.companyId??k,companyName:h.currentTenant?.companyName??k,entityType:"reimbursement.details",entityId:e.id??k}),v.trackCommentActivity("reimbursement","clicked",h.currentTenant?.companyName??k,h.controllersList.controllers.map(j=>it(j)),void 0,void 0,"comment on field")};return t.jsxs(zo,{windowSize:x,onClick:g,isProcessing:a,isSelected:r,statusCode:n?.code??k,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(Lo,{children:t.jsxs(Do,{children:[t.jsxs(Io,{windowSize:x,responsiveWidth:pe[0].width,ref:u,children:[t.jsx(Ao,{windowSize:x,reportNameWidth:l,children:e.reportTitle??H.newReimbursementTitle}),d!=null&&t.jsx(Ro,{children:`${H.byText} ${d?.firstName} ${d?.lastName}`})]}),t.jsx(Fo,{windowSize:x,responsiveWidth:pe[1].width,children:m}),C.length>1?t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:t.jsx(Y,{title:H.reimbursementType.both,placement:"bottom-start",display:"flex",children:H.reimbursementType.titleForBoth})}):t.jsx(gt,{windowSize:x,responsiveWidth:pe[2].width,children:H.reimbursementType[C[0]]}),t.jsxs(No,{windowSize:x,responsiveWidth:pe[3].width,children:[n!==void 0?t.jsx(Oo,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??H.hyphenText}):t.jsx(Mo,{children:H.hyphenText}),b!==void 0&&T.length>0?T.length>1?t.jsx(Y,{title:`${H.byText} `+T.join(` ${H.orText} `),placement:"bottom-start",children:t.jsx(Qe,{children:`${H.byText} `+T[0]+`${H.dots}`})}):t.jsx(Qe,{children:`${H.byText} `+T[0]}):null,y!=null?t.jsx(Qe,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:Ie("0,0[.]00",e.amount)})]})}),w&&A.length>0?t.jsx(tt,{isLoading:U,count:A.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:O}):null]})},zo=o.div`
|
|
433
|
-
display: flex;
|
|
434
|
-
margin-bottom: ${i.sp3};
|
|
435
|
-
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
436
|
-
padding-left: ${e=>ve.containerPaddingLeft.valuePx(e.windowSize)};
|
|
437
|
-
padding-right: ${e=>ve.containerPaddingRight.valuePx(e.windowSize)};
|
|
438
|
-
padding-top: ${e=>ve.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
|
-
padding-bottom: ${e=>ve.containerPaddingBottom.valuePx(e.windowSize)};
|
|
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"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.boxShadowElevation}`};
|
|
442
|
-
border-radius: ${i.sp2};
|
|
443
|
-
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
|
-
|
|
445
|
-
${e=>e.isProcessing?X`
|
|
446
|
-
color: ${e.theme.colors.grey2};
|
|
447
|
-
border-color: ${e.theme.colors.grey2};
|
|
448
|
-
div {
|
|
449
|
-
:not(.statusTag) {
|
|
450
|
-
color: ${e.theme.colors.grey2};
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
.statusTag {
|
|
454
|
-
color: ${e.theme.colors.grey2};
|
|
455
|
-
border-color: ${e.theme.colors.grey2};
|
|
456
|
-
}
|
|
457
|
-
`:e.isSelected?X`
|
|
458
|
-
color: ${e.theme.colors.primary};
|
|
459
|
-
border-color: ${e.theme.colors.primary};
|
|
460
|
-
div {
|
|
461
|
-
:not(.statusTag) {
|
|
462
|
-
color: ${e.theme.colors.primary};
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
.statusTag {
|
|
466
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
467
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
468
|
-
}
|
|
469
|
-
`:X`
|
|
470
|
-
&:hover {
|
|
471
|
-
color: ${e.theme.colors.primary};
|
|
472
|
-
border-color: ${e.theme.colors.primary};
|
|
473
|
-
div {
|
|
474
|
-
:not(.statusTag) {
|
|
475
|
-
color: ${e.theme.colors.primary};
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
.statusTag {
|
|
479
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
480
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
`}
|
|
484
|
-
|
|
485
|
-
margin-right: ${e=>ve.containerMarginLeft.valuePx(e.windowSize)};
|
|
486
|
-
margin-left: ${i.sp0};
|
|
487
|
-
`,Lo=o.div`
|
|
488
|
-
display: flex;
|
|
489
|
-
width: 100%;
|
|
490
|
-
`,Do=o.div`
|
|
491
|
-
display: flex;
|
|
492
|
-
width: 100%;
|
|
493
|
-
height: 42px;
|
|
494
|
-
`,Io=o.div`
|
|
495
|
-
display: flex;
|
|
496
|
-
flex-direction: column;
|
|
497
|
-
justify-content: center;
|
|
498
|
-
column-gap: 12px;
|
|
499
|
-
align-items: flex-start;
|
|
500
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
501
|
-
`,Ao=o(F)`
|
|
502
|
-
color: ${e=>e.theme.colors.hero};
|
|
503
|
-
align-items: center;
|
|
504
|
-
white-space: nowrap;
|
|
505
|
-
overflow: hidden;
|
|
506
|
-
text-overflow: ellipsis;
|
|
507
|
-
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${Bt*100}%`};
|
|
508
|
-
`,Ro=o(se)`
|
|
509
|
-
color: ${e=>e.theme.colors.grey1};
|
|
510
|
-
`,Eo=o(F)`
|
|
511
|
-
display: flex;
|
|
512
|
-
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
513
|
-
color: ${e=>e.theme.colors.hero};
|
|
514
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
515
|
-
justify-content: flex-end;
|
|
516
|
-
`,Fo=o(F)`
|
|
517
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
518
|
-
color: ${e=>e.theme.colors.hero};
|
|
519
|
-
box-sizing: border-box;
|
|
520
|
-
display: flex;
|
|
521
|
-
align-items: center;
|
|
522
|
-
`,Mo=o(F)``,gt=o(F)`
|
|
523
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
524
|
-
color: ${e=>e.theme.colors.hero};
|
|
525
|
-
box-sizing: border-box;
|
|
526
|
-
display: flex;
|
|
527
|
-
align-items: center;
|
|
528
|
-
`,No=o(F)`
|
|
529
|
-
position: relative;
|
|
530
|
-
top: 2px;
|
|
531
|
-
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
532
|
-
color: ${e=>e.theme.colors.hero};
|
|
533
|
-
box-sizing: border-box;
|
|
534
|
-
display: flex;
|
|
535
|
-
flex-direction: column;
|
|
536
|
-
align-items: flex-start;
|
|
537
|
-
justify-content: center;
|
|
538
|
-
`,Qe=o(W)`
|
|
539
|
-
position: relative;
|
|
540
|
-
top: 1px;
|
|
541
|
-
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,Oo=o(W)`
|
|
543
|
-
display: flex;
|
|
544
|
-
color: ${e=>e.color};
|
|
545
|
-
align-items: center;
|
|
546
|
-
justify-content: flex-end;
|
|
547
|
-
padding: 1px 6px 1px 6px;
|
|
548
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
|
-
border-radius: ${i.sp1};
|
|
550
|
-
`,me={containerPaddingLeft:new p(c[3],c[4]),containerPaddingRight:new p(c[3],c[4]),containerPaddingTop:new p(c[2],c[3]),containerPaddingBottom:new p(c[2],c[3]),containerMarginLeft:new p(c[3],c[8]),webkitLineClamp:new p(2,2,1,1,1)},K=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Vo=({reimbursementDetail:e,tagStatus:n,currentTab:a,isProcessing:r,isSelected:d,bulkSelectFormId:m,isBulkSelectionLimitReached:b,isSelectionMode:y,reportTitleAdditionalInfo:w,date:$,approvers:x,deletionAdditionalInfo:h,onTransactionRowClick:u})=>{const l=Z(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=De(x),g=xe(Ft[a]),C=s(m),T=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!d&&v(m,[...C,e.id])},[m,b,d,v,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,C]),k=P.useCallback(()=>{T()},[T]),L=P.useCallback(A=>{A.stopPropagation(),A.cancelable&&A.preventDefault(),y?T():u(e.id)},[T,y,u,e.id]),U=Rt({onLongPress:k},{shouldPreventDefault:!1,delay:1e3});return t.jsx(Ko,{windowSize:l,statusCode:n?.code??"",isProcessing:r,isSelected:d,children:t.jsx(Wo,{onClick:L,...U,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Uo,{children:[t.jsxs(qo,{children:[t.jsxs(Zo,{children:[t.jsx(Qo,{windowSize:l,children:e.reportTitle??K.newReimbursementTitle}),w!=null&&t.jsx(Ho,{children:`${K.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Jo,{children:[g[1].value+": ",$]}),f.length>1?t.jsx(Y,{title:K.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType.titleForBoth]})}):t.jsxs(bt,{children:[K.reimbursementType.type+": ",K.reimbursementType[f[0]]]})]}),t.jsxs(Go,{children:[t.jsx(Xo,{children:Ie("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[n!==void 0?t.jsx(en,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??K.hyphenText}):t.jsx(t.Fragment,{children:K.hyphenText}),x!==void 0&&B.length>0?B.length>1?t.jsx(Y,{title:`${K.byText} `+B.join(` ${K.orText} `),placement:"bottom-start",children:t.jsx(He,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]+`${K.dots}`})}):t.jsx(He,{style:{marginLeft:"auto"},children:`${K.byText} `+B[0]}):null,h!=null?t.jsx(He,{children:h}):null]})]})]})})})},Ko=o.div`
|
|
551
|
-
display: flex;
|
|
552
|
-
margin-bottom: ${i.sp3};
|
|
553
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
554
|
-
padding-left: ${e=>me.containerPaddingLeft.valuePx(e.windowSize)};
|
|
555
|
-
padding-right: ${e=>me.containerPaddingRight.valuePx(e.windowSize)};
|
|
556
|
-
padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
|
-
padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
|
|
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"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.boxShadowElevation}`};
|
|
560
|
-
border-radius: ${i.sp2};
|
|
561
|
-
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?X`
|
|
563
|
-
color: ${e.theme.colors.grey2};
|
|
564
|
-
border-color: ${e.theme.colors.grey2};
|
|
565
|
-
div {
|
|
566
|
-
:not(.statusTag) {
|
|
567
|
-
color: ${e.theme.colors.grey2};
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
.statusTag {
|
|
571
|
-
color: ${e.theme.colors.grey2};
|
|
572
|
-
border-color: ${e.theme.colors.grey2};
|
|
573
|
-
}
|
|
574
|
-
`:e.isSelected?X`
|
|
575
|
-
color: ${e.theme.colors.primary};
|
|
576
|
-
border-color: ${e.theme.colors.primary};
|
|
577
|
-
div {
|
|
578
|
-
:not(.statusTag) {
|
|
579
|
-
color: ${e.theme.colors.primary};
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
.statusTag {
|
|
583
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
584
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
585
|
-
}
|
|
586
|
-
`:X`
|
|
587
|
-
&:hover {
|
|
588
|
-
color: ${e.theme.colors.primary};
|
|
589
|
-
border-color: ${e.theme.colors.primary};
|
|
590
|
-
div {
|
|
591
|
-
:not(.statusTag) {
|
|
592
|
-
color: ${e.theme.colors.primary};
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
.statusTag {
|
|
596
|
-
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
597
|
-
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
`}
|
|
601
|
-
|
|
602
|
-
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
|
-
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,Wo=o.div`
|
|
605
|
-
display: flex;
|
|
606
|
-
width: 100%;
|
|
607
|
-
`,Uo=o.div`
|
|
608
|
-
display: flex;
|
|
609
|
-
width: 100%;
|
|
610
|
-
justify-content: space-between;
|
|
611
|
-
`,qo=o.div`
|
|
612
|
-
display: flex;
|
|
613
|
-
flex-direction: column;
|
|
614
|
-
`,Go=o.div`
|
|
615
|
-
display: flex;
|
|
616
|
-
flex-direction: column;
|
|
617
|
-
text-align: right;
|
|
618
|
-
`,Zo=o.div`
|
|
619
|
-
display: flex;
|
|
620
|
-
flex-direction: column;
|
|
621
|
-
column-gap: 12px;
|
|
622
|
-
align-items: flex-start;
|
|
623
|
-
`,Qo=o(F)`
|
|
624
|
-
color: ${e=>e.theme.colors.hero};
|
|
625
|
-
flex-grow: 1;
|
|
626
|
-
word-break: break-word;
|
|
627
|
-
display: -webkit-box;
|
|
628
|
-
-webkit-line-clamp: ${e=>me.webkitLineClamp.value(e.windowSize)};
|
|
629
|
-
-webkit-box-orient: vertical;
|
|
630
|
-
overflow: hidden;
|
|
631
|
-
text-overflow: ellipsis;
|
|
632
|
-
max-width: ${e=>e.windowSize==="small"?`${zt}px`:"initial"};
|
|
633
|
-
`,Ho=o(W)`
|
|
634
|
-
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,Xo=o(F)`
|
|
636
|
-
display: flex;
|
|
637
|
-
margin-left: auto;
|
|
638
|
-
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,Jo=o(W)`
|
|
640
|
-
color: ${e=>e.theme.colors.grey1};
|
|
641
|
-
box-sizing: border-box;
|
|
642
|
-
display: flex;
|
|
643
|
-
align-items: center;
|
|
644
|
-
`,bt=o(W)`
|
|
645
|
-
color: ${e=>e.theme.colors.grey1};
|
|
646
|
-
box-sizing: border-box;
|
|
647
|
-
display: flex;
|
|
648
|
-
align-items: center;
|
|
649
|
-
`,Yo=o.div`
|
|
650
|
-
color: ${e=>e.theme.colors.hero};
|
|
651
|
-
box-sizing: border-box;
|
|
652
|
-
display: flex;
|
|
653
|
-
flex-direction: column;
|
|
654
|
-
`,He=o(W)`
|
|
655
|
-
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,en=o(W)`
|
|
657
|
-
display: flex;
|
|
658
|
-
color: ${e=>e.color};
|
|
659
|
-
height: 20px;
|
|
660
|
-
align-items: center;
|
|
661
|
-
justify-content: flex-end;
|
|
662
|
-
padding: 1px 6px 1px 6px;
|
|
663
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
|
-
border-radius: ${i.sp1};
|
|
665
|
-
margin-left: auto;
|
|
666
|
-
`,Be=40,tn=2,on=[new p(c[5],22),new p(20,20),new p(20,20),new p(18,18),new p(10,12)],nn=e=>on.map(n=>Number.parseFloat(n.valuePercentage(e))),ln=e=>{const n=Math.max(e.length-1,1),a=e.reduce((d,m)=>d+m,0),r=Math.max(100-a,0);return Math.min(tn,r/n)};function rn({backgroundColor:e,foregroundColor:n,uniqueKey:a,animated:r=!0,height:d=Be,width:m="100%",windowSize:b}){const y=Z(),w=nn(b??y),$=ln(w);let x=0;return t.jsx(ui,{speed:1,width:m,height:d,viewBox:`0 0 100 ${Be}`,animate:r!=!1,backgroundColor:e,foregroundColor:n,uniqueKey:a,preserveAspectRatio:"none",children:w.map((h,u)=>{const l=u===0,s=x;return x+=h+(u<w.length-1?$:0),t.jsx("rect",{x:s,y:l?0:8,rx:"4",ry:"4",width:h,height:l?Be:24},u)})})}const sn=3,_e={paddingLeft:new p(c[3],c[4]),paddingRight:new p(c[3],c[4]),paddingTop:new p(c[2],12),paddingBottom:new p(c[2],12)},an=o.div`
|
|
667
|
-
height: 100%;
|
|
668
|
-
width: 100%;
|
|
669
|
-
display: flex;
|
|
670
|
-
flex-direction: column;
|
|
671
|
-
padding-top: ${i.sp3};
|
|
672
|
-
overflow-x: hidden;
|
|
673
|
-
`,dn=o.div`
|
|
674
|
-
width: ${e=>e.windowSize==="small"?"100%":`calc(100% - ${i.sp7})`};
|
|
675
|
-
flex-shrink: 0;
|
|
676
|
-
margin-bottom: ${i.sp3};
|
|
677
|
-
margin-left: ${e=>e.windowSize==="small"?i.sp0:i.sp4};
|
|
678
|
-
padding-left: ${e=>_e.paddingLeft.valuePx(e.windowSize)};
|
|
679
|
-
padding-right: ${e=>_e.paddingRight.valuePx(e.windowSize)};
|
|
680
|
-
padding-top: ${e=>_e.paddingTop.valuePx(e.windowSize)};
|
|
681
|
-
padding-bottom: ${e=>_e.paddingBottom.valuePx(e.windowSize)};
|
|
682
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
683
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
684
|
-
border-radius: ${i.sp2};
|
|
685
|
-
box-sizing: border-box;
|
|
686
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${G.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${G.dropShadowNormalLight}`};
|
|
687
|
-
`,cn=o.div`
|
|
688
|
-
width: 100%;
|
|
689
|
-
flex-shrink: 0;
|
|
690
|
-
padding-bottom: ${i.sp3};
|
|
691
|
-
`,pn=o(F)`
|
|
692
|
-
color: ${e=>e.theme.colors.hero};
|
|
693
|
-
display: flex;
|
|
694
|
-
justify-content: center;
|
|
695
|
-
margin-top: ${i.sp5};
|
|
696
|
-
padding-bottom: ${i.sp3};
|
|
697
|
-
`;function yt({header:e,updatingMessage:n}){const a=Le(),r=Z(),d=a.colors.background,m=a.colors.grey3;return t.jsxs(an,{windowSize:r,children:[e!=null?t.jsx(cn,{children:e}):null,Array.from({length:sn},(b,y)=>t.jsx(dn,{windowSize:r,children:t.jsx(rn,{backgroundColor:d,foregroundColor:m,animated:!0,uniqueKey:`spend-management-row-loader-${y}`,width:"100%",height:Be})},y)),n!=null?t.jsx(pn,{windowSize:r,children:n}):null]})}const mn={lastListItemHeight:new p(200,158)},S=te.getLocalizedStrings(),{common:{texts:{maxLimit:un}},spendManagement:{billPay:Nt,reimbursement:hn}}=S,q=Nt.bulkActions,N=hn.bulkActions,M=S.common.strings.empty,ue="bulkSelectIds",gn=({transactionList:e,botEmail:n,selectedTab:a,selectedSubTab:r,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isListeningToPusherEventForBillPayApprovalRules:b,isListeningToPusherEventForReimbursementApprovalRules:y,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,searchText:x,isAdmin:h,entity:u,uiState:l,bulkSubmissionLimit:s,isBulkActionAllowed:v,transactionsSelectedForBulkAction:f,isDetectInsufficientFundsEnabled:B,fetchState:g,analytics:C,onTransactionRowClick:T,onReloadTransactions:k,onColumnSortConfigChanged:L})=>{const U=Z(),A=j=>{const ie=u==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??M:e[j].reportTitle??M;return pi(ie,U)},O=P.useRef(null);P.useEffect(()=>{O.current?.resetAfterIndex(0)},[U,O,a,r]);const R=P.forwardRef((j,ie)=>{const{children:oe,style:Q,...de}=j;return t.jsx(Mn,{ref:ie,style:{...Q,width:"auto"},...de,children:t.jsx(Fn,{children:oe})})});return R.displayName=S.spendManagement.billPay.billsByTabs.headerElementDisplayName,ti({componentName:`${$i(u)}.${vi(a,u)}`,enabled:g==="Completed"}),t.jsx(_n,{children:u==="bill_pay"&&b===!0?t.jsx(yt,{header:t.jsx(Et,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","bills")}):u==="reimbursement"&&y===!0?t.jsx(yt,{header:t.jsx(Mt,{companyNameSticky:!1,currentTab:a,onColumnSortConfigChanged:L,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),updatingMessage:S.commonSetUp.approval.updatingApprovalRules.replace("__entity__","reimbursements")}):g==="Error"?t.jsxs(Ln,{children:[t.jsx(Dn,{onClick:k,children:t.jsx(In,{})}),t.jsx(An,{children:S.peoplePage.reloadPage.label})]}):g==="Completed"&&e.length===0&&x!=M?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataWithFilterText:S.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):g==="Completed"&&e.length===0?t.jsx(rt,{message:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataText:S.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:u==="bill_pay"?S.spendManagement.billPay.billsByTabs.noDataTextViaMail:S.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:u==="bill_pay"?void 0:S.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:n}):g==="Not-Started"||g==="In-Progress"?t.jsx(ii,{fetchState:g,styles:{margin:"auto"}}):t.jsx(Rn,{windowSize:U,children:t.jsx(oi,{children:({height:j,width:ie})=>t.jsx(ni,{ref:O,height:j,itemCount:u==="bill_pay"||u==="reimbursement"?1:e.length,innerElementType:R,itemSize:A,estimatedItemSize:ri,itemKey:oe=>e[oe].id,width:ie,overscanCount:li,itemData:{entity:u,isBulkActionAllowed:v,isShowDeletedBillsEnabled:d,isShowDeletedReimbursementEnabled:m,isBillPayCommentingEnabled:w,isReimbursementCommentingEnabled:$,transactionList:e,isAdmin:h,selectedTab:a,transactionsSelectedForBulkAction:f,bulkSubmissionLimit:s,uiState:l,analytics:C,isDetectInsufficientFundsEnabled:B,onTransactionRowClick:T,onColumnSortConfigChanged:L},initialScrollOffset:0,children:bn})})})})},rl=({transactionList:e,botEmail:n,allSubTabs:a,isAdmin:r,selectedTab:d,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,selectedSubTab:h,searchText:u,entity:l,uiState:s,bulkSubmissionLimit:v,isBulkActionAllowed:f,isRecurringBillInBulkActionList:B,transactionsSelectedForBulkAction:g,allowedBulkActions:C,bulkSubmissionFetchState:T,isDetectInsufficientFundsEnabled:k,onTransactionRowClick:L,onSubtabChange:U,fetchState:A,onReloadTransactions:O,onColumnSortConfigChanged:R,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:Q})=>{const de=Gt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});P.useEffect(()=>{const z=de.watch((D,{name:_})=>{_!=null&&D!=null&&Zt(()=>Ke(_,D))});return()=>{z.unsubscribe()}});const Ke=async(z,D)=>{if(z===ue){let _=[];if(D[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const I of e)if(I.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(I.id),_.length===v)break}else _=D[ue].filter(I=>I!==S.common.all.toLowerCase());if(l==="bill_pay"){const I=e.filter(we=>_.includes(we.id)),ne=ke(I);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const I=e.filter(we=>_.includes(we.id)),ne=Te(I.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=D[ue];ie?.(_)}},We=()=>{C.includes("cancel")?Wt():qt()},V=Z(),[Ue,Se]=P.useState(!1),[J,qe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const z=Qt(d,h,l);A==="Completed"&&z!=null&&j?.trackPageLoaded(z,l==="bill_pay"?"Bills":"Reimbursements")},[j,d,h,l,A]);const Vt=z=>{U(z)},Kt=P.useCallback(()=>{const{title:z,description:D}=Cn(l,g.length,d,B);if(qe({type:"delete",title:z,description:D,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),I=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,I)}else{const _=e.filter(ne=>g.includes(ne.id)),I=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,I)}Se(!0)},[l,j,B,h,d,e,g]),Wt=P.useCallback(()=>{const{title:z,description:D}=Pn(l,g.length);qe({type:"cancel",title:z,description:D,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),Se(!0)},[l,g.length]),Ut={onOkClick:z=>{if(Se(!1),l==="bill_pay"){const D=e.filter(I=>g.includes(I.id)),_=ke(D);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const D=e.filter(I=>g.includes(I.id)),_=Te(D.map(I=>I.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(J.type,d,h,_)}J.type==="delete"?Q?.("delete",z):Q?.("cancel",z)},onCancelClick:()=>{oe?.(),Se(!1),qe({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M})}},qt=P.useCallback(()=>{if(l==="bill_pay"){const z=e.filter(_=>g.includes(_.id)),D=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,D)}else{const z=e.filter(_=>g.includes(_.id)),D=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,D)}C.includes("send_for_approval")?Q?.("send_for_approval"):Q?.(k?"approve":"review")},[l,C,e,j,g,d,h,Q,k]),lt=C.filter(z=>z!=="delete").length>0;return t.jsxs(zn,{children:[t.jsx(fi,{tabIds:a,selectedTab:h,hasSubTabs:a.length>0,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:Vt,isSwitcherLeftAlign:!0}),t.jsx(Ht,{...de,children:t.jsxs(Bn,{onSubmit:de.handleSubmit(We),children:[t.jsx(gn,{botEmail:n,selectedTab:d,selectedSubTab:h,searchText:u,transactionList:e,fetchState:A,onReloadTransactions:O,onTransactionRowClick:L,entity:l,uiState:s,isAdmin:r,onColumnSortConfigChanged:R,analytics:j,isShowDeletedBillsEnabled:m,isShowDeletedReimbursementEnabled:b,isListeningToPusherEventForBillPayApprovalRules:y,isListeningToPusherEventForReimbursementApprovalRules:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:v,isBulkActionAllowed:f,transactionsSelectedForBulkAction:g,isDetectInsufficientFundsEnabled:k}),Ue?t.jsx(Xt,{titleComponent:t.jsx(Yt,{children:J.title}),descriptionComponent:t.jsx(Jt,{children:J.description}),primaryButtonText:J.primaryButtonText,proceedButtonVariant:J.type==="delete"?"danger":"primary",secondaryButtonText:J.secondaryButtonText,action:Ut,isNotesIncluded:d!=="draft",isEditPopup:!0}):null,g.length>0?t.jsx(ei,{helperContainerStyle:V==="small"?{margin:`${i.sp5} ${C.includes("delete")&<?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:lt,primaryBtn:{label:Sn(l,C,g.length),isLoading:J.type!=="delete"&&T==="In-Progress",isDisabled:J.type==="delete"&&T==="In-Progress",type:"submit",style:kn(C)},cancelBtn:{label:S.common.texts.goBack,isDisabled:T==="In-Progress",onClick:oe,style:Tn(C,V)},leftSideComponent:$n(g.length,v,l,V),rightSideComponent:C.includes("delete")?vn(g.length,J.type==="delete"&&T==="In-Progress",Kt,V):null}):null]})})]})},bn=({style:e,data:n})=>{const{entity:a,transactionList:r,transactionsSelectedForBulkAction:d,isAdmin:m,isBulkActionAllowed:b,isShowDeletedBillsEnabled:y,isShowDeletedReimbursementEnabled:w,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:x,bulkSubmissionLimit:h,selectedTab:u,uiState:l,analytics:s,isDetectInsufficientFundsEnabled:v,onTransactionRowClick:f,onColumnSortConfigChanged:B}=n,g=Z(),C=Le(),T=b?d.length>0?"always_on":"checked_or_hover":"off";return t.jsx(En,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ci,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:g==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:wn(g),labelCheckBoxStyle:{marginLeft:g==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:C.colors.grey4},infoIconContainerStyle:fn(g),name:ue,mode:T,selectionLimit:h,checkBoxes:a==="bill_pay"?[{label:t.jsx(Et,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(yn,{transactionDetail:k,selectedTab:u,isBillPayCommentingEnabled:$,isShowDeletedBillsEnabled:y,onTransactionRowClick:f,billsSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on",isDetectInsufficientFundsEnabled:v}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:jn(k,d),exceptionInfo:xt(a,k),exceptionType:wt(k)}))]:[{label:t.jsx(Mt,{companyNameSticky:!1,currentTab:u,onColumnSortConfigChanged:B,analytics:s,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:S.common.all.toLowerCase(),isException:!1},...r.map(k=>({label:t.jsx(xn,{transactionDetail:k,isShowDeletedReimbursementEnabled:w,isReimbursementCommentingEnabled:x,selectedTab:u,isAdmin:m,onTransactionRowClick:f,remisSelectedForBulkAction:d,bulkSelectFormId:ue,bulkSelectLimit:h,isSelectionMode:T==="always_on"}),value:k.id,groupLabel:!1,defaultChecked:!1,isException:k.bulkSelectInfo?.isSelectableForBulkAction===!1,exceptionMode:"checked_or_hover",exceptionInfo:xt(a,k),exceptionType:wt(k)}))]})})},yn=({transactionDetail:e,selectedTab:n,isShowDeletedBillsEnabled:a,billsSelectedForBulkAction:r,bulkSelectFormId:d,bulkSelectLimit:m,isBillPayCommentingEnabled:b,isSelectionMode:y,isDetectInsufficientFundsEnabled:w,onTransactionRowClick:$})=>{const x=Z()==="small"?eo:Fi,h=hi(e,n),{bulkProcessingDetail:u}=e,l=Ae(u?.type),s=()=>{const g=e.billPayInfo.outsideZeniTransactionPaymentMode;if(g==null||g==="other")return;const C=Nt.billDetails.paymentOutsideZeni.paymentModeOptions.find(T=>T.value===g)?.label;return`${S.common.via} ${C}`},v=w&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?gi(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,f=bi(e.billPayInfo,n,a,e.isDeleted,e.dueDate),B=v!=null&&f?.code!=="failed"&&f?.code!=="processing"&&f?.code!=="cancelled"&&f?.code!=="returned"&&f?.code!=="rejected"&&f?.code!=="paid";return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,transactionDetail:e,isBillPayCommentingEnabled:b,isSelected:r.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:r.length===m,isSelectionMode:y,bulkSelectFormId:d,tagStatus:f,approvers:e.isDeleted===!0?void 0:kt(e,n),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$,paidAdditionalInfo:n==="paid"&&!e.isDeleted?s():void 0,lowBalanceAlert:v,showLowBalanceTooltip:B})})},xn=({transactionDetail:e,selectedTab:n,isAdmin:a,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:d,remisSelectedForBulkAction:m,bulkSelectFormId:b,bulkSelectLimit:y,isSelectionMode:w,onTransactionRowClick:$})=>{const x=Z()==="small"?Vo:Bo,h=yi(a,e.submittedBy),{bulkProcessingDetail:u}=e,l=Ae(u?.type);return t.jsx(Ot,{children:t.jsx(x,{reportTitleAdditionalInfo:h,reimbursementDetail:e,isReimbursementCommentingEnabled:d,isSelected:m.includes(e.id),isProcessing:l,isBulkSelectionLimitReached:m.length===y,isSelectionMode:w,bulkSelectFormId:b,currentTab:n,date:wi(e,n),approvers:e.isDeleted===!0?void 0:kt(e,n),tagStatus:xi(e,n,r),deletionAdditionalInfo:e.isDeleted===!0&&n!=="draft"?St(e,n):void 0,onTransactionRowClick:l?()=>null:$})})},wn=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},fn=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},$n=(e,n,a,r)=>{const d=a==="bill_pay"?q.bill:N.report,m=(e>1?d+"s":d)+q.selected;return e>0?t.jsxs(Kn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Wn,{multiDigit:e>=10,children:e}),t.jsx(Un,{children:m}),e===n?t.jsx(qn,{children:un}):null]}):null},vn=(e,n,a,r)=>e>0?t.jsx(Nn,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(On,{isLoading:n,windowSize:r,className:"delete-icon-wrapper",onClick:n?()=>null:a,children:n?t.jsx(si,{size:"Small",start:!0}):t.jsx(Y,{enterDelay:600,title:S.common.delete,placement:"top",children:t.jsx(Vn,{})})})}):null,xt=(e,n)=>{const{bulkProcessingDetail:a,bulkSelectInfo:r}=n,d=Ae(a?.type),m=a?.type==="error";let b;if(d)b=a?.inProgressMessage;else if(m)b=a.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:y}=S.spendManagement.billPay.bulkActions;b=y[r.bulkSelectExceptionInfo]}else{const{exceptions:y}=S.spendManagement.reimbursement.bulkActions;b=y[r.bulkSelectExceptionInfo]}return b},Sn=(e,n,a)=>{const{billPay:r}=S.spendManagement;return n.includes("cancel")?e==="reimbursement"?N.popUps.cancel.title.replace("__report__",a>1?N.reports:N.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",a>1?r.bulkActions.bills:r.bulkActions.bill):n.includes("send_for_approval")?r.billDetails.sendForApproval:S.common.review},kn=e=>{let n;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(n={minWidth:"92px"}),n},Tn=(e,n)=>{let a;return n!=="small"&&(e.includes("cancel")?a={minWidth:"116px"}:e.includes("send_for_approval")&&(a={minWidth:"160px"})),a},Pn=(e,n)=>{const{this_:a,these:r,payment:d,payments:m,bills:b,bill:y,reports:w,report:$,they:x,it:h}=S.common.texts;return n>1?e==="bill_pay"?{title:q.popUps.cancel.title.replace("<_bill_>",S.drawerMenus.bills),description:q.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",b).replace("<_it_>",x).replace("<_payment_>",m)}:{title:N.popUps.cancel.title.replace("__report__",N.reports),description:N.popUps.cancel.description.replace("<_this_>",r).replace("__report__",w).replace("<_it_>",x).replace("<_payment_>",m)}:e==="reimbursement"?{title:N.popUps.cancel.title.replace("__report__",N.report),description:N.popUps.cancel.description.replace("<_this_>",a).replace("__report__",$).replace("<_it_>",h).replace("<_payment_>",d)}:{title:q.popUps.cancel.title.replace("<_bill_>",q.bill),description:q.popUps.cancel.description.replace("<_this_>",a).replace("<_bill_>",y).replace("<_it_>",h).replace("<_payment_>",d)}},Cn=(e,n,a,r)=>{const{this_:d,these:m,payment:b,payments:y,bills:w,bill:$,report:x,reports:h,they:u,it:l}=S.common.texts,s=n>1;let v=M;e==="bill_pay"?v=q.popUps.delete.title.replace("<_bill_>",s?q.bills:q.bill):v=N.popUps.delete.title.replace("__report__",s?N.reports:N.report);let f=M;return a==="draft"?e==="bill_pay"?f=q.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$):f=N.popUps.delete.descriptionDraft.replace("<_this_>",s?m:d).replace("__report__",s?h:x):r?f=q.popUps.delete.descriptionRecurring.replace("<_payment_>",s?b:y):e==="bill_pay"?f=q.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("<_bill_>",s?w:$).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b):f=N.popUps.delete.descriptionOther.replace("<_this_>",s?m:d).replace("__report__",s?h:x).replace("<_it_>",s?u:l).replace("<_payment_>",s?y:b),{title:v,description:f}},jn=(e,n)=>{const a=e.bulkSelectInfo?.bulkSelectExceptionInfo;return n.length===0&&a!=null&&(a==="bookCloseDateProcessing"||a==="noActionRecurring")?"hover_only":"checked_or_hover"},wt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",_n=o.div`
|
|
698
|
-
display: block;
|
|
699
|
-
height: 100%;
|
|
700
|
-
`,Bn=o.form`
|
|
701
|
-
height: 100%;
|
|
702
|
-
`,zn=o.div`
|
|
703
|
-
height: calc(100% - 120px);
|
|
704
|
-
margin: auto;
|
|
705
|
-
`,Ln=o.div`
|
|
706
|
-
display: flex;
|
|
707
|
-
width: 100%;
|
|
708
|
-
height: calc(100% - 60px);
|
|
709
|
-
flex-direction: column;
|
|
710
|
-
justify-content: center;
|
|
711
|
-
align-items: center;
|
|
712
|
-
`,Dn=o.div`
|
|
713
|
-
height: 96px;
|
|
714
|
-
width: 96px;
|
|
715
|
-
display: flex;
|
|
716
|
-
align-items: center;
|
|
717
|
-
justify-content: center;
|
|
718
|
-
background: ${e=>e.theme.colors.background};
|
|
719
|
-
border-radius: 50%;
|
|
720
|
-
cursor: pointer;
|
|
721
|
-
`,In=o(ai)`
|
|
722
|
-
height: ${i.sp5};
|
|
723
|
-
width: ${i.sp5};
|
|
724
|
-
color: ${e=>e.theme.colors.grey1};
|
|
725
|
-
&:hover {
|
|
726
|
-
color: ${e=>e.theme.colors.primary};
|
|
727
|
-
}
|
|
728
|
-
`,An=o(di)`
|
|
729
|
-
margin-top: ${i.sp3};
|
|
730
|
-
color: ${e=>e.theme.colors.hero};
|
|
731
|
-
`,Rn=o.div`
|
|
732
|
-
/** Subtract top so list can occupy remaining available height */
|
|
733
|
-
height: calc(100vh - 243px);
|
|
734
|
-
max-width: 99.9%;
|
|
735
|
-
.spend-management-list-item:last-of-type {
|
|
736
|
-
height: ${e=>mn.lastListItemHeight.valuePx(e.windowSize)} !important;
|
|
737
|
-
padding-bottom: ${i.sp9};
|
|
738
|
-
}
|
|
739
|
-
`,En=o.div`
|
|
740
|
-
top: ${i.sp0};
|
|
741
|
-
left: ${i.sp0};
|
|
742
|
-
padding-bottom: ${i.sp3};
|
|
743
|
-
box-sizing: border-box;
|
|
744
|
-
`,Fn=o.div`
|
|
745
|
-
position: relative;
|
|
746
|
-
width: auto;
|
|
747
|
-
height: 100%;
|
|
748
|
-
`,Mn=o.div``,Ot=o.div`
|
|
749
|
-
position: relative;
|
|
750
|
-
width: 100%;
|
|
751
|
-
`,Nn=o.div`
|
|
752
|
-
display: flex;
|
|
753
|
-
justify-content: flex-end;
|
|
754
|
-
`,On=o.div`
|
|
755
|
-
margin-right: ${i.sp8};
|
|
756
|
-
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
757
|
-
color: ${e=>e.windowSize==="small"?G.important:e.theme.colors.grey1};
|
|
758
|
-
`,Vn=o(mi)`
|
|
759
|
-
width: ${i.sp4};
|
|
760
|
-
height: ${i.sp4};
|
|
761
|
-
cursor: pointer;
|
|
762
|
-
color: inherit;
|
|
763
|
-
&:hover {
|
|
764
|
-
color: ${G.important};
|
|
765
|
-
}
|
|
766
|
-
`,Kn=o.div`
|
|
767
|
-
display: flex;
|
|
768
|
-
justify-content: flex-start;
|
|
769
|
-
align-items: center;
|
|
770
|
-
gap: ${i.sp2};
|
|
771
|
-
margin-left: ${i.sp8};
|
|
772
|
-
`,Wn=o(W)`
|
|
773
|
-
height: 18px;
|
|
774
|
-
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
775
|
-
padding: ${i.sp0} 6px;
|
|
776
|
-
border-radius: ${i.sp12};
|
|
777
|
-
border: ${e=>`1px solid ${e.theme.colors.grey1}`};
|
|
778
|
-
display: flex;
|
|
779
|
-
justify-content: center;
|
|
780
|
-
align-items: center;
|
|
781
|
-
`,Un=o(F)`
|
|
782
|
-
color: ${e=>e.theme.colors.primary};
|
|
783
|
-
`,qn=o(se)`
|
|
784
|
-
color: ${G.important};
|
|
785
|
-
`;export{rl as default};
|