@zeniai/web-cockpit-ui 1.15.44-dev → 1.15.45-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/ACHDetailsPage-D2Xav-UW-S35Uhoxw.js +21 -0
- package/dist/assets/{AIPerformancePage-Bi73UpGb-fWDWILJ2.js → AIPerformancePage-DlTdGosv-wmtN61X5.js} +104 -104
- package/dist/assets/AccountInfoPage-B8-8kUGD-Dn2GAcNI.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dg0u2dUY-CwC-_xBB.js → AccountInfoPageContent-BS2TBUSE-C5aZvKIb.js} +21 -21
- package/dist/assets/{AccountLockedInfoModal-CfkJI6XB-C47nbz46.js → AccountLockedInfoModal-aukulrV7-BnyIzxt7.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-YaScsZ9w-naExi3CF.js → AccountReconDetailsDrawerPage-kQJld6_N-mlekIKpg.js} +19 -19
- package/dist/assets/AccountRow-BiEYR4Y1-BYraCT3U.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Bm3kl_kc-CgD_G72F.js → AccountsPromoCardStack-DBQnDPXQ-Cg1k8iOd.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-CSPtYmJ3.js +6 -0
- package/dist/assets/{AddToWalletPage-fW711jLQ-BRrd9uh8.js → AddToWalletPage-C4EwdLZJ-CuTX3g12.js} +19 -19
- package/dist/assets/{AgingReportsPage-BRMI5zyE-DecoJ-JY.js → AgingReportsPage-vAvkUfOS-CY0Z3qTp.js} +7 -7
- package/dist/assets/{AllUserItems-CJvwVAIJ-BTHbX-kV.js → AllUserItems-qrYg6Gdx-CdYLC57_.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BLS80uGo.js +46 -0
- package/dist/assets/{AppBasePage-BncZeYVM-BmWxuFMK.js → AppBasePage-DrE-W6d7-BJchX_M5.js} +8 -8
- package/dist/assets/{AppDrawerContent-nr81m7Yo-B9REx-fp.js → AppDrawerContent-ATbZG_cu-DjhYjDhr.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-B_-ue4-L.js +47 -0
- package/dist/assets/{ArAgingChart-C6JBnoyC-CUJeSTbJ.js → ArAgingChart-CuzG9AZY-tEsYzpMw.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-KRxBhwoF-Bs_qr7kj.js → ArAgingDetailPage-DwRkcLEu-CyeLsbpX.js} +6 -6
- package/dist/assets/{AttachmentView-BQxK0CVV-CCdx-RAZ.js → AttachmentView-BrQRChzc-CLMui9x5.js} +6 -6
- package/dist/assets/{BankAccountSection-BNyucHO2-DmJIO1WC.js → BankAccountSection-hcKEMs80-C6Jbh-5h.js} +14 -14
- package/dist/assets/{BankAccountWarningSection-CXuL4u5y-g-HZT5cn.js → BankAccountWarningSection-CpxVDMSZ-C7N2KxYy.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-CBgj0E9b-D9RluevF.js → BankConnectionsSettingsPage-Bdw1K00m-BvzDHkyQ.js} +27 -27
- package/dist/assets/BillDetailPage-D0NLFZXA-C0lmLs0O.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-Dx4q6Dqs-DjDGvRN4.js → BillPayApprovalRuleDetailPage-DkpCvYvo-O8-69iVq.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-CqAUZyDI-F4GaYkgK.js → BillPayApprovalRulesPage-BEqZD0GU-BxwF6ACD.js} +17 -17
- package/dist/assets/BillPayPromoPage-BMcP4EU5-CGhF2c_7.js +84 -0
- package/dist/assets/{BillPaySetUpPage-Di_7lbDT-DcNv7Em-.js → BillPaySetUpPage-WdEdbf16-Dy9LV6PH.js} +4 -4
- package/dist/assets/BillingSettingsPage-GtRUqSZm-DYu87yXp.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DaWpx5HK.js +1 -0
- package/dist/assets/{BoxItem-emrYmYE_-COqrZfL4.js → BoxItem-CACRFWG2-DVYuXWIN.js} +1 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-k_B2yV-X.js +138 -0
- package/dist/assets/{CardNumberSubText-D0jiyjgP-DrKFcYQ8.js → CardNumberSubText-C-oVdziK-DunIHxKO.js} +3 -3
- package/dist/assets/{CashbackDetailPage-Ck68kvKO-btdGd49W.js → CashbackDetailPage-BhFKSl4p-BQ_VopLN.js} +26 -26
- package/dist/assets/{ChargeCardDetailPage-3MoXQEkg-CSC4sD6E.js → ChargeCardDetailPage-D8J6HINu-BuT8xfhQ.js} +20 -20
- package/dist/assets/{ChargeCardListPage-C-Ju6BEl-kbouKU1g.js → ChargeCardListPage-tdUKyHdz-C4MlwZVJ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-CiKxrzpB-BwvLbNVl.js → ChargeCardListTable-CByk3iqX-DoHny0DQ.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-CQFeSCt3-CSxBUfgn.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BRbQG-FC.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-D9dU6_7j-D1-1DfmI.js → ChargeCardPromoPage-C4cgx2gm-D_Yc06ky.js} +32 -32
- package/dist/assets/{ChargeCardSetupPage-D0WrBcxG-ycTOq8L1.js → ChargeCardSetupPage-DtwiTNKA-BFEsY7tk.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-CJFkaLCd-BumVYv_H.js → ChargeCardStatementsPage-B0KPw52e-DBUcIJ4E.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-Durtx5TN-DwuNGoqA.js → CheckDepositDrawerPage-DKNAXI77-BLa4tOO2.js} +15 -15
- package/dist/assets/{CollapsableReportTable-CCnbdYjk-BPZVqk8_.js → CollapsableReportTable-Cq8bhaYC-ZEUmVRwU.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-g42vPH8W-BxpfMgYr.js → CompanyOfficerDetailsSection-Rk0B5cB5-D0GfPSDE.js} +32 -32
- package/dist/assets/{CompanyPassportCard-B6FYoxyq-BX2GdDcs.js → CompanyPassportCard-CHaKk74P-ChdhDOcg.js} +8 -8
- package/dist/assets/{CompanyPassportPage-rQvYbXt5-CjnUEPux.js → CompanyPassportPage-DXWXFFKM-KfIA3e5g.js} +20 -20
- package/dist/assets/{CompleteProfile-CcNl1Edy-CEvFMhi-.js → CompleteProfile-ChaWsK6t-DspQFryi.js} +2 -2
- package/dist/assets/ConfettiBurst-CdB5fRMt-B7nj3Nyc.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DwnbKiER.js → ConstrainedInnerElement-BeIpAPjB-DRM9GAJ_.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-SK5exTt3-BjZ8lvyL.js → CreateOrEditVendorPage-C_8Jqubo-Bk2WY5iH.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-EtqemOZS-BnapCiVl.js → CreditCardPaymentDrawerPage-lOjOtk28-Csye-cQG.js} +18 -18
- package/dist/assets/CurrencySelectField-BDqU4HVy-2khO8cFF.js +139 -0
- package/dist/assets/CustomerOnboardingActivationPage-DO6NCakm-AEOEu5XD.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DBrhwTVX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-FKQGP-CB-zopx1VE5.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-Nc7z_MPq.js} +16 -16
- package/dist/assets/{CustomerOnboardingNoStepsPage-D3T1ftj7-D6SSHlsp.js → CustomerOnboardingNoStepsPage-CbG5WshV-DAGPqB92.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-K68iZ1pc-D0YY7tLm.js → CustomerOnboardingPage-DyVyf8oK-qTGHLvSK.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZY25kUO-BvycO_p-.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DuMqzBOS.js} +10 -10
- package/dist/assets/{Dashboard-C0M4vT8O-BYqqEpJb.js → Dashboard-Csggwob0-CyGCXOXS.js} +66 -66
- package/dist/assets/{DashboardReportPage-D59wQPy8-DDmWtoIa.js → DashboardReportPage-DFIdi_I0-BoysSy4a.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-4-suD4NX.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZHXtZB5-BEgA4Uyh.js → DepositAccTransactionItem-CZ7v1T4S-Btt7kuPp.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-FldPGX6K-BuhxBRx8.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-SDNDGGnk-Dpbta2A4.js → DomesticWireDetailsPage-C--eZ-UG-iiw5Chir.js} +2 -2
- package/dist/assets/{DownloadOverlay-CW7nP_gr-Gu43ShKI.js → DownloadOverlay-4f9deyJS-BdBfaHAQ.js} +26 -26
- package/dist/assets/{DrawerPage-BdXd2igp-_3hBO89m.js → DrawerPage-roO3xvRT-XwvbAR8R.js} +11 -11
- package/dist/assets/EditPeoplePage-pi5RclAj-BM2zxscy.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-BxmdhEQa.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-hGdzRif2.js +18 -0
- package/dist/assets/{EntitySummarySection-BNvGG3d6-BgSlIoO3.js → EntitySummarySection-fBL4TZpT-DwG1Et7L.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-Dpd7fWT8-CJNhgI1p.js → ExpenseAutomationOverviewPage-CnhNINCc-BWYSqjyt.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BzgpYsoD.js +1703 -0
- package/dist/assets/{ExpressPayPage-B_jJBRS3-CqeRUh4h.js → ExpressPayPage-c8oTCnBR-BO5E-s_t.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-CkiCr5FY-YcKqVNJz.js → FeaturePreviewPage-DkiAajs2-CeQkBCBu.js} +3 -3
- package/dist/assets/{FollowStepsSection-D4hhP5Ns-Dhgeeir0.js → FollowStepsSection-GaWu1kt9-BI3yZ8yb.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-OABkNmc3.js +291 -0
- package/dist/assets/{InformationCardStack-L_DUxY4M-D8FPjAw-.js → InformationCardStack-dMFbHUWM-DZ5NgV9d.js} +6 -6
- package/dist/assets/{InsightsCardStack-BkHzx-Ku-CGbiVWHq.js → InsightsCardStack-BlXkyuyz-BYkM34Ig.js} +9 -9
- package/dist/assets/InsightsSection-D-oCmrir-CD7SS_Wx.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-Cd1Rx9sO-CrFZOF4B.js → IntegrationsSettingsPage-D-hfghuq-9CRnYKlL.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-D9MjWari-b7e10eXN.js → InternationalWireSwiftDetailsPage-DxdKE300-DZZJSkkC.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-UEYqwZ-4.js +65 -0
- package/dist/assets/{InviteFormPage-DuMgV0Gj-COrTi430.js → InviteFormPage-BCdalqtP-CheVg02u.js} +21 -21
- package/dist/assets/{InvitePageListView-C8FmzWUR-C8XzfhVF.js → InvitePageListView-B88FW48q-BlNwjDCb.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-CTYR92-E.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-CkdGw_XE.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BSakJkYv-CIpGjR5J.js → IssueChargeCardPage-B6wmvbEr-BJuCdS5L.js} +18 -18
- package/dist/assets/{LabeledAddressValue-7ZW0Bp2--B1g9_ntb.js → LabeledAddressValue-CQrDCgNs-BE2vwBEi.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BoHS44YO-GpChwVD3.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-DbSKF3Eo.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-CBp07VjV-BFYchWVu.js → LabeledCountryMultiSelectField-D1fVDYR_-X0msQxRV.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-B_esaKIM-BMEYFLNo.js → LabeledCreatableSingleSelectField-Bhka-Faj-PIAOXuuF.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CP7eylom.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BI8tGUij-WgkzFxD0.js → LabeledDropDownFormattedTextField-ChgtJqPr-DoauSiSH.js} +7 -7
- package/dist/assets/LabeledText-2EDpuXZ4-C8KbdmSn.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BoJDAYsP-ISocjwDg.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Dxfcd1ix.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-B7n0GmSV-aaT1wrjI.js → LabeledZeniRolesDropDownField-CpH0eDWO-nc3j9OL8.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-BRHWap1M-B6jJFTGs.js → LinkJETransactionPage-BhV2MnCY-2VFbWc8b.js} +16 -16
- package/dist/assets/LockCardPage-CHv1xi2J-DERlEjt9.js +623 -0
- package/dist/assets/{LowBalancePopup-6cIv7QGI-Cdkp97a-.js → LowBalancePopup-Cb55PGLc-gAPp5TRy.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-MnmyVJLu.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BiwQJWMK.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Ba4r75te.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-BOQ43guP.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BaWqmY8Y-DpNPE-31.js → MagicLinkTitleSection-BA-i6vzA-BK_4bD52.js} +5 -5
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BkNjZheA.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-DkE_cUdA-B5nqcQf6.js → MyBankConnectionsSettingsPage-Aer6AWxY-BxNOJih2.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-CbDHJT6Y.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CFSERtJI.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--DUG3-gGB.js +30 -0
- package/dist/assets/{NavigationArrow-CJ3RPyfe-DBdDojnz.js → NavigationArrow-kQWS5Pzb-BEUVzE31.js} +7 -7
- package/dist/assets/{NavigationDots-D4COr3-8-BoU1J180.js → NavigationDots-BQb_Fodq-DtOlofVb.js} +2 -2
- package/dist/assets/{NewGlobalMerchantPage-CwrkgMXG-CLtkOvtX.js → NewGlobalMerchantPage-z86XZorn-DoavPLi0.js} +40 -40
- package/dist/assets/NoDataChart-CyYJ6icu-DPPKQloI.js +26 -0
- package/dist/assets/{NoDataTable-Dvgptxms-ken8n7Gv.js → NoDataTable-DVe7sQhD-x5eVDn8H.js} +1 -1
- package/dist/assets/{NotFoundPage-BTdYSpRB-DzcaBauu.js → NotFoundPage-B1XCmhSe-DRWfxKXj.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-hF48Xjil-DO4vgNZR.js → NotificationSettingsPage-BaN20EGV-BGI1AOxL.js} +20 -20
- package/dist/assets/NotificationsListConfig-BOW_TmPC-gVlD4if6.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-BbYISYVW.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-CtYWzGKb.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-lZh11hHV.js → OverlayContainerPage-D4QU0p4o-DWwt3jvC.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BzMdJxuM-CW9al9Hz.js → PandLWithForecastPage-CXtJhnA_-CX7CsCDy.js} +12 -12
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CDPrK0IE-Bj86EDR9.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-DGKyDmFS.js} +16 -16
- package/dist/assets/PeoplePage-DXC2CtOt-CfYJLjB6.js +675 -0
- package/dist/assets/{Preview-DOtugFE3.js → Preview-bUJ-afSX.js} +1 -1
- package/dist/assets/{ProductsCarousel-CPh6jfEO-DETwqGwx.js → ProductsCarousel-ufZlh7Rx-BIDCk-h1.js} +7 -7
- package/dist/assets/{PromoBaseCards-Dl2VCjhb-rYH3pV0i.js → PromoBaseCards-D2UbhBhT-BSjHyOyw.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-B3Ph_e2z-_atibkwZ.js → QBOConnectionDialog-BrQ71F06-BH2ZV7vR.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--DnT8IFo9.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Djt5y4oN-BC_IHAVg.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BKRiZPcc.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CiJJjcFu-CunJ2bVS.js → ReimbursementApprovalRulesPage-CMpYn5y_-DhEhjlJP.js} +13 -13
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-EfH6pB2u.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-CPVzzNRs-HEHlPAqh.js → ReimbursementPromoPage-DXTAY8c7-BNOZ_20N.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-BtOQPkaY-026y2WyP.js → ReimbursementSetUpPage-KrGPXTCb-qu8Limvb.js} +14 -14
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DBc7kt2f.js +1 -0
- package/dist/assets/{ReloadCard-C7JwMWXw-Cvj7koCQ.js → ReloadCard-vAhL7B8U-D7YWwAyL.js} +7 -7
- package/dist/assets/{ReportTableViewSelector-zuExZvaR-CuH-HEtv.js → ReportTableViewSelector-Y97ney3W-CvSSJ9ac.js} +5 -5
- package/dist/assets/{ReportsPage-DZpovmcV-CxO7Ay0j.js → ReportsPage-DKM0gVzR-DOSeE9yO.js} +6 -6
- package/dist/assets/{RevenueChart-ez6wj7cc-DsS332Fh.js → RevenueChart-BEjDS1u4-BIqPjNsw.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-CSPg-7hy-BBEucee7.js → ReviewDetailsPage-BlQLrN9z-Dca8kSzg.js} +53 -53
- package/dist/assets/{ReviewOverlay-CCHslqz--CZdRxBdf.js → ReviewOverlay-Bn3TFqfi-DPoyDHGn.js} +9 -9
- package/dist/assets/RoleWithToolTip-DhBFvJea-B8n0jz5Q.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DcTMG4tX-kAkxwz74.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-TyHmMR8_.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-Bxq5fYyw-ByraafRE.js → ScheduleDetailsPage-BP0wdtoP-B3l1fyxF.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-NNixAuqw.js +324 -0
- package/dist/assets/{ScreenRoutes-DADRt3m9.js → ScreenRoutes-Dkdo_QnR.js} +48 -48
- package/dist/assets/{SetUpAccountSection-8mYaeWwd-DgrolkOV.js → SetUpAccountSection-CoVrSSYL-CtIuqnUK.js} +7 -7
- package/dist/assets/SignIn-BoAejo7r-BtV3Ttcw.js +491 -0
- package/dist/assets/SignInScreen-DsBeFXpf.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BH8cRQWr.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BYvhmmSc-BoQt5fMQ.js → SpendManagementPerTabPage-BWDjZyLp-C1eUKzso.js} +114 -114
- package/dist/assets/{SpendManagementSection-CCoM_Cxv-CkVjYk2a.js → SpendManagementSection-D8rBpC-y-Co0RTAvb.js} +22 -22
- package/dist/assets/StatementItem-Cu6dlAsl-DmauqRhg.js +31 -0
- package/dist/assets/StatementsPage-DiY2BOcu-ZhmXJvRa.js +58 -0
- package/dist/assets/{StatusSwitcher-qPOjXUSo-CGzUIx1d.js → StatusSwitcher-B9MARTyR-njYpaPcv.js} +4 -4
- package/dist/assets/{SubTabSwitcher-CaSibFBm-RaOxS7Pn.js → SubTabSwitcher-C3rtSwro-UHdU-bAk.js} +2 -2
- package/dist/assets/{SummaryCard-BsvJatQs-CjLjCcVs.js → SummaryCard-CShVbqhj-BLj7j0_e.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-uCuNXBz9.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-CfMkQvYF-CiannF9n.js → TimeRangeSwitcher-DFnX6_WT-DWIBGfP-.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-Bs-pmnzg.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BFZ7bLWL.js +31 -0
- package/dist/assets/{TopExCard-B9J8lGLo-B30R7u2A.js → TopExCard-dI_WEGWb-C8zSoGB_.js} +12 -12
- package/dist/assets/{TopExDetailPage-BD1I7eRD-DJwR7TZd.js → TopExDetailPage-BWy5E8Lp-DECCdxzr.js} +14 -14
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-PWZNzXJ2.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-BuHJVoXs.js +903 -0
- package/dist/assets/TransactionList-80KjM8Kg-CevujtV6.js +153 -0
- package/dist/assets/{TransactionListBig-Ds4Qi0V4-BTiJtrsL.js → TransactionListBig-DWQXH4ID-DoEu9YAb.js} +20 -20
- package/dist/assets/TransactionListPage-DC08rCC9-Clz1psGf.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-BuEX1oP3-Bo0z6TbP.js → TransactionVendorDetailPage-CzfJ5b_3-Bq1jZ95u.js} +15 -15
- package/dist/assets/{TransferDrawerPage-C52xyV5d-kY6aeXNg.js → TransferDrawerPage-6z-MoZZP-X9c2FbF1.js} +40 -40
- package/dist/assets/{TreasuryOverviewPage-BCCkSArK-DMCpyOsl.js → TreasuryOverviewPage-CF_ter0o-BGvD7KcD.js} +38 -38
- package/dist/assets/{TreasuryPromoPage-vXhlCR_E-BZjuyryw.js → TreasuryPromoPage-Do-PTcjI-BVsAh_s5.js} +24 -24
- package/dist/assets/{TreasuryStatementsPage-BlrEtckW-CvkQwg1B.js → TreasuryStatementsPage-l_HC4zsb-BqffJxCU.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-ClHOa93u.js +58 -0
- package/dist/assets/{TrendChart-CHHzmjv2-Z1hhrqX1.js → TrendChart-C6B61CAm-BUmkAB5E.js} +5 -5
- package/dist/assets/{TrendWithTransactions-DwaY27f2-DpPg53YC.js → TrendWithTransactions-Bp3vhaPa-DETWpy6t.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-C8k9PzrN-BtUWAI2y.js → UncategorizedAccountsMappingPage-cbFqKAv4-DeCca6Ny.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-C8kaN2M_-C9KPkw2-.js → UnitIntegrationPage-DZ0ZpE5p-DeiuATlr.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-CydYggee.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DiVrYh3K.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-Becdxrwt.js +1 -0
- package/dist/assets/{VendorDetailPage-BYaJXinH-DUPwtiyr.js → VendorDetailPage-C4g_Gfsl-BNNbSoIa.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-eHvavwdw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C5jYzHb1-C2mNpfNu.js → VendorFiling1099EditablePage-Ckt2MiVN-e4TYQZVn.js} +15 -15
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BN07guXv.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B_plx9rY-B5vOg7i2.js → VendorInternationalWireDetailsPage-Dz8mMD8d-TCwuy6i-.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CPyZywKh.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BE9NN7j2-M2MOrj0H.js → VendorsAccountsSection-BT-RADSV-Bve5DAMe.js} +4 -4
- package/dist/assets/{VerifyDevice-CHhkhIiR-CN-EcPav.js → VerifyDevice-Cxc9CVMi-DbObYdix.js} +11 -11
- package/dist/assets/{VideoPlayer-Dp4LYdDK-BIrhMJBd.js → VideoPlayer-9UkKMhGy-DADkPX-f.js} +2 -2
- package/dist/assets/{VideoPopup-Kq2Ny4qb-GkudTuD5.js → VideoPopup-rfiYmtio-DF-tGFMP.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-BaJGWils-DFY_x5GH.js → WarningsDrawerPage-DrUA4asI-C6MUqBWp.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CqeawFzU-pmL8pPeq.js → ZeniAccountDetailPage-K016HgQt-wx5VYyBN.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-BC7znv-z-NELgzow8.js → ZeniAccountListViewPage-1oZZynB1-E-BTeqGP.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-BEekGYF8-5MGMMXj0.js → ZeniAccountNavBarPieces-C6Oicpue-a3nzNo79.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BD61iMJM-AywKP4VO.js → ZeniAccountPromoPage-BCgys-YM-CM9NQ_BO.js} +24 -24
- package/dist/assets/{ZeniAccountSetupPage-CIUArIFg-CEZLAy_L.js → ZeniAccountSetupPage-BubBgkoa-Duwi7djt.js} +3 -3
- package/dist/assets/ZeniCopyright-BxIwmms--Doa5lp53.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-DVJ0puXA-2P0ZBWZ7.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DWXM_TBw.js → add-to-wallet-DgdBD8_G-DikzZE6B.js} +1 -1
- package/dist/assets/{analytics-Cvg-u8-2.js → analytics-DYhmL7CM.js} +30 -30
- package/dist/assets/{analyticsHelper-BlzRkKZg-B2LkgvA8.js → analyticsHelper-CT5zOInj-99CvxgyS.js} +1 -1
- package/dist/assets/{analyticsHelper-BpNAOx5Q.js → analyticsHelper-DDXauk_Q.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CMFStSYD.js → arrow-south-east-round-PEovUgvH-8jWq8JIP.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C_0tBgXa.js → auto-transfer-rule-mbafm5D3-BQD13VLl.js} +1 -1
- package/dist/assets/{chartTypes-Bg8wCCJo-ByGBP7Kx.js → chartTypes-Ddw_3-6f-HF5eETfQ.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-aq41ZcdE.js +1 -0
- package/dist/assets/{commonTypes-B2dNLPs8-LssZrp5i.js → commonTypes-B-foaEwJ-DpfDV34V.js} +1 -1
- package/dist/assets/{constants-DpEmalb9.js → constants-mf68mEZJ.js} +1 -1
- package/dist/assets/{core-BigkILPm.js → core-D7HgM8n1.js} +1 -1
- package/dist/assets/{dash.all.min-BeiUQojL.js → dash.all.min-D8zACU7x.js} +1 -1
- package/dist/assets/{detailCommon-dFjFrXPn-CuohGWbm.js → detailCommon-Cpgf9GLg-BeTL8M1q.js} +9 -9
- package/dist/assets/downloadPdf-DfRYmfsd-v-LOP3Jl.js +1 -0
- package/dist/assets/{empty-B9dXvt_8.js → empty-NSIYiedq.js} +1 -1
- package/dist/assets/{empty-CpJRwiZc.js → empty-Y3MKkeNh.js} +1 -1
- package/dist/assets/epic-CeNkV6CJ.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-JOtbwZSq.js → gift-box-Cmt9OgIZ-CD4XSNN9.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BSKF2OrL.js → graphic-no-data-l-DU4J8fDt-Cj1mbKoU.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-VZD1sYCA.js → graphic-no-data-net-burn-l-CzmycA0m-DMlgtG13.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BVbCPIlH.js → handshake-BPg58FML-CDBh0ipY.js} +1 -1
- package/dist/assets/{helper-84lLR0pR-CHNdYDIc.js → helper-DP3YY99s-DI38626F.js} +3 -3
- package/dist/assets/{index-DOkuqa9Y.js → index-B1CF5cm3.js} +1 -1
- package/dist/assets/{index-CK72u5UX.js → index-BB6TP51b.js} +1 -1
- package/dist/assets/{index-CO-_hM8s.js → index-BDP43MqE.js} +1 -1
- package/dist/assets/{index-BnrFROY2.js → index-BUGp6bnR.js} +1 -1
- package/dist/assets/{index-Bi0ZQY9Y.js → index-Br79bjER.js} +1 -1
- package/dist/assets/{index-kUGHSXzQ.js → index-DCa8flZr.js} +1 -1
- package/dist/assets/{index-C0Qk6Z4T.js → index-DTirxbyQ.js} +4530 -4535
- package/dist/assets/{lexical-DMkegWP6.js → lexical-BIyV8PdW.js} +1 -1
- package/dist/assets/{liveblocks-CEs1rDbD.js → liveblocks-DIuhFCxt.js} +1 -1
- package/dist/assets/{lottie-B9wjZjZ1.js → lottie-CoVTVb_w.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CM3HanTy.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-xo9yV2zx-D-t0QvXH.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BY_qJXQo.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DacYuJs2.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-D7B8Pylg.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-C9qIIDvL-cwYb-_mq.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-D59tSp4H.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-COGO4zaM-DoXO862U.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BNoQeOGL.js} +1 -1
- package/dist/assets/{mui-_BiizxEu.js → mui-CUgxbbSv.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DOAzp2B2.js → page-detail-CWX5S47F-CYodllrt.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-COBjrU2Y.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-Bk2E4ZQD.js → radio-default-CiSgisfh-D5Swvnjv.js} +1 -1
- package/dist/assets/{react-DV52dlQF.js → react-BUMR3Oqj.js} +2 -2
- package/dist/assets/{react-BDJwzlQ1.js → react-BXfpyu7-.js} +1 -1
- package/dist/assets/{react-Bid-85AH.js → react-C1Bx9mvH.js} +1 -1
- package/dist/assets/{react-CstF33mL.js → react-CBTPpMQr.js} +1 -1
- package/dist/assets/{react-B5lksOsX.js → react-DEF24OHG.js} +1 -1
- package/dist/assets/{react-DQZdqdFY.js → react-DEm3GFrk.js} +3 -3
- package/dist/assets/{react-FG-k1_Zp.js → react-DPzCxJ9_.js} +1 -1
- package/dist/assets/{react-CajqMF-O.js → react-DWqZUhoP.js} +1 -1
- package/dist/assets/{recharts-C1J08DKE.js → recharts-Cv8hlrkl.js} +1 -1
- package/dist/assets/{sentry-DNdJk61Y.js → sentry-DuRPstDP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BJAVJLNs.js → shield-DOlUxcFf-BuWXLRZa.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BFfmnf7p.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--D2HEmA7d.js +1 -0
- package/dist/assets/{uploadAttachment-Btwmohbb-BIEOFcgm.js → uploadAttachment-DUpHzqMe-BV5nx0ZT.js} +19 -19
- package/dist/assets/uploadReceipts-Dge0cNF1-D2wqfNY0.js +1 -0
- package/dist/assets/{url-7mcltx3r.js → url-CucjwMCN.js} +1 -1
- package/dist/assets/{url-BzfjL4PI.js → url-P-v-bynO.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Ccim685e.js → useLongPress-GCK2COYQ-CK2T-95t.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-qHMqNnBh.js → usp-line-BBd1wKwW-Du-iFEZV.js} +1 -1
- package/dist/assets/{utils-CJz9ZWWV.js → utils-DiiaN_Gy.js} +1 -1
- package/dist/assets/{zeni-epic-state-BkKyof9Q.js → zeni-epic-state-DfBiKLGZ.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-Nw7UKktD-BkNC4e5B.js +0 -21
- package/dist/assets/AccountInfoPage-D4R2TjfL-q-EauRk4.js +0 -18
- package/dist/assets/AccountRow-k3PBYMDV-BqvmTgGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BUlO08En-CebfK0vU.js +0 -6
- package/dist/assets/ApAgingDetailPage-ldAZScyH-BMhKfKFb.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-CSEnfHsr-BydIE26A.js +0 -47
- package/dist/assets/BillDetailPage-DD-o3YCG-aXq3dwDB.js +0 -266
- package/dist/assets/BillPayPromoPage-BR1pLuKD-40d0wnUv.js +0 -84
- package/dist/assets/BillingSettingsPage-B8bxR3h2-CrIEihc3.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-OlbqCpCz-CYJfmGFY.js +0 -1
- package/dist/assets/BusinessVerificationPage-70_wkxdb-DV1V3U0I.js +0 -138
- package/dist/assets/ConfettiBurst-DjGWV0IU-CcvGhyUt.js +0 -1
- package/dist/assets/CurrencySelectField-b-bFTgxG-DkRtMPX9.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-Dyk4RgRT-uRzB-RK6.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-zKUA5_Db-BYTNjhXO.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-P0F5PKw_-aKFIlt3u.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-MLtgU8v7-jrThBUmf.js +0 -66
- package/dist/assets/EditPeoplePage-DXaFGpmI-CZHUuWvz.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-Ds8TT5V_-WG75tTc9.js +0 -865
- package/dist/assets/EntityDetailPage-Crf3l24d-BrN0JRJE.js +0 -18
- package/dist/assets/ExpenseAutomationPage-CWAMORJA-CALJ7ezd.js +0 -3001
- package/dist/assets/GlobalReviewListPage-CXTY3EgT-DdtNEjtj.js +0 -291
- package/dist/assets/InsightsSection-BPznqBDz-CK20z1Lb.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-DkLS_bpy-CU7ACyPQ.js +0 -65
- package/dist/assets/InvitePeoplePage-DGPvMvBJ-Ce-6b38B.js +0 -12
- package/dist/assets/InvoiceUploadSection-CdYXqUHS-DdkPj4w6.js +0 -140
- package/dist/assets/LabeledAddressValueField-D8dreD-P-CutCad_f.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-Dk2m4oDh-DQ1UIi3x.js +0 -16
- package/dist/assets/LabeledDocumentField-nN1pbnDm-DRXhEc0D.js +0 -41
- package/dist/assets/LabeledText-DyYv9nNM-Rx5E4rTb.js +0 -42
- package/dist/assets/LockCardPage-3evJXNUe-DEvsvIXw.js +0 -623
- package/dist/assets/MagicLinkACHDetailsPage-Dqnd8OaJ-CNFVgD0s.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-o3R74kSf-CTFJDugq.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-8w78T_Tq-CaVecplo.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-dnU4ZBPE-m6Lhs6Op.js +0 -31
- package/dist/assets/MailingDetailsSection-9K9M3nSH-QXKTdG6h.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-X64-wbJV-CjppeSVJ.js +0 -6
- package/dist/assets/MyProfileSettingsPage-ZFBRBkeF-P3LdxTas.js +0 -85
- package/dist/assets/NavBarWithPicker-CFd6K3KH-BauUMxnD.js +0 -30
- package/dist/assets/NoDataChart-DpQy-slq-ChCRHiVL.js +0 -26
- package/dist/assets/NotificationsListConfig-CTlXqNw7-Cgmm35uA.js +0 -1
- package/dist/assets/NotificationsPage-odaAtDv9-B6vik02n.js +0 -685
- package/dist/assets/OpExByVendorPage-CwfT-ykE-xwieXP3i.js +0 -100
- package/dist/assets/PeoplePage-D_str2r1-UsQAXDF3.js +0 -727
- package/dist/assets/QBOSetupSection-Dg-ZcGH4-CLd5XL5k.js +0 -79
- package/dist/assets/ReimbursementDetailPage-C7jzaWRr-BtyMwCn9.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-oy12qHl7-Bxrw7vlM.js +0 -1
- package/dist/assets/RoleWithToolTip-vpx07PDQ-lGN6cB4F.js +0 -22
- package/dist/assets/ScheduleSequenceTable-DZ4vlDs--pwUjwjkR.js +0 -324
- package/dist/assets/SignIn-D8cZWP_m-zJWSuXYX.js +0 -491
- package/dist/assets/SignInScreen-DRfU3UD9.js +0 -1
- package/dist/assets/SpendManagementListViewPage-VfZLwPVN-sElZkBgS.js +0 -134
- package/dist/assets/StatementItem-eSR1knfw-B9s34jxc.js +0 -31
- package/dist/assets/StatementsPage-DLjSMQ19-Czeo_Ttx.js +0 -58
- package/dist/assets/TaskManagementPage-DEF0fOcP-BxFiNe5X.js +0 -508
- package/dist/assets/TimeframeSwitcher-D8BZqgLE-BTtCyPkd.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-CtsW3T5I-Bzp6YXDJ.js +0 -31
- package/dist/assets/TransactionActivityLogPage-8wO9Ge26-CscduFE0.js +0 -195
- package/dist/assets/TransactionDetailPage-Bg2WIamD-DFJfYPF-.js +0 -903
- package/dist/assets/TransactionList-Df0ONSNP-YajUB1tB.js +0 -153
- package/dist/assets/TransactionListPage-kj-3e5OW-HWj3Mfcy.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-Ry0VzYnZ-HEWOtnH3.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-DI_ggkf1-DE8vz5Cd.js +0 -38
- package/dist/assets/Vendor2FAPopup-CFubwXdL-DCQTvV0z.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Cgpbjg2Q-CWJCAejj.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C44ZvJ_s-CM6ieHfN.js +0 -1
- package/dist/assets/VendorFirstReviewPage-D9O9ZrEo-DOoJTpGj.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DumD421h-CK-xdBEU.js +0 -1
- package/dist/assets/ZeniCopyright-CHWlGjTG-KN0tcU8W.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-DNmKLIDa-C2yxsdzh.js +0 -63
- package/dist/assets/commonDimensions-TCgIgcIo-SwaPAAMP.js +0 -1
- package/dist/assets/downloadPdf-CLYXLTga-F4u05EfU.js +0 -1
- package/dist/assets/epic-CQa9naTZ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-zhLf08J--DqyjwjpN.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DAN6wWZH-BjKhXkVS.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bj58shsO-DZ9mWHDZ.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CT-PXRed.js +0 -3
- package/dist/assets/toCOABalancesWithID-DG5oSoAT-DB2kfV3h.js +0 -1
- package/dist/assets/toChartData-DG9EtlOy-C--iJHXH.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BlBYl9KM.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-Z9hpH5GP.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a9 as Kt,cG as Vt,J as X,l0 as Wt,V as t,ac as Ut,cq as Ht,cr as Gt,cs as qt,aS as Yt,o as i,F as te,ce as Zt,cn as lt,g9 as Jt,b4 as Qt,cu as Xt,iV as ei,iW as ti,T as ii,bU as J,bP as oi,aU as li,y as m,d as qe,ga as ni,l1 as ri,p as Q,c$ as si,am as W,al as O,ai as ae,l2 as ai,fd as di,l3 as ci,l4 as bt,l5 as xt,kd as pi,l6 as mi,l7 as ui,bS as ft,b as Be,aQ as ee,aw as Ye,gM as Ze,a8 as Je,gm as Qe,cK as wt,l8 as $t,l9 as Ie,aO as ze,la as Xe,aK as we,j2 as vt,j3 as St,lb as kt,j1 as Pt,cA as Tt,cD as Ct,lc as E,ld as jt,gy as _t,c_ as Bt,dw as et,u as p}from"./index-DTirxbyQ.js";import{a as _,P as It}from"./sentry-DuRPstDP.js";import{n as o,c as Y}from"./mui-CUgxbbSv.js";import{GI as Pe,Go as Te,FR as Ae,bp as zt}from"./zeni-epic-state-DfBiKLGZ.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-B9MARTyR-njYpaPcv.js";import{d as At}from"./useLongPress-GCK2COYQ-CK2T-95t.js";import"./liveblocks-DIuhFCxt.js";import"./core-D7HgM8n1.js";import"./recharts-Cv8hlrkl.js";import"./lottie-CoVTVb_w.js";import"./analytics-DYhmL7CM.js";import"./lexical-BIyV8PdW.js";import"./utils-DiiaN_Gy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b4267e21-10c8-4781-967d-7002e3dc4bcf",e._sentryDebugIdIdentifier="sentry-dbid-b4267e21-10c8-4781-967d-7002e3dc4bcf")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Le={key:"name",value:he.name,sortOrder:"ascending",width:new m(p[5],p[5])},De={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new m(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new m(20,20)},tt={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new m(20,20)},it={key:"status",value:he.status,sortOrder:"ascending",width:new m(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new m(18,18)},Re={key:"amount",value:he.amount,sortOrder:"ascending",width:new m(10,10)},xe=[Le,De,bi,it,Re],fi=[Le,De,tt,it,Re],wi=[Le,De,tt,it,Re],$i=[Le,De,tt,xi,Re],be={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[0],p[4]),headerHeight:new m(vt,St)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=qe(),h=X(),[y,x]=_.useState(zi(l));_.useEffect(()=>{const s=[...y];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const $=(s,n)=>{let g=n;r.sortKey===s&&(g=n==="ascending"?"descending":"ascending"),d?.(s,g)},f=y.find(s=>s.key===r.sortKey)??y[0],b=s=>y.find(n=>n.key===s)?.value??"",u=y.map(s=>s.key),w=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return h==="small"?t.jsxs(nt,{windowSize:h,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(ft,{title:w.sortBy,placeholder:w.sortBy,pickerValues:u,valueToLabel:b,selectedValue:r.sortKey,onPickerSelectionChanged:s=>{$(s,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.background})]}),t.jsxs(Ii,{onClick:()=>$(f.key,f.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(ae,{children:f.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:f,children:t.jsx(st,{})})]})]}):t.jsx(nt,{companyNameSticky:e,windowSize:h,children:y.map(s=>t.jsxs(ki,{companyNameSticky:e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:h,children:[t.jsxs(Bi,{onClick:()=>$(s.key,s.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(ae,{children:s.value}),t.jsx(rt,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(st,{})})]}),t.jsx(_i,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===s.key&&s.key!=="dueDate",children:t.jsx(Pi,{onClick:()=>$("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},s.key))})}const Si=It.memo(vi),nt=o(ae)`
|
|
2
2
|
width: 100%;
|
|
3
3
|
top: ${i.sp0};
|
|
4
4
|
left: ${i.sp0};
|
|
@@ -12,7 +12,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
12
12
|
background-color: ${e=>e.theme.colors.grey4};
|
|
13
13
|
justify-content: ${e=>e.windowSize==="small"?"space-between":"unset"};
|
|
14
14
|
position: sticky;
|
|
15
|
-
`,
|
|
15
|
+
`,ki=o.div`
|
|
16
16
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
17
17
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
18
18
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -25,7 +25,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
25
25
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
26
26
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,
|
|
28
|
+
`,Pi=o(Ct)`
|
|
29
29
|
width: 12px;
|
|
30
30
|
height: 12px;
|
|
31
31
|
cursor: pointer;
|
|
@@ -40,36 +40,36 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
40
40
|
height: 12px;
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
color: inherit;
|
|
43
|
-
`,
|
|
43
|
+
`,Ti=o.div`
|
|
44
44
|
gap: ${i.sp1};
|
|
45
45
|
display: flex;
|
|
46
|
-
`,
|
|
46
|
+
`,Ci=o(Pt)`
|
|
47
47
|
width: 12px;
|
|
48
48
|
height: 12px;
|
|
49
49
|
color: inherit;
|
|
50
|
-
`,
|
|
50
|
+
`,ji=o.div`
|
|
51
51
|
margin-right: ${i.sp1};
|
|
52
52
|
display: flex;
|
|
53
53
|
align-items: center;
|
|
54
|
-
`,
|
|
54
|
+
`,_i=o.div`
|
|
55
55
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
56
56
|
align-items: center;
|
|
57
57
|
padding-top: 2px;
|
|
58
|
-
`,
|
|
58
|
+
`,Bi=o.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
cursor: pointer;
|
|
61
61
|
gap: 5px;
|
|
62
62
|
&:hover {
|
|
63
63
|
color: ${e=>e.theme.colors.primary};
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,Ii=o.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
cursor: pointer;
|
|
68
68
|
gap: 5px;
|
|
69
69
|
&:hover {
|
|
70
70
|
color: ${e=>e.theme.colors.primary};
|
|
71
71
|
}
|
|
72
|
-
`,
|
|
72
|
+
`,zi=e=>{switch(e){case"draft":return we(xe);case"pending_approval":return we(fi);case"scheduled":return we(wi);case"paid":return we($i)}},fe={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8]),webkitLineClamp:new m(2,1,1,1,1)},{spendManagement:{billPay:{billDetails:le}},common:{strings:{empty:We,space:ve}}}=te.getLocalizedStrings(),Ai=({transactionDetail:e,tagStatus:l,reportTitleAdditionalInfo:d,isSelected:r,isBillPayCommentingEnabled:a,isProcessing:h,isAffectedByApprovalRuleUpdate:y=!1,lowBalanceAlert:x,approvers:$,deletionAdditionalInfo:f,paidAdditionalInfo:b,showLowBalanceTooltip:u,onTransactionRowClick:w})=>{const s=h||y,n=X(),g=Ye(),T=Ze(),I=Je().analytics,c=`dashboard_${g.currentTenant?.companyId}`,{threads:j,isLoading:S}=Qe({application:"dashboard",companyId:g.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),z=_.useMemo(()=>j.filter(P=>P.resolved===!1),[j]),L=P=>{P.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:c,companyId:g.currentTenant?.companyId??We,companyName:g.currentTenant?.companyName??We,entityType:"bill.details",entityId:e.id}),I.trackCommentActivity("bill","clicked",g.currentTenant?.companyName??We,g.controllersList.controllers.map(M=>et(M)),void 0,void 0,"comment on field")},C=_.useCallback(()=>{w(e.id)},[e.id]),k=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie($),Z=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:le.newBillTitle,G=()=>`${le.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`;return t.jsxs(Li,{windowSize:n,statusCode:l?.code??"",isSelected:r,isProcessing:s,children:[t.jsx(Di,{onClick:C,"data-testid":ee("bill-pay-transaction-row",e.id),children:t.jsxs(Ri,{children:[t.jsxs(Ei,{windowSize:n,responsiveWidth:xe[0].width,children:[t.jsxs(Mi,{children:[t.jsx(Ni,{windowSize:n,children:Z}),e.isRecurring?t.jsx(J,{title:G(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(Hi,{isProcessing:s,children:t.jsx(Gi,{})})}):null]}),t.jsx(Oi,{children:`${d[0].label} ${d[0].value}`})]}),t.jsx(at,{windowSize:n,responsiveWidth:xe[1].width,children:d[1].value}),t.jsx(at,{windowSize:n,responsiveWidth:xe[2].width,children:d[2].value}),t.jsxs(Ui,{windowSize:n,responsiveWidth:xe[3].width,children:[t.jsxs(Wi,{children:[l!==void 0?t.jsx(Ki,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Vi,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(J,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(qi,{})}):null]}),$!==void 0&&k.length>0?k.length>1?t.jsx(J,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${k.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${k[0]}`}):null,f!=null?t.jsx(Ce,{children:f}):null,b!=null?t.jsx(Ce,{children:b}):null]}),t.jsx(Fi,{windowSize:n,responsiveWidth:xe[4].width,children:ze("0,0[.]00",e.totalAmountInUSD)})]})}),a&&z.length>0?t.jsx(Xe,{isLoading:S,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:L}):null]})},Li=o.div`
|
|
73
73
|
display: flex;
|
|
74
74
|
margin-bottom: ${i.sp3};
|
|
75
75
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -78,11 +78,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
78
78
|
padding-top: ${e=>fe.containerPaddingTop.valuePx(e.windowSize)};
|
|
79
79
|
padding-bottom: ${e=>fe.containerPaddingBottom.valuePx(e.windowSize)};
|
|
80
80
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
81
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
81
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
82
82
|
border-radius: ${i.sp2};
|
|
83
83
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
84
84
|
|
|
85
|
-
${e=>e.isProcessing?
|
|
85
|
+
${e=>e.isProcessing?Y`
|
|
86
86
|
color: ${e.theme.colors.grey2};
|
|
87
87
|
border-color: ${e.theme.colors.grey2};
|
|
88
88
|
div {
|
|
@@ -94,7 +94,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?Y`
|
|
98
98
|
color: ${e.theme.colors.primary};
|
|
99
99
|
border-color: ${e.theme.colors.primary};
|
|
100
100
|
div {
|
|
@@ -106,7 +106,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
106
106
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
107
107
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
108
108
|
}
|
|
109
|
-
`:
|
|
109
|
+
`:Y`
|
|
110
110
|
&:hover {
|
|
111
111
|
color: ${e.theme.colors.primary};
|
|
112
112
|
border-color: ${e.theme.colors.primary};
|
|
@@ -125,28 +125,28 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
125
125
|
margin-left: ${i.sp0};
|
|
126
126
|
box-sizing: border-box;
|
|
127
127
|
align-items: center;
|
|
128
|
-
`,
|
|
128
|
+
`,Di=o.div`
|
|
129
129
|
display: block;
|
|
130
130
|
width: 100%;
|
|
131
|
-
`,
|
|
131
|
+
`,Ri=o.div`
|
|
132
132
|
display: flex;
|
|
133
133
|
width: 100%;
|
|
134
134
|
justify-content: space-between;
|
|
135
135
|
height: 42px;
|
|
136
|
-
`,
|
|
136
|
+
`,Ei=o.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
flex-direction: column;
|
|
139
139
|
column-gap: 12px;
|
|
140
140
|
align-items: flex-start;
|
|
141
141
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
142
|
-
`,
|
|
142
|
+
`,Mi=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
gap: ${i.sp1};
|
|
146
146
|
align-items: center;
|
|
147
147
|
margin-right: ${i.sp3};
|
|
148
148
|
color: ${e=>e.theme.colors.hero};
|
|
149
|
-
`,
|
|
149
|
+
`,Ni=o(O)`
|
|
150
150
|
flex-grow: 1;
|
|
151
151
|
word-break: break-word;
|
|
152
152
|
display: -webkit-box;
|
|
@@ -155,13 +155,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
155
155
|
overflow: hidden;
|
|
156
156
|
text-overflow: ellipsis;
|
|
157
157
|
max-width: ${e=>e.windowSize==="small"?"200px":"initial"};
|
|
158
|
-
`,
|
|
158
|
+
`,Fi=o(O)`
|
|
159
159
|
display: flex;
|
|
160
160
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
161
161
|
color: ${e=>e.theme.colors.hero};
|
|
162
162
|
justify-content: flex-end;
|
|
163
163
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
164
|
-
`,
|
|
164
|
+
`,Oi=o.div`
|
|
165
165
|
color: ${e=>e.theme.colors.grey1};
|
|
166
166
|
overflow: hidden;
|
|
167
167
|
text-overflow: ellipsis;
|
|
@@ -181,18 +181,18 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
181
181
|
display: inline-block;
|
|
182
182
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
183
183
|
border-radius: ${i.sp1};
|
|
184
|
-
`,
|
|
184
|
+
`,Vi=o(O)``,at=o(O)`
|
|
185
185
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
186
186
|
color: ${e=>e.theme.colors.hero};
|
|
187
187
|
box-sizing: border-box;
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Wi=o.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${i.sp2};
|
|
195
|
-
`,
|
|
195
|
+
`,Ui=o.div`
|
|
196
196
|
position: relative;
|
|
197
197
|
top: 2px;
|
|
198
198
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -206,22 +206,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
206
206
|
position: relative;
|
|
207
207
|
top: 1px;
|
|
208
208
|
color: ${e=>e.theme.colors.grey1};
|
|
209
|
-
`,
|
|
209
|
+
`,Hi=o.div`
|
|
210
210
|
display: flex;
|
|
211
211
|
align-items: center;
|
|
212
212
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
213
|
-
`,
|
|
213
|
+
`,Gi=o(_t)`
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
217
|
-
`,
|
|
217
|
+
`,qi=o(Bt)`
|
|
218
218
|
width: ${i.sp3};
|
|
219
219
|
height: ${i.sp3};
|
|
220
220
|
color: ${e=>e.theme.colors.hero};
|
|
221
221
|
:hover {
|
|
222
222
|
color: ${e=>e.theme.colors.primary};
|
|
223
223
|
}
|
|
224
|
-
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:
|
|
224
|
+
`,ce={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},{spendManagement:{billPay:{billDetails:ne}},common:{strings:{empty:Ue,space:Se}}}=te.getLocalizedStrings(),Yi=({transactionDetail:e,tagStatus:l,isProcessing:d,isAffectedByApprovalRuleUpdate:r=!1,isSelected:a,isBillPayCommentingEnabled:h,bulkSelectFormId:y,isBulkSelectionLimitReached:x,isSelectionMode:$,reportTitleAdditionalInfo:f,lowBalanceAlert:b,approvers:u,deletionAdditionalInfo:w,paidAdditionalInfo:s,showLowBalanceTooltip:n,onTransactionRowClick:g})=>{const T=d||r,I=X(),c=Ye(),j=Ze(),S=Je().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(K=>K.resolved===!1),[L]),Z=K=>{K.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Ue,companyName:c.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),S.trackCommentActivity("bill","clicked",c.currentTenant?.companyName??Ue,c.controllersList.controllers.map(U=>et(U)),void 0,void 0,"comment on field")},{getValues:G,setValue:P}=wt(),M=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie(u),re=e.vendor?.name!=null?e.vendor.name:e.candidateVendorName!=""?e.candidateVendorName:ne.newBillTitle,ie=()=>`${ne.recurringBill.recurring} ${e.recurringBillInstance}/${e.recurringBillConfig?.totalPaymentCycles}`,se=G(y),ge=_.useCallback(()=>{!x&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&P(y,[...se,e.id])},[y,x,a,P,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,se]),Oe=_.useCallback(()=>{ge()},[ge]),ye=_.useCallback(K=>{K.stopPropagation(),K.cancelable&&K.preventDefault(),$?ge():g(e.id)},[ge,$,g,e.id]),Ke=At({onLongPress:Oe},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Zi,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:T,children:[t.jsx(Ji,{onClick:ye,...Ke,"data-testid":ee("bill-pay-trxn-row-small",e.id),children:t.jsxs(Qi,{children:[t.jsxs(ro,{children:[t.jsxs(Xi,{children:[t.jsxs(eo,{children:[t.jsx(to,{windowSize:I,children:re}),e.isRecurring?t.jsx(J,{title:ie(),placement:"right",style:{padding:`2px ${i.sp2}`},children:t.jsx(ao,{isProcessing:T,children:t.jsx(co,{})})}):null]}),t.jsx(oo,{children:`${f[0].label} ${f[0].value}`})]}),t.jsx(dt,{children:`${f[1].label} ${f[1].value}`}),t.jsx(dt,{children:`${f[2].label} ${f[2].value}`})]}),t.jsxs(so,{children:[t.jsx(io,{children:ze("0,0[.]00",e.totalAmountInUSD)}),t.jsxs(no,{hasAlertIcon:b!=null,children:[t.jsxs(po,{children:[l!==void 0?t.jsx(lo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??ne.hyphenText}):t.jsx(t.Fragment,{children:ne.hyphenText}),n===!0&&b!=null&&b.length>0?t.jsx(uo,{onClick:K=>K.stopPropagation(),children:t.jsx(J,{title:b,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",enterDelay:600,children:t.jsx(mo,{})})}):null]}),u!==void 0&&M.length>0?M.length>1?t.jsx(J,{title:`${ne.byText}${Se}${M.join(`${Se}${ne.orText}${Se}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${Se}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${Se}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),h&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:Z}):null]})},Zi=o.div`
|
|
225
225
|
display: flex;
|
|
226
226
|
margin-bottom: ${i.sp3};
|
|
227
227
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
@@ -230,10 +230,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
230
230
|
padding-top: ${e=>ce.containerPaddingTop.valuePx(e.windowSize)};
|
|
231
231
|
padding-bottom: ${e=>ce.containerPaddingBottom.valuePx(e.windowSize)};
|
|
232
232
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
233
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
233
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.dropShadowNormalLight}`};
|
|
234
234
|
border-radius: ${i.sp2};
|
|
235
235
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
236
|
-
${e=>e.isProcessing?
|
|
236
|
+
${e=>e.isProcessing?Y`
|
|
237
237
|
color: ${e.theme.colors.grey2};
|
|
238
238
|
border-color: ${e.theme.colors.grey2};
|
|
239
239
|
div {
|
|
@@ -245,7 +245,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?Y`
|
|
249
249
|
color: ${e.theme.colors.primary};
|
|
250
250
|
border-color: ${e.theme.colors.primary};
|
|
251
251
|
div {
|
|
@@ -257,7 +257,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
257
257
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
258
258
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
259
259
|
}
|
|
260
|
-
`:
|
|
260
|
+
`:Y`
|
|
261
261
|
&:hover {
|
|
262
262
|
color: ${e.theme.colors.primary};
|
|
263
263
|
border-color: ${e.theme.colors.primary};
|
|
@@ -274,26 +274,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
274
274
|
`}
|
|
275
275
|
margin-right: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
276
276
|
margin-left: ${e=>ce.containerMarginLeft.valuePx(e.windowSize)};
|
|
277
|
-
`,
|
|
277
|
+
`,Ji=o.div`
|
|
278
278
|
display: block;
|
|
279
279
|
width: 100%;
|
|
280
|
-
`,
|
|
280
|
+
`,Qi=o.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
width: 100%;
|
|
283
283
|
justify-content: space-between;
|
|
284
|
-
`,
|
|
284
|
+
`,Xi=o.div`
|
|
285
285
|
display: flex;
|
|
286
286
|
flex-direction: column;
|
|
287
287
|
column-gap: 12px;
|
|
288
288
|
align-items: flex-start;
|
|
289
|
-
`,
|
|
289
|
+
`,eo=o.div`
|
|
290
290
|
display: flex;
|
|
291
291
|
flex-direction: row;
|
|
292
292
|
gap: ${i.sp1};
|
|
293
293
|
align-items: center;
|
|
294
294
|
margin-right: ${i.sp3};
|
|
295
295
|
color: ${e=>e.theme.colors.hero};
|
|
296
|
-
`,
|
|
296
|
+
`,to=o(O)`
|
|
297
297
|
color: ${e=>e.theme.colors.hero};
|
|
298
298
|
flex-grow: 1;
|
|
299
299
|
word-break: break-word;
|
|
@@ -303,13 +303,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
303
303
|
overflow: hidden;
|
|
304
304
|
text-overflow: ellipsis;
|
|
305
305
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
306
|
-
`,
|
|
306
|
+
`,io=o(O)`
|
|
307
307
|
display: flex;
|
|
308
308
|
color: ${e=>e.theme.colors.hero};
|
|
309
309
|
justify-content: flex-end;
|
|
310
|
-
`,
|
|
310
|
+
`,oo=o(W)`
|
|
311
311
|
color: ${e=>e.theme.colors.grey1};
|
|
312
|
-
`,
|
|
312
|
+
`,lo=o(W)`
|
|
313
313
|
color: ${e=>e.color};
|
|
314
314
|
height: 20px;
|
|
315
315
|
align-items: center;
|
|
@@ -327,7 +327,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
327
327
|
box-sizing: border-box;
|
|
328
328
|
display: flex;
|
|
329
329
|
align-items: center;
|
|
330
|
-
`,
|
|
330
|
+
`,no=o.div`
|
|
331
331
|
color: ${e=>e.theme.colors.hero};
|
|
332
332
|
box-sizing: border-box;
|
|
333
333
|
display: flex;
|
|
@@ -336,32 +336,32 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
336
336
|
justify-content: center;
|
|
337
337
|
`,je=o(W)`
|
|
338
338
|
color: ${e=>e.theme.colors.grey1};
|
|
339
|
-
`,
|
|
339
|
+
`,ro=o.div`
|
|
340
340
|
display: flex;
|
|
341
341
|
flex-direction: column;
|
|
342
|
-
`,
|
|
342
|
+
`,so=o.div`
|
|
343
343
|
display: flex;
|
|
344
344
|
flex-direction: column;
|
|
345
|
-
`,
|
|
345
|
+
`,ao=o.div`
|
|
346
346
|
display: flex;
|
|
347
347
|
align-items: center;
|
|
348
348
|
color: ${e=>e.isProcessing?e.theme.colors.grey2:e.theme.colors.primary};
|
|
349
|
-
`,
|
|
349
|
+
`,co=o(_t)`
|
|
350
350
|
width: 12px;
|
|
351
351
|
height: 12px;
|
|
352
352
|
color: inherit;
|
|
353
|
-
`,
|
|
353
|
+
`,po=o.div`
|
|
354
354
|
display: flex;
|
|
355
355
|
flex-direction: row;
|
|
356
356
|
gap: ${i.sp2};
|
|
357
|
-
`,
|
|
357
|
+
`,mo=o(Bt)`
|
|
358
358
|
width: ${i.sp3};
|
|
359
359
|
height: ${i.sp3};
|
|
360
360
|
color: ${e=>e.theme.colors.hero};
|
|
361
361
|
:hover {
|
|
362
362
|
color: ${e=>e.theme.colors.primary};
|
|
363
363
|
}
|
|
364
|
-
`,
|
|
364
|
+
`,uo=o.div``,de=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs.header,Ee={key:"reportName",value:de.name,sortOrder:"ascending",width:new m(30,30)},Me={key:"type",value:de.type,sortOrder:"ascending",width:new m(20,20)},Ne={key:"status",value:de.status,sortOrder:"ascending",width:new m(20,20)},Fe={key:"amount",value:de.amount,sortOrder:"ascending",width:new m(10,10)},pe=[Ee,{key:"submittedOn",value:de.created,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],ho=[Ee,{key:"submittedOn",value:de.submitted,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],go=[Ee,{key:"submittedOn",value:de.paymentDate,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],yo=[Ee,{key:"submittedOn",value:de.paidOn,sortOrder:"ascending",width:new m(20,20)},Me,Ne,Fe],Lt={draft:pe,pending_approval:ho,scheduled:go,paid:yo},_e={headerLastColumnTopPadding:new m(p[0],p[4]),headerLastColumnRightPadding:new m(p[3],p[11]),headerLastColumnBottomPadding:new m(p[0],p[4]),headerLastColumnLeftPadding:new m(p[3],p[4])};function bo({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r,analytics:a}){const h=X(),y=qe(),[x,$]=_.useState(we(Lt[l]));_.useEffect(()=>{const n=[...x];for(const g of n)g.key===r.sortKey?g.sortOrder=r.sortOrder:g.sortOrder="ascending";$(n)},[r.sortKey,r.sortOrder]);const f=(n,g)=>{let T=g;r.sortKey===n&&(T=g==="ascending"?"descending":"ascending"),a?.trackReimbursementListSort(n,T),d?.(n,T)},b=x.find(n=>n.key===r.sortKey)??x[0],u=n=>x.find(g=>g.key===n)?.value??"",w=x.map(n=>n.key),s=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs;return h==="small"?t.jsxs(ct,{height:vt,windowSize:h,children:[t.jsx(wo,{children:t.jsx($o,{})}),t.jsx(ft,{title:s.sortBy,placeholder:s.sortBy,pickerValues:w,valueToLabel:u,selectedValue:r.sortKey,onPickerSelectionChanged:n=>{f(n,"ascending")},optionTextStyle:Be.smallRegular,titleTextStyle:Be.smallRegular,titleColor:y.colors.primary,selectedOptionColor:y.colors.hero,optionBackgroundColor:"inherit",downChevronVisible:!1}),t.jsxs(Po,{onClick:()=>f(b.key,b.sortOrder),"data-testid":ee("remi-list-header-small",r.sortKey),children:[t.jsx(ae,{children:b.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:b,children:t.jsx(mt,{})})]})]}):t.jsx(ct,{height:St,windowSize:h,children:x.map(n=>t.jsxs(fo,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:h,children:[t.jsxs(ko,{onClick:()=>f(n.key,n.sortOrder),"data-testid":ee("remi-list-header",r.sortKey),children:[t.jsx(ae,{children:n.value}),t.jsx(pt,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(mt,{})})]}),t.jsx(So,{sortDataValue:r.sortKey,windowSize:h,isVisible:r.sortKey===n.key&&n.key!=="submittedOn",children:t.jsx(vo,{onClick:()=>f("submittedOn","ascending"),"data-testid":ee("remi-list-close-sort",r.sortKey)})})]},n.key))})}const xo=It.memo(bo),ct=o(ae)`
|
|
365
365
|
width: 100%;
|
|
366
366
|
top: 0;
|
|
367
367
|
left: 0;
|
|
@@ -374,7 +374,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
374
374
|
padding: ${e=>`${_e.headerLastColumnTopPadding.valuePx(e.windowSize)} ${_e.headerLastColumnRightPadding.valuePx(e.windowSize)} ${_e.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${_e.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
375
375
|
background-color: ${e=>e.theme.colors.grey4};
|
|
376
376
|
position: sticky;
|
|
377
|
-
`,
|
|
377
|
+
`,fo=o.div`
|
|
378
378
|
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
379
379
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
380
380
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
@@ -387,15 +387,15 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
387
387
|
${e=>e.companyNameSticky?"position: sticky; z-index: 1;":"position: static; z-index: 0;"};
|
|
388
388
|
${e=>e.actualDataValue==="companyName"?`padding-left: ${i.sp4};flex: 1 1 auto`:`padding-left: ${i.sp0};`};
|
|
389
389
|
box-sizing: border-box;
|
|
390
|
-
|
|
390
|
+
`,wo=o.div`
|
|
391
391
|
margin-right: ${i.sp1};
|
|
392
392
|
display: flex;
|
|
393
393
|
align-items: center;
|
|
394
|
-
|
|
394
|
+
`,$o=o(Pt)`
|
|
395
395
|
width: 12px;
|
|
396
396
|
height: 12px;
|
|
397
397
|
color: inherit;
|
|
398
|
-
`,
|
|
398
|
+
`,vo=o(Ct)`
|
|
399
399
|
width: 12px;
|
|
400
400
|
height: 12px;
|
|
401
401
|
cursor: pointer;
|
|
@@ -414,14 +414,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
414
414
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
415
|
align-items: center;
|
|
416
416
|
padding-top: 2px;
|
|
417
|
-
`,
|
|
417
|
+
`,ko=o.div`
|
|
418
418
|
display: flex;
|
|
419
419
|
cursor: pointer;
|
|
420
420
|
gap: 5px;
|
|
421
421
|
&:hover {
|
|
422
422
|
color: ${e=>e.theme.colors.primary};
|
|
423
423
|
}
|
|
424
|
-
`,
|
|
424
|
+
`,Po=o.div`
|
|
425
425
|
display: flex;
|
|
426
426
|
cursor: pointer;
|
|
427
427
|
gap: 5px;
|
|
@@ -429,20 +429,20 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,
|
|
432
|
+
`,ke={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],12),containerPaddingBottom:new m(p[2],12),containerMarginLeft:new m(p[4],p[8])},q=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,To=({reimbursementDetail:e,tagStatus:l,isProcessing:d,isSelected:r,reportTitleAdditionalInfo:a,date:h,approvers:y,deletionAdditionalInfo:x,isReimbursementCommentingEnabled:$,onTransactionRowClick:f})=>{const b=X(),u=Ye(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*kt)},[b]);const g=Je().analytics,T=Ze(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,S=Ie(y),z=te.getLocalizedStrings().common.strings.empty,{threads:L,isLoading:C}=Qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),k=_.useMemo(()=>L.filter(G=>G.resolved===!1),[L]),Z=G=>{G.stopPropagation(),T?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:I,companyId:u.currentTenant?.companyId??z,companyName:u.currentTenant?.companyName??z,entityType:"reimbursement.details",entityId:e.id??z}),g.trackCommentActivity("reimbursement","clicked",u.currentTenant?.companyName??z,u.controllersList.controllers.map(P=>et(P)),void 0,void 0,"comment on field")};return t.jsxs(Co,{windowSize:b,onClick:c,isProcessing:d,isSelected:r,statusCode:l?.code??z,"data-testid":ee("remi-row-click",e.id),children:[t.jsx(jo,{children:t.jsxs(_o,{children:[t.jsxs(Bo,{windowSize:b,responsiveWidth:pe[0].width,ref:w,children:[t.jsx(Io,{windowSize:b,reportNameWidth:s,children:e.reportTitle??q.newReimbursementTitle}),a!=null&&t.jsx(zo,{children:`${q.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[1].width,children:h}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(J,{title:q.reimbursementType.both,placement:"bottom-start",display:"flex",children:q.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:q.reimbursementType[j[0]]}),t.jsxs(Ro,{windowSize:b,responsiveWidth:pe[3].width,children:[l!==void 0?t.jsx(Eo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??q.hyphenText}):t.jsx(Do,{children:q.hyphenText}),y!==void 0&&S.length>0?S.length>1?t.jsx(J,{title:`${q.byText} `+S.join(` ${q.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${q.byText} `+S[0]+`${q.dots}`})}):t.jsx(He,{children:`${q.byText} `+S[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Ao,{windowSize:b,responsiveWidth:pe[4].width,children:ze("0,0[.]00",e.amount)})]})}),$&&k.length>0?t.jsx(Xe,{isLoading:C,count:k.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:Z}):null]})},Co=o.div`
|
|
433
433
|
display: flex;
|
|
434
434
|
margin-bottom: ${i.sp3};
|
|
435
435
|
background-color: ${e=>e.isProcessing?"transparent":e.theme.colors.grey5};
|
|
436
|
-
padding-left: ${e=>
|
|
437
|
-
padding-right: ${e=>
|
|
438
|
-
padding-top: ${e=>
|
|
439
|
-
padding-bottom: ${e=>
|
|
436
|
+
padding-left: ${e=>ke.containerPaddingLeft.valuePx(e.windowSize)};
|
|
437
|
+
padding-right: ${e=>ke.containerPaddingRight.valuePx(e.windowSize)};
|
|
438
|
+
padding-top: ${e=>ke.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
|
+
padding-bottom: ${e=>ke.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
445
|
-
${e=>e.isProcessing?
|
|
445
|
+
${e=>e.isProcessing?Y`
|
|
446
446
|
color: ${e.theme.colors.grey2};
|
|
447
447
|
border-color: ${e.theme.colors.grey2};
|
|
448
448
|
div {
|
|
@@ -454,7 +454,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?Y`
|
|
458
458
|
color: ${e.theme.colors.primary};
|
|
459
459
|
border-color: ${e.theme.colors.primary};
|
|
460
460
|
div {
|
|
@@ -466,7 +466,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
466
466
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
467
467
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
468
468
|
}
|
|
469
|
-
`:
|
|
469
|
+
`:Y`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -482,50 +482,50 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
482
482
|
}
|
|
483
483
|
`}
|
|
484
484
|
|
|
485
|
-
margin-right: ${e=>
|
|
485
|
+
margin-right: ${e=>ke.containerMarginLeft.valuePx(e.windowSize)};
|
|
486
486
|
margin-left: ${i.sp0};
|
|
487
|
-
`,
|
|
487
|
+
`,jo=o.div`
|
|
488
488
|
display: flex;
|
|
489
489
|
width: 100%;
|
|
490
|
-
`,
|
|
490
|
+
`,_o=o.div`
|
|
491
491
|
display: flex;
|
|
492
492
|
width: 100%;
|
|
493
493
|
height: 42px;
|
|
494
|
-
`,
|
|
494
|
+
`,Bo=o.div`
|
|
495
495
|
display: flex;
|
|
496
496
|
flex-direction: column;
|
|
497
497
|
justify-content: center;
|
|
498
498
|
column-gap: 12px;
|
|
499
499
|
align-items: flex-start;
|
|
500
500
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
501
|
-
`,
|
|
501
|
+
`,Io=o(O)`
|
|
502
502
|
color: ${e=>e.theme.colors.hero};
|
|
503
503
|
align-items: center;
|
|
504
504
|
white-space: nowrap;
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
text-overflow: ellipsis;
|
|
507
|
-
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${
|
|
508
|
-
`,
|
|
507
|
+
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${kt*100}%`};
|
|
508
|
+
`,zo=o(ae)`
|
|
509
509
|
color: ${e=>e.theme.colors.grey1};
|
|
510
|
-
`,
|
|
510
|
+
`,Ao=o(O)`
|
|
511
511
|
display: flex;
|
|
512
512
|
align-items: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"flex-start":"center"};
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
515
515
|
justify-content: flex-end;
|
|
516
|
-
`,
|
|
516
|
+
`,Lo=o(O)`
|
|
517
517
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
518
518
|
color: ${e=>e.theme.colors.hero};
|
|
519
519
|
box-sizing: border-box;
|
|
520
520
|
display: flex;
|
|
521
521
|
align-items: center;
|
|
522
|
-
`,
|
|
522
|
+
`,Do=o(O)``,ut=o(O)`
|
|
523
523
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
524
524
|
color: ${e=>e.theme.colors.hero};
|
|
525
525
|
box-sizing: border-box;
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
|
-
`,
|
|
528
|
+
`,Ro=o(O)`
|
|
529
529
|
position: relative;
|
|
530
530
|
top: 2px;
|
|
531
531
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
@@ -535,11 +535,11 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
align-items: flex-start;
|
|
537
537
|
justify-content: center;
|
|
538
|
-
`,
|
|
538
|
+
`,He=o(W)`
|
|
539
539
|
position: relative;
|
|
540
540
|
top: 1px;
|
|
541
541
|
color: ${e=>e.theme.colors.grey1};
|
|
542
|
-
`,
|
|
542
|
+
`,Eo=o(W)`
|
|
543
543
|
display: flex;
|
|
544
544
|
color: ${e=>e.color};
|
|
545
545
|
align-items: center;
|
|
@@ -547,7 +547,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
547
547
|
padding: 1px 6px 1px 6px;
|
|
548
548
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
549
549
|
border-radius: ${i.sp1};
|
|
550
|
-
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},
|
|
550
|
+
`,me={containerPaddingLeft:new m(p[3],p[4]),containerPaddingRight:new m(p[3],p[4]),containerPaddingTop:new m(p[2],p[3]),containerPaddingBottom:new m(p[2],p[3]),containerMarginLeft:new m(p[3],p[8]),webkitLineClamp:new m(2,2,1,1,1)},V=te.getLocalizedStrings().spendManagement.reimbursement.reimbursementByTabs,Mo=({reimbursementDetail:e,tagStatus:l,currentTab:d,isProcessing:r,isSelected:a,bulkSelectFormId:h,isBulkSelectionLimitReached:y,isSelectionMode:x,reportTitleAdditionalInfo:$,date:f,approvers:b,deletionAdditionalInfo:u,onTransactionRowClick:w})=>{const s=X(),{getValues:n,setValue:g}=wt(),T=e.reimbursementTypesIncluded,I=Ie(b),c=we(Lt[d]),j=n(h),S=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&g(h,[...j,e.id])},[h,y,a,g,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{S()},[S]),L=_.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),x?S():w(e.id)},[S,x,w,e.id]),C=At({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(No,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Fo,{onClick:L,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Oo,{children:[t.jsxs(Ko,{children:[t.jsxs(Wo,{children:[t.jsx(Uo,{windowSize:s,children:e.reportTitle??V.newReimbursementTitle}),$!=null&&t.jsx(Ho,{children:`${V.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(qo,{children:[c[1].value+": ",f]}),T.length>1?t.jsx(J,{title:V.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[V.reimbursementType.type+": ",V.reimbursementType[T[0]]]})]}),t.jsxs(Vo,{children:[t.jsx(Go,{children:ze("0,0[.]00",e.amount)}),t.jsxs(Yo,{children:[l!==void 0?t.jsx(Zo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??V.hyphenText}):t.jsx(t.Fragment,{children:V.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(J,{title:`${V.byText} `+I.join(` ${V.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]+`${V.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${V.byText} `+I[0]}):null,u!=null?t.jsx(Ge,{children:u}):null]})]})]})})})},No=o.div`
|
|
551
551
|
display: flex;
|
|
552
552
|
margin-bottom: ${i.sp3};
|
|
553
553
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -556,10 +556,10 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
556
556
|
padding-top: ${e=>me.containerPaddingTop.valuePx(e.windowSize)};
|
|
557
557
|
padding-bottom: ${e=>me.containerPaddingBottom.valuePx(e.windowSize)};
|
|
558
558
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
559
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
559
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
560
560
|
border-radius: ${i.sp2};
|
|
561
561
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
562
|
-
${e=>e.isProcessing?
|
|
562
|
+
${e=>e.isProcessing?Y`
|
|
563
563
|
color: ${e.theme.colors.grey2};
|
|
564
564
|
border-color: ${e.theme.colors.grey2};
|
|
565
565
|
div {
|
|
@@ -571,7 +571,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?Y`
|
|
575
575
|
color: ${e.theme.colors.primary};
|
|
576
576
|
border-color: ${e.theme.colors.primary};
|
|
577
577
|
div {
|
|
@@ -583,7 +583,7 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
583
583
|
color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
584
584
|
border-color: ${E.includes(e.statusCode)?e.theme.colors.primary:void 0};
|
|
585
585
|
}
|
|
586
|
-
`:
|
|
586
|
+
`:Y`
|
|
587
587
|
&:hover {
|
|
588
588
|
color: ${e.theme.colors.primary};
|
|
589
589
|
border-color: ${e.theme.colors.primary};
|
|
@@ -601,26 +601,26 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
601
601
|
|
|
602
602
|
margin-right: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
603
603
|
margin-left: ${e=>me.containerMarginLeft.valuePx(e.windowSize)};
|
|
604
|
-
`,
|
|
604
|
+
`,Fo=o.div`
|
|
605
605
|
display: flex;
|
|
606
606
|
width: 100%;
|
|
607
|
-
`,
|
|
607
|
+
`,Oo=o.div`
|
|
608
608
|
display: flex;
|
|
609
609
|
width: 100%;
|
|
610
610
|
justify-content: space-between;
|
|
611
611
|
`,Ko=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
|
-
`,
|
|
614
|
+
`,Vo=o.div`
|
|
615
615
|
display: flex;
|
|
616
616
|
flex-direction: column;
|
|
617
617
|
text-align: right;
|
|
618
|
-
`,
|
|
618
|
+
`,Wo=o.div`
|
|
619
619
|
display: flex;
|
|
620
620
|
flex-direction: column;
|
|
621
621
|
column-gap: 12px;
|
|
622
622
|
align-items: flex-start;
|
|
623
|
-
`,
|
|
623
|
+
`,Uo=o(O)`
|
|
624
624
|
color: ${e=>e.theme.colors.hero};
|
|
625
625
|
flex-grow: 1;
|
|
626
626
|
word-break: break-word;
|
|
@@ -630,13 +630,13 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
630
630
|
overflow: hidden;
|
|
631
631
|
text-overflow: ellipsis;
|
|
632
632
|
max-width: ${e=>e.windowSize==="small"?`${jt}px`:"initial"};
|
|
633
|
-
`,
|
|
633
|
+
`,Ho=o(W)`
|
|
634
634
|
color: ${e=>e.theme.colors.grey1};
|
|
635
|
-
`,
|
|
635
|
+
`,Go=o(O)`
|
|
636
636
|
display: flex;
|
|
637
637
|
margin-left: auto;
|
|
638
638
|
color: ${e=>e.theme.colors.hero};
|
|
639
|
-
`,
|
|
639
|
+
`,qo=o(W)`
|
|
640
640
|
color: ${e=>e.theme.colors.grey1};
|
|
641
641
|
box-sizing: border-box;
|
|
642
642
|
display: flex;
|
|
@@ -646,14 +646,14 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
648
648
|
align-items: center;
|
|
649
|
-
`,
|
|
649
|
+
`,Yo=o.div`
|
|
650
650
|
color: ${e=>e.theme.colors.hero};
|
|
651
651
|
box-sizing: border-box;
|
|
652
652
|
display: flex;
|
|
653
653
|
flex-direction: column;
|
|
654
|
-
`,
|
|
654
|
+
`,Ge=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,
|
|
656
|
+
`,Zo=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,22 +663,22 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
663
663
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
664
664
|
border-radius: ${i.sp1};
|
|
665
665
|
margin-left: auto;
|
|
666
|
-
`,Yo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Xo}},spendManagement:{billPay:Dt,reimbursement:el}}=v,H=Dt.bulkActions,F=el.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",tl=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:h,transactionsSelectedForBulkAction:k,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),P=T=>{const M=w==="bill_pay"?e[T].vendor?.name??e[T].candidateVendorName??N:e[T].reportTitle??N;return ri(M,C)},q=_.useRef(null);_.useEffect(()=>{q.current?.resetAfterIndex(0)},[C,q,d,r]);const G=_.forwardRef((T,M)=>{const{children:re,style:ie,...se}=T;return t.jsx(Pl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,qt({componentName:`${yi(w)}.${bi(d,w)}`,enabled:c==="Completed"}),t.jsx(gl,{children:c==="Error"?t.jsxs(xl,{children:[t.jsx(fl,{onClick:z,children:t.jsx(wl,{})}),t.jsx($l,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Qt,{fetchState:c,styles:{margin:"auto"}}):t.jsx(vl,{windowSize:C,children:t.jsx(Yt,{children:({height:T,width:M})=>t.jsx(Xt,{ref:q,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:P,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:h,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:g,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:k,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:il})})})})},Hl=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:h,isBulkActionAllowed:k,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:P,onReloadTransactions:q,onColumnSortConfigChanged:G,analytics:T,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Vt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===h)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);T?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));T?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Ve=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,V]=_.useState(!1),[U,We]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);P==="Completed"&&A!=null&&T?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[T,a,u,s,P]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ul(s,c.length,a,I);if(We({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);T?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));T?.trackReimbursementBulkDeleted(c.length,a,u,R)}V(!0)},[s,T,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length);We({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ft={onOkClick:A=>{if(V(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);T?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));T?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),V(!1),We({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);T?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));T?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,T,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(bl,{children:[t.jsx(gi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(yl,{onSubmit:se.handleSubmit(Ve),children:[t.jsx(tl,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:P,onReloadTransactions:q,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(Jt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Zt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:dl(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:cl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:pl(j,ye)},leftSideComponent:sl(c.length,h,s,ye),rightSideComponent:j.includes("delete")?al(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},il=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:g,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:h,analytics:k,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=Ze(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(kl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:nl(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:rl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=f?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:hl(C,a),exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:P?"info":yt(C)}})]:[{label:t.jsx(fo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:k,sortConfig:{sortKey:h.sortKey,sortOrder:h.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const P=b?.includes(C.id)??!1;return{label:t.jsx(ll,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:g,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:P}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||P,exceptionMode:"checked_or_hover",exceptionInfo:P?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:P?"info":yt(C)}})]})})},ol=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:g,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?qi:Li,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Le(s?.type),h=b?.includes(e.id)??!1,k=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:h,isBulkSelectionLimitReached:r.length===g,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||h?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?k():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ll=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:g,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?No:Co,w=Ie(),s=pi(w),n=mi(d,e.submittedBy,s),{bulkProcessingDetail:h}=e,k=Le(h?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:n,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:g.includes(e.id),isProcessing:k,isBulkSelectionLimitReached:g.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:hi(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:ui(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:k?()=>null:f})})},nl=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},rl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},sl=(e,l,d,r)=>{const a=d==="bill_pay"?H.bill:F.report,g=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(_l,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Bl,{multiDigit:e>=10,children:e}),t.jsx(Il,{children:g}),e===l?t.jsx(zl,{children:Xo}):null]}):null},al=(e,l,d,r)=>e>0?t.jsx(Tl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Cl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(Q,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(jl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Le(d?.type),g=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(g)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},dl=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},cl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},pl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},ml=(e,l)=>{const{this_:d,these:r,payment:a,payments:g,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",g)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",g)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ul=(e,l,d,r)=>{const{this_:a,these:g,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let h=N;e==="bill_pay"?h=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):h=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let k=N;return d==="draft"?e==="bill_pay"?k=H.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f):k=F.popUps.delete.descriptionDraft.replace("<_this_>",n?g:a).replace("__report__",n?u:b):r?k=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?k=H.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):k=F.popUps.delete.descriptionOther.replace("<_this_>",n?g:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:h,description:k}},hl=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Le(e.bulkProcessingDetail?.type)?"info":"alert",gl=o.div`
|
|
666
|
+
`,Jo={lastListItemHeight:new m(200,158)},v=te.getLocalizedStrings(),{common:{texts:{maxLimit:Qo}},spendManagement:{billPay:Dt,reimbursement:Xo}}=v,H=Dt.bulkActions,F=Xo.bulkActions,N=v.common.strings.empty,ue="bulkSelectIds",el=({transactionList:e,botEmail:l,selectedTab:d,selectedSubTab:r,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,searchText:b,isAdmin:u,entity:w,uiState:s,bulkSubmissionLimit:n,isBulkActionAllowed:g,transactionsSelectedForBulkAction:T,isDetectInsufficientFundsEnabled:I,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:z,onColumnSortConfigChanged:L})=>{const C=X(),k=P=>{const M=w==="bill_pay"?e[P].vendor?.name??e[P].candidateVendorName??N:e[P].reportTitle??N;return ri(M,C)},Z=_.useRef(null);_.useEffect(()=>{Z.current?.resetAfterIndex(0)},[C,Z,d,r]);const G=_.forwardRef((P,M)=>{const{children:re,style:ie,...se}=P;return t.jsx(kl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(Sl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Zt({componentName:`${gi(w)}.${yi(d,w)}`,enabled:c==="Completed"}),t.jsx(hl,{children:c==="Error"?t.jsxs(bl,{children:[t.jsx(xl,{onClick:z,children:t.jsx(fl,{})}),t.jsx(wl,{children:v.peoplePage.reloadPage.label})]}):c==="Completed"&&e.length===0&&b!=N?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataWithFilterText:v.spendManagement.reimbursement.reimbursementByTabs.noDataWithFilterText}):c==="Completed"&&e.length===0?t.jsx(lt,{message:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataText:v.spendManagement.reimbursement.reimbursementByTabs.noDataText,orMessage:w==="bill_pay"?v.spendManagement.billPay.billsByTabs.noDataTextViaMail:v.spendManagement.reimbursement.reimbursementByTabs.noDataTextViaMail,emailTextPrefix:w==="bill_pay"?void 0:v.spendManagement.reimbursement.reimbursementByTabs.receiptTo,botEmail:l}):c==="Not-Started"||c==="In-Progress"?t.jsx(Jt,{fetchState:c,styles:{margin:"auto"}}):t.jsx($l,{windowSize:C,children:t.jsx(Qt,{children:({height:P,width:M})=>t.jsx(Xt,{ref:Z,height:P,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:k,estimatedItemSize:ti,itemKey:re=>e[re].id,width:M,overscanCount:ei,itemData:{entity:w,isBulkActionAllowed:g,isShowDeletedBillsEnabled:a,isShowDeletedReimbursementEnabled:h,billPayApprovalRulesAffectedEntityIds:y,remiApprovalRulesAffectedEntityIds:x,isBillPayCommentingEnabled:$,isReimbursementCommentingEnabled:f,transactionList:e,isAdmin:u,selectedTab:d,transactionsSelectedForBulkAction:T,bulkSubmissionLimit:n,uiState:s,analytics:j,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:S,onColumnSortConfigChanged:L},initialScrollOffset:0,children:tl})})})})},Ul=({transactionList:e,botEmail:l,allSubTabs:d,isAdmin:r,selectedTab:a,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,selectedSubTab:u,searchText:w,entity:s,uiState:n,bulkSubmissionLimit:g,isBulkActionAllowed:T,isRecurringBillInBulkActionList:I,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:L,onSubtabChange:C,fetchState:k,onReloadTransactions:Z,onColumnSortConfigChanged:G,analytics:P,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Kt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const A=se.watch((D,{name:B})=>{B!=null&&D!=null&&Vt(()=>ge(B,D))});return()=>{A.unsubscribe()}});const ge=async(A,D)=>{if(A===ue){let B=[];if(D[ue].includes(v.common.all.toLowerCase())){if(a==="scheduled"&&c.length===0){B=[];for(const R of e)if(R.bulkSelectInfo?.isSelectableForBulkActionSelectAll&&B.push(R.id),B.length===g)break}else B=D[ue].filter(R=>R!==v.common.all.toLowerCase());if(s==="bill_pay"){const R=e.filter($e=>B.includes($e.id)),oe=Pe(R);P?.trackBillPayBulkSelectAll(a,u,oe)}else{const R=e.filter($e=>B.includes($e.id)),oe=Te(R.map($e=>$e.reimbursementTypesIncluded));P?.trackReimbursementBulkSelectAll(a,u,oe)}}else B=D[ue];M?.(B)}},Oe=()=>{j.includes("cancel")?Nt():Ot()},ye=X(),[Ke,K]=_.useState(!1),[U,Ve]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Wt(a,u,s);k==="Completed"&&A!=null&&P?.trackPageLoaded(A,s==="bill_pay"?"Bills":"Reimbursements")},[P,a,u,s,k]);const Et=A=>{C(A)},Mt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length,a,I);if(Ve({type:"delete",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),s==="bill_pay"){const B=e.filter(oe=>c.includes(oe.id)),R=Pe(B);P?.trackBillPayBulkDeleted(c.length,a,u,R)}else{const B=e.filter(oe=>c.includes(oe.id)),R=Te(B.map(oe=>oe.reimbursementTypesIncluded));P?.trackReimbursementBulkDeleted(c.length,a,u,R)}K(!0)},[s,P,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=pl(s,c.length);Ve({type:"cancel",title:A,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),K(!0)},[s,c.length]),Ft={onOkClick:A=>{if(K(!1),s==="bill_pay"){const D=e.filter(R=>c.includes(R.id)),B=Pe(D);P?.trackBillPayBulkPopupConfirm(U.type,a,u,B)}else{const D=e.filter(R=>c.includes(R.id)),B=Te(D.map(R=>R.reimbursementTypesIncluded));P?.trackReimbursementBulkPopupConfirm(U.type,a,u,B)}U.type==="delete"?ie?.("delete",A):ie?.("cancel",A)},onCancelClick:()=>{re?.(),K(!1),Ve({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const A=e.filter(B=>c.includes(B.id)),D=Pe(A);P?.trackBillPayBulkSelection(c.length,a,u,D)}else{const A=e.filter(B=>c.includes(B.id)),D=Te(A.map(B=>B.reimbursementTypesIncluded));P?.trackReimbursementBulkSelection(c.length,a,u,D)}j.includes("send_for_approval")?ie?.("send_for_approval"):ie?.(z?"approve":"review")},[s,j,e,P,c,a,u,ie,z]),ot=j.filter(A=>A!=="delete").length>0;return t.jsxs(yl,{children:[t.jsx(hi,{tabIds:d,selectedTab:u,hasSubTabs:d.length>0,entity:s,enablePerformanceTracking:!1,onTabSelectedChange:Et,isSwitcherLeftAlign:!0}),t.jsx(Ut,{...se,children:t.jsxs(gl,{onSubmit:se.handleSubmit(Oe),children:[t.jsx(el,{botEmail:l,selectedTab:a,selectedSubTab:u,searchText:w,transactionList:e,fetchState:k,onReloadTransactions:Z,onTransactionRowClick:L,entity:s,uiState:n,isAdmin:r,onColumnSortConfigChanged:G,analytics:P,isShowDeletedBillsEnabled:h,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:g,isBulkActionAllowed:T,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:z}),Ke?t.jsx(Ht,{titleComponent:t.jsx(qt,{children:U.title}),descriptionComponent:t.jsx(Gt,{children:U.description}),primaryButtonText:U.primaryButtonText,proceedButtonVariant:U.type==="delete"?"danger":"primary",secondaryButtonText:U.secondaryButtonText,action:Ft,isNotesIncluded:a!=="draft",isEditPopup:!0}):null,c.length>0?t.jsx(Yt,{helperContainerStyle:ye==="small"?{margin:`${i.sp5} ${j.includes("delete")&&ot?i.sp7:i.sp0} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:ot,primaryBtn:{label:al(s,j,c.length),isLoading:U.type!=="delete"&&S==="In-Progress",isDisabled:U.type==="delete"&&S==="In-Progress",type:"submit",style:dl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:S==="In-Progress",onClick:re,style:cl(j,ye)},leftSideComponent:rl(c.length,g,s,ye),rightSideComponent:j.includes("delete")?sl(c.length,U.type==="delete"&&S==="In-Progress",Mt,ye):null}):null]})})]})},tl=({style:e,data:l})=>{const{entity:d,transactionList:r,transactionsSelectedForBulkAction:a,isAdmin:h,isBulkActionAllowed:y,isShowDeletedBillsEnabled:x,isShowDeletedReimbursementEnabled:$,billPayApprovalRulesAffectedEntityIds:f,remiApprovalRulesAffectedEntityIds:b,isBillPayCommentingEnabled:u,isReimbursementCommentingEnabled:w,bulkSubmissionLimit:s,selectedTab:n,uiState:g,analytics:T,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=X(),z=qe(),L=y?a.length>0?"always_on":"checked_or_hover":"off";return t.jsx(vl,{style:{...e,width:"100%"},className:"spend-management-list-item",children:t.jsx(ni,{style:{width:"100%"},checkBoxContainerStyle:{gap:i.sp3,width:"auto",marginLeft:S==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:ll(S),labelCheckBoxStyle:{marginLeft:S==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:nl(S),name:ue,mode:L,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(Si,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=f?.includes(C.id)??!1;return{label:t.jsx(il,{transactionDetail:C,selectedTab:n,isBillPayCommentingEnabled:u,isShowDeletedBillsEnabled:x,onTransactionRowClick:c,billsSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:ul(C,a),exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:k?"info":yt(C)}})]:[{label:t.jsx(xo,{companyNameSticky:!1,currentTab:n,onColumnSortConfigChanged:j,analytics:T,sortConfig:{sortKey:g.sortKey,sortOrder:g.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:v.common.all.toLowerCase(),isException:!1},...r.map(C=>{const k=b?.includes(C.id)??!1;return{label:t.jsx(ol,{transactionDetail:C,isShowDeletedReimbursementEnabled:$,isReimbursementCommentingEnabled:w,selectedTab:n,isAdmin:h,onTransactionRowClick:c,remisSelectedForBulkAction:a,bulkSelectFormId:ue,bulkSelectLimit:s,isSelectionMode:L==="always_on",isAffectedByApprovalRuleUpdate:k}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||k,exceptionMode:"checked_or_hover",exceptionInfo:k?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:k?"info":yt(C)}})]})})},il=({transactionDetail:e,selectedTab:l,isShowDeletedBillsEnabled:d,billsSelectedForBulkAction:r,bulkSelectFormId:a,bulkSelectLimit:h,isBillPayCommentingEnabled:y,isSelectionMode:x,isDetectInsufficientFundsEnabled:$,onTransactionRowClick:f,billPayApprovalRulesAffectedEntityIds:b})=>{const u=X()==="small"?Yi:Ai,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Ae(s?.type),g=b?.includes(e.id)??!1,T=()=>{const S=e.billPayInfo.outsideZeniTransactionPaymentMode;if(S==null||S==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${z}`},I=$&&e.billPayInfo.stage.code==="scheduled"&&!e.isDeleted&&e.totalAmountWithFeesInUSD!=null?di(e.totalAmountWithFeesInUSD,e.withdrawFrom,e.billPayInfo.paymentDate):void 0,c=ci(e.billPayInfo,l,d,e.isDeleted,e.dueDate),j=I!=null&&c?.code!=="failed"&&c?.code!=="processing"&&c?.code!=="cancelled"&&c?.code!=="returned"&&c?.code!=="rejected"&&c?.code!=="paid";return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,transactionDetail:e,isBillPayCommentingEnabled:y,isSelected:r.includes(e.id),isProcessing:n,isAffectedByApprovalRuleUpdate:g,isBulkSelectionLimitReached:r.length===h,isSelectionMode:x,bulkSelectFormId:a,tagStatus:c,approvers:e.isDeleted===!0?void 0:xt(e,l),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n||g?()=>null:f,paidAdditionalInfo:l==="paid"&&!e.isDeleted?T():void 0,lowBalanceAlert:I,showLowBalanceTooltip:j})})},ol=({transactionDetail:e,selectedTab:l,isAdmin:d,isShowDeletedReimbursementEnabled:r,isReimbursementCommentingEnabled:a,remisSelectedForBulkAction:h,bulkSelectFormId:y,bulkSelectLimit:x,isSelectionMode:$,onTransactionRowClick:f,isAffectedByApprovalRuleUpdate:b=!1})=>{const u=X()==="small"?Mo:To,w=pi(d,e.submittedBy),{bulkProcessingDetail:s}=e,n=Ae(s?.type)||b;return t.jsx(Rt,{children:t.jsx(u,{reportTitleAdditionalInfo:w,reimbursementDetail:e,isReimbursementCommentingEnabled:a,isSelected:h.includes(e.id),isProcessing:n,isBulkSelectionLimitReached:h.length===x,isSelectionMode:$,bulkSelectFormId:y,currentTab:l,date:ui(e,l),approvers:e.isDeleted===!0?void 0:xt(e,l),tagStatus:mi(e,l,r),deletionAdditionalInfo:e.isDeleted===!0&&l!=="draft"?bt(e,l):void 0,onTransactionRowClick:n?()=>null:f})})},ll=e=>{let l={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(l={...l,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),l},nl=e=>{let l={zIndex:1,marginBottom:i.sp2};return e==="small"&&(l={...l,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),l},rl=(e,l,d,r)=>{const a=d==="bill_pay"?H.bill:F.report,h=(e>1?a+"s":a)+H.selected;return e>0?t.jsxs(jl,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(_l,{multiDigit:e>=10,children:e}),t.jsx(Bl,{children:h}),e===l?t.jsx(Il,{children:Qo}):null]}):null},sl=(e,l,d,r)=>e>0?t.jsx(Pl,{style:r==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Tl,{isLoading:l,windowSize:r,className:"delete-icon-wrapper",onClick:l?()=>null:d,children:l?t.jsx(ii,{size:"Small",start:!0}):t.jsx(J,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(Cl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Ae(d?.type),h=d?.type==="error";let y;if(a)y=d?.inProgressMessage;else if(h)y=d.error?.message;else if(r?.bulkSelectExceptionInfo!=null)if(e==="bill_pay"){const{exceptions:x}=v.spendManagement.billPay.bulkActions;y=x[r.bulkSelectExceptionInfo]}else{const{exceptions:x}=v.spendManagement.reimbursement.bulkActions;y=x[r.bulkSelectExceptionInfo]}return y},al=(e,l,d)=>{const{billPay:r}=v.spendManagement;return l.includes("cancel")?e==="reimbursement"?F.popUps.cancel.title.replace("__report__",d>1?F.reports:F.report):r.bulkActions.popUps.cancel.title.replace("<_bill_>",d>1?r.bulkActions.bills:r.bulkActions.bill):l.includes("send_for_approval")?r.billDetails.sendForApproval:v.common.review},dl=e=>{let l;return e.includes("cancel")===!1&&e.includes("send_for_approval")===!1&&(l={minWidth:"92px"}),l},cl=(e,l)=>{let d;return l!=="small"&&(e.includes("cancel")?d={minWidth:"116px"}:e.includes("send_for_approval")&&(d={minWidth:"160px"})),d},pl=(e,l)=>{const{this_:d,these:r,payment:a,payments:h,bills:y,bill:x,reports:$,report:f,they:b,it:u}=v.common.texts;return l>1?e==="bill_pay"?{title:H.popUps.cancel.title.replace("<_bill_>",v.drawerMenus.bills),description:H.popUps.cancel.description.replace("<_this_>",r).replace("<_bill_>",y).replace("<_it_>",b).replace("<_payment_>",h)}:{title:F.popUps.cancel.title.replace("__report__",F.reports),description:F.popUps.cancel.description.replace("<_this_>",r).replace("__report__",$).replace("<_it_>",b).replace("<_payment_>",h)}:e==="reimbursement"?{title:F.popUps.cancel.title.replace("__report__",F.report),description:F.popUps.cancel.description.replace("<_this_>",d).replace("__report__",f).replace("<_it_>",u).replace("<_payment_>",a)}:{title:H.popUps.cancel.title.replace("<_bill_>",H.bill),description:H.popUps.cancel.description.replace("<_this_>",d).replace("<_bill_>",x).replace("<_it_>",u).replace("<_payment_>",a)}},ml=(e,l,d,r)=>{const{this_:a,these:h,payment:y,payments:x,bills:$,bill:f,report:b,reports:u,they:w,it:s}=v.common.texts,n=l>1;let g=N;e==="bill_pay"?g=H.popUps.delete.title.replace("<_bill_>",n?H.bills:H.bill):g=F.popUps.delete.title.replace("__report__",n?F.reports:F.report);let T=N;return d==="draft"?e==="bill_pay"?T=H.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f):T=F.popUps.delete.descriptionDraft.replace("<_this_>",n?h:a).replace("__report__",n?u:b):r?T=H.popUps.delete.descriptionRecurring.replace("<_payment_>",n?y:x):e==="bill_pay"?T=H.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("<_bill_>",n?$:f).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y):T=F.popUps.delete.descriptionOther.replace("<_this_>",n?h:a).replace("__report__",n?u:b).replace("<_it_>",n?w:s).replace("<_payment_>",n?x:y),{title:g,description:T}},ul=(e,l)=>{const d=e.bulkSelectInfo?.bulkSelectExceptionInfo;return l.length===0&&d!=null&&(d==="bookCloseDateProcessing"||d==="noActionRecurring")?"hover_only":"checked_or_hover"},yt=e=>Ae(e.bulkProcessingDetail?.type)?"info":"alert",hl=o.div`
|
|
667
667
|
display: block;
|
|
668
668
|
height: 100%;
|
|
669
|
-
`,
|
|
669
|
+
`,gl=o.form`
|
|
670
670
|
height: 100%;
|
|
671
|
-
`,
|
|
671
|
+
`,yl=o.div`
|
|
672
672
|
height: calc(100% - 120px);
|
|
673
673
|
margin: auto;
|
|
674
|
-
`,
|
|
674
|
+
`,bl=o.div`
|
|
675
675
|
display: flex;
|
|
676
676
|
width: 100%;
|
|
677
677
|
height: calc(100% - 60px);
|
|
678
678
|
flex-direction: column;
|
|
679
679
|
justify-content: center;
|
|
680
680
|
align-items: center;
|
|
681
|
-
`,
|
|
681
|
+
`,xl=o.div`
|
|
682
682
|
height: 96px;
|
|
683
683
|
width: 96px;
|
|
684
684
|
display: flex;
|
|
@@ -687,25 +687,25 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
687
687
|
background: ${e=>e.theme.colors.background};
|
|
688
688
|
border-radius: 50%;
|
|
689
689
|
cursor: pointer;
|
|
690
|
-
`,
|
|
690
|
+
`,fl=o(oi)`
|
|
691
691
|
height: ${i.sp5};
|
|
692
692
|
width: ${i.sp5};
|
|
693
693
|
color: ${e=>e.theme.colors.grey1};
|
|
694
694
|
&:hover {
|
|
695
695
|
color: ${e=>e.theme.colors.primary};
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
`,wl=o(li)`
|
|
698
698
|
margin-top: ${i.sp3};
|
|
699
699
|
color: ${e=>e.theme.colors.hero};
|
|
700
|
-
|
|
700
|
+
`,$l=o.div`
|
|
701
701
|
/** Subtract top so list can occupy remaining available height */
|
|
702
702
|
height: calc(100vh - 243px);
|
|
703
703
|
max-width: 99.9%;
|
|
704
704
|
.spend-management-list-item:last-of-type {
|
|
705
|
-
height: ${e=>
|
|
705
|
+
height: ${e=>Jo.lastListItemHeight.valuePx(e.windowSize)} !important;
|
|
706
706
|
padding-bottom: ${i.sp9};
|
|
707
707
|
}
|
|
708
|
-
`,
|
|
708
|
+
`,vl=o.div`
|
|
709
709
|
top: ${i.sp0};
|
|
710
710
|
left: ${i.sp0};
|
|
711
711
|
padding-bottom: ${i.sp3};
|
|
@@ -714,31 +714,31 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
714
714
|
position: relative;
|
|
715
715
|
width: auto;
|
|
716
716
|
height: 100%;
|
|
717
|
-
`,
|
|
717
|
+
`,kl=o.div``,Rt=o.div`
|
|
718
718
|
position: relative;
|
|
719
719
|
width: 100%;
|
|
720
|
-
`,
|
|
720
|
+
`,Pl=o.div`
|
|
721
721
|
display: flex;
|
|
722
722
|
justify-content: flex-end;
|
|
723
|
-
`,
|
|
723
|
+
`,Tl=o.div`
|
|
724
724
|
margin-right: ${i.sp8};
|
|
725
725
|
cursor: ${e=>e.isLoading?"initial":"pointer"};
|
|
726
|
-
color: ${e=>e.windowSize==="small"?
|
|
727
|
-
`,
|
|
726
|
+
color: ${e=>e.windowSize==="small"?Q.important:e.theme.colors.grey1};
|
|
727
|
+
`,Cl=o(si)`
|
|
728
728
|
width: ${i.sp4};
|
|
729
729
|
height: ${i.sp4};
|
|
730
730
|
cursor: pointer;
|
|
731
731
|
color: inherit;
|
|
732
732
|
&:hover {
|
|
733
|
-
color: ${
|
|
733
|
+
color: ${Q.important};
|
|
734
734
|
}
|
|
735
|
-
`,
|
|
735
|
+
`,jl=o.div`
|
|
736
736
|
display: flex;
|
|
737
737
|
justify-content: flex-start;
|
|
738
738
|
align-items: center;
|
|
739
739
|
gap: ${i.sp2};
|
|
740
740
|
margin-left: ${i.sp8};
|
|
741
|
-
`,
|
|
741
|
+
`,_l=o(W)`
|
|
742
742
|
height: 18px;
|
|
743
743
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
744
744
|
padding: ${i.sp0} 6px;
|
|
@@ -747,8 +747,8 @@ import{aa as Vt,cI as Kt,J as X,la as Wt,V as t,ae as Ut,cs as Ht,ct as Gt,cu as
|
|
|
747
747
|
display: flex;
|
|
748
748
|
justify-content: center;
|
|
749
749
|
align-items: center;
|
|
750
|
-
`,
|
|
750
|
+
`,Bl=o(O)`
|
|
751
751
|
color: ${e=>e.theme.colors.primary};
|
|
752
|
-
`,
|
|
753
|
-
color: ${
|
|
754
|
-
`;export{
|
|
752
|
+
`,Il=o(ae)`
|
|
753
|
+
color: ${Q.important};
|
|
754
|
+
`;export{Ul as default};
|