@zeniai/web-cockpit-ui 1.15.0-dev → 1.15.1-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-DYlcHRQe-lxtPXqrl.js → ACHDetailsPage-CUzXxtOD-D58ed7uT.js} +1 -1
- package/dist/assets/{AIPerformancePage-DpXZ7sco-B8d5E6QI.js → AIPerformancePage-O2oT7VD7-B6QMOBUy.js} +13 -13
- package/dist/assets/{AccountInfoPage-BEOrrVQS-L5aJOIaA.js → AccountInfoPage-B6jxAqA6-BUFslhTv.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BJkLJK6O-CmMcM25y.js → AccountInfoPageContent-Dm4_RVtp-7_DDYrUM.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js → AccountLockedInfoModal-4gi6evfx-WlzE3tch.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js → AccountReconDetailsDrawerPage-Cm4KEIyT-DvN83q1j.js} +3 -3
- package/dist/assets/{AccountRow-B0gU16A_-Ks_Pft1z.js → AccountRow-B16HgkVQ-dG_dWaCL.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js → AccountsPromoCardStack-D5OgsEYb-3g8gXWBP.js} +1 -1
- package/dist/assets/AddAddressForCardDrawer-Cw6wTXEm-Ne9lwqPK.js +6 -0
- package/dist/assets/{AddToWalletPage-DNPLnpTq-CxRyEwld.js → AddToWalletPage-vXWBje7k-B9_XOYgG.js} +4 -4
- package/dist/assets/{AgingReportsPage-Bff4u7T1-DOBvEqCj.js → AgingReportsPage-CmzapJ6B-B4fRPdaL.js} +3 -3
- package/dist/assets/{AllUserItems-D8zdAu_1-C-zZqgmo.js → AllUserItems-CW-BAUK2-B9Q1lPJb.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DfogwLMb.js → ApAgingDetailPage-DBCM7hZZ-ChVResPi.js} +5 -5
- package/dist/assets/{AppBasePage-Uyk9GOud-D7f8hWuo.js → AppBasePage-B3uZsUDM-CkKVhlEN.js} +1 -1
- package/dist/assets/{AppDrawerContent-RX7rx40V-DlBxQF_L.js → AppDrawerContent-D4EVpqHP-BynJPN1Q.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js → ApprovalRulesSettingsPage-DTLJUdYp-C8DjXSqL.js} +1 -1
- package/dist/assets/{ArAgingChart-BxTkvrC9-BgC5YBPR.js → ArAgingChart-BJ8nRdT6-PCsSRezt.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js → ArAgingDetailPage-hd2ALORD-DPaGaG4h.js} +5 -5
- package/dist/assets/{AttachmentView-zHGhIkWo-C64qXCAp.js → AttachmentView-2FZ6X1gL-Cy8tYEtq.js} +1 -1
- package/dist/assets/{BankAccountSection-HRSyjIxV-CV6PAaFg.js → BankAccountSection-BbX4r1dP-BVn949x0.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CNusQFRM-4Y94-VD5.js → BankAccountWarningSection-CqlrCLSb-4sdBnqih.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js → BankConnectionsSettingsPage-DLeiSryp-DwwrFPU_.js} +1 -1
- package/dist/assets/{BillDetailPage-CgCMZFw1-pAtGUG0W.js → BillDetailPage-l0WIOXCJ-DfE-sU4P.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js → BillPayApprovalRuleDetailPage-BOMCy57E-CAzd0WOM.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js → BillPayApprovalRulesPage-D_iQkfQr-Dlin1Cm9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DOEbuNgH-BglT_61W.js → BillPayPromoPage-Dsl0YvUE-DF_BWBKa.js} +9 -9
- package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js → BillPaySetUpPage-MLf77bPI-BQQY77ue.js} +3 -3
- package/dist/assets/{BillingSettingsPage-ZupDcNHz-B6O6l_7B.js → BillingSettingsPage-n1PkJEDe-CIU_V4L-.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js → BillsBulkReviewDrawerPage-C_4lLm2g-CagoY_n4.js} +1 -1
- package/dist/assets/{BoxItem-42doFhpg-BDC_fDqi.js → BoxItem-CZdVWyVJ-Ck7WXLSC.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-De9zCAm7-geq4Sk8A.js → BusinessVerificationPage-DKTSnhnQ-CiETQcAD.js} +1 -1
- package/dist/assets/{CardNumberSubText-C6jdBRC2-YbNbzp0H.js → CardNumberSubText-BhtdU0IQ-BBiDBBhs.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B2drd1Nz-BAvHe1xx.js → CashbackDetailPage-BL-JN6N2-DM7Co55u.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js → ChargeCardDetailPage-DeUmuiMY-Dftn0md6.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DlI8ZfB0-CMLNFzih.js → ChargeCardListPage-B2OEzCZI-DRTpob3Y.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CooASbVZ-CSvbg9sF.js → ChargeCardListTable-BwYAxG4d-BDrITjcg.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-D7wLS9yc.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js → ChargeCardPromoPage-TkHihj_n-DsNKfZLq.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js → ChargeCardSetupPage-CkonrAnT-D4zZH8iB.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js → ChargeCardStatementsPage-DVgAcNNC-DlapdY_k.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js → CheckDepositDrawerPage-DV7strdp-DIjE0Er3.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DLOi0feI-SZFbl9NV.js → CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js → CompanyOfficerDetailsSection-BotE5oj4-BAJaZgbn.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B8PLT6MG-BUc5HZU7.js → CompanyPassportCard-Bx4KhQfs-Cq5ggOmg.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CQZPgrNF-KJN_fT4M.js → CompanyPassportPage-i1SEs7VJ-Djluu3GS.js} +1 -1
- package/dist/assets/{CompleteProfile-fNSWTbef-pSYliRNx.js → CompleteProfile-DWOv7odD-C_i36-ce.js} +1 -1
- package/dist/assets/{ConfettiBurst-B6ej_xoO-BzptsIBR.js → ConfettiBurst-D52CuNQL-H3h7bAw9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js → CreateOrEditVendorPage-9LgI-Wd0-BZGgNM2M.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js → CreditCardPaymentDrawerPage-wHK6Ds5I-BlFWnrY1.js} +1 -1
- package/dist/assets/{CurrencySelectField-DsZTOj_T-DmNXNRTP.js → CurrencySelectField-CbGyQ8Yq-BBTidwoM.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js → CustomerOnboardingActivationPage-LNgj0BYj-DDGYdiCm.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-YLcbGvSV.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js → CustomerOnboardingDetailPageSkeleton-BF484X8E-CaE39Z82.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js → CustomerOnboardingNoStepsPage-Dri4v3Rf-SMHqZamP.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js → CustomerOnboardingPage-BkdhcwN8-D99zerXB.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-BVV4jNqa.js +202 -0
- package/dist/assets/{Dashboard-cbXIPzMy-DLCpLMr4.js → Dashboard-w2AGQi2P-DrVf9Yya.js} +55 -55
- package/dist/assets/{DashboardReportPage-Pc0G2Tok-BRmpg3ok.js → DashboardReportPage-NzF6nutN-DSZitKtw.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js → DashboardSidebarBackgroundAnimation-vcuSFRHQ-CXXDOfjW.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js → DepositAccTransactionItem-SRWW7dWo-Bq8glEON.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js → DepositAccTransactionListPage-BSq-FxKT-D5HpKscp.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js → DomesticWireDetailsPage-Daor0MDI-BzIX5Sll.js} +1 -1
- package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-DkSROLX2-BV0uInlq.js} +1 -1
- package/dist/assets/{DrawerPage-BEV7nWrL-CqfdeYhP.js → DrawerPage-BnMCcEWw-BXOkrI5R.js} +9 -9
- package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-Ld339aav-BKidG2ge.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js → EditReimbursementDetailPage-BaMG1YJG-BZAQQMK3.js} +1 -1
- package/dist/assets/EntityDetailPage-DRZiqaCb-B_QVK0o1.js +18 -0
- package/dist/assets/{EntitySummarySection-C361-4tS-UJPRLBoI.js → EntitySummarySection-Bs0NywbK-BzG0U_qN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js → ExpenseAutomationOverviewPage-B_-wUXCx-Q7Nf_H07.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js → ExpenseAutomationPage-CG1Hpwz8-CW8z-7iO.js} +1 -1
- package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CEf0O3S_-C7xNk40H.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js → FeaturePreviewPage-7G9DSgAA-dIRq9Ned.js} +1 -1
- package/dist/assets/{FollowStepsSection-h449vQkQ-BXixJ0VK.js → FollowStepsSection-CoXcJ6WL-BDHFkDzZ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js → GlobalReviewListPage-BSfJybtY-D-EekdXE.js} +1 -1
- package/dist/assets/{InformationCardStack-xhdujEcL-COTShhF9.js → InformationCardStack-DnoAMdjH-BkgD0Khh.js} +2 -2
- package/dist/assets/{InsightsCardStack-zRynyTFj-CqnhwImM.js → InsightsCardStack-BLtip0dt-CdpS0MPm.js} +2 -2
- package/dist/assets/{InsightsSection-C4fMfxQ4-BGGNiljS.js → InsightsSection-26UEfz7s-DvD8Ccwt.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js → IntegrationsSettingsPage-QVOqOc9I-BQQ4M8i8.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js → InternationalWireSwiftDetailsPage-B7UVdQjs-Dxjq2-if.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js → InternationalWireVerificationPage-Cvita0lc-B390_mEJ.js} +2 -2
- package/dist/assets/{InviteFormPage-C7fxnyMS-ChsV2A2J.js → InviteFormPage-ptg2-Do2-Dsr3cxPP.js} +1 -1
- package/dist/assets/{InvitePageListView-ktOXziSw-ClMd1Rgx.js → InvitePageListView-CoCiU_RJ-DlHeTkam.js} +20 -20
- package/dist/assets/{InvitePeoplePage-C_4adNch-DPbyAjsn.js → InvitePeoplePage-CIiwEl_L-BEUpkDfI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js → InvoiceUploadSection-by1gHnS2-ByjzglAY.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CdV757XH-B0b8pyku.js → IssueChargeCardPage-CawHdTL3-Mn0Xu6jy.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Ce_wDml5-CoYtFscl.js → LabeledAddressValue-BVpOlAt0-BM8gI0N5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BrYbXck--8qVwdGMU.js → LabeledAddressValueField-BW6ytr8f-DmYyMrEv.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js → LabeledControlledCheckBoxField-DEaBzW9R-59_aD_t9.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js → LabeledCountryMultiSelectField-DOEcKGdZ-O8xmxgl_.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js → LabeledCreatableSingleSelectField-Bsowq6Ia-CpyK3LNE.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js → LabeledDocumentField-DHqxzbx7-DKNafkiA.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js → LabeledDropDownFormattedTextField-C_2HymZs-DpANtqUG.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js → LabeledMultiSelectField-wuzYNgjQ-D8K8tQ-i.js} +1 -1
- package/dist/assets/{LabeledText-D7eLbH80-Bs-kfAE-.js → LabeledText-DMjMKupg-DYP6gFxm.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js → LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js → LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DicS5kKg-DOb356xm.js → LinkJETransactionPage-6wvu7KQx-BKOAennG.js} +1 -1
- package/dist/assets/{LockCardPage-DRYg_fxU-CFGUEJ0X.js → LockCardPage-DHjkslVx-BLTQi4Ro.js} +1 -1
- package/dist/assets/{LowBalancePopup-BJfagMN7-DFWlKz1e.js → LowBalancePopup-IPPewOnk-C3ft7dAK.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-DgnKjMFk.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BdD6RXkL.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-zEl4JPNd.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-suMYBps1.js → MagicLinkSuccessPage-0Pn_6wi4-BDYzvhnJ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js → MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js} +1 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-Bg6C6Qx3.js +21 -0
- package/dist/assets/{Menu-C9v-W9TY-DRVyGpH4.js → Menu-CjpiRi32-CBwxThCE.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js → MyBankConnectionsSettingsPage-DsuI81Dg-BZvQVl9M.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js → MyPendingActivationChargeCardListPage-BP2ZNfJQ-C1IGZ0Aj.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js → MyProfileSettingsPage-Bx776Bw1-B3dkfEvc.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cv7tOmjd-BXBZWsng.js → NavBarWithPicker-B7KOipTP-BRApBTO0.js} +1 -1
- package/dist/assets/{NavigationArrow-DAs7ECFZ-rFu_aZmo.js → NavigationArrow-qaYGOFR3-BsTNc95E.js} +1 -1
- package/dist/assets/{NavigationDots-DISWi4Mq-BdTnuTup.js → NavigationDots-U7wL0ya4-Br1fZ1mY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js → NewGlobalMerchantPage-BMLg6RYp-BRiqVwVI.js} +1 -1
- package/dist/assets/{NoDataChart-gfqauMvY-CAbYCdyQ.js → NoDataChart-DoN6Mneo-tV8Dt3om.js} +1 -1
- package/dist/assets/{NoDataTable-C1_gqVi7-D4ANXF0d.js → NoDataTable-BMDDs83M-Dpk0AfuR.js} +1 -1
- package/dist/assets/{NotFoundPage-CdWhiWjz-DDjAX_Ng.js → NotFoundPage-ys6HcZUO-byf07x0N.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js → NotificationSettingsPage-Cfrj3b7B-DQREI7pG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B-g9kb6x-CND-RON9.js → NotificationsListConfig-Cqcn0C6L-mVPCNJk6.js} +1 -1
- package/dist/assets/{NotificationsPage-jxpX3iRG-UGS5Y_9i.js → NotificationsPage-Bri7Dj80-Cv5FRQtl.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B13tAq03-Dd8cq0hz.js → OpExByVendorPage-Dwk6JAu7-BDuhx0f7.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DlMlal7_.js → OverlayContainerPage-Daz3A7cI-CNivODsb.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js → PandLWithForecastPage-D9muoIzS-BHKR537x.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js → PaymentAccountSetupBillingAddressSection-BcQ07YZL-sTtrymnZ.js} +1 -1
- package/dist/assets/{PeoplePage-Du_TRX4h-C2Rmmn5d.js → PeoplePage-BZwxMiLM-5s0-HkTL.js} +13 -13
- package/dist/assets/{Preview-CSeZ_uBx.js → Preview-mA1nVDX3.js} +1 -1
- package/dist/assets/{ProductsCarousel-y6q9BbqK-B9m9tH0o.js → ProductsCarousel-HFHMMFnQ-DrHOVGTY.js} +1 -1
- package/dist/assets/{PromoBaseCards-CLQMN7aT-BxeQG0rP.js → PromoBaseCards-Bwm7huaB-m2dOzdVj.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js → QBOConnectionDialog-B5v60lo1-GNrkjfxe.js} +1 -1
- package/dist/assets/{QBOSetupSection-D--nxfIh-Difre144.js → QBOSetupSection-BFxjIzV1-B2t1VavS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js → ReimbursementApprovalRuleDetailPage-D7eJT6hf-BQOWuUEe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js → ReimbursementApprovalRulesPage-B6WJ19jK-CKNTvHH7.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js → ReimbursementDetailPage-CEyFEPK5-BstF-oGE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js → ReimbursementPromoPage-BjhlxlPR-BZ1GzMRv.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js → ReimbursementSetUpPage-pC4KuigM-BDlDJUML.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js → ReimbursementsBulkReviewDrawerPage-CucXnBt6-CAc1E2XO.js} +1 -1
- package/dist/assets/{ReloadCard-BT0lSFUP-CF34SUO7.js → ReloadCard-DhRbLcVA-DIQafdWZ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-rl6XGWA_-CSxPHelL.js → ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js} +1 -1
- package/dist/assets/{ReportsPage-DV0bbi_D-1o0LJL4r.js → ReportsPage-e1xmk9Ua-DWkV6LH_.js} +5 -5
- package/dist/assets/{RevenueChart-CxvHfkxr-BmSB0A7U.js → RevenueChart-C7uaOhqz-CyB_o3bQ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CX2XB44j-BHiKofo4.js → ReviewDetailsPage-Dk0Rw7L_-B6ijKV2H.js} +1 -1
- package/dist/assets/{ReviewOverlay-DdOo3pcK-BVp3d9bK.js → ReviewOverlay-Bthl69qw-RmWq0Cob.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C08wfnGb-CFjb8VCB.js → RoleWithToolTip-New3P2vC-2KCZppVG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js → ScheduleDetailsFixedAssetsPage-DiwkB2J--BPJp47yZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js → ScheduleDetailsPage-BLc828ST-CP2yCdiU.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js → ScheduleSequenceTable-CEQZEbUs-BdHNsPry.js} +1 -1
- package/dist/assets/{ScreenRoutes-BOb1-zin.js → ScreenRoutes-D_sWKkhc.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Clz60vjw-CDcwloM0.js → SetUpAccountSection-CywFKgZo-MmKR4ndQ.js} +1 -1
- package/dist/assets/{SignIn-B79R5ayU-BtVW5pl0.js → SignIn-D7PmDE-R-DymRL_3M.js} +12 -12
- package/dist/assets/{SignInScreen-CsaRmLqD.js → SignInScreen-C-VG_lKe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js → SpendManagementListViewPage-DJgNAGhp-JXA21DLB.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js → SpendManagementPerTabPage-B_muN4XH-u8KoBsHd.js} +1 -1
- package/dist/assets/{SpendManagementSection-mtTZeiX8-DB_R_dFU.js → SpendManagementSection-BO--0F_T-COrpCsmV.js} +1 -1
- package/dist/assets/StatementItem-_50yBwO1-CwjTPUgJ.js +31 -0
- package/dist/assets/{StatementsPage-DgoXqABR-NsGiWIFr.js → StatementsPage-DkcgOLaa-BdVtg5cn.js} +1 -1
- package/dist/assets/{StatusSwitcher-DRDFuzoj-DFWyQSIu.js → StatusSwitcher-Bcqhq2ht-tjRFz3FC.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Bj1N3zLn-DocBm2NX.js → SubTabSwitcher-BNSMaUoP-C0dI-kdw.js} +1 -1
- package/dist/assets/{SummaryCard-BNrPt21W-z-I2nOL_.js → SummaryCard-DUTikTiQ-CorF8AqM.js} +1 -1
- package/dist/assets/{TaskManagementPage-svW7FNT3-CdR83JXD.js → TaskManagementPage-K2ahivqx-Cw8lnZhf.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js → TimeRangeSwitcher-CaV1qK_v-9kKZ6AfJ.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-234cbGUX-GrV_gRdd.js → TimeframeSwitcher-COkEJy3J-45wKe_Sn.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js → TimeframeSwitcherWithToggle-CPP1tWQ_-D4EHb91u.js} +2 -2
- package/dist/assets/{TopExCard-DFm0V6Sa-CuS6D-g2.js → TopExCard-CLkfO6zN-v91Jdaeu.js} +1 -1
- package/dist/assets/{TopExDetailPage-B4UamIS--DvTevd6J.js → TopExDetailPage-CUoODDhA-zH5Xy9H2.js} +4 -4
- package/dist/assets/{TransactionDetailPage-BiGPVM2O-BIqR8D1A.js → TransactionDetailPage-BTonMpH2-DgSPoDVR.js} +1 -1
- package/dist/assets/{TransactionList-BQ2dvALf-DExPb7_Y.js → TransactionList-B8eL6jhA-Di9L9RKc.js} +1 -1
- package/dist/assets/{TransactionListBig-Ca4yYTqY-DpBtFr0L.js → TransactionListBig-BI0Egbwq-BwzSPZzZ.js} +1 -1
- package/dist/assets/{TransactionListPage-CaSfmS5A-B8TNgEwP.js → TransactionListPage-DxGLszcx-DAoYnm1i.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js → TransactionVendorDetailPage-BnqP7rIa-BU85_A7u.js} +1 -1
- package/dist/assets/{TransferDrawerPage-5IgzdfVN-CuTPVgyu.js → TransferDrawerPage-BvKebmux-o6Yl4bGU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js → TreasuryOverviewPage-DqlUffnH-Bn5k5ejI.js} +27 -27
- package/dist/assets/{TreasuryPromoPage-DQabp_BI-lYWtZagK.js → TreasuryPromoPage-DqZE9SWj-Bp0vqbWD.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js → TreasuryStatementsPage-Cyj4xmLP-DxZc3Yqs.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js → TreasuryTaxLetterPage-04gxKt0a-DDLLJmzC.js} +2 -2
- package/dist/assets/{TrendChart-DLlQzxzM-PPRPEN_l.js → TrendChart-Cb8wnBqS-Di_U3EIl.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js → TrendWithTransactions-_49jEzFf-D4MyPHxb.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js → UncategorizedAccountsMappingPage-WTwSitI6-BqjGQcpf.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js → UnitIntegrationPage-C3HFSJ9I-BVEgdEbm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js → UploadAdditionalDocumentOverlay-UdsrwN9K-D09XF6PT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js → Vendor2FAPopup-BS-3oZPR-C_3L-M1N.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-FdMIuie9.js +1 -0
- package/dist/assets/{VendorDetailPage-DcpigP-V-CLpuuI3V.js → VendorDetailPage-CJQeB1km-B4OkDlMh.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-j1Nnt0f3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js → VendorFiling1099EditablePage-C2zwrfg_-BSkCYiG1.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js → VendorFirstReviewPage-BeDtBSt0-DLLC2Nix.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js → VendorInternationalWireDetailsPage-BVI-FIhY-DxEIS0E-.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-B3GBnsRt.js +1 -0
- package/dist/assets/{VendorsAccountsSection-V7IwNhkN-D-eiPu30.js → VendorsAccountsSection-DlO_YtSs-DR5OkKrn.js} +1 -1
- package/dist/assets/{VerifyDevice-Dc3oeJbw-D5d8Wn7A.js → VerifyDevice-CVr0FwHa-DAB6OPBb.js} +1 -1
- package/dist/assets/{VideoPlayer-XU1YwohK-BaDXYiVP.js → VideoPlayer-HL-oU9Ri-BnQLsV6M.js} +2 -2
- package/dist/assets/{VideoPopup-BKLcIVcV-C8tsI7gn.js → VideoPopup-Dw57i43Q-BXsiVF5S.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DE6hNSem-DTjl6BDC.js → WarningsDrawerPage-DOFirhc3-Ch_HhDH0.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-B3txxml4-BrnXOri_.js → ZeniAccountDetailPage-ByCgz534-Dsg1GtqQ.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js → ZeniAccountListViewPage-yATacDeU-5emCk5r8.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js → ZeniAccountNavBarPieces-Yb3HCUq4-CdqCHII0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js → ZeniAccountPromoPage-4iBPGLEt-CS6doMp4.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js → ZeniAccountSetupPage-bdXuLfgB-Cy2PUDIb.js} +1 -1
- package/dist/assets/{ZeniCopyright-DqbjGQWk-D3uyyuTN.js → ZeniCopyright-C_Hgn3Qx-CHqYLJwq.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js → ZeniTransferAmountSlider-DBhodWDh-BViJCc8g.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CF63trjm.js → add-to-wallet-DgdBD8_G-B2xhCimT.js} +1 -1
- package/dist/assets/{analytics-D0z7Cz17.js → analytics-CO_4s2X8.js} +1 -1
- package/dist/assets/{analyticsHelper-D1UvETVa.js → analyticsHelper-C-V4F33Q.js} +1 -1
- package/dist/assets/{analyticsHelper-C2PAija--B2XRbUD9.js → analyticsHelper-DTl4FgRU-DCg1Wj_c.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cun1Cxd1.js → arrow-south-east-round-PEovUgvH-BLOUsrLT.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DPk-N0wE.js → auto-transfer-rule-mbafm5D3-DXWlGTms.js} +1 -1
- package/dist/assets/{chartTypes-B9jQTJLQ-B-uICCus.js → chartTypes-wLUiIPlP-CGvYnBXb.js} +1 -1
- package/dist/assets/{commonDimensions-BgvFMAEM-jw0M4GDE.js → commonDimensions-DGz_YafU-DaJiwvC8.js} +1 -1
- package/dist/assets/{commonTypes-PtDfk70--ByVvU-Tm.js → commonTypes-Gv0Fff59-KWmxkMG2.js} +1 -1
- package/dist/assets/{constants-DleDZ7Hr.js → constants-B80Lbuf7.js} +1 -1
- package/dist/assets/{core-9PMMelIA.js → core-D7_k1EhP.js} +1 -1
- package/dist/assets/{dash.all.min-ClWxXI22.js → dash.all.min-D84aFlTu.js} +1 -1
- package/dist/assets/{detailCommon-BjRXEZFj-BMuJy_GS.js → detailCommon-C-kv1ST5-00YEtv_m.js} +6 -6
- package/dist/assets/{downloadPdf-ZSABdzxr-CSS_LmUU.js → downloadPdf-a0dx3Bka-DXudTOPx.js} +1 -1
- package/dist/assets/{empty-Bp9uyDV_.js → empty-BK-FM9Fc.js} +1 -1
- package/dist/assets/{empty-D5Zf29Ub.js → empty-D7ZL3ibO.js} +1 -1
- package/dist/assets/{epic-Di7g1fbQ.js → epic-BKSpf58y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-m0hJlqL5.js → gift-box-Cmt9OgIZ-BvDbzpBs.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-cg6FAACa.js → graphic-no-data-l-DU4J8fDt-DnBDJsPD.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js → graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DFhtOw8z.js → handshake-BPg58FML-B-s0K2Gk.js} +1 -1
- package/dist/assets/{index-DNxMom6d.js → index-AC1SIzUs.js} +1 -1
- package/dist/assets/{index-DW6fMwk4.js → index-BCqMlt2D.js} +1 -1
- package/dist/assets/{index-4hZvJwkO.js → index-CIdXBggf.js} +1 -1
- package/dist/assets/{index-0WIxY_w_.js → index-CN_MjJna.js} +1 -1
- package/dist/assets/{index-CbXRL6aP.js → index-CocAByQY.js} +1 -1
- package/dist/assets/{index-Bs2B-MQ4.js → index-qaSB49F0.js} +9 -9
- package/dist/assets/{index-BLOmj_st.js → index-yGtk6ceJ.js} +1 -1
- package/dist/assets/{lexical-CaQwXIc3.js → lexical-CGMN4tXG.js} +1 -1
- package/dist/assets/{liveblocks-48Yy2aTy.js → liveblocks-BmXYR5uO.js} +1 -1
- package/dist/assets/{lottie-ChwWMuYN.js → lottie--pGIoexZ.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js → mapSectionWithAcOnlyToTreeNode-DXbOFz3E-BdYTpUAO.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-D7hBnjRr-B3iPFPg7.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js → mapTimeframeBalancesToTreeNode-CQWxQdJu-UtXiI9zI.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-DS1-lnZY.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js → mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6D_67kw.js} +1 -1
- package/dist/assets/{mui-snKYaegN.js → mui-Fyk6sRCR.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D1nl1r9M.js → page-detail-CWX5S47F-CTsT95lG.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BY9nqKUM.js → radio-default-CiSgisfh-DyFeMuig.js} +1 -1
- package/dist/assets/{react-B2deW7HO.js → react-89jLopxj.js} +1 -1
- package/dist/assets/{react-CiQEdtzT.js → react-8lAMKDVs.js} +1 -1
- package/dist/assets/{react-C-MrqhIX.js → react-CZ_9akaZ.js} +1 -1
- package/dist/assets/{react-o70ZlKb0.js → react-CazNrypD.js} +1 -1
- package/dist/assets/{react-BpEW9tPq.js → react-Cw0TtY4U.js} +1 -1
- package/dist/assets/{react-BNn_K56n.js → react-DywPl4iN.js} +1 -1
- package/dist/assets/{react-DHTHtXgj.js → react-E7ETqwTX.js} +1 -1
- package/dist/assets/{react-BddMC_36.js → react-OOqLEgIT.js} +2 -2
- package/dist/assets/{recharts-DGmpNqLb.js → recharts-j_eh1fXg.js} +1 -1
- package/dist/assets/{sentry-gm2R3TtK.js → sentry-D4D7HRQR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DNx-Nq5U.js → shield-DOlUxcFf-D9ihfdgR.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js +1 -0
- package/dist/assets/{toChartData-CVxc3i6E-Jb1kbIeZ.js → toChartData-BlyUYoV7-DsdeBaUU.js} +1 -1
- package/dist/assets/{uploadAttachment-CBATb9_e-Bf8RMkbX.js → uploadAttachment-BkEbu6k9-DdujAAv5.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-DwtdWb2a.js → uploadReceipts-CPw64UYa-C1oywu4M.js} +1 -1
- package/dist/assets/{url-B3spPAaB.js → url-BwHZRaSJ.js} +1 -1
- package/dist/assets/{url-CsktLD4A.js → url-DStI5MA9.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-5GfLl0ml.js → useLongPress-GCK2COYQ-BS3t10_q.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DO5-Shw0.js → usp-line-BBd1wKwW-DELeCmm4.js} +1 -1
- package/dist/assets/{utils-C7Aiy3iw.js → utils-BTQ24URD.js} +1 -1
- package/dist/assets/{zeni-epic-state-D2RxwWrl.js → zeni-epic-state-I555vKHy.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js +0 -6
- package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js +0 -553
- package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js +0 -202
- package/dist/assets/EntityDetailPage-BaKoO9FG-BDiZrnyD.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js +0 -1
- package/dist/assets/MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js +0 -21
- package/dist/assets/StatementItem-C9KsTdoM-CvW9SwJx.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js +0 -1
- package/dist/assets/toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as Qa,aO as z,aw as Za,fQ as er,iK as W,q as Ee,o as a,d as ea,V as t,bA as tr,g2 as ar,fd as ie,b as D,bR as ot,p,aL as me,aN as V,aW as nt,F as Fe,y as G,ai as J,R as rr,M as ir,cU as or,at as ta,bI as nr,a_ as dt,aR as sr,am as ct,a9 as dr,gP as cr,eo as lr,ao as ur,ac as hr,g8 as mr,n as Rt,c as _,d3 as aa,aq as pr,al as Cr,a as gr,cT as br,bu as fr,bT as xr}from"./index-
|
|
1
|
+
import{a8 as Qa,aO as z,aw as Za,fQ as er,iK as W,q as Ee,o as a,d as ea,V as t,bA as tr,g2 as ar,fd as ie,b as D,bR as ot,p,aL as me,aN as V,aW as nt,F as Fe,y as G,ai as J,R as rr,M as ir,cU as or,at as ta,bI as nr,a_ as dt,aR as sr,am as ct,a9 as dr,gP as cr,eo as lr,ao as ur,ac as hr,g8 as mr,n as Rt,c as _,d3 as aa,aq as pr,al as Cr,a as gr,cT as br,bu as fr,bT as xr}from"./index-qaSB49F0.js";import{a as l}from"./sentry-D4D7HRQR.js";import{n as r,c as lt,k as yr}from"./mui-Fyk6sRCR.js";import{EL as Sr,G2 as wr,bh as Nt,bL as kr,bP as $r}from"./zeni-epic-state-I555vKHy.js";import{t as Ir}from"./SpendManagementSection-BO--0F_T-COrpCsmV.js";import{D as oe,l as vr,r as jr}from"./ChargeCardListTable-BwYAxG4d-BDrITjcg.js";import{ChargeCardPromoUserContent as Lr}from"./ChargeCardPromoPage-TkHihj_n-DsNKfZLq.js";import{N as Ar,J as Pr}from"./PromoBaseCards-Bwm7huaB-m2dOzdVj.js";import{z as zt,L as Ot,k as Er,P as Fr}from"./LockCardPage-DHjkslVx-BLTQi4Ro.js";import{r as Tr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js";import{t as Dr,o as Br}from"./arrow-south-east-round-PEovUgvH-BLOUsrLT.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./Menu-CjpiRi32-CBwxThCE.js";import"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import"./CardNumberSubText-BhtdU0IQ-BBiDBBhs.js";import"./NavigationDots-U7wL0ya4-Br1fZ1mY.js";import"./usp-line-BBd1wKwW-DELeCmm4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="079dc352-a5a3-4511-9cd8-694a9725406f",e._sentryDebugIdIdentifier="sentry-dbid-079dc352-a5a3-4511-9cd8-694a9725406f")}catch{}})();const ut={infoSubheadingTextMarginTop:new G(_[0],_[0]),cardsMinWidth:new G(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,_t=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const R=Ee(),L=$!==void 0,H=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(Nr,{windowSize:R,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ra,{isStatusMode:L,children:[t.jsxs(oa,{children:[L?t.jsx(_r,{children:H}):t.jsx(ia,{children:u}),t.jsx(Vr,{children:d}),L?null:t.jsx(Hr,{children:n})]}),!L&&t.jsxs(qr,{children:[t.jsx(Jr,{}),m.length>0&&t.jsx(st,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(na,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Kr,{})]}),U!=null&&L?t.jsx(Ur,{status:$,children:U}):null]}),t.jsx(Yr,{isStatusMode:L,children:t.jsx(Ar,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Xr,{isStatusMode:L,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Ut=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Ee();return t.jsx(zr,{windowSize:m,cardType:e,children:t.jsxs(Or,{children:[t.jsxs(oa,{children:[t.jsx(ia,{children:c}),t.jsx(Gr,{children:t.jsx(Wr,{children:u})}),t.jsx(Qr,{windowSize:m,children:t.jsxs(Zr,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(na,{children:Pe.createNow}),t.jsx(ei,{})]})})]}),e==="creditCard"?t.jsxs(ti,{children:[t.jsx(ai,{children:Pe.creditLimit}),t.jsx(ri,{children:d})]}):null]})})},Rr=e=>{const c=e-1;let u=`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as ze,gW as hi,iL as pi,iM as ui,iN as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iO as fi,iP as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iQ as ji,aS as bi,u as Ii,ai as ee,gZ as Li,am as G,al as Z,c as p,cP as zi,ex as Ai,iR as Fi,iS as Pi,R as ft,bW as yt,iT as St,iU as Ri,bP as Bi,cw as Ge,iV as kt,dq as Di,dr as q,aL as ce,ct as vt,k as $t,iW as _i,cz as Ei,iD as Ze,bI as jt,bK as bt,iX as Ti,iY as Vi,aT as $e,bs as Oi,bX as Ui,bY as Ni,iZ as Mi}from"./index-Bs2B-MQ4.js";import{S as pe,a as f}from"./sentry-gm2R3TtK.js";import{n as o,c as Je}from"./mui-snKYaegN.js";import{P as Ve}from"./Menu-C9v-W9TY-DRVyGpH4.js";import{T as It}from"./RoleWithToolTip-C08wfnGb-CFjb8VCB.js";import{j as Oe}from"./CardNumberSubText-C6jdBRC2-YbNbzp0H.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6bdbc6dd-40a5-4965-8cce-1ce96b801e9c",e._sentryDebugIdIdentifier="sentry-dbid-6bdbc6dd-40a5-4965-8cce-1ce96b801e9c")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ye={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Qe,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),J=a.type.code,_=$.cardList.tooltip[J],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Zi,{windowSize:v,children:t.jsx(Ji,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Yi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Ze,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Ze,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(Z)`
|
|
1
|
+
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as ze,gW as hi,iL as pi,iM as ui,iN as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iO as fi,iP as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iQ as ji,aS as bi,u as Ii,ai as ee,gZ as Li,am as G,al as Z,c as p,cP as zi,ex as Ai,iR as Fi,iS as Pi,R as ft,bW as yt,iT as St,iU as Ri,bP as Bi,cw as Ge,iV as kt,dq as Di,dr as q,aL as ce,ct as vt,k as $t,iW as _i,cz as Ei,iD as Ze,bI as jt,bK as bt,iX as Ti,iY as Vi,aT as $e,bs as Oi,bX as Ui,bY as Ni,iZ as Mi}from"./index-qaSB49F0.js";import{S as pe,a as f}from"./sentry-D4D7HRQR.js";import{n as o,c as Je}from"./mui-Fyk6sRCR.js";import{P as Ve}from"./Menu-CjpiRi32-CBwxThCE.js";import{T as It}from"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import{j as Oe}from"./CardNumberSubText-BhtdU0IQ-BBiDBBhs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="935b79a4-63d9-44c9-b8f2-fea15cb66d98",e._sentryDebugIdIdentifier="sentry-dbid-935b79a4-63d9-44c9-b8f2-fea15cb66d98")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ye={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Qe,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),J=a.type.code,_=$.cardList.tooltip[J],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Zi,{windowSize:v,children:t.jsx(Ji,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Yi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Ze,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Ze,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(Z)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(Z)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -0,0 +1,565 @@
|
|
|
1
|
+
import{a8 as Pe,aw as Le,q as H,d as _,V as t,bA as ze,b as R,g2 as Re,F as I,c as l,o as i,y as x,jh as Ie,cb as Te,ji as X,aN as A,b2 as De,cr as Be,iO as Ae,bM as Me,aR as Oe,al as W,dr as b,gU as Z,aL as V,bR as Ne,ct as He,bP as We,am as N,cw as G,p as $,gV as he,fM as pe,fI as me,cg as Ee,ai as F,iD as ge,bK as Ke,jj as Ve,iW as _e,cz as Fe,aT as L,iX as Ue,iY as Ye}from"./index-qaSB49F0.js";import{a as S,S as q}from"./sentry-D4D7HRQR.js";import{n,c as J}from"./mui-Fyk6sRCR.js";import{t as Ze}from"./SpendManagementSection-BO--0F_T-COrpCsmV.js";import{r as qe,a as Xe,i as ue,g as Ge}from"./SpendManagementListViewPage-DJgNAGhp-JXA21DLB.js";import{ck as ye,G5 as xe}from"./zeni-epic-state-I555vKHy.js";import{r as Je}from"./auto-transfer-rule-mbafm5D3-DXWlGTms.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./StatusSwitcher-Bcqhq2ht-tjRFz3FC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b8bda1d1-dca2-42e9-ab60-3b44572eb6bb",e._sentryDebugIdIdentifier="sentry-dbid-b8bda1d1-dca2-42e9-ab60-3b44572eb6bb")}catch{}})();const E=I.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Qe={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},fe=()=>[Qe,et,tt,it,nt],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ue,Ye)};function ot({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(fe());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),j=I.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(dt,{windowSize:r,children:[t.jsxs(ht,{children:[t.jsx(mt,{children:t.jsx(pt,{})}),t.jsx(We,{title:j.header.paymentDate,placeholder:j.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:R.extraSmallRegular,titleTextStyle:R.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(yt,{onClick:()=>y(h.key,h.sortOrder),"data-testid":A("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(Q,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(ee,{windowSize:r,children:t.jsx(G,{})})})]})]}):t.jsx(st,{windowSize:r,children:t.jsx(rt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(lt,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(ut,{onClick:()=>y(s.key,s.sortOrder),"data-testid":A("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(Q,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(ee,{windowSize:r,children:t.jsx(G,{})})})]}),t.jsx(gt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(ct,{onClick:()=>y("paymentDate","ascending"),"data-testid":A("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const at=q.memo(ot),st=n.div`
|
|
2
|
+
top: ${i.sp0};
|
|
3
|
+
left: ${i.sp0};
|
|
4
|
+
z-index: 2;
|
|
5
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
6
|
+
position: sticky;
|
|
7
|
+
width: 100%;
|
|
8
|
+
`,rt=n.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
padding: ${P.containerPaddingTop} ${P.containerPaddingRight}
|
|
13
|
+
${P.containerPaddingBottom} ${P.containerPaddingLeft};
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
`,dt=n(F)`
|
|
16
|
+
top: ${i.sp0};
|
|
17
|
+
left: ${i.sp0};
|
|
18
|
+
min-height: ${e=>P.headerHeight.valuePx(e.windowSize)};
|
|
19
|
+
max-height: ${e=>P.headerHeight.valuePx(e.windowSize)};
|
|
20
|
+
width: auto;
|
|
21
|
+
z-index: 2;
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
padding: ${e=>`${P.headerLastColumnTopPadding.valuePx(e.windowSize)} ${P.headerLastColumnRightPadding.valuePx(e.windowSize)} ${P.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${P.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
26
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
position: sticky;
|
|
29
|
+
width: 100%;
|
|
30
|
+
`,lt=n.div`
|
|
31
|
+
color: ${e=>e.sortDataValue===e.actualDataValue?e.theme.colors.primary:e.theme.colors.grey1};
|
|
32
|
+
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
left: ${i.sp0};
|
|
37
|
+
justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
|
|
38
|
+
${e=>e.companyNameSticky?J`
|
|
39
|
+
position: sticky;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
`:J`
|
|
42
|
+
position: static;
|
|
43
|
+
z-index: 0;
|
|
44
|
+
`};
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
padding-left: ${i.sp3};
|
|
48
|
+
padding-right: ${e=>e.actualDataValue==="amount"?i.sp2:i.sp3};
|
|
49
|
+
`,ct=n(Fe)`
|
|
50
|
+
width: ${i.sp3};
|
|
51
|
+
height: ${i.sp3};
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
color: ${e=>e.theme.colors.hero};
|
|
54
|
+
`,Q=n.div`
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
58
|
+
`,ee=n.div`
|
|
59
|
+
width: ${i.sp2};
|
|
60
|
+
height: ${i.sp2};
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
color: inherit;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
`,ht=n.div`
|
|
67
|
+
gap: ${i.sp1};
|
|
68
|
+
display: flex;
|
|
69
|
+
color: ${e=>e.theme.colors.hero};
|
|
70
|
+
`,pt=n(_e)`
|
|
71
|
+
width: ${i.sp3};
|
|
72
|
+
height: ${i.sp3};
|
|
73
|
+
color: inherit;
|
|
74
|
+
`,mt=n.div`
|
|
75
|
+
margin-right: ${i.sp1};
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
`,gt=n.div`
|
|
79
|
+
display: ${e=>e.isVisible?"flex":"none"};
|
|
80
|
+
align-items: center;
|
|
81
|
+
padding-top: 2px;
|
|
82
|
+
`,ut=n.div`
|
|
83
|
+
display: flex;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
gap: 5px;
|
|
86
|
+
&:hover {
|
|
87
|
+
color: ${e=>e.theme.colors.primary};
|
|
88
|
+
}
|
|
89
|
+
`,yt=n.div`
|
|
90
|
+
display: flex;
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
gap: 5px;
|
|
93
|
+
color: ${e=>e.theme.colors.primary};
|
|
94
|
+
`,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:M}}}=I.getLocalizedStrings(),xt=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",ft=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),j=S.useCallback(Y=>{Y.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=I.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=Ge(p,h,M.sourceAccountUnknown),v=ue(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,z=f?M.autopay:ye(e.paidByUser),T=e.status==="Rejected"||e.status==="Returned",K=e.status==="Clear"||e.status==="Sent",U=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),k=fe();return t.jsx(bt,{windowSize:u,children:t.jsx(jt,{children:t.jsxs(St,{children:[t.jsx(Ct,{windowSize:u,responsiveWidth:k[0].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:K?t.jsx(Ne,{placement:"bottom-start",title:t.jsxs(Yt,{children:[t.jsxs(ne,{children:[t.jsx(oe,{children:M.initiatedOn}),t.jsx(ae,{children:m})]}),t.jsxs(ne,{children:[t.jsx(oe,{children:M.completedOn}),t.jsx(ae,{children:U})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(te,{className:"paymentDate",children:m})}):t.jsx(te,{className:"paymentDate",children:m})})}),t.jsxs(kt,{windowSize:u,responsiveWidth:k[1].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(Pt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Lt,{children:t.jsx(zt,{color:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Tt,{src:xt(g),loading:"lazy"}):t.jsx(Rt,{children:t.jsx(It,{})})})}),t.jsx(Dt,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ie,{className:"sourceAccount",children:[t.jsx(Bt,{children:p}),h!=null&&h!==""&&t.jsx(At,{children:`•••• ${h}`})]}):t.jsx(ie,{className:"sourceAccount",children:C})})})]}),t.jsx(Mt,{windowSize:u,isLoading:a,responsiveWidth:k[2].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ot,{children:[t.jsx(Nt,{children:t.jsx(wt,{status:e.status})}),T===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(vt,{}),t.jsx(Ht,{onClick:j,"data-testid":A("retry-payment",e.cardRepaymentId),children:M.retryPayment})]})]})})}),t.jsxs(Wt,{windowSize:u,responsiveWidth:k[3].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:f?t.jsx(Et,{children:t.jsx(Kt,{})}):t.jsx(Vt,{children:t.jsx(He,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(b,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(_t,{className:"initiatedBy",children:z})})]}),t.jsx(Ft,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Ut,{className:"amount",windowSize:u,title:V("0,0.00",e.amount),children:V("0,0.00",e.amount)})})})]})})})},wt=({status:e,style:o})=>{const c=_(),a=$t(e,c),r=xe(e);return t.jsx(ge,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},$t=(e,o)=>{switch(e){case"Clear":case"Sent":return new L($.success);case"Pending":case"PendingReview":return new L($.alert);case"Rejected":case"Returned":return new L($.important);default:return new L(o.colors.grey1)}},vt=n.div`
|
|
95
|
+
width: ${i.sp1};
|
|
96
|
+
height: ${i.sp1};
|
|
97
|
+
background-color: ${e=>e.theme.colors.grey1};
|
|
98
|
+
border-radius: ${i.sp2};
|
|
99
|
+
`,bt=n.div`
|
|
100
|
+
display: flex;
|
|
101
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
+
padding-left: ${e=>B.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>B.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>B.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>B.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
107
|
+
box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
|
|
108
|
+
border-radius: ${i.sp2};
|
|
109
|
+
width: 100%;
|
|
110
|
+
cursor: ${e=>e.onClick?"pointer":"default"};
|
|
111
|
+
&:hover {
|
|
112
|
+
color: ${e=>e.theme.colors.primary};
|
|
113
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
114
|
+
.paymentDate,
|
|
115
|
+
.sourceAccount,
|
|
116
|
+
.initiatedBy,
|
|
117
|
+
.amount {
|
|
118
|
+
color: ${e=>e.theme.colors.primary};
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
margin-right: ${e=>B.containerMarginLeft.valuePx(e.windowSize)};
|
|
123
|
+
margin-left: ${e=>B.containerMarginRight.valuePx(e.windowSize)};
|
|
124
|
+
margin-bottom: ${i.sp3};
|
|
125
|
+
box-sizing: border-box;
|
|
126
|
+
align-items: center;
|
|
127
|
+
`,jt=n.div`
|
|
128
|
+
display: block;
|
|
129
|
+
width: 100%;
|
|
130
|
+
`,St=n.div`
|
|
131
|
+
display: flex;
|
|
132
|
+
width: 100%;
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
align-items: center;
|
|
135
|
+
`,Ct=n.div`
|
|
136
|
+
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
padding-left: ${i.sp3};
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
`,te=n(W)`
|
|
142
|
+
color: ${e=>e.theme.colors.hero};
|
|
143
|
+
max-width: 100%;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
text-overflow: ellipsis;
|
|
146
|
+
white-space: nowrap;
|
|
147
|
+
`,kt=n.div`
|
|
148
|
+
display: flex;
|
|
149
|
+
align-items: center;
|
|
150
|
+
column-gap: ${i.sp2};
|
|
151
|
+
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
padding-left: ${i.sp3};
|
|
154
|
+
`,Pt=n.div`
|
|
155
|
+
display: flex;
|
|
156
|
+
align-items: center;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
width: ${i.sp4};
|
|
159
|
+
height: ${i.sp4};
|
|
160
|
+
min-width: ${i.sp4};
|
|
161
|
+
`,Lt=n.div`
|
|
162
|
+
min-width: ${i.sp4};
|
|
163
|
+
width: ${i.sp4};
|
|
164
|
+
height: ${i.sp4};
|
|
165
|
+
display: flex;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
`,zt=n(he)`
|
|
169
|
+
min-width: inherit;
|
|
170
|
+
width: ${i.sp4};
|
|
171
|
+
height: ${i.sp4};
|
|
172
|
+
`,Rt=n.div`
|
|
173
|
+
min-width: ${i.sp4};
|
|
174
|
+
width: ${i.sp4};
|
|
175
|
+
height: ${i.sp4};
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
`,It=n(me)`
|
|
180
|
+
min-width: inherit;
|
|
181
|
+
width: ${i.sp4};
|
|
182
|
+
height: ${i.sp4};
|
|
183
|
+
`,Tt=n.img`
|
|
184
|
+
display: flex;
|
|
185
|
+
width: ${i.sp4};
|
|
186
|
+
height: ${i.sp4};
|
|
187
|
+
min-width: ${i.sp4};
|
|
188
|
+
border-radius: 50%;
|
|
189
|
+
object-fit: cover;
|
|
190
|
+
`,Dt=n.div`
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
`,ie=n(W)`
|
|
195
|
+
color: ${e=>e.theme.colors.hero};
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: baseline;
|
|
198
|
+
column-gap: ${i.sp1};
|
|
199
|
+
overflow: hidden;
|
|
200
|
+
min-width: 0;
|
|
201
|
+
`,Bt=n.span`
|
|
202
|
+
overflow: hidden;
|
|
203
|
+
text-overflow: ellipsis;
|
|
204
|
+
white-space: nowrap;
|
|
205
|
+
min-width: 0;
|
|
206
|
+
`,At=n.span`
|
|
207
|
+
white-space: nowrap;
|
|
208
|
+
flex-shrink: 0;
|
|
209
|
+
`,Mt=n.div`
|
|
210
|
+
position: relative;
|
|
211
|
+
top: 2px;
|
|
212
|
+
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
213
|
+
color: ${e=>e.theme.colors.hero};
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
padding-left: ${i.sp3};
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
align-items: flex-start;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
gap: ${e=>e.isLoading?i.sp1:i.sp0};
|
|
221
|
+
`,Ot=n.div`
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
flex-direction: row;
|
|
225
|
+
gap: ${i.sp2};
|
|
226
|
+
`,Nt=n.div`
|
|
227
|
+
display: flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: ${i.sp2};
|
|
230
|
+
&:hover {
|
|
231
|
+
.infoIconTooltip {
|
|
232
|
+
color: ${e=>e.theme.colors.primary};
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
`,Ht=n(Ve)`
|
|
236
|
+
font-size: ${R.smallRegular.fontSize};
|
|
237
|
+
font-weight: ${R.smallRegular.fontWeight};
|
|
238
|
+
line-height: ${R.smallRegular.lineHeight};
|
|
239
|
+
font-family: ${R.smallRegular.fontFamily};
|
|
240
|
+
letter-spacing: ${R.smallRegular.letterSpacing};
|
|
241
|
+
color: ${$.link};
|
|
242
|
+
&:after {
|
|
243
|
+
background: ${$.link};
|
|
244
|
+
}
|
|
245
|
+
&:hover {
|
|
246
|
+
color: ${$.link};
|
|
247
|
+
}
|
|
248
|
+
`,Wt=n.div`
|
|
249
|
+
display: flex;
|
|
250
|
+
align-items: center;
|
|
251
|
+
gap: ${i.sp2};
|
|
252
|
+
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
253
|
+
box-sizing: border-box;
|
|
254
|
+
padding-left: ${i.sp3};
|
|
255
|
+
`,Et=n.div`
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
width: ${i.sp4};
|
|
260
|
+
height: ${i.sp4};
|
|
261
|
+
border-radius: 50%;
|
|
262
|
+
`,Kt=n(Je)`
|
|
263
|
+
width: ${i.sp4};
|
|
264
|
+
height: ${i.sp4};
|
|
265
|
+
color: ${e=>e.theme.colors.hero};
|
|
266
|
+
`,Vt=n.div`
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
justify-content: center;
|
|
270
|
+
width: ${i.sp4};
|
|
271
|
+
height: ${i.sp4};
|
|
272
|
+
border-radius: 50%;
|
|
273
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
274
|
+
`,_t=n(W)`
|
|
275
|
+
color: ${e=>e.theme.colors.hero};
|
|
276
|
+
max-width: 100%;
|
|
277
|
+
overflow: hidden;
|
|
278
|
+
text-overflow: ellipsis;
|
|
279
|
+
white-space: nowrap;
|
|
280
|
+
`,Ft=n.div`
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
justify-content: flex-end;
|
|
284
|
+
padding-left: ${i.sp3};
|
|
285
|
+
padding-right: ${i.sp2};
|
|
286
|
+
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
287
|
+
box-sizing: border-box;
|
|
288
|
+
`,Ut=n(W)`
|
|
289
|
+
color: ${e=>e.theme.colors.hero};
|
|
290
|
+
max-width: 100%;
|
|
291
|
+
overflow: hidden;
|
|
292
|
+
text-overflow: ellipsis;
|
|
293
|
+
white-space: nowrap;
|
|
294
|
+
`,Yt=n.div`
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-direction: column;
|
|
297
|
+
gap: ${i.sp1};
|
|
298
|
+
`,ne=n.div`
|
|
299
|
+
display: flex;
|
|
300
|
+
justify-content: space-between;
|
|
301
|
+
align-items: center;
|
|
302
|
+
gap: ${i.sp3};
|
|
303
|
+
`,oe=n(F)`
|
|
304
|
+
color: ${e=>e.theme.colors.hero};
|
|
305
|
+
`,ae=n(F)`
|
|
306
|
+
color: ${$.brandColorPearl};
|
|
307
|
+
`,Zt=new L(Z(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:O}}}=I.getLocalizedStrings(),qt=e=>e.base64!==void 0?`${pe}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Xt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(f=>{f.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),j=I.getLocalizedStrings(),s=e.repaymentDate.format(j.dateFormat.visual.MMMDCommaYYYYformat),m=ue(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?O.autopay:ye(e.paidByUser),w=e.status==="Rejected"||e.status==="Returned";return t.jsx(Qt,{children:t.jsxs(ei,{children:[t.jsxs(ti,{children:[t.jsx(ii,{children:t.jsx(b,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ni,{children:t.jsx(oi,{color:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(ri,{src:qt(g),loading:"lazy"}):t.jsx(ai,{children:t.jsx(si,{})})})}),t.jsxs(di,{children:[t.jsx(li,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(ci,{className:"sourceAccount",children:p!=null&&p!==""?p:O.sourceAccountUnknown})})}),t.jsx(hi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(pi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(mi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(gi,{children:[O.header.initiatedBy,":"," ",t.jsx(ui,{className:"initiatedBy",children:v})]})})}),t.jsx(yi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(xi,{children:[O.header.paymentDate,":"," ",t.jsx(fi,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(wi,{children:[t.jsx($i,{children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(vi,{className:"amount",title:V("0,0.[00]",e.amount),children:V("0,0.[00]",e.amount)})})}),t.jsx(bi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(ji,{children:t.jsx(Si,{children:t.jsx(Gt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Ci,{children:t.jsx(ki,{onClick:u,"data-testid":A("retry-payment",e.cardRepaymentId),children:O.retryPayment})})]})]})})},Gt=({status:e,style:o})=>{const c=_(),a=Jt(e,c),r=xe(e);return t.jsx(ge,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},Jt=(e,o)=>{switch(e){case"Clear":case"Sent":return new L($.success);case"Pending":case"PendingReview":return new L($.info);case"Rejected":case"Returned":return new L($.important);default:return new L(o.colors.grey1)}},Qt=n.div`
|
|
308
|
+
display: flex;
|
|
309
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
310
|
+
padding: ${i.sp3};
|
|
311
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
312
|
+
box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
|
|
313
|
+
border-radius: ${i.sp2};
|
|
314
|
+
width: 100%;
|
|
315
|
+
margin-bottom: ${i.sp3};
|
|
316
|
+
box-sizing: border-box;
|
|
317
|
+
&:hover {
|
|
318
|
+
color: ${e=>e.theme.colors.primary};
|
|
319
|
+
border-color: ${e=>e.theme.colors.primary};
|
|
320
|
+
.paymentDate,
|
|
321
|
+
.sourceAccount,
|
|
322
|
+
.initiatedBy,
|
|
323
|
+
.amount {
|
|
324
|
+
color: ${e=>e.theme.colors.primary};
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
`,ei=n.div`
|
|
328
|
+
display: flex;
|
|
329
|
+
flex-direction: row;
|
|
330
|
+
width: 100%;
|
|
331
|
+
justify-content: space-between;
|
|
332
|
+
align-items: flex-start;
|
|
333
|
+
gap: ${i.sp3};
|
|
334
|
+
`,ti=n.div`
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: row;
|
|
337
|
+
align-items: flex-start;
|
|
338
|
+
gap: ${i.sp2};
|
|
339
|
+
flex: 1;
|
|
340
|
+
min-width: 0;
|
|
341
|
+
`,ii=n.div`
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: flex-start;
|
|
344
|
+
justify-content: flex-start;
|
|
345
|
+
width: ${i.sp6};
|
|
346
|
+
height: ${i.sp6};
|
|
347
|
+
min-width: ${i.sp6};
|
|
348
|
+
margin-top: ${i.sp1};
|
|
349
|
+
`,ni=n.div`
|
|
350
|
+
min-width: ${i.sp6};
|
|
351
|
+
width: ${i.sp6};
|
|
352
|
+
height: ${i.sp6};
|
|
353
|
+
display: flex;
|
|
354
|
+
align-items: center;
|
|
355
|
+
justify-content: center;
|
|
356
|
+
border-radius: 50%;
|
|
357
|
+
background-color: ${Zt};
|
|
358
|
+
`,oi=n(he)`
|
|
359
|
+
min-width: inherit;
|
|
360
|
+
width: ${i.sp6};
|
|
361
|
+
height: ${i.sp6};
|
|
362
|
+
`,ai=n.div`
|
|
363
|
+
min-width: ${i.sp6};
|
|
364
|
+
width: ${i.sp6};
|
|
365
|
+
height: ${i.sp6};
|
|
366
|
+
display: flex;
|
|
367
|
+
align-items: center;
|
|
368
|
+
justify-content: center;
|
|
369
|
+
border-radius: 50%;
|
|
370
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
371
|
+
`,si=n(me)`
|
|
372
|
+
min-width: inherit;
|
|
373
|
+
width: ${i.sp6};
|
|
374
|
+
height: ${i.sp6};
|
|
375
|
+
`,ri=n.img`
|
|
376
|
+
display: flex;
|
|
377
|
+
width: ${i.sp6};
|
|
378
|
+
height: ${i.sp6};
|
|
379
|
+
min-width: ${i.sp6};
|
|
380
|
+
border-radius: 50%;
|
|
381
|
+
object-fit: cover;
|
|
382
|
+
`,di=n.div`
|
|
383
|
+
display: flex;
|
|
384
|
+
flex-direction: column;
|
|
385
|
+
gap: ${i.sp0};
|
|
386
|
+
flex: 1;
|
|
387
|
+
min-width: 0;
|
|
388
|
+
`,li=n.div`
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
`,ci=n(Ee)`
|
|
392
|
+
color: ${e=>e.theme.colors.primary};
|
|
393
|
+
max-width: 100%;
|
|
394
|
+
overflow: hidden;
|
|
395
|
+
text-overflow: ellipsis;
|
|
396
|
+
white-space: nowrap;
|
|
397
|
+
font-weight: 600;
|
|
398
|
+
`,hi=n.div`
|
|
399
|
+
display: flex;
|
|
400
|
+
align-items: center;
|
|
401
|
+
`,pi=n(F)`
|
|
402
|
+
color: ${e=>e.theme.colors.hero};
|
|
403
|
+
max-width: 100%;
|
|
404
|
+
overflow: hidden;
|
|
405
|
+
text-overflow: ellipsis;
|
|
406
|
+
white-space: nowrap;
|
|
407
|
+
position: relative;
|
|
408
|
+
top: -2px;
|
|
409
|
+
`,mi=n.div`
|
|
410
|
+
display: flex;
|
|
411
|
+
align-items: center;
|
|
412
|
+
margin-top: 3px;
|
|
413
|
+
`,gi=n(N)`
|
|
414
|
+
color: ${e=>e.theme.colors.hero};
|
|
415
|
+
max-width: 100%;
|
|
416
|
+
overflow: hidden;
|
|
417
|
+
text-overflow: ellipsis;
|
|
418
|
+
white-space: nowrap;
|
|
419
|
+
`,ui=n.span`
|
|
420
|
+
color: ${e=>e.theme.colors.hero};
|
|
421
|
+
`,yi=n.div`
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
position: relative;
|
|
425
|
+
top: -2px;
|
|
426
|
+
`,xi=n(N)`
|
|
427
|
+
color: ${e=>e.theme.colors.hero};
|
|
428
|
+
max-width: 100%;
|
|
429
|
+
overflow: hidden;
|
|
430
|
+
text-overflow: ellipsis;
|
|
431
|
+
white-space: nowrap;
|
|
432
|
+
`,fi=n.span`
|
|
433
|
+
color: ${e=>e.theme.colors.hero};
|
|
434
|
+
`,wi=n.div`
|
|
435
|
+
display: flex;
|
|
436
|
+
flex-direction: column;
|
|
437
|
+
align-items: flex-end;
|
|
438
|
+
justify-content: flex-start;
|
|
439
|
+
flex-shrink: 0;
|
|
440
|
+
`,$i=n.div`
|
|
441
|
+
display: flex;
|
|
442
|
+
align-items: center;
|
|
443
|
+
justify-content: flex-end;
|
|
444
|
+
`,vi=n(N)`
|
|
445
|
+
color: ${e=>e.theme.colors.hero};
|
|
446
|
+
max-width: 100%;
|
|
447
|
+
overflow: hidden;
|
|
448
|
+
text-overflow: ellipsis;
|
|
449
|
+
white-space: nowrap;
|
|
450
|
+
`,bi=n.div`
|
|
451
|
+
display: flex;
|
|
452
|
+
flex-direction: column;
|
|
453
|
+
align-items: flex-end;
|
|
454
|
+
justify-content: flex-start;
|
|
455
|
+
margin-top: ${i.sp1};
|
|
456
|
+
margin-bottom: ${i.sp3};
|
|
457
|
+
`,ji=n.div`
|
|
458
|
+
display: flex;
|
|
459
|
+
align-items: center;
|
|
460
|
+
flex-direction: row;
|
|
461
|
+
gap: ${i.sp2};
|
|
462
|
+
flex-wrap: wrap;
|
|
463
|
+
justify-content: flex-end;
|
|
464
|
+
`,Si=n.div`
|
|
465
|
+
display: flex;
|
|
466
|
+
align-items: center;
|
|
467
|
+
gap: ${i.sp2};
|
|
468
|
+
&:hover {
|
|
469
|
+
.infoIconTooltip {
|
|
470
|
+
color: ${e=>e.theme.colors.primary};
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
`,Ci=n.div`
|
|
474
|
+
display: flex;
|
|
475
|
+
align-items: center;
|
|
476
|
+
justify-content: flex-end;
|
|
477
|
+
`,ki=n(Ke)`
|
|
478
|
+
color: ${$.link};
|
|
479
|
+
cursor: pointer;
|
|
480
|
+
text-decoration: underline;
|
|
481
|
+
&:hover {
|
|
482
|
+
text-decoration: underline;
|
|
483
|
+
}
|
|
484
|
+
`,Pi={lastListItemHeight:new x(200,114)},Li=I.getLocalizedStrings(),{spendManagement:{chargeCard:se},common:zi}=Li,re=50,Ri=64,Ii=351,Ti=86,we=q.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?re:h==="small"?132:X,[h]),u=S.useMemo(()=>{let v=re+Ri;for(let w=1;w<=o.length;w++)v+=p(w);return v},[o.length,p]),j=S.useMemo(()=>window.innerHeight-Ii,[]),s=u>j,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Oi,{children:[t.jsx(Ni,{onClick:g,"data-testid":A("payment-history-list-reload"),children:t.jsx(Hi,{})}),t.jsx(Wi,{children:zi.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Vi,{children:t.jsx(_i,{children:a!==""?se.paymentHistory.noPaymentHistoryMatchedSearch:se.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(ve,{children:t.jsx(Ei,{windowSize:h,availableHeight:j,isListTooLarge:s,children:t.jsx(De,{children:({height:v,width:w})=>t.jsx(Be,{ref:m,height:v,itemCount:o.length+1,innerElementType:$e,itemSize:p,estimatedItemSize:X,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Ae,initialScrollOffset:0,children:f=>t.jsx(Di,{...f,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Mi,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);we.displayName="ChargeCardPaymentHistoryContent";const $e=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(ve,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(Ki,{children:c})})});$e.displayName="ChargeCardPaymentHistoryInnerElement";const Di=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,j=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const w=c.map(z=>z.repayment),f=w.slice(1).reduce((z,T)=>T.repaymentDate.isAfter(z.repaymentDate)?T:z,w[0]);return f.status==="Rejected"||f.status==="Returned"?f.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(de,{style:m,className:"spend-management-list-item",children:t.jsx(at,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?Xt:ft;return t.jsx(de,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:j,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Bi=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Te({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx(we,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Ai=q.memo(Bi),Mi=n.div`
|
|
485
|
+
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
486
|
+
display: block;
|
|
487
|
+
height: 100%;
|
|
488
|
+
`,Oi=n.div`
|
|
489
|
+
display: flex;
|
|
490
|
+
width: 100%;
|
|
491
|
+
height: calc(100% - 60px);
|
|
492
|
+
flex-direction: column;
|
|
493
|
+
justify-content: center;
|
|
494
|
+
align-items: center;
|
|
495
|
+
`,Ni=n.div`
|
|
496
|
+
height: 96px;
|
|
497
|
+
width: 96px;
|
|
498
|
+
display: flex;
|
|
499
|
+
align-items: center;
|
|
500
|
+
justify-content: center;
|
|
501
|
+
background: ${e=>e.theme.colors.background};
|
|
502
|
+
border-radius: 50%;
|
|
503
|
+
cursor: pointer;
|
|
504
|
+
`,Hi=n(Me)`
|
|
505
|
+
height: ${i.sp5};
|
|
506
|
+
width: ${i.sp5};
|
|
507
|
+
color: ${e=>e.theme.colors.grey1};
|
|
508
|
+
&:hover {
|
|
509
|
+
color: ${e=>e.theme.colors.primary};
|
|
510
|
+
}
|
|
511
|
+
`,Wi=n(Oe)`
|
|
512
|
+
margin-top: ${i.sp3};
|
|
513
|
+
color: ${e=>e.theme.colors.hero};
|
|
514
|
+
`,Ei=n.div`
|
|
515
|
+
position: sticky;
|
|
516
|
+
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Ti}px)`:`${e.availableHeight}px`};
|
|
517
|
+
max-width: 99.9%;
|
|
518
|
+
${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
|
|
519
|
+
.spend-management-list-item:last-of-type {
|
|
520
|
+
/* NOTE: !important is used to ensure padding is applied to the last item in the virtualized list. */
|
|
521
|
+
height: ${Pi.lastListItemHeight.valuePx(o)} !important;
|
|
522
|
+
padding-bottom: ${i.sp8};
|
|
523
|
+
}
|
|
524
|
+
`}
|
|
525
|
+
|
|
526
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
527
|
+
& > div > div::-webkit-scrollbar {
|
|
528
|
+
display: none;
|
|
529
|
+
}
|
|
530
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
531
|
+
& > div > div {
|
|
532
|
+
-ms-overflow-style: none;
|
|
533
|
+
scrollbar-width: none;
|
|
534
|
+
}
|
|
535
|
+
`,de=n.div`
|
|
536
|
+
top: ${i.sp0};
|
|
537
|
+
left: ${i.sp0};
|
|
538
|
+
padding-bottom: ${i.sp3};
|
|
539
|
+
box-sizing: border-box;
|
|
540
|
+
`,Ki=n.div`
|
|
541
|
+
position: relative;
|
|
542
|
+
width: auto;
|
|
543
|
+
height: 100%;
|
|
544
|
+
`,ve=n.div``,Vi=n.div`
|
|
545
|
+
display: flex;
|
|
546
|
+
height: 100%;
|
|
547
|
+
flex: 1 1 auto;
|
|
548
|
+
flex-direction: row;
|
|
549
|
+
justify-content: center;
|
|
550
|
+
align-items: flex-end;
|
|
551
|
+
`,_i=n(W)`
|
|
552
|
+
display: flex;
|
|
553
|
+
color: ${e=>e.theme.colors.grey2};
|
|
554
|
+
`,le={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:ce}},common:Fi}=I.getLocalizedStrings(),cn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:j,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:w,updateDownloadStateHandler:f})=>{const z=Pe().analytics,T=Le(),[K,U]=S.useState(!1),k=H(),Y=_(),be=D=>{U(D)},je={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Fi.strings.empty,hideSearchBtn:!1,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:K,searchPlaceHolder:ce.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{f("In-Progress");try{await Ie({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{f("Completed")}},disableDownloadButton:w==="In-Progress"||o!=="Completed"||e.length===0,analytics:z,onSearchOpen:be,filterIconContainerStyle:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Xe("charge_card_payment_history",h,T.loggedInUserRole??[],[],a),renderDropdownOptionIcon:qe},Se=t.jsx(Ze,{spendManagementSectionProps:je}),Ce=ce.pageTitle,ke=S.useMemo(()=>e.map(D=>({repayment:D,accountInfo:D.paymentAccountId!=null&&D.paymentAccountId!==""?a?.[D.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Ui,{children:[t.jsx(ze,{title:Ce,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:C,titleTextStyles:k==="small"?{...R.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:Se,isSearchOpen:K,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Y.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Re,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Yi,{windowSize:k,children:t.jsx(Ai,{fetchState:o,repaymentListWithAccountInfo:ke,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:j,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Ui=n.div`
|
|
555
|
+
display: flex;
|
|
556
|
+
flex-direction: column;
|
|
557
|
+
width: 100%;
|
|
558
|
+
height: 100vh;
|
|
559
|
+
overflow: auto;
|
|
560
|
+
`,Yi=n.div`
|
|
561
|
+
margin-top: ${i.sp4};
|
|
562
|
+
margin-right: ${e=>le.contentContainerMargin.valuePx(e.windowSize)};
|
|
563
|
+
margin-bottom: ${i.sp0};
|
|
564
|
+
margin-left: ${e=>le.contentContainerMargin.valuePx(e.windowSize)};
|
|
565
|
+
`;export{cn as default};
|