@zeniai/web-cockpit-ui 1.15.7-prod → 1.15.8-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-C4kSZtcW-DXbi1tk_.js +21 -0
- package/dist/assets/{AIPerformancePage-XDCygRgj-hdlgd13I.js → AIPerformancePage-nAXYlFHx-B-yNLxsI.js} +108 -108
- package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +18 -0
- package/dist/assets/{AccountInfoPageContent-wjaeVokT-C-45Yg7h.js → AccountInfoPageContent-C6fN_njt-BfclYIhc.js} +22 -22
- package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-a2stjcsR-4rY26kUH.js → AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js} +52 -52
- package/dist/assets/{AccountRow-DlccmtgU-BQGGaNll.js → AccountRow-C0plHrDu-BlMGnWxc.js} +32 -32
- package/dist/assets/{AccountsPromoCardStack-BE0vjkiK-CeVEOdAj.js → AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +6 -0
- package/dist/assets/{AddToWalletPage-6OCJaNcg-ITVcFac9.js → AddToWalletPage-CKPw3FXG-D61c3n-w.js} +25 -25
- package/dist/assets/{AgingReportsPage-hgg1L3pv-BhweCGFG.js → AgingReportsPage-BLYXtrbx-DW-1ybPL.js} +17 -17
- package/dist/assets/{AllUserItems-BmNtc-69-BUFmUH1X.js → AllUserItems-CIuKSRs--B0618Ye4.js} +14 -14
- package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +46 -0
- package/dist/assets/AppBasePage-zQkWIZIS-COyO76Q-.js +71 -0
- package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +91 -0
- package/dist/assets/ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js +47 -0
- package/dist/assets/{ArAgingChart-CeaYIqlX-B-c2fH7O.js → ArAgingChart-Dv9GPrlk-1IjLiFwv.js} +7 -7
- package/dist/assets/ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js +46 -0
- package/dist/assets/{AttachmentView-BsNhULL3-7q0lWt8U.js → AttachmentView-CHgDKLit-BOkUOxft.js} +7 -7
- package/dist/assets/{BankAccountSection-ZWR_hXjD-Bnv3FrfK.js → BankAccountSection-danXlJW--Ci61_HQI.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-C-2eE9pL-DKuXOLZK.js → BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js} +9 -9
- package/dist/assets/{BankConnectionsSettingsPage-CjbaVbou-B57I3keE.js → BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js} +14 -14
- package/dist/assets/{BillDetailPage-B_zbQLLp-Cg57CSLM.js → BillDetailPage-BD2IX-iP-C1AsdsRK.js} +12 -12
- package/dist/assets/{BillPayApprovalRuleDetailPage-CtJLn_JO-BTon9GOj.js → BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-vvgGBmoM-b8Z4iaIk.js → BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js} +8 -8
- package/dist/assets/BillPayPromoPage-C7PX-EVL-RrQTQk3r.js +84 -0
- package/dist/assets/{BillPaySetUpPage-m15SlV0c-BLNMmoS5.js → BillPaySetUpPage-Czno3Zre-B54xXO94.js} +2 -2
- package/dist/assets/BillingSettingsPage-DwBAvbyP-BA7TOSu8.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +1 -0
- package/dist/assets/{BoxItem-Cmrt_yxF-BPyV6-KP.js → BoxItem-CQn8-mlp-3WaKvXCN.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js +138 -0
- package/dist/assets/{CardNumberSubText-B6Fprh6S-C6tOk0Lk.js → CardNumberSubText-2Tw37MOu-DLENhMmY.js} +9 -9
- package/dist/assets/{CashbackDetailPage-CWExYaIT-ITJ376x0.js → CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js} +32 -32
- package/dist/assets/{ChargeCardDetailPage-B3hr0WBI-BIIArQci.js → ChargeCardDetailPage-draAZn9S-DVIwh9R-.js} +74 -74
- package/dist/assets/{ChargeCardListPage-g9gCfpoh-C-F1Nwo-.js → ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js} +18 -18
- package/dist/assets/{ChargeCardListTable-BoDSmzn_-2MCNPmJS.js → ChargeCardListTable-DVFpdT9f-BEElVTwC.js} +31 -31
- package/dist/assets/{ChargeCardPaymentHistoryPage-xs346JMC-C25t78nk.js → ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js} +32 -32
- package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +222 -0
- package/dist/assets/ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-Da9NY51a-DnJ8ojfJ.js → ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-CcSRXOv7-Juu27Lw1.js → CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js} +17 -17
- package/dist/assets/{CollapsableReportTable-D1b80h2R-LejvM9E0.js → CollapsableReportTable-D9EGRkFb-DwhLMO0b.js} +88 -88
- package/dist/assets/CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js +331 -0
- package/dist/assets/{CompanyPassportCard-vAocVa7X-sdVt02vr.js → CompanyPassportCard--3g9aidd-CxwOeh5K.js} +9 -9
- package/dist/assets/CompanyPassportPage-BhF3zWN0-Cn2clYh0.js +417 -0
- package/dist/assets/{CompleteProfile-B-Hhosch-BRpwq9iK.js → CompleteProfile-iee5HgiC-iD1IzEAE.js} +2 -2
- package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bgc7zC_D-dZEyhQI1.js → CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-Bs5RpFes-DVEF4YEs.js → CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js} +10 -10
- package/dist/assets/{CurrencySelectField-BC9QkDwI-ZY801dGb.js → CurrencySelectField-CcU9PAOW-u3CiOTPH.js} +6 -6
- package/dist/assets/{CustomerOnboardingActivationPage-Br4RFzGo-B_c7W-9H.js → CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js} +8 -8
- package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DLKJINnV-CXBeq7hP.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +66 -0
- package/dist/assets/CustomerOnboardingPage-CP969grW-CLGTaPd5.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-Dx3FU6Fe-Dxy6dCTd.js → CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js} +11 -11
- package/dist/assets/{Dashboard-EWWj1Uby-DMIEIziu.js → Dashboard-CKSEolZn-B8UGwGX2.js} +513 -472
- package/dist/assets/{DashboardReportPage-D4kzdnvI-CvIJlFA1.js → DashboardReportPage-JLORU_HF-JuRm0_l-.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-xvCtIj9v-DBcHWpkM.js → DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js} +4 -4
- package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +66 -0
- package/dist/assets/DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js +21 -0
- package/dist/assets/{DownloadOverlay-wlAXZwF0-BNQRr8lI.js → DownloadOverlay-D7AI3CGS-DY9OdGrk.js} +20 -20
- package/dist/assets/{DrawerPage-DroW95LB-CoKXHHeP.js → DrawerPage-BiQurb8Q-CEeTnVDp.js} +18 -18
- package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-BgcII79s-tce-zmrl.js → EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js} +47 -47
- package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +18 -0
- package/dist/assets/{EntitySummarySection-D6HekhK7-BORleZVG.js → EntitySummarySection-dbyZ3ZMD-WaXS93t5.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-VN-P6f2z-CDPrdyoh.js → ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js} +31 -31
- package/dist/assets/{ExpenseAutomationPage-CvnkIuMf-D25uWaSP.js → ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js} +47 -47
- package/dist/assets/{ExpressPayPage-C_yRTeDh-CM47LFVq.js → ExpressPayPage-CaBFl4M3-N5saqSFG.js} +16 -16
- package/dist/assets/{FeaturePreviewPage-BLRhajFn-fV76_z2K.js → FeaturePreviewPage-BY7VDaUB-C72FE9k5.js} +3 -3
- package/dist/assets/{FollowStepsSection-DhiGIylh-Bz6rK0A1.js → FollowStepsSection-BGZ3rzSO-DAxx1unm.js} +47 -47
- package/dist/assets/{GlobalReviewListPage-Tg986b2s-BmDCouKN.js → GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js} +16 -16
- package/dist/assets/{InformationCardStack-3Lmn6LJr-CdNUOhiA.js → InformationCardStack-BZIU9Bwm-DWOE8xSt.js} +4 -4
- package/dist/assets/{InsightsCardStack-Dc6OL9Od-SZvJ5Nd2.js → InsightsCardStack-BZ6yws_x-DiUvTias.js} +11 -11
- package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DACHBlEm-VDMgbIZU.js → IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-BaqSqvWh-D1C7B-D5.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js} +29 -29
- package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +65 -0
- package/dist/assets/{InviteFormPage-CXcHy9Sz-klLpDiNw.js → InviteFormPage-C-_fbwpS-DFnpH_Sg.js} +36 -36
- package/dist/assets/{InvitePageListView-tu82Q2y6-4pxVVI8c.js → InvitePageListView-DX3LFpcZ-wgARDxxe.js} +65 -65
- package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +12 -0
- package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +140 -0
- package/dist/assets/{IssueChargeCardPage-DuqGEs5b-D98hW9vB.js → IssueChargeCardPage-BSax9G6t-Ccz8TXME.js} +32 -32
- package/dist/assets/{LabeledAddressValue-D0Gu5Mgp-CzkRuTit.js → LabeledAddressValue-kz4tRnLH-XbapS3ut.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-DPisU2iY-CPcKZAK1.js → LabeledAddressValueField-D950JjHi-B7-ZxMwG.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js +16 -0
- package/dist/assets/LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js +237 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-DLVxVffe-CEWgxYKX.js → LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js} +11 -7
- package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +59 -0
- package/dist/assets/LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js +223 -0
- package/dist/assets/{LabeledText-C4GeOHM8-qYERC5VL.js → LabeledText-D0g7m29R-CGPY2mDY.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-DkNwuyer.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js} +22 -22
- package/dist/assets/{LabeledZeniRolesDropDownField-Bj8qcvuK-o-znBNks.js → LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js} +21 -21
- package/dist/assets/{LinkJETransactionPage-CdWWV_7u-ZBEYffG3.js → LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js} +10 -10
- package/dist/assets/{LockCardPage-BTxCWQ6_-BW7Yi1Nk.js → LockCardPage-XgZwsozn-B7KEhFgG.js} +58 -58
- package/dist/assets/{LowBalancePopup-Dt9KCWOU-BcyhH4EM.js → LowBalancePopup-ChBTdcM2-CwIZnZTi.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-D45Lu2cc-DYyfXOeF.js → MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BdiSVi0V-lQUmZ3Gd.js → MagicLinkTitleSection-CI_X5_g6-DmElUYen.js} +4 -4
- package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CN9EKlOy-DmwMBVnf.js → MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js} +10 -10
- package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +85 -0
- package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +30 -0
- package/dist/assets/{NavigationArrow-B9ZEhJdg-DyQKs-_2.js → NavigationArrow-BuPVGh38-C7FStd2H.js} +5 -5
- package/dist/assets/{NavigationDots-C_N16I15-nRl89PRP.js → NavigationDots-CLd0nZZT-DkTweDHl.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-DICWFjCu-CJ0tgWsu.js → NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js} +14 -14
- package/dist/assets/{NoDataChart-CCCkzfa4-Dh2W5-XZ.js → NoDataChart-VrW0gNeK-CoKQWY6y.js} +2 -2
- package/dist/assets/{NoDataTable-DVW_simO-BPAtGFBn.js → NoDataTable-CZaHTbXi-BvRSGEWZ.js} +1 -1
- package/dist/assets/{NotFoundPage-BHrUY910-DXPp8Z-6.js → NotFoundPage-CvuhMeh3-DzAU1c1V.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-alUKfWWf-DXyHLtqX.js → NotificationSettingsPage-612cyOPa-BDov0Or2.js} +21 -21
- package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +1 -0
- package/dist/assets/{NotificationsPage-BjhHCUzl-Dzhmx0cj.js → NotificationsPage-DOq8YY_K-B5AJl0PR.js} +47 -47
- package/dist/assets/{OpExByVendorPage-h_QozoZk-DmH9Fro4.js → OpExByVendorPage-JhAQyVWO-CgqLDeMB.js} +8 -8
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-CcCskPTz.js → OverlayContainerPage-CEiw6dk7-DNyrAeAy.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DdiEIHC--BpL8mXa1.js → PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js} +11 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js +107 -0
- package/dist/assets/{PeoplePage-BaOppi8Y-GtqBYtJq.js → PeoplePage-BJui-Wgk-Blym3c87.js} +32 -32
- package/dist/assets/{Preview-BT1uEhaC.js → Preview-CWOI4w-4.js} +1 -1
- package/dist/assets/{ProductsCarousel-E65X4lGB-J82ISVXF.js → ProductsCarousel-CGhEa82h-Bt-P-vzg.js} +9 -9
- package/dist/assets/{PromoBaseCards-O66NGGWD-B2yNqXTe.js → PromoBaseCards-1PF_kyGP-DnK5w4Qj.js} +8 -8
- package/dist/assets/{QBOConnectionDialog-BrMv7xjB-BmPNEJAk.js → QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js} +8 -8
- package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DJNl2oqj-B8rnb7-M.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-tnc2z3Es--VbK-JjX.js → ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js} +27 -27
- package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +314 -0
- package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-2VrhpV75-CmY_3axQ.js → ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js} +13 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js +1 -0
- package/dist/assets/{ReloadCard-BakyoznA-C8yn3CFu.js → ReloadCard-crbWeOPP-CkioU763.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-C7w_WVnY-Bb9l1cLU.js → ReportTableViewSelector-KXoOW677-Cxk4-6kw.js} +8 -8
- package/dist/assets/{ReportsPage-BeZqGQ2i-CdZhwBFE.js → ReportsPage-C3Jj54B2-CJg2yyXf.js} +11 -11
- package/dist/assets/{RevenueChart-BcRkSSWz-CMuJy4Wf.js → RevenueChart-B2lwdex1-DM-m44Ax.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CA5CBeB7-BPwN0XIG.js → ReviewDetailsPage-BzJuymlx-B43bDwEk.js} +53 -53
- package/dist/assets/{ReviewOverlay-DNjbv6Ir-Y9Nwz-tB.js → ReviewOverlay-CXHcM5J8-Z1A7mqWB.js} +13 -13
- package/dist/assets/{RoleWithToolTip-CSoHoT3u-DRKfkJe4.js → RoleWithToolTip-q4rQTPKj-BeUt86oC.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CLjpednn-ByFaGIVF.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-MEVdw-l_-BTjMh_dn.js → ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BGx2un0o-C7oCwBLq.js → ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js} +20 -20
- package/dist/assets/{ScreenRoutes-BH-V4Ul9.js → ScreenRoutes-BGG-33kI.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Blriup16-D53R4AvU.js → SetUpAccountSection-Drp97o6h-xxM8m8_w.js} +11 -11
- package/dist/assets/{SignIn-DqVQU08d-raucMcoq.js → SignIn-YqQXhCUb-BOeW8x0h.js} +26 -26
- package/dist/assets/SignInScreen-D-bsy2_u.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-Cd88asmE-B8IyHW0C.js → SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js} +14 -14
- package/dist/assets/{SpendManagementPerTabPage-DyPyPQjh-CmDf-SgA.js → SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js} +62 -62
- package/dist/assets/{SpendManagementSection-C5fvFmdh-DPDNHpYr.js → SpendManagementSection-WqBeexgm-D6ZHNQRi.js} +23 -23
- package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +31 -0
- package/dist/assets/StatementsPage-ProqQbaP-BB4Fbh50.js +58 -0
- package/dist/assets/{StatusSwitcher-BS4h8SJh-Brdbwzh_.js → StatusSwitcher-CWQs9lpu-RXB7-04g.js} +2 -2
- package/dist/assets/{SubTabSwitcher-vsehXtEO-Cr2MNrNg.js → SubTabSwitcher-B2uBojsp-DZNkw8WS.js} +3 -3
- package/dist/assets/SummaryCard-Dcd_VUph-BV3h5iTx.js +1 -0
- package/dist/assets/{TaskManagementPage-DlzHdHSu-DFjnzzbT.js → TaskManagementPage-BM9VR6Lt-C4YfHc_A.js} +48 -48
- package/dist/assets/{TimeRangeSwitcher-CFZq5KoG-BqhHy_k0.js → TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js} +12 -12
- package/dist/assets/{TimeframeSwitcher-Bb7JwirM-DbUiB9yF.js → TimeframeSwitcher--oC4RNb6-CvfDTC-U.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BXIevpvE-C1kQ0PNL.js → TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js} +1 -1
- package/dist/assets/{TopExCard-BQIHsi_z-C7gIvEmp.js → TopExCard-DQ50kCvS-_2HPPX6t.js} +6 -6
- package/dist/assets/{TopExDetailPage-BYCn9hZ2-CBSbTRu5.js → TopExDetailPage-iwv1KNmn-sj6nj5zr.js} +18 -18
- package/dist/assets/{TransactionDetailPage-BMYeFZH7-CcFC_MhV.js → TransactionDetailPage-dcUFs9xb-CrNRbBcr.js} +32 -32
- package/dist/assets/{TransactionList-BMfwxUes-CxHcqhQj.js → TransactionList-1g-61_2b-CWHQyly8.js} +14 -14
- package/dist/assets/{TransactionListBig-CSjliLzH-9r8gcXgp.js → TransactionListBig-CSrLWjaV-BtYTXkmc.js} +17 -17
- package/dist/assets/TransactionListPage-CKkWpoxH-CDqG5M4K.js +35 -0
- package/dist/assets/TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js +80 -0
- package/dist/assets/{TransferDrawerPage-4lrBrmvC-CGSBINUl.js → TransferDrawerPage-nyepeege-Tib1D3Ko.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-DNUrwQ-l-ZYZl-CQN.js → TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js} +50 -50
- package/dist/assets/{TreasuryPromoPage-CjjmLEyR-BjUP5bnV.js → TreasuryPromoPage-B55rqmLO-BovduQF3.js} +16 -16
- package/dist/assets/{TreasuryStatementsPage-CGax-FVg-BvwvVRF0.js → TreasuryStatementsPage-DA72LRB2-COfX6A9q.js} +7 -7
- package/dist/assets/{TreasuryTaxLetterPage-DapKFecA-BN6fHIxE.js → TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js} +6 -6
- package/dist/assets/{TrendChart-t_2mlnuR-HCVCCSN-.js → TrendChart-BsSVNJm5-CngvRWQH.js} +3 -3
- package/dist/assets/{TrendWithTransactions-BjQX1uvO-BMCye4yK.js → TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C9DJ4P_n-D9u8J5u2.js → UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-CzfmBBVs-BgNO_8xt.js → UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +38 -0
- package/dist/assets/{Vendor2FAPopup-Jhuzv3Fs-BhEm4Fbs.js → Vendor2FAPopup-BPoFrkoj-DQVyS_En.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +1 -0
- package/dist/assets/{VendorDetailPage-D_ia0GnG-BfJ1_7EA.js → VendorDetailPage-C0qX459r-CReufchw.js} +24 -24
- package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-6mV7WBuT-CaTcCwoG.js → VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js} +14 -14
- package/dist/assets/{VendorFirstReviewPage-BIh28s7e-CdL8A5je.js → VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CXmAXDcB-CwrKPPC2.js → VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js} +14 -14
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +1 -0
- package/dist/assets/{VendorsAccountsSection-kJAKmxCN-BC5KWJK4.js → VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js} +2 -2
- package/dist/assets/{VerifyDevice-Cclxcvod-DSH5hVwN.js → VerifyDevice-B23jU0_c-B85D_w3i.js} +16 -16
- package/dist/assets/{VideoPlayer-B0jJK498-CBq4cry7.js → VideoPlayer-CylTUX4X-BEZtED7z.js} +2 -2
- package/dist/assets/{VideoPopup-BUq4CaWy-Du-khlzT.js → VideoPopup-C9x0ntQ5-C94oLuE1.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-B7Pmv7_n-Ctay0hs2.js → WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js} +8 -8
- package/dist/assets/{ZeniAccountDetailPage-l5IuVidF-CDvsj4_b.js → ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js} +34 -34
- package/dist/assets/{ZeniAccountListViewPage-CtOCukoi-Bl5wvidS.js → ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js} +15 -15
- package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DhuZowvX-CBKBgVbN.js → ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js} +19 -19
- package/dist/assets/ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js +36 -0
- package/dist/assets/{ZeniCopyright-CxIm7c5S-BkxmprYE.js → ZeniCopyright-eB9rNuZ3-BNyg83Vo.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-knutDy2z.js → add-to-wallet-DgdBD8_G-DHrWYIzW.js} +1 -1
- package/dist/assets/{analytics-ph3I6UF8.js → analytics-g5EpLRud.js} +1 -1
- package/dist/assets/{analyticsHelper-BXN2EdPH-CUFI6aDK.js → analyticsHelper-CLY1vV_E-BemgqSJF.js} +1 -1
- package/dist/assets/analyticsHelper-D-tLilsz.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BhoouXjS.js → arrow-south-east-round-PEovUgvH-Clrgdbmr.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-PlqYA5OS.js → auto-transfer-rule-mbafm5D3-DfhOF4oT.js} +1 -1
- package/dist/assets/{chartTypes-qqLvT6t1-D3seEArQ.js → chartTypes-BjaXr-A2-DXtLo4Yx.js} +1 -1
- package/dist/assets/{commonDimensions-CDU138wy-79Hol1nq.js → commonDimensions-C0X17W9N-BSrHO4N_.js} +1 -1
- package/dist/assets/commonTypes-BN7Uh_8W-pfbkHgmN.js +1 -0
- package/dist/assets/{constants-DfKPJuTm.js → constants-BnWgOytJ.js} +1 -1
- package/dist/assets/{core-BlFYyFWj.js → core-hVMF2uNa.js} +1 -1
- package/dist/assets/{dash.all.min-HRVIDHsG.js → dash.all.min-DDFTHNwM.js} +1 -1
- package/dist/assets/{detailCommon-DP02lgW9-CVVv7J5g.js → detailCommon-D9PsnkY1-BuBcpPrC.js} +9 -9
- package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +1 -0
- package/dist/assets/{empty-xtHEY_EC.js → empty-B0DaVBWz.js} +1 -1
- package/dist/assets/{empty-_dq3VELZ.js → empty-BNJPHWFv.js} +1 -1
- package/dist/assets/epic-BVJNtCg8.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-hu9S66Nm.js → gift-box-Cmt9OgIZ-CLwRJG71.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Bxt9rjGU.js → graphic-no-data-l-DU4J8fDt-C7rs195d.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-4TkMA2IL.js → graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C8tVKQvA.js → handshake-BPg58FML-BW29_pZa.js} +1 -1
- package/dist/assets/{index-D_eYqjth.js → index-6pOBrRlk.js} +1 -1
- package/dist/assets/{index-CU8OwMKR.js → index-B3faO1JB.js} +1 -1
- package/dist/assets/{index-CZWdhSUY.js → index-BAImUaY2.js} +1 -1
- package/dist/assets/{index-DJXopH2J.js → index-CRNmezJu.js} +5847 -5643
- package/dist/assets/{index-j-ZjnssZ.js → index-C_w5gZ8Z.js} +1 -1
- package/dist/assets/{index-DGXb1ebD.js → index-lOJEokPl.js} +1 -1
- package/dist/assets/{index-hqjPtlOq.js → index-rCukSMbs.js} +1 -1
- package/dist/assets/{lexical-4_NwEswu.js → lexical-DYQnWL1V.js} +1 -1
- package/dist/assets/{liveblocks-D4lQZ0Dd.js → liveblocks-BKvkleJ3.js} +1 -1
- package/dist/assets/{lottie-CJs0yEIm.js → lottie-N_bekW9H.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DLeyrCPV-xUISO_IT.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Bl4MSBc9-DVBsOi3c.js → mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +1 -0
- package/dist/assets/{mui-BgmDzmqw.js → mui-mhzAEcDs.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-jOuxf32S.js → page-detail-CWX5S47F-C7t8NOxn.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-tgtd5ncg.js → radio-default-CiSgisfh-j32Y6uZn.js} +1 -1
- package/dist/assets/{react-9bfKhUIj.js → react-3qVVe610.js} +1 -1
- package/dist/assets/{react-Bi5oHOJd.js → react-BcEP-SPV.js} +1 -1
- package/dist/assets/{react-BTDaG0Dg.js → react-CQNyoV6B.js} +1 -1
- package/dist/assets/{react-BJ7cD3M_.js → react-CYwBg0du.js} +3 -3
- package/dist/assets/{react-CI41TnKA.js → react-DmkejrPd.js} +1 -1
- package/dist/assets/{react-dcby0fvh.js → react-DtZ57b9E.js} +1 -1
- package/dist/assets/{react-rUBlfRo6.js → react-Dvjzsiej.js} +1 -1
- package/dist/assets/{react-DXoN358y.js → react-d4G_qR0V.js} +1 -1
- package/dist/assets/{recharts-BJoArE6V.js → recharts-BErFcng5.js} +21 -21
- package/dist/assets/{sentry-BxdgcWna.js → sentry-Dla7mstv.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BfQxUi1t.js → shield-DOlUxcFf-CJdp4Bi9.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +1 -0
- package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +1 -0
- package/dist/assets/{uploadAttachment-DfTOIWsX-2h7aHtTY.js → uploadAttachment-BLADYUsp-BO1TVLxu.js} +24 -24
- package/dist/assets/{uploadReceipts-CPw64UYa-BVrPxFT_.js → uploadReceipts-CLN2DLHQ-CHihhpL-.js} +1 -1
- package/dist/assets/{url-CGezB5_b.js → url-B3SdXouN.js} +1 -1
- package/dist/assets/{url-C2ww6YDf.js → url-HFFKPU2S.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CA8Vl5VK.js → useLongPress-GCK2COYQ-km9xaFy6.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CP6yrCOY.js → usp-line-BBd1wKwW-C5eOwLOD.js} +1 -1
- package/dist/assets/{utils--sN-q-ak.js → utils-D6NmQd1Q.js} +1 -1
- package/dist/assets/{zeni-epic-state-Da_JgXOA.js → zeni-epic-state-CSmiPBaP.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-CGG2Hx4v-DcZR7_vn.js +0 -21
- package/dist/assets/AccountInfoPage-CSf3J58F-BkcQo2mt.js +0 -18
- package/dist/assets/AccountLockedInfoModal-DJnj--uc-Dq2NlQZ3.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-Cm7qhFhu.js +0 -6
- package/dist/assets/ApAgingDetailPage-DAZAnfcs-Bp8rgAS8.js +0 -46
- package/dist/assets/AppBasePage-D7_krMlm-DcFcxR-x.js +0 -71
- package/dist/assets/AppDrawerContent-DWL57wUk-CTYMDaFW.js +0 -91
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--BZ5nuANR.js +0 -47
- package/dist/assets/ArAgingDetailPage-Is5kv2-P-Idr08jfG.js +0 -46
- package/dist/assets/BillPayPromoPage-DkyMRquU-Dj-z2at-.js +0 -84
- package/dist/assets/BillingSettingsPage-C4P_B31U-uL_oo_Zi.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-C_Nmv34F-D_Z65MbK.js +0 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-CsZ0tuPs.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-K0q5uz19.js +0 -222
- package/dist/assets/ChargeCardSetupPage-Dbz_GdRL-CRLc6gQA.js +0 -36
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-G5AT8Jma.js +0 -260
- package/dist/assets/CompanyPassportPage-Dva5Le3j-BF4TiZxy.js +0 -574
- package/dist/assets/ConfettiBurst-BV8M1GTR-RAUhJD9L.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-BnerVEUo.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-cDT9ZkYW.js +0 -66
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-DWQ8bB05.js +0 -107
- package/dist/assets/DashboardSidebarBackgroundAnimation-BSwRgXFk-DALjbi7i.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-BMyU0nvJ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DF8bLeDL-BFafDF0u.js +0 -21
- package/dist/assets/EditPeoplePage-CgUM9UYI-rgVohKoi.js +0 -55
- package/dist/assets/EntityDetailPage-ByHvXL2c-DSH894jm.js +0 -18
- package/dist/assets/InsightsSection-Drr3r1BL-CjxdUNmP.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-yezw_UZd.js +0 -292
- package/dist/assets/InvitePeoplePage-Bbv2pjhR-BlWUtLTm.js +0 -12
- package/dist/assets/InvoiceUploadSection-CO34IhU8-BXYPHug3.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BKqCiNdy-DkWki9zE.js +0 -16
- package/dist/assets/LabeledDocumentField-DtOCNiEg-D9JTOSzg.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CsbwG9At-cQNLvsmj.js +0 -59
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-BwwgWArG.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-ByN_sw48.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-DmiUUFsh.js +0 -1
- package/dist/assets/MailingDetailsSection-CjO5OVZN-DegHUXeJ.js +0 -21
- package/dist/assets/Menu-C_kotivE-D6is806z.js +0 -17
- package/dist/assets/MyPendingActivationChargeCardListPage-rmpT6HFS-B4Qs0oZF.js +0 -6
- package/dist/assets/MyProfileSettingsPage-CTmDuFNJ-BGz88h0l.js +0 -85
- package/dist/assets/NavBarWithPicker-VzNJnXX3-CVk1XYhM.js +0 -30
- package/dist/assets/NotificationsListConfig-QOeX1KBS-B8g9WUU8.js +0 -1
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-YN3cB1pG.js +0 -107
- package/dist/assets/QBOSetupSection-B5D4uUOv-DeAmYAmF.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-DovV70Lx.js +0 -314
- package/dist/assets/ReimbursementPromoPage-04Cqe8zH-KzTT32Jt.js +0 -84
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CVW8lX-D.js +0 -1
- package/dist/assets/SignInScreen-Bjl3XgK5.js +0 -1
- package/dist/assets/StatementItem-CBGi9f9C-BZ7BW0Y9.js +0 -31
- package/dist/assets/StatementsPage-De1wPDzS-DovYzULQ.js +0 -58
- package/dist/assets/SummaryCard-gehzCCsW-CJ0XksM9.js +0 -1
- package/dist/assets/TransactionListPage-C2Iz7CDJ-u9O34ri-.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-BwuBEauv.js +0 -80
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-CDwsEW8T.js +0 -38
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-axoWoSXZ.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-DwPwMoty.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-CmWvcICc.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DHpWht7s-CDISCH3G.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-DXmdPnU2-CCgQ_AYa.js +0 -36
- package/dist/assets/ZeniTransferAmountSlider-7nRSeYbl-DBi4mLv5.js +0 -63
- package/dist/assets/analyticsHelper-CL_xT2dh.js +0 -1
- package/dist/assets/downloadPdf-Dl5UuOv_-BGIDi-0L.js +0 -1
- package/dist/assets/epic-CCTfsn6p.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-B35wwXyB.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BNP8a_pF-Dpb18Gvj.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-2QrpLTAl.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-BDihKnuD.js +0 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-CvqZt-7P.js +0 -1
- package/dist/assets/toChartData-xURa2wgf-DMY8hRBN.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as
|
|
1
|
+
import{a9 as qt,cF as Gt,J as G,kY as Zt,V as t,ac as Ht,cp as Jt,cq as Xt,cr as Yt,aS as ei,o as i,O as te,cd as ti,cm as rt,g5 as ii,b4 as oi,ct as ni,iR as li,iS as ri,T as si,bT as Y,e as Le,bO as ai,aU as di,y as p,g6 as ci,kZ as pi,p as q,c_ as mi,am as W,al as F,ai as se,bE as ui,bR as ft,b as ze,aQ as ee,aK as xe,i_ as $t,i$ as vt,k_ as hi,f9 as gi,k$ as bi,l0 as St,l1 as kt,k9 as yi,l2 as xi,l3 as wi,c,iZ as Tt,cz as Pt,cC as Ct,ax as Je,gJ as Xe,a8 as Ye,gj as et,cJ as jt,l4 as _t,l5 as Ie,aO as De,l6 as tt,l7 as Bt,l8 as E,l9 as zt,gv as Lt,cZ as It,du as it}from"./index-CRNmezJu.js";import{a as P,S as Dt}from"./sentry-Dla7mstv.js";import{n as o,c as J}from"./mui-mhzAEcDs.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-CSmiPBaP.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-CWQs9lpu-RXB7-04g.js";import{d as Rt}from"./useLongPress-GCK2COYQ-km9xaFy6.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.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]="054e9c18-27c8-4fd5-aabc-f1e28dea2da5",e._sentryDebugIdIdentifier="sentry-dbid-054e9c18-27c8-4fd5-aabc-f1e28dea2da5")}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=G(),[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(Ii,{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(Di,{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=Dt.memo(ji),st=o(se)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -69,7 +69,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
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:
|
|
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:qe,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=G(),l=Je(),s=Xe(),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(N=>N.resolved===!1),[B]),T=N=>{N.stopPropagation(),s?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:f,companyId:l.currentTenant?.companyId??qe,companyName:l.currentTenant?.companyName??qe,entityType:"bill.details",entityId:e.id}),v.trackCommentActivity("bill","clicked",l.currentTenant?.companyName??qe,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):Ie(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(Oi,{onClick:k,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ni,{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(Ji,{isProcessing:m,children:t.jsx(Xi,{})})}):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(Zi,{children:[n!==void 0?t.jsx(qi,{className:"statusTag",color:n.color,bgColor:n.bgColor,borderColor:n.borderColor,children:n.value??le.hyphenText}):t.jsx(Gi,{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:De("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
73
|
display: flex;
|
|
74
74
|
margin-bottom: ${i.sp3};
|
|
75
75
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -78,11 +78,11 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
78
78
|
padding-top: ${e=>ye.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
79
|
padding-bottom: ${e=>ye.containerPaddingBottom.valuePx(e.windowSize)};
|
|
80
80
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
81
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
81
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${q.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
85
|
-
${e=>e.isProcessing?
|
|
85
|
+
${e=>e.isProcessing?J`
|
|
86
86
|
color: ${e.theme.colors.grey2};
|
|
87
87
|
border-color: ${e.theme.colors.grey2};
|
|
88
88
|
div {
|
|
@@ -94,7 +94,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?J`
|
|
98
98
|
color: ${e.theme.colors.primary};
|
|
99
99
|
border-color: ${e.theme.colors.primary};
|
|
100
100
|
div {
|
|
@@ -106,7 +106,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
106
106
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
107
107
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
108
108
|
}
|
|
109
|
-
`:
|
|
109
|
+
`:J`
|
|
110
110
|
&:hover {
|
|
111
111
|
color: ${e.theme.colors.primary};
|
|
112
112
|
border-color: ${e.theme.colors.primary};
|
|
@@ -125,10 +125,10 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
125
125
|
margin-left: ${i.sp0};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Oi=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Ni=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
@@ -139,14 +139,14 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
139
139
|
column-gap: 12px;
|
|
140
140
|
align-items: flex-start;
|
|
141
141
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
142
|
-
`,
|
|
142
|
+
`,Ki=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
gap: ${i.sp1};
|
|
146
146
|
align-items: center;
|
|
147
147
|
margin-right: ${i.sp3};
|
|
148
148
|
color: ${e=>e.theme.colors.hero};
|
|
149
|
-
`,
|
|
149
|
+
`,Wi=o(F)`
|
|
150
150
|
flex-grow: 1;
|
|
151
151
|
word-break: break-word;
|
|
152
152
|
display: -webkit-box;
|
|
@@ -161,13 +161,13 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
161
161
|
color: ${e=>e.theme.colors.hero};
|
|
162
162
|
justify-content: flex-end;
|
|
163
163
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,
|
|
164
|
+
`,Qi=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
168
168
|
width: 90%;
|
|
169
169
|
white-space: nowrap;
|
|
170
|
-
`,
|
|
170
|
+
`,qi=o(W)`
|
|
171
171
|
display: flex;
|
|
172
172
|
color: ${e=>e.color};
|
|
173
173
|
height: 20px;
|
|
@@ -181,7 +181,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
181
181
|
display: inline-block;
|
|
182
182
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
183
|
border-radius: ${i.sp1};
|
|
184
|
-
`,
|
|
184
|
+
`,Gi=o(F)``,ct=o(F)`
|
|
185
185
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
186
186
|
color: ${e=>e.theme.colors.hero};
|
|
187
187
|
box-sizing: border-box;
|
|
@@ -192,7 +192,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${i.sp2};
|
|
195
|
-
`,
|
|
195
|
+
`,Hi=o.div`
|
|
196
196
|
position: relative;
|
|
197
197
|
top: 2px;
|
|
198
198
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -202,15 +202,15 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
202
202
|
flex-direction: column;
|
|
203
203
|
align-items: flex-start;
|
|
204
204
|
justify-content: center;
|
|
205
|
-
`,Pe=o(
|
|
205
|
+
`,Pe=o(W)`
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Ji=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
align-items: center;
|
|
212
212
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
213
|
-
`,
|
|
213
|
+
`,Xi=o(Lt)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
@@ -221,7 +221,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
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:
|
|
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:Ge,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=G(),f=Je(),B=Xe(),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??Ge,companyName:f.currentTenant?.companyName??Ge,entityType:"bill.details",entityId:e.id}),g.trackCommentActivity("bill","clicked",f.currentTenant?.companyName??Ge,f.controllersList.controllers.map(Ue=>it(Ue)),void 0,void 0,"comment on field")},{getValues:A,setValue:N}=jt(),R=At(e.billPayInfo.billPaymentStatus.code)?_t(e.createdByUser):Ie(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),Z=P.useCallback(()=>{!b&&e.bulkSelectInfo?.isSelectableForBulkAction&&!r&&N(m,[...oe,e.id])},[m,b,r,N,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,oe]),de=P.useCallback(()=>{Z()},[Z]),Ke=P.useCallback(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),y?Z():s(e.id)},[Z,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:De("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
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -230,10 +230,10 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
230
230
|
padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
231
|
padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
|
|
232
232
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
233
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
233
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${q.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?
|
|
236
|
+
${e=>e.isProcessing?J`
|
|
237
237
|
color: ${e.theme.colors.grey2};
|
|
238
238
|
border-color: ${e.theme.colors.grey2};
|
|
239
239
|
div {
|
|
@@ -245,7 +245,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?J`
|
|
249
249
|
color: ${e.theme.colors.primary};
|
|
250
250
|
border-color: ${e.theme.colors.primary};
|
|
251
251
|
div {
|
|
@@ -257,7 +257,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
257
257
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
258
258
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
259
259
|
}
|
|
260
|
-
`:
|
|
260
|
+
`:J`
|
|
261
261
|
&:hover {
|
|
262
262
|
color: ${e.theme.colors.primary};
|
|
263
263
|
border-color: ${e.theme.colors.primary};
|
|
@@ -307,9 +307,9 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
307
307
|
display: flex;
|
|
308
308
|
color: ${e=>e.theme.colors.hero};
|
|
309
309
|
justify-content: flex-end;
|
|
310
|
-
`,ao=o(
|
|
310
|
+
`,ao=o(W)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,co=o(
|
|
312
|
+
`,co=o(W)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -322,7 +322,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
322
322
|
display: inline-flex;
|
|
323
323
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
324
324
|
border-radius: ${i.sp1};
|
|
325
|
-
`,pt=o(
|
|
325
|
+
`,pt=o(W)`
|
|
326
326
|
color: ${e=>e.theme.colors.grey1};
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
@@ -334,7 +334,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
334
334
|
flex-direction: column;
|
|
335
335
|
align-items: ${e=>e.hasAlertIcon?"flex-start":"flex-end"};
|
|
336
336
|
justify-content: center;
|
|
337
|
-
`,Ce=o(
|
|
337
|
+
`,Ce=o(W)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
339
|
`,mo=o.div`
|
|
340
340
|
display: flex;
|
|
@@ -361,7 +361,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
361
361
|
:hover {
|
|
362
362
|
color: ${e=>e.theme.colors.primary};
|
|
363
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)},
|
|
364
|
+
`,xo=o.div``,ae=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Me={key:"reportName",value:ae.name,sortOrder:"ascending",width:new p(30,30)},Oe={key:"type",value:ae.type,sortOrder:"ascending",width:new p(20,20)},Ne={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)},Oe,Ne,Ve],wo=[Me,{key:"submittedOn",value:ae.submitted,sortOrder:"ascending",width:new p(20,20)},Oe,Ne,Ve],fo=[Me,{key:"submittedOn",value:ae.paymentDate,sortOrder:"ascending",width:new p(20,20)},Oe,Ne,Ve],$o=[Me,{key:"submittedOn",value:ae.paidOn,sortOrder:"ascending",width:new p(20,20)},Oe,Ne,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=G(),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=Dt.memo(vo),mt=o(se)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -429,7 +429,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
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])},
|
|
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=G(),h=Je(),u=P.useRef(null),[l,s]=P.useState(0);P.useLayoutEffect(()=>{u.current&&s(u.current.offsetWidth*Bt)},[x]);const v=Ye().analytics,f=Xe(),B=`dashboard_${h.currentTenant?.companyId}`,g=()=>{$(e.id)},C=e.reimbursementTypesIncluded,T=Ie(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]),N=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(Io,{children:[t.jsxs(Do,{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(Oo,{windowSize:x,responsiveWidth:pe[3].width,children:[n!==void 0?t.jsx(No,{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(Ze,{children:`${H.byText} `+T[0]+`${H.dots}`})}):t.jsx(Ze,{children:`${H.byText} `+T[0]}):null,y!=null?t.jsx(Ze,{children:y}):null]}),t.jsx(Eo,{windowSize:x,responsiveWidth:pe[4].width,children:De("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:N}):null]})},zo=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -438,11 +438,11 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
438
438
|
padding-top: ${e=>ve.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
439
|
padding-bottom: ${e=>ve.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
445
|
-
${e=>e.isProcessing?
|
|
445
|
+
${e=>e.isProcessing?J`
|
|
446
446
|
color: ${e.theme.colors.grey2};
|
|
447
447
|
border-color: ${e.theme.colors.grey2};
|
|
448
448
|
div {
|
|
@@ -454,7 +454,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?J`
|
|
458
458
|
color: ${e.theme.colors.primary};
|
|
459
459
|
border-color: ${e.theme.colors.primary};
|
|
460
460
|
div {
|
|
@@ -466,7 +466,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
466
466
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
467
467
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
468
468
|
}
|
|
469
|
-
`:
|
|
469
|
+
`:J`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -525,7 +525,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
525
525
|
box-sizing: border-box;
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
|
-
`,
|
|
528
|
+
`,Oo=o(F)`
|
|
529
529
|
position: relative;
|
|
530
530
|
top: 2px;
|
|
531
531
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -535,11 +535,11 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
align-items: flex-start;
|
|
537
537
|
justify-content: center;
|
|
538
|
-
`,Ze=o(
|
|
538
|
+
`,Ze=o(W)`
|
|
539
539
|
position: relative;
|
|
540
540
|
top: 1px;
|
|
541
541
|
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,
|
|
542
|
+
`,No=o(W)`
|
|
543
543
|
display: flex;
|
|
544
544
|
color: ${e=>e.color};
|
|
545
545
|
align-items: center;
|
|
@@ -547,7 +547,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,me={containerPaddingLeft:new 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)},
|
|
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=G(),{getValues:s,setValue:v}=jt(),f=e.reimbursementTypesIncluded,B=Ie(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(Go,{children:[t.jsx(Zo,{windowSize:l,children:e.reportTitle??K.newReimbursementTitle}),w!=null&&t.jsx(Ho,{children:`${K.byText} ${w?.firstName} ${w?.lastName}`})]}),t.jsxs(Xo,{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(qo,{children:[t.jsx(Jo,{children:De("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
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -556,10 +556,10 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
556
556
|
padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
557
|
padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
|
|
558
558
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
559
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
559
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${q.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?
|
|
562
|
+
${e=>e.isProcessing?J`
|
|
563
563
|
color: ${e.theme.colors.grey2};
|
|
564
564
|
border-color: ${e.theme.colors.grey2};
|
|
565
565
|
div {
|
|
@@ -571,7 +571,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?J`
|
|
575
575
|
color: ${e.theme.colors.primary};
|
|
576
576
|
border-color: ${e.theme.colors.primary};
|
|
577
577
|
div {
|
|
@@ -583,7 +583,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
583
583
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
584
584
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
585
585
|
}
|
|
586
|
-
`:
|
|
586
|
+
`:J`
|
|
587
587
|
&:hover {
|
|
588
588
|
color: ${e.theme.colors.primary};
|
|
589
589
|
border-color: ${e.theme.colors.primary};
|
|
@@ -601,21 +601,21 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
601
601
|
|
|
602
602
|
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
603
|
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,
|
|
604
|
+
`,Wo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
607
|
`,Uo=o.div`
|
|
608
608
|
display: flex;
|
|
609
609
|
width: 100%;
|
|
610
610
|
justify-content: space-between;
|
|
611
|
-
`,
|
|
611
|
+
`,Qo=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
|
-
`,
|
|
614
|
+
`,qo=o.div`
|
|
615
615
|
display: flex;
|
|
616
616
|
flex-direction: column;
|
|
617
617
|
text-align: right;
|
|
618
|
-
`,
|
|
618
|
+
`,Go=o.div`
|
|
619
619
|
display: flex;
|
|
620
620
|
flex-direction: column;
|
|
621
621
|
column-gap: 12px;
|
|
@@ -630,18 +630,18 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${zt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Ho=o(W)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Jo=o(F)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,
|
|
639
|
+
`,Xo=o(W)`
|
|
640
640
|
color: ${e=>e.theme.colors.grey1};
|
|
641
641
|
box-sizing: border-box;
|
|
642
642
|
display: flex;
|
|
643
643
|
align-items: center;
|
|
644
|
-
`,bt=o(
|
|
644
|
+
`,bt=o(W)`
|
|
645
645
|
color: ${e=>e.theme.colors.grey1};
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
@@ -651,9 +651,9 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
651
651
|
box-sizing: border-box;
|
|
652
652
|
display: flex;
|
|
653
653
|
flex-direction: column;
|
|
654
|
-
`,
|
|
654
|
+
`,He=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,en=o(
|
|
656
|
+
`,en=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,7 +663,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
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=
|
|
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=G(),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
667
|
height: 100%;
|
|
668
668
|
width: 100%;
|
|
669
669
|
display: flex;
|
|
@@ -683,7 +683,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
683
683
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
684
684
|
border-radius: ${i.sp2};
|
|
685
685
|
box-sizing: border-box;
|
|
686
|
-
box-shadow: ${e=>e.theme.mode==="dark"?`${
|
|
686
|
+
box-shadow: ${e=>e.theme.mode==="dark"?`${q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${q.dropShadowNormalLight}`};
|
|
687
687
|
`,cn=o.div`
|
|
688
688
|
width: 100%;
|
|
689
689
|
flex-shrink: 0;
|
|
@@ -694,7 +694,7 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
694
694
|
justify-content: center;
|
|
695
695
|
margin-top: ${i.sp5};
|
|
696
696
|
padding-bottom: ${i.sp3};
|
|
697
|
-
`;function yt({header:e,updatingMessage:n}){const a=Le(),r=H(),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=H(),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:Z,...de}=j;return t.jsx(Mn,{ref:ie,style:{...Z,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(In,{onClick:k,children:t.jsx(Dn,{})}),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:Z})=>{const de=Gt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});P.useEffect(()=>{const z=de.watch((I,{name:_})=>{_!=null&&I!=null&&Ht(()=>We(_,I))});return()=>{z.unsubscribe()}});const We=async(z,I)=>{if(z===ue){let _=[];if(I[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===v)break}else _=I[ue].filter(D=>D!==S.common.all.toLowerCase());if(l==="bill_pay"){const D=e.filter(we=>_.includes(we.id)),ne=ke(D);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const D=e.filter(we=>_.includes(we.id)),ne=Te(D.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=I[ue];ie?.(_)}},Ke=()=>{C.includes("cancel")?Kt():qt()},V=H(),[Ue,Se]=P.useState(!1),[J,qe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const z=Zt(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)},Wt=P.useCallback(()=>{const{title:z,description:I}=Cn(l,g.length,d,B);if(qe({type:"delete",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),D=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,D)}else{const _=e.filter(ne=>g.includes(ne.id)),D=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,D)}Se(!0)},[l,j,B,h,d,e,g]),Kt=P.useCallback(()=>{const{title:z,description:I}=Pn(l,g.length);qe({type:"cancel",title:z,description:I,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 I=e.filter(D=>g.includes(D.id)),_=ke(I);j?.trackBillPayBulkPopupConfirm(J.type,d,h,_)}else{const I=e.filter(D=>g.includes(D.id)),_=Te(I.map(D=>D.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(J.type,d,h,_)}J.type==="delete"?Z?.("delete",z):Z?.("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)),I=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,I)}else{const z=e.filter(_=>g.includes(_.id)),I=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,I)}C.includes("send_for_approval")?Z?.("send_for_approval"):Z?.(k?"approve":"review")},[l,C,e,j,g,d,h,Z,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(Qt,{...de,children:t.jsxs(Bn,{onSubmit:de.handleSubmit(Ke),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",Wt,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=H(),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=H()==="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=H()==="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(Wn,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Kn,{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`
|
|
697
|
+
`;function yt({header:e,updatingMessage:n}){const a=Le(),r=G(),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:Ot,reimbursement:hn}}=S,Q=Ot.bulkActions,O=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=G(),A=j=>{const ie=u==="bill_pay"?e[j].vendor?.name??e[j].candidateVendorName??M:e[j].reportTitle??M;return pi(ie,U)},N=P.useRef(null);P.useEffect(()=>{N.current?.resetAfterIndex(0)},[U,N,a,r]);const R=P.forwardRef((j,ie)=>{const{children:oe,style:Z,...de}=j;return t.jsx(Mn,{ref:ie,style:{...Z,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(In,{onClick:k,children:t.jsx(Dn,{})}),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:N,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:N,onColumnSortConfigChanged:R,analytics:j,updateBulkActionList:ie,removeAllTransactionsFromBulkActionList:oe,onProceedForBulkActionClick:Z})=>{const de=qt({defaultValues:{bulkSelectIds:g},values:{bulkSelectIds:g}});P.useEffect(()=>{const z=de.watch((I,{name:_})=>{_!=null&&I!=null&&Gt(()=>Ke(_,I))});return()=>{z.unsubscribe()}});const Ke=async(z,I)=>{if(z===ue){let _=[];if(I[ue].includes(S.common.all.toLowerCase())){if(d==="scheduled"&&g.length===0){_=[];for(const D of e)if(D.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&_.push(D.id),_.length===v)break}else _=I[ue].filter(D=>D!==S.common.all.toLowerCase());if(l==="bill_pay"){const D=e.filter(we=>_.includes(we.id)),ne=ke(D);j?.trackBillPayBulkSelectAll(d,h,ne)}else{const D=e.filter(we=>_.includes(we.id)),ne=Te(D.map(we=>we.reimbursementTypesIncluded));j?.trackReimbursementBulkSelectAll(d,h,ne)}}else _=I[ue];ie?.(_)}},We=()=>{C.includes("cancel")?Wt():Qt()},V=G(),[Ue,Se]=P.useState(!1),[X,Qe]=P.useState({type:M,title:M,description:M,primaryButtonText:M,secondaryButtonText:M});P.useEffect(()=>{const z=Zt(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:I}=Cn(l,g.length,d,B);if(Qe({type:"delete",title:z,description:I,primaryButtonText:S.common.texts.confirm,secondaryButtonText:S.common.texts.close}),l==="bill_pay"){const _=e.filter(ne=>g.includes(ne.id)),D=ke(_);j?.trackBillPayBulkDeleted(g.length,d,h,D)}else{const _=e.filter(ne=>g.includes(ne.id)),D=Te(_.map(ne=>ne.reimbursementTypesIncluded));j?.trackReimbursementBulkDeleted(g.length,d,h,D)}Se(!0)},[l,j,B,h,d,e,g]),Wt=P.useCallback(()=>{const{title:z,description:I}=Pn(l,g.length);Qe({type:"cancel",title:z,description:I,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 I=e.filter(D=>g.includes(D.id)),_=ke(I);j?.trackBillPayBulkPopupConfirm(X.type,d,h,_)}else{const I=e.filter(D=>g.includes(D.id)),_=Te(I.map(D=>D.reimbursementTypesIncluded));j?.trackReimbursementBulkPopupConfirm(X.type,d,h,_)}X.type==="delete"?Z?.("delete",z):Z?.("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)),I=ke(z);j?.trackBillPayBulkSelection(g.length,d,h,I)}else{const z=e.filter(_=>g.includes(_.id)),I=Te(z.map(_=>_.reimbursementTypesIncluded));j?.trackReimbursementBulkSelection(g.length,d,h,I)}C.includes("send_for_approval")?Z?.("send_for_approval"):Z?.(k?"approve":"review")},[l,C,e,j,g,d,h,Z,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:N,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(Jt,{titleComponent:t.jsx(Yt,{children:X.title}),descriptionComponent:t.jsx(Xt,{children:X.description}),primaryButtonText:X.primaryButtonText,proceedButtonVariant:X.type==="delete"?"danger":"primary",secondaryButtonText:X.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:X.type!=="delete"&&T==="In-Progress",isDisabled:X.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,X.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=G(),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=G()==="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=Ot.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(Nt,{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=G()==="small"?Vo:Bo,h=yi(a,e.submittedBy),{bulkProcessingDetail:u}=e,l=Ae(u?.type);return t.jsx(Nt,{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:O.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(On,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Nn,{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"?O.popUps.cancel.title.replace("__report__",a>1?O.reports:O.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:O.popUps.cancel.title.replace("__report__",O.reports),description:O.popUps.cancel.description.replace("<_this_>",r).replace("__report__",w).replace("<_it_>",x).replace("<_payment_>",m)}:e==="reimbursement"?{title:O.popUps.cancel.title.replace("__report__",O.report),description:O.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=O.popUps.delete.title.replace("__report__",s?O.reports:O.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=O.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=O.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
698
|
display: block;
|
|
699
699
|
height: 100%;
|
|
700
700
|
`,Bn=o.form`
|
|
@@ -745,31 +745,31 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
745
745
|
position: relative;
|
|
746
746
|
width: auto;
|
|
747
747
|
height: 100%;
|
|
748
|
-
`,Mn=o.div``,
|
|
748
|
+
`,Mn=o.div``,Nt=o.div`
|
|
749
749
|
position: relative;
|
|
750
750
|
width: 100%;
|
|
751
|
-
`,
|
|
751
|
+
`,On=o.div`
|
|
752
752
|
display: flex;
|
|
753
753
|
justify-content: flex-end;
|
|
754
|
-
`,
|
|
754
|
+
`,Nn=o.div`
|
|
755
755
|
margin-right: ${i.sp8};
|
|
756
756
|
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
757
|
-
color: ${e=>e.windowSize==="small"?
|
|
757
|
+
color: ${e=>e.windowSize==="small"?q.important:e.theme.colors.grey1};
|
|
758
758
|
`,Vn=o(mi)`
|
|
759
759
|
width: ${i.sp4};
|
|
760
760
|
height: ${i.sp4};
|
|
761
761
|
cursor: pointer;
|
|
762
762
|
color: inherit;
|
|
763
763
|
&:hover {
|
|
764
|
-
color: ${
|
|
764
|
+
color: ${q.important};
|
|
765
765
|
}
|
|
766
|
-
`,
|
|
766
|
+
`,Kn=o.div`
|
|
767
767
|
display: flex;
|
|
768
768
|
justify-content: flex-start;
|
|
769
769
|
align-items: center;
|
|
770
770
|
gap: ${i.sp2};
|
|
771
771
|
margin-left: ${i.sp8};
|
|
772
|
-
`,
|
|
772
|
+
`,Wn=o(W)`
|
|
773
773
|
height: 18px;
|
|
774
774
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
775
775
|
padding: ${i.sp0} 6px;
|
|
@@ -780,6 +780,6 @@ import{a9 as Gt,cC as Ht,q as H,kV as Zt,V as t,ac as Qt,cn as Xt,co as Jt,cp as
|
|
|
780
780
|
align-items: center;
|
|
781
781
|
`,Un=o(F)`
|
|
782
782
|
color: ${e=>e.theme.colors.primary};
|
|
783
|
-
`,
|
|
784
|
-
color: ${
|
|
783
|
+
`,Qn=o(se)`
|
|
784
|
+
color: ${q.important};
|
|
785
785
|
`;export{rl as default};
|