@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-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-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
- package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
- package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
- package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
- package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
- package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
- package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
- package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
- package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
- package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
- package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
- package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
- package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
- package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
- package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
- package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
- package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
- package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
- package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
- package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
- package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
- package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
- package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
- package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
- package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
- package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
- package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
- package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
- package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
- package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
- package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
- package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
- package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
- package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
- package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
- package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
- package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
- package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
- package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
- package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
- package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
- package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
- package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
- package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
- package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
- package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
- package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
- package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
- package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
- package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
- package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
- package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
- package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
- package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
- package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
- package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
- package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
- package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
- package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
- package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
- package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
- package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
- package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
- package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
- package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
- package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
- package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
- package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
- package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
- package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
- package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
- package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
- package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
- package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
- package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
- package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
- package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
- package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
- package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
- package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
- package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
- package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
- package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
- package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
- package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
- package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
- package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
- package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
- package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
- package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
- package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
- package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
- package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
- package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
- package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
- package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
- package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
- package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
- package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
- package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
- package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
- package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
- package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
- package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
- package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
- package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
- package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
- package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
- package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
- package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
- package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
- package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
- package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
- package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
- package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
- package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
- package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
- package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
- package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
- package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
- package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
- package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
- package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
- package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
- package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
- package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
- package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
- package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
- package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
- package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
- package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
- package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
- package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
- package/dist/assets/epic-CLSKdGkp.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
- package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
- package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
- package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
- package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
- package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
- package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
- package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
- package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
- package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
- package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
- package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
- package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
- package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
- package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
- package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
- package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
- package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
- package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
- package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
- package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
- package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
- package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
- package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
- package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
- package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
- package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
- package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
- package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
- package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
- package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
- package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
- package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
- package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
- package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
- package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
- package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
- package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
- package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
- package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
- package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
- package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
- package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
- package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
- package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
- package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
- package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
- package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
- package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
- package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
- package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
- package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
- package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
- package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
- package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
- package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
- package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
- package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
- package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
- package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
- package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
- package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
- package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
- package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
- package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
- package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
- package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
- package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
- package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
- package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
- package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
- package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
- package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
- package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
- package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
- package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
- package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
- package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
- package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
- package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
- package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
- package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
- package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
- package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
- package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
- package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
- package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
- package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
- package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
- package/dist/assets/epic-B0RIAA2R.js +0 -2
- package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
- package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
- package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
- package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as Vt,
|
|
1
|
+
import{aa as Vt,cH as Kt,J as X,l1 as Wt,V as t,ad as Ut,cr as Ht,cs as Gt,ct as Yt,aT as qt,o as i,O as te,cf as Jt,co as lt,ga as Zt,b5 as Qt,cv as Xt,iW as ei,iX as ti,T as ii,bV as Z,bQ as oi,aV as li,y as m,d as Ye,gb as ni,l2 as ri,p as Q,d0 as si,an as W,am as O,aj as ae,l3 as ai,fe as di,l4 as ci,l5 as bt,l6 as xt,ke as pi,l7 as mi,l8 as ui,bT as ft,b as Be,aR as ee,ax as qe,gN as Je,a9 as Ze,gn as Qe,cL as wt,l9 as $t,la as Ie,aP as ze,lb as Xe,aL as we,j3 as vt,j4 as kt,lc as St,j2 as Pt,cB as Tt,cE as Ct,ld as E,le as jt,gz as _t,c$ as Bt,dx as et,u as p}from"./index-sotzB3Mx.js";import{a as _,P as It}from"./sentry-2bqpslFP.js";import{n as o,c as q}from"./mui-CWqpJBOf.js";import{GJ as Pe,Gp as Te,FS as Le,bp as zt}from"./zeni-epic-state-DM-Ak8Gv.js";import{K as hi,L as gi,_ as yi}from"./StatusSwitcher-BnSFSpJ0-DnH48_9z.js";import{d as Lt}from"./useLongPress-GCK2COYQ-isRXDDp5.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="2a16ccd0-0d41-4077-b087-d816d494c310",e._sentryDebugIdIdentifier="sentry-dbid-2a16ccd0-0d41-4077-b087-d816d494c310")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Ae={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=[Ae,De,bi,it,Re],fi=[Ae,De,tt,it,Re],wi=[Ae,De,tt,it,Re],$i=[Ae,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,kt)};function vi({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const a=Ye(),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(Si,{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 ki=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`,Si=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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,22 +40,22 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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;
|
|
@@ -69,7 +69,7 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
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(),Li=({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=qe(),T=Je(),I=Ze().analytics,c=`dashboard_${g.currentTenant?.companyId}`,{threads:j,isLoading:k}=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]),A=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]),S=zt(e.billPayInfo.billPaymentStatus.code)?$t(e.createdByUser):Ie($),J=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(Ai,{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:J}),e.isRecurring?t.jsx(Z,{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(Vi,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??le.hyphenText}):t.jsx(Ki,{children:le.hyphenText}),u===!0&&x!=null&&x.length>0?t.jsx(Z,{title:x,placement:"bottom",display:"flex",style:{padding:`12px ${i.sp3}`},position:"relative",maxWidth:"311px",children:t.jsx(Yi,{})}):null]}),$!==void 0&&S.length>0?S.length>1?t.jsx(Z,{style:{padding:"2px 5px"},title:`${le.byText}${ve}${S.join(`${ve}${le.orText}${ve}`)}`,placement:"bottom-start",children:t.jsx(Ce,{children:`${le.byText}${ve}${S[0]}${le.dots}`})}):t.jsx(Ce,{children:`${le.byText}${ve}${S[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:k,count:z.length,style:{position:"absolute",float:"right",right:"44px",top:i.sp1},openThread:A}):null]})},Ai=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
94
94
|
color: ${e.theme.colors.grey2};
|
|
95
95
|
border-color: ${e.theme.colors.grey2};
|
|
96
96
|
}
|
|
97
|
-
`:e.isSelected?
|
|
97
|
+
`:e.isSelected?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`:q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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,19 +155,19 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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;
|
|
168
168
|
width: 90%;
|
|
169
169
|
white-space: nowrap;
|
|
170
|
-
`,
|
|
170
|
+
`,Vi=o(W)`
|
|
171
171
|
display: flex;
|
|
172
172
|
color: ${e=>e.color};
|
|
173
173
|
height: 20px;
|
|
@@ -187,12 +187,12 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
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)};
|
|
@@ -202,11 +202,11 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
202
202
|
flex-direction: column;
|
|
203
203
|
align-items: flex-start;
|
|
204
204
|
justify-content: center;
|
|
205
|
-
`,Ce=o(
|
|
205
|
+
`,Ce=o(W)`
|
|
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};
|
|
@@ -214,14 +214,14 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
214
214
|
width: 12px;
|
|
215
215
|
height: 12px;
|
|
216
216
|
color: inherit;
|
|
217
|
-
`,
|
|
217
|
+
`,Yi=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:ke}}}=te.getLocalizedStrings(),qi=({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=qe(),j=Je(),k=Ze().analytics,z=`dashboard_${c.currentTenant?.companyId}`,{threads:A,isLoading:C}=Qe({application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:e.id,isGlobalComment:!1},"both",!1),S=_.useMemo(()=>A.filter(V=>V.resolved===!1),[A]),J=V=>{V.stopPropagation(),j?.sharedFunctions?.subtreeFunctions.openAllThreadsDrawer({roomId:z,companyId:c.currentTenant?.companyId??Ue,companyName:c.currentTenant?.companyName??Ue,entityType:"bill.details",entityId:e.id}),k.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(V=>{V.stopPropagation(),V.cancelable&&V.preventDefault(),$?ge():g(e.id)},[ge,$,g,e.id]),Ve=Lt({onLongPress:Oe},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(Ji,{windowSize:I,statusCode:l?.code??"",isSelected:a,isProcessing:T,children:[t.jsx(Zi,{onClick:ye,...Ve,"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(Z,{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:V=>V.stopPropagation(),children:t.jsx(Z,{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(Z,{title:`${ne.byText}${ke}${M.join(`${ke}${ne.orText}${ke}`)}`,placement:"bottom-start",children:t.jsx(je,{children:`${ne.byText}${ke}${M[0]}${ne.dots}`})}):t.jsx(je,{children:`${ne.byText}${ke}${M[0]}`}):null,w!=null?t.jsx(je,{children:w}):null,s!=null?t.jsx(je,{children:s}):null]})]})]})}),h&&S.length>0?t.jsx(Xe,{isLoading:C,count:S.length,style:{position:"absolute",float:"right",right:"6px",top:i.sp1},openThread:J}):null]})},Ji=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
245
245
|
color: ${e.theme.colors.grey2};
|
|
246
246
|
border-color: ${e.theme.colors.grey2};
|
|
247
247
|
}
|
|
248
|
-
`:e.isSelected?
|
|
248
|
+
`:e.isSelected?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`:q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`,Zi=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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;
|
|
@@ -322,46 +322,46 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
322
322
|
display: inline-flex;
|
|
323
323
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
324
324
|
border-radius: ${i.sp1};
|
|
325
|
-
`,dt=o(
|
|
325
|
+
`,dt=o(W)`
|
|
326
326
|
color: ${e=>e.theme.colors.grey1};
|
|
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;
|
|
334
334
|
flex-direction: column;
|
|
335
335
|
align-items: ${e=>e.hasAlertIcon?"flex-start":"flex-end"};
|
|
336
336
|
justify-content: center;
|
|
337
|
-
`,je=o(
|
|
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],At={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=Ye(),[x,$]=_.useState(we(At[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:kt,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(So,{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(ko,{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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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;
|
|
@@ -410,18 +410,18 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
410
410
|
height: 12px;
|
|
411
411
|
cursor: pointer;
|
|
412
412
|
color: inherit;
|
|
413
|
-
`,
|
|
413
|
+
`,ko=o.div`
|
|
414
414
|
display: ${e=>e.isVisible?"flex":"none"};
|
|
415
415
|
align-items: center;
|
|
416
416
|
padding-top: 2px;
|
|
417
|
-
`,
|
|
417
|
+
`,So=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,7 +429,7 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
429
429
|
color: ${e=>e.theme.colors.primary};
|
|
430
430
|
}
|
|
431
431
|
margin-left: auto;
|
|
432
|
-
`,Se={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])},
|
|
432
|
+
`,Se={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])},Y=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=qe(),w=_.useRef(null),[s,n]=_.useState(0);_.useLayoutEffect(()=>{w.current&&n(w.current.offsetWidth*St)},[b]);const g=Ze().analytics,T=Je(),I=`dashboard_${u.currentTenant?.companyId}`,c=()=>{f(e.id)},j=e.reimbursementTypesIncluded,k=Ie(y),z=te.getLocalizedStrings().common.strings.empty,{threads:A,isLoading:C}=Qe({application:"dashboard",companyId:u.currentTenant?.companyId,tab:"reimbursement",entityId:e.id,isGlobalComment:!1},"both",!1),S=_.useMemo(()=>A.filter(G=>G.resolved===!1),[A]),J=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??Y.newReimbursementTitle}),a!=null&&t.jsx(zo,{children:`${Y.byText} ${a?.firstName} ${a?.lastName}`})]}),t.jsx(Ao,{windowSize:b,responsiveWidth:pe[1].width,children:h}),j.length>1?t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:t.jsx(Z,{title:Y.reimbursementType.both,placement:"bottom-start",display:"flex",children:Y.reimbursementType.titleForBoth})}):t.jsx(ut,{windowSize:b,responsiveWidth:pe[2].width,children:Y.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??Y.hyphenText}):t.jsx(Do,{children:Y.hyphenText}),y!==void 0&&k.length>0?k.length>1?t.jsx(Z,{title:`${Y.byText} `+k.join(` ${Y.orText} `),placement:"bottom-start",children:t.jsx(He,{children:`${Y.byText} `+k[0]+`${Y.dots}`})}):t.jsx(He,{children:`${Y.byText} `+k[0]}):null,x!=null?t.jsx(He,{children:x}):null]}),t.jsx(Lo,{windowSize:b,responsiveWidth:pe[4].width,children:ze("0,0[.]00",e.amount)})]})}),$&&S.length>0?t.jsx(Xe,{isLoading:C,count:S.length,style:{position:"absolute",float:"right",right:`calc(${i.sp6} + ${i.sp1})`,top:i.sp1},openThread:J}):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};
|
|
@@ -438,11 +438,11 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
438
438
|
padding-top: ${e=>Se.containerPaddingTop.valuePx(e.windowSize)};
|
|
439
439
|
padding-bottom: ${e=>Se.containerPaddingBottom.valuePx(e.windowSize)};
|
|
440
440
|
border: ${e=>` 1px solid ${e.isProcessing?e.theme.colors.grey2:e.isSelected?e.theme.colors.primary:e.theme.colors.grey3}`};
|
|
441
|
-
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${
|
|
441
|
+
box-shadow: ${e=>e.isProcessing?"none":e.theme.mode==="dark"?`${Q.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${Q.boxShadowElevation}`};
|
|
442
442
|
border-radius: ${i.sp2};
|
|
443
443
|
cursor: ${e=>e.isProcessing?"initial":"pointer"};
|
|
444
444
|
|
|
445
|
-
${e=>e.isProcessing?
|
|
445
|
+
${e=>e.isProcessing?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
454
454
|
color: ${e.theme.colors.grey2};
|
|
455
455
|
border-color: ${e.theme.colors.grey2};
|
|
456
456
|
}
|
|
457
|
-
`:e.isSelected?
|
|
457
|
+
`:e.isSelected?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`:q`
|
|
470
470
|
&:hover {
|
|
471
471
|
color: ${e.theme.colors.primary};
|
|
472
472
|
border-color: ${e.theme.colors.primary};
|
|
@@ -484,14 +484,14 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
484
484
|
|
|
485
485
|
margin-right: ${e=>Se.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;
|
|
@@ -505,7 +505,7 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
text-overflow: ellipsis;
|
|
507
507
|
width: ${e=>e.reportNameWidth!=null&&e.reportNameWidth>0?`${e.reportNameWidth}px`:`${St*100}%`};
|
|
508
|
-
`,
|
|
508
|
+
`,zo=o(ae)`
|
|
509
509
|
color: ${e=>e.theme.colors.grey1};
|
|
510
510
|
`,Lo=o(O)`
|
|
511
511
|
display: flex;
|
|
@@ -513,19 +513,19 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
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
|
+
`,Ao=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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)},K=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(At[d]),j=n(h),k=_.useCallback(()=>{!y&&e.bulkSelectInfo?.isSelectableForBulkAction&&!a&&g(h,[...j,e.id])},[h,y,a,g,e.bulkSelectInfo?.isSelectableForBulkAction,e.id,j]),z=_.useCallback(()=>{k()},[k]),A=_.useCallback(S=>{S.stopPropagation(),S.cancelable&&S.preventDefault(),x?k():w(e.id)},[k,x,w,e.id]),C=Lt({onLongPress:z},{shouldPreventDefault:!1,delay:1e3});return t.jsx(No,{windowSize:s,statusCode:l?.code??"",isProcessing:r,isSelected:a,children:t.jsx(Fo,{onClick:A,...C,"data-testid":ee("remi-row-click-mobile",e.id),children:t.jsxs(Oo,{children:[t.jsxs(Vo,{children:[t.jsxs(Wo,{children:[t.jsx(Uo,{windowSize:s,children:e.reportTitle??K.newReimbursementTitle}),$!=null&&t.jsx(Ho,{children:`${K.byText} ${$?.firstName} ${$?.lastName}`})]}),t.jsxs(Yo,{children:[c[1].value+": ",f]}),T.length>1?t.jsx(Z,{title:K.reimbursementType.both,placement:"bottom-start",display:"flex",children:t.jsxs(ht,{children:[K.reimbursementType.type+": ",K.reimbursementType.titleForBoth]})}):t.jsxs(ht,{children:[K.reimbursementType.type+": ",K.reimbursementType[T[0]]]})]}),t.jsxs(Ko,{children:[t.jsx(Go,{children:ze("0,0[.]00",e.amount)}),t.jsxs(qo,{children:[l!==void 0?t.jsx(Jo,{className:"statusTag",color:l.color,bgColor:l.bgColor,borderColor:l.borderColor,children:l.value??K.hyphenText}):t.jsx(t.Fragment,{children:K.hyphenText}),b!==void 0&&I.length>0?I.length>1?t.jsx(Z,{title:`${K.byText} `+I.join(` ${K.orText} `),placement:"bottom-start",children:t.jsx(Ge,{style:{marginLeft:"auto"},children:`${K.byText} `+I[0]+`${K.dots}`})}):t.jsx(Ge,{style:{marginLeft:"auto"},children:`${K.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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv as
|
|
|
571
571
|
color: ${e.theme.colors.grey2};
|
|
572
572
|
border-color: ${e.theme.colors.grey2};
|
|
573
573
|
}
|
|
574
|
-
`:e.isSelected?
|
|
574
|
+
`:e.isSelected?q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`:q`
|
|
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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`,Vo=o.div`
|
|
612
612
|
display: flex;
|
|
613
613
|
flex-direction: column;
|
|
614
614
|
`,Ko=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,30 +630,30 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
|
+
`,Yo=o(W)`
|
|
640
640
|
color: ${e=>e.theme.colors.grey1};
|
|
641
641
|
box-sizing: border-box;
|
|
642
642
|
display: flex;
|
|
643
643
|
align-items: center;
|
|
644
|
-
`,ht=o(
|
|
644
|
+
`,ht=o(W)`
|
|
645
645
|
color: ${e=>e.theme.colors.grey1};
|
|
646
646
|
box-sizing: border-box;
|
|
647
647
|
display: flex;
|
|
648
648
|
align-items: center;
|
|
649
|
-
`,
|
|
649
|
+
`,qo=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
|
-
`,Ge=o(
|
|
654
|
+
`,Ge=o(W)`
|
|
655
655
|
color: ${e=>e.theme.colors.grey1};
|
|
656
|
-
`,
|
|
656
|
+
`,Jo=o(W)`
|
|
657
657
|
display: flex;
|
|
658
658
|
color: ${e=>e.color};
|
|
659
659
|
height: 20px;
|
|
@@ -663,22 +663,22 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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:Jo}},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:z,fetchState:c,analytics:j,onTransactionRowClick:S,onReloadTransactions:I,onColumnSortConfigChanged:L})=>{const C=J(),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 X=_.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 X.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:I,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(Jt,{ref:Q,height:T,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:X,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:z,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:z,transactionsSelectedForBulkAction:c,allowedBulkActions:j,bulkSubmissionFetchState:S,isDetectInsufficientFundsEnabled:I,onTransactionRowClick:L,onSubtabChange:C,fetchState:P,onReloadTransactions:Q,onColumnSortConfigChanged:X,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&&Wt(()=>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=J(),[We,V]=_.useState(!1),[U,Ke]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const A=Kt(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,z);if(Ke({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,z,u,a,e,c]),Nt=_.useCallback(()=>{const{title:A,description:D}=ml(s,c.length);Ke({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),Ke({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?.(I?"approve":"review")},[s,j,e,T,c,a,u,ie,I]),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:X,analytics:T,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:y,billPayApprovalRulesAffectedEntityIds:x,remiApprovalRulesAffectedEntityIds:$,isBillPayCommentingEnabled:f,isReimbursementCommentingEnabled:b,bulkSubmissionLimit:h,isBulkActionAllowed:k,transactionsSelectedForBulkAction:c,isDetectInsufficientFundsEnabled:I}),We?t.jsx(Ht,{titleComponent:t.jsx(Gt,{children:U.title}),descriptionComponent:t.jsx(Xt,{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:z,onTransactionRowClick:c,onColumnSortConfigChanged:j}=l,S=J(),I=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:I.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:z,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=J()==="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 I=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(L=>L.value===S)?.label;return`${v.common.via} ${I}`},z=$&&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=z!=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:z,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=J()==="small"?No:Co,w=ze(),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(zl,{children:g}),e===l?t.jsx(Il,{children:Jo}):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
|
+
`,Zo={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:k,onReloadTransactions:z,onColumnSortConfigChanged:A})=>{const C=X(),S=P=>{const M=w==="bill_pay"?e[P].vendor?.name??e[P].candidateVendorName??N:e[P].reportTitle??N;return ri(M,C)},J=_.useRef(null);_.useEffect(()=>{J.current?.resetAfterIndex(0)},[C,J,d,r]);const G=_.forwardRef((P,M)=>{const{children:re,style:ie,...se}=P;return t.jsx(Sl,{ref:M,style:{...ie,width:"auto"},...se,children:t.jsx(kl,{children:re})})});return G.displayName=v.spendManagement.billPay.billsByTabs.headerElementDisplayName,Jt({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(Zt,{fetchState:c,styles:{margin:"auto"}}):t.jsx($l,{windowSize:C,children:t.jsx(Qt,{children:({height:P,width:M})=>t.jsx(Xt,{ref:J,height:P,itemCount:w==="bill_pay"||w==="reimbursement"?1:e.length,innerElementType:G,itemSize:S,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:k,onColumnSortConfigChanged:A},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:k,isDetectInsufficientFundsEnabled:z,onTransactionRowClick:A,onSubtabChange:C,fetchState:S,onReloadTransactions:J,onColumnSortConfigChanged:G,analytics:P,updateBulkActionList:M,removeAllTransactionsFromBulkActionList:re,onProceedForBulkActionClick:ie})=>{const se=Vt({defaultValues:{bulkSelectIds:c},values:{bulkSelectIds:c}});_.useEffect(()=>{const L=se.watch((D,{name:B})=>{B!=null&&D!=null&&Kt(()=>ge(B,D))});return()=>{L.unsubscribe()}});const ge=async(L,D)=>{if(L===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(),[Ve,V]=_.useState(!1),[U,Ke]=_.useState({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N});_.useEffect(()=>{const L=Wt(a,u,s);S==="Completed"&&L!=null&&P?.trackPageLoaded(L,s==="bill_pay"?"Bills":"Reimbursements")},[P,a,u,s,S]);const Et=L=>{C(L)},Mt=_.useCallback(()=>{const{title:L,description:D}=ml(s,c.length,a,I);if(Ke({type:"delete",title:L,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)}V(!0)},[s,P,I,u,a,e,c]),Nt=_.useCallback(()=>{const{title:L,description:D}=pl(s,c.length);Ke({type:"cancel",title:L,description:D,primaryButtonText:v.common.texts.confirm,secondaryButtonText:v.common.texts.close}),V(!0)},[s,c.length]),Ft={onOkClick:L=>{if(V(!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",L):ie?.("cancel",L)},onCancelClick:()=>{re?.(),V(!1),Ke({type:N,title:N,description:N,primaryButtonText:N,secondaryButtonText:N})}},Ot=_.useCallback(()=>{if(s==="bill_pay"){const L=e.filter(B=>c.includes(B.id)),D=Pe(L);P?.trackBillPayBulkSelection(c.length,a,u,D)}else{const L=e.filter(B=>c.includes(B.id)),D=Te(L.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(L=>L!=="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:S,onReloadTransactions:J,onTransactionRowClick:A,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}),Ve?t.jsx(Ht,{titleComponent:t.jsx(Yt,{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(qt,{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"&&k==="In-Progress",isDisabled:U.type==="delete"&&k==="In-Progress",type:"submit",style:dl(j)},cancelBtn:{label:v.common.texts.goBack,isDisabled:k==="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"&&k==="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,k=X(),z=Ye(),A=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:k==="small"?i.sp0:i.sp4},labelStyle:{width:"100%"},checkBoxStyle:ll(k),labelCheckBoxStyle:{marginLeft:k==="small"?i.sp2:i.sp0},checkBoxIconStyle:{backgroundColor:z.colors.grey4},infoIconContainerStyle:nl(k),name:ue,mode:A,selectionLimit:s,checkBoxes:d==="bill_pay"?[{label:t.jsx(ki,{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 S=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:A==="always_on",isDetectInsufficientFundsEnabled:I,billPayApprovalRulesAffectedEntityIds:f}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||S,exceptionMode:ul(C,a),exceptionInfo:S?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.billPay.bulkActions.bill):gt(d,C),exceptionType:S?"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 S=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:A==="always_on",isAffectedByApprovalRuleUpdate:S}),value:C.id,groupLabel:!1,defaultChecked:!1,isException:C.bulkSelectInfo?.isSelectableForBulkAction===!1||S,exceptionMode:"checked_or_hover",exceptionInfo:S?v.commonSetUp.approval.updatingWithApprovalRulesTooltip.replace("__entity__",v.spendManagement.reimbursement.reimbursementDetail.reimbursement):gt(d,C),exceptionType:S?"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"?qi:Li,w=ai(e,l),{bulkProcessingDetail:s}=e,n=Le(s?.type),g=b?.includes(e.id)??!1,T=()=>{const k=e.billPayInfo.outsideZeniTransactionPaymentMode;if(k==null||k==="other")return;const z=Dt.billDetails.paymentOutsideZeni.paymentModeOptions.find(A=>A.value===k)?.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=Le(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(Z,{enterDelay:600,title:v.common.delete,placement:"top",children:t.jsx(Cl,{})})})}):null,gt=(e,l)=>{const{bulkProcessingDetail:d,bulkSelectInfo:r}=l,a=Le(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=>Le(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,58 +687,58 @@ import{aa as Vt,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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=>Zo.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};
|
|
712
712
|
box-sizing: border-box;
|
|
713
|
-
`,
|
|
713
|
+
`,kl=o.div`
|
|
714
714
|
position: relative;
|
|
715
715
|
width: auto;
|
|
716
716
|
height: 100%;
|
|
717
|
-
`,
|
|
717
|
+
`,Sl=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,cJ as Wt,Q as J,la as Kt,V as t,ae as Ut,ct as Ht,cu as Xt,cv 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
752
|
`,Il=o(ae)`
|
|
753
|
-
color: ${
|
|
754
|
-
`;export{
|
|
753
|
+
color: ${Q.important};
|
|
754
|
+
`;export{Ul as default};
|