@zeniai/web-cockpit-ui 1.15.1-qa → 1.15.2-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-CUzXxtOD-r1F6uT6H.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js} +1 -1
- package/dist/assets/{AIPerformancePage-O2oT7VD7-s-n7blSK.js → AIPerformancePage-C-s0Z84w-BYGvT60Q.js} +1 -1
- package/dist/assets/AccountInfoPage-EW5OCEW3-GkK4AQqU.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dm4_RVtp-D_PqQYfw.js → AccountInfoPageContent-DRhE__FT-CsEJAa7X.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-4gi6evfx-Kj0mjdMx.js → AccountLockedInfoModal-Ck5k4sN0-Dn2ELr-O.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Cm4KEIyT-DCafziiz.js → AccountReconDetailsDrawerPage-CinniH8P-CbXjxNie.js} +1 -1
- package/dist/assets/{AccountRow-B16HgkVQ-kTc4ueO6.js → AccountRow-DqfBv7EN-CVLrdkv9.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D5OgsEYb-CgdFyEWb.js → AccountsPromoCardStack-ClhDPo8Z-BPar240b.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Cw6wTXEm-Bpg-BiUZ.js → AddAddressForCardDrawer-Bp7X9u3M-D2uHyvbm.js} +1 -1
- package/dist/assets/{AddToWalletPage-vXWBje7k-M_ReFWuK.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js} +1 -1
- package/dist/assets/{AgingReportsPage-CmzapJ6B-eAYpQVGs.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js} +3 -3
- package/dist/assets/{AllUserItems-CW-BAUK2-BBXUcIHM.js → AllUserItems-CpiUni9v-Boqk4BWu.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DBCM7hZZ-BB02lYOD.js → ApAgingDetailPage-ByNn2ALz-D3dR7MXD.js} +4 -4
- package/dist/assets/{AppBasePage-B3uZsUDM-C0VSuUEf.js → AppBasePage-DmW3KQcg-Bl07bdsR.js} +1 -1
- package/dist/assets/{AppDrawerContent-D4EVpqHP-D68-MKyW.js → AppDrawerContent-B1y_D31O-P0fNyfka.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DTLJUdYp-D-7Um9wK.js → ApprovalRulesSettingsPage-GxAZWP7M-BP_FJfEx.js} +1 -1
- package/dist/assets/{ArAgingChart-BJ8nRdT6-C3zgks-l.js → ArAgingChart-BNoQoaPh-DNxFLSB2.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-hd2ALORD-BBDp0PA9.js → ArAgingDetailPage-CMcAarbW-BT--B2mj.js} +1 -1
- package/dist/assets/{AttachmentView-2FZ6X1gL-BtEKVjLK.js → AttachmentView-BixDE2EA-J3_uk8mF.js} +1 -1
- package/dist/assets/{BankAccountSection-BbX4r1dP-CpoasKYr.js → BankAccountSection-D85EMzvD-DIqhMGkU.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CqlrCLSb-CeuF0biB.js → BankAccountWarningSection--CI3tctJ-C44mqvnE.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DLeiSryp-O6aF6sGb.js → BankConnectionsSettingsPage-BAPo9xu--DD1SOuD8.js} +1 -1
- package/dist/assets/{BillDetailPage-l0WIOXCJ-D0UXVLtG.js → BillDetailPage-DdJoziKf-DOO0wKpM.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BOMCy57E-B7LeaWUC.js → BillPayApprovalRuleDetailPage-CdoDPSYo-DEqRvex-.js} +3 -3
- package/dist/assets/{BillPayApprovalRulesPage-D_iQkfQr-BP93cWdX.js → BillPayApprovalRulesPage-Cfo4L2hk-TOZxMiU9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dsl0YvUE-ddOIH1is.js → BillPayPromoPage-cK5O7lqH-B_je_xFj.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-MLf77bPI-CsT5c2fa.js → BillPaySetUpPage-BuF8vy9q-CJSI2jfR.js} +1 -1
- package/dist/assets/{BillingSettingsPage-n1PkJEDe-Dx6CVi3q.js → BillingSettingsPage-B_l_z9VO-Br55h4q7.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-C_4lLm2g-DIPYE387.js → BillsBulkReviewDrawerPage-CoKwrfed-giDGO955.js} +1 -1
- package/dist/assets/{BoxItem-CZdVWyVJ-mEOt1fek.js → BoxItem-CWj-NRo_-qWLA6cc4.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-DKTSnhnQ-DYvN-c4w.js → BusinessVerificationPage-Jl0yhiLd-BRJluTOf.js} +1 -1
- package/dist/assets/{CardNumberSubText-BhtdU0IQ-8duVM3Fx.js → CardNumberSubText-CYyCmwah-DIXC0dk2.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BL-JN6N2-Do_Xoxat.js → CashbackDetailPage-VVXYftFo-CP-xT4sk.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-DeUmuiMY-WNgidd0R.js → ChargeCardDetailPage-C-KKQCQP-CDsGHd2y.js} +1 -1
- package/dist/assets/ChargeCardListPage--SIQ7a3u-BopXL17p.js +412 -0
- package/dist/assets/{ChargeCardListTable-BwYAxG4d-DX6YQOO-.js → ChargeCardListTable-ddk5IppO-B_rZZ45Z.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-mA_IVVFy-De_KyAuK.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-TkHihj_n-CaHt3K5m.js → ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CkonrAnT-D6jRSePD.js → ChargeCardSetupPage-DAVM2czH-Pi7tegHv.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DVgAcNNC-DCz_p1Fg.js → ChargeCardStatementsPage-Cgl7DfV2-Cqo1fBhQ.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DV7strdp-BUlK0Jm_.js → CheckDepositDrawerPage-DIDXNWS--Cnev0zYl.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BS7TgK8B-DRjSwQaJ.js → CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BotE5oj4-CeLb2lq5.js → CompanyOfficerDetailsSection-CtFvma7e-DKMEm1xs.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bx4KhQfs-BZjrN6gQ.js → CompanyPassportCard-If9-KFRF-DWX3A4lo.js} +3 -3
- package/dist/assets/{CompanyPassportPage-i1SEs7VJ-DfwCSdxy.js → CompanyPassportPage-ByLL4IdN-BVFVShE9.js} +1 -1
- package/dist/assets/{CompleteProfile-DWOv7odD-BKSVE70k.js → CompleteProfile-D39MG_aE-C5u-dTqB.js} +1 -1
- package/dist/assets/{ConfettiBurst-D52CuNQL-CwLA6tkK.js → ConfettiBurst-CqS9iRS--Clgy60xQ.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-9LgI-Wd0-B6-_1Ezb.js → CreateOrEditVendorPage-C0lTJ9RB-Cwb-zv64.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-wHK6Ds5I-CNWVB31I.js → CreditCardPaymentDrawerPage-BMlE0JgE-DeTZZwZo.js} +8 -8
- package/dist/assets/{CurrencySelectField-CbGyQ8Yq-COlp3u2Y.js → CurrencySelectField-Cqh1PAAW-DaE_m5-s.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-LNgj0BYj-Nlvfx8M9.js → CustomerOnboardingActivationPage-CExJcqXe-BlQ8Hnnh.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-B1DciOQG.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BF484X8E-CaAZph1n.js → CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BZlMZUQL.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dri4v3Rf-BJzE5s0-.js → CustomerOnboardingNoStepsPage-CgblGoOL-2kYU64HC.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BkdhcwN8-DmE6GIUm.js → CustomerOnboardingPage-DSGfwtw5-CUzPpcHS.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C2YlsXt9-CBk-1EVP.js +202 -0
- package/dist/assets/{Dashboard-w2AGQi2P-DiVyNKKk.js → Dashboard-C52yIGy8-D_GGvRLH.js} +55 -55
- package/dist/assets/{DashboardReportPage-NzF6nutN-DMhUQnZM.js → DashboardReportPage-iZVhpQQc-DByWtkdh.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-vcuSFRHQ-yYxeoz6l.js → DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-SRWW7dWo-CkQ9z0AM.js → DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BSq-FxKT-CgJ_q5WK.js → DepositAccTransactionListPage-Q-rYYEAZ-C6qRSxdm.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Daor0MDI-F_wC7WiZ.js → DomesticWireDetailsPage-D8MlbitH-BEovw2fI.js} +1 -1
- package/dist/assets/{DownloadOverlay-DkSROLX2-DcXAjYGV.js → DownloadOverlay-DooSRB2s-DAeh2FOz.js} +1 -1
- package/dist/assets/{DrawerPage-BnMCcEWw-CMzZJi1c.js → DrawerPage-COB3hDS_-DpI_yrey.js} +1 -1
- package/dist/assets/{EditPeoplePage-Ld339aav-Dq02Bmc5.js → EditPeoplePage-BLRAgjPa-CqDqNG8l.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BaMG1YJG-CJGMJtlg.js → EditReimbursementDetailPage-D1d8qzXB-Cwm7cODK.js} +1 -1
- package/dist/assets/EntityDetailPage-BDqbedFw-BHuM8vRM.js +18 -0
- package/dist/assets/{EntitySummarySection-Bs0NywbK-BM-UHzYZ.js → EntitySummarySection-DOkXIw-J-Dyl-9BSn.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B_-wUXCx-C4ezTJwY.js → ExpenseAutomationOverviewPage-BSXCkfKT-Y-OTywuE.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CG1Hpwz8-Hmmjx2JY.js → ExpenseAutomationPage-Di3n8DMk-z_MvYY9W.js} +1 -1
- package/dist/assets/{ExpressPayPage-CEf0O3S_-CFo_3C3j.js → ExpressPayPage-B-SwvM4I-BKQhbtfT.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-7G9DSgAA-Bf3Zg9FN.js → FeaturePreviewPage-Dz42ojYl-B74tPXRR.js} +1 -1
- package/dist/assets/{FollowStepsSection-CoXcJ6WL-CKIS-qdy.js → FollowStepsSection-BS4M36H4-ByiTPZLh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BSfJybtY-Gq_efLf2.js → GlobalReviewListPage-C1Tn5Cwx-AFNHh-gi.js} +1 -1
- package/dist/assets/{InformationCardStack-DnoAMdjH-DM3r0VKp.js → InformationCardStack-DTWUPxhs-BcQ7Bq1r.js} +1 -1
- package/dist/assets/{InsightsCardStack-BLtip0dt-B7AuDwsy.js → InsightsCardStack-CklTB6N7-CcVpI_GM.js} +2 -2
- package/dist/assets/{InsightsSection-26UEfz7s-DPspt8lR.js → InsightsSection-g58q0fm4--nDzSJ-I.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-QVOqOc9I-BUFvkl9B.js → IntegrationsSettingsPage-Bs3ZvOVJ-BNGlPV_t.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-B7UVdQjs-CLkCkXIU.js → InternationalWireSwiftDetailsPage-CC0aZ_Ht-BCE7V6Sm.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cvita0lc-Btapjd36.js → InternationalWireVerificationPage-Bb8q9_XZ-3msXPnre.js} +3 -3
- package/dist/assets/{InviteFormPage-ptg2-Do2-pRO1OeLR.js → InviteFormPage-Bh9zpIMu-DyQ9-xdH.js} +1 -1
- package/dist/assets/{InvitePageListView-CoCiU_RJ-Dix60Mep.js → InvitePageListView-Da5n8FWG-CwUGql0T.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CIiwEl_L-O1DiEIRO.js → InvitePeoplePage-B1jmVXj9-BNsmdXfz.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-by1gHnS2-JOnnnASi.js → InvoiceUploadSection-DN31nPpE-DlCczyMy.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CawHdTL3-CJXHcRtV.js → IssueChargeCardPage-Ev17uGYx-DiPbJxFe.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BVpOlAt0-Civi3QhT.js → LabeledAddressValue-CZvcCn7x-BDO7MreD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BW6ytr8f-3MnpjjEc.js → LabeledAddressValueField-CJel6ymq-BCZyMLaS.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DEaBzW9R-CnHMzzmb.js → LabeledControlledCheckBoxField-COHS18nA-B17n3DFO.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DOEcKGdZ-C0Jyvygp.js → LabeledCountryMultiSelectField-CcJheGwX-DdkXDdlC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bsowq6Ia-WVOdOf4y.js → LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DHqxzbx7-BskAR3wZ.js → LabeledDocumentField-DC4TbHE8-CfiBP2-V.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C_2HymZs-aRPxhQJ5.js → LabeledDropDownFormattedTextField-BcSAJy2I-BDmvlnnz.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-wuzYNgjQ-Df-SCo5M.js → LabeledMultiSelectField-D-N343dq-BqmmKTLd.js} +1 -1
- package/dist/assets/{LabeledText-DMjMKupg-Bncb0Hwv.js → LabeledText-DHLOUxK_-DcVlPblA.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CbP3DJ-D.js → LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C2WL6H1u-DPKcMxQz.js → LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-6wvu7KQx-QXbId-Ae.js → LinkJETransactionPage-BLleyJg_-DH6AUk6S.js} +2 -2
- package/dist/assets/{LockCardPage-DHjkslVx-1L0-wByE.js → LockCardPage-dHmjahEB-CtYWv6rs.js} +1 -1
- package/dist/assets/{LowBalancePopup-IPPewOnk-D-QIgMXO.js → LowBalancePopup-D5xx56fY-j_He7evO.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-VUPeO4aq.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-EnblGBI9.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-BxJEZ2nx.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-0Pn_6wi4-B9aAAzsS.js → MagicLinkSuccessPage-De4m7E-W-Cb7S-D6O.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-zMEqv8xp-Btbmxe6d.js → MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js} +1 -1
- package/dist/assets/MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js +21 -0
- package/dist/assets/{Menu-CjpiRi32-tr4BRbII.js → Menu-CCfXjS2S-nrC4lt1z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DsuI81Dg-Du8nlr4t.js → MyBankConnectionsSettingsPage-NwFd4S7O-ChK_C8XR.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BP2ZNfJQ-DsSQkHgQ.js → MyPendingActivationChargeCardListPage-B2fGNuM2-BRHDDyzi.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bx776Bw1-DEOcuo_N.js → MyProfileSettingsPage-C2xgzfZf-CuouNDkd.js} +1 -1
- package/dist/assets/{NavBarWithPicker-B7KOipTP-CtJwHthx.js → NavBarWithPicker-DUqVkR_y-DhJfapY3.js} +1 -1
- package/dist/assets/{NavigationArrow-qaYGOFR3-vQsfUvU5.js → NavigationArrow-Ctt_H8KP-DqY5GQ1R.js} +1 -1
- package/dist/assets/{NavigationDots-U7wL0ya4-C_19mcKN.js → NavigationDots-Dgudddqx-DYDn4vyu.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BMLg6RYp-BSMvn-CX.js → NewGlobalMerchantPage-D1hNFzTS-B4VJuy44.js} +1 -1
- package/dist/assets/{NoDataChart-DoN6Mneo-CkdRINHb.js → NoDataChart-DbLSGWgH-L8CdjQWY.js} +1 -1
- package/dist/assets/{NoDataTable-BMDDs83M-D6M-OqQy.js → NoDataTable-BYLV7sLq-CgYIQzXe.js} +1 -1
- package/dist/assets/{NotFoundPage-ys6HcZUO-eldIZL16.js → NotFoundPage-CIeF09o9-DYOgpAOm.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-Cfrj3b7B-CDHJR0OC.js → NotificationSettingsPage-CEhFnaxj-C4_q1SXp.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Cqcn0C6L-rvX6AwRN.js → NotificationsListConfig-PHESCv2f-CLKpPqmc.js} +1 -1
- package/dist/assets/{NotificationsPage-Bri7Dj80-CgLhSnnX.js → NotificationsPage-hIohQ7En-7Dgvp7dJ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dwk6JAu7-DAnImhg9.js → OpExByVendorPage-C1RcJ4Q3-C3y6eP0g.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-cnPZ4Aks.js → OverlayContainerPage-Daz3A7cI-mfnyLiK_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D9muoIzS-CgHzWdHu.js → PandLWithForecastPage-B-uQyVwQ-CyyR5yDE.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BcQ07YZL-BZGt-jPq.js → PaymentAccountSetupBillingAddressSection-CGqYs83b-CQ_yC_Le.js} +7 -7
- package/dist/assets/{PeoplePage-BZwxMiLM-DUeynP_D.js → PeoplePage-Db0MhBko-D-veqVIm.js} +13 -13
- package/dist/assets/{Preview-mA1nVDX3.js → Preview-B3zOr0wW.js} +1 -1
- package/dist/assets/{ProductsCarousel-HFHMMFnQ-rtf5qLBW.js → ProductsCarousel-CYwIm8nQ-b46m0x6d.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bwm7huaB-VYQuh73T.js → PromoBaseCards-B2ZC8OUT-CxdovvbY.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B5v60lo1-Ch9POgNM.js → QBOConnectionDialog-B0E1xE9I-DveLpxdR.js} +1 -1
- package/dist/assets/{QBOSetupSection-BFxjIzV1-CYBW1H_4.js → QBOSetupSection-IGV1sm9x-BtXGszuP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7eJT6hf-mvqMR7d6.js → ReimbursementApprovalRuleDetailPage-CwJkaZqa-ChyiXIbJ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B6WJ19jK-ou5ALJi6.js → ReimbursementApprovalRulesPage-C0D2DYVf-DCOAjf0C.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CEyFEPK5-3R4JZLiA.js → ReimbursementDetailPage-DV7eDd9t-CQE66iWh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BjhlxlPR-ClcaCdwb.js → ReimbursementPromoPage-DNM2mNbV-CB0rp3Ja.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-pC4KuigM-Bb3osCLQ.js → ReimbursementSetUpPage-CVuQyfku-BMnB6xP4.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CucXnBt6-BAmNNK69.js → ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CIggTaDg.js} +1 -1
- package/dist/assets/{ReloadCard-DhRbLcVA-eL-hPi30.js → ReloadCard-BsOjPgsc-ChC0ZJ85.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-ByxUIrcT-Dmvup9O6.js → ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js} +1 -1
- package/dist/assets/{ReportsPage-e1xmk9Ua-BbNPYno0.js → ReportsPage-GYEaSw4z-DkoN-mIu.js} +1 -1
- package/dist/assets/{RevenueChart-C7uaOhqz-Dp5ovdkS.js → RevenueChart-DXgZ34NU-BGzMBftU.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-Dk0Rw7L_-C1OYslaf.js → ReviewDetailsPage-VBCKACNQ-Cb05fh3o.js} +2 -2
- package/dist/assets/{ReviewOverlay-Bthl69qw-DDQJoZqM.js → ReviewOverlay-D1dHNrqu-DQYoi9Nj.js} +1 -1
- package/dist/assets/{RoleWithToolTip-New3P2vC-B2lOe8Ik.js → RoleWithToolTip-BE5aZQ2g-BCdI84kh.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiwkB2J--BDMQXWdu.js → ScheduleDetailsFixedAssetsPage-p2jwjhfb-DeEP6omI.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BLc828ST-Be4PkyQY.js → ScheduleDetailsPage-CuGgAAlk-Cs8MEF7D.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-CEQZEbUs-lcmXDxJe.js → ScheduleSequenceTable-DS5xyWPM-B_plNnTN.js} +1 -1
- package/dist/assets/{ScreenRoutes-CTorVc0t.js → ScreenRoutes-DVayPi2e.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CywFKgZo-p_1OWNEx.js → SetUpAccountSection-CgV-DpbH-B1jw26aR.js} +1 -1
- package/dist/assets/{SignIn-D7PmDE-R-7UE7laxr.js → SignIn-BVICuIxS-BWE0bgE_.js} +15 -15
- package/dist/assets/{SignInScreen-KOouXGFV.js → SignInScreen-D4KOTIiJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJgNAGhp-CZvaBELF.js → SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-B_muN4XH-0JQmGizd.js → SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js} +1 -1
- package/dist/assets/{SpendManagementSection-BO--0F_T-C9bXKSSM.js → SpendManagementSection-4bPNXnAu-PYCo478F.js} +14 -14
- package/dist/assets/StatementItem-D7MXVGEy-BTw31R7j.js +31 -0
- package/dist/assets/{StatementsPage-DkcgOLaa-63pexawV.js → StatementsPage-mK9b-oez-_P1PJ0CX.js} +1 -1
- package/dist/assets/{StatusSwitcher-Bcqhq2ht-DClBNvwT.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BNSMaUoP-liKRWZ1f.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js} +1 -1
- package/dist/assets/SummaryCard-Bn8n64F6-PcN8QoKZ.js +1 -0
- package/dist/assets/{TaskManagementPage-K2ahivqx-DUq35oob.js → TaskManagementPage-Cmx-Dg-h-CaRQcF5s.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-CaV1qK_v-BaYpw2uo.js → TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-COkEJy3J-TJrxL5fq.js → TimeframeSwitcher-DKqN8iPa-CLaVUI42.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPP1tWQ_-Dm5Fg-cB.js → TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js} +1 -1
- package/dist/assets/{TopExCard-CLkfO6zN-BjmbgAGY.js → TopExCard-Bng5AuNw-CVHFew8E.js} +1 -1
- package/dist/assets/{TopExDetailPage-CUoODDhA-DV5Rdw-F.js → TopExDetailPage-C1UAPRay-senkgbNQ.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BTonMpH2-BDz8tZaI.js → TransactionDetailPage-Ds7V1qr_-DHvaJdEC.js} +1 -1
- package/dist/assets/{TransactionList-B8eL6jhA-BMj7OjO2.js → TransactionList-Dq2orY9N-CmcTb8lX.js} +1 -1
- package/dist/assets/{TransactionListBig-BI0Egbwq-of5jrmqO.js → TransactionListBig-BrDxcbHJ-BucaK7i8.js} +1 -1
- package/dist/assets/{TransactionListPage-DxGLszcx-Ct1ar9FW.js → TransactionListPage-D5v8TxYx-tIrIfplb.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-BnqP7rIa-BKaLQRzz.js → TransactionVendorDetailPage-DnZGwCbw-NMe_2e92.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BvKebmux-eudPvpoa.js → TransferDrawerPage-DUdjOy9R-BaGIl48y.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DqlUffnH-D9Cdq3E_.js → TreasuryOverviewPage-XYkCDBio-XL-wzdVP.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DqZE9SWj-BFJ0Glq8.js → TreasuryPromoPage-CWtp3S9L-DlbXSnI-.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-C1-iJ5X--BgqOr69t.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-04gxKt0a-C2JmE24D.js → TreasuryTaxLetterPage-CNogHL4A-CZDa9UtZ.js} +2 -2
- package/dist/assets/{TrendChart-Cb8wnBqS-DWWEVDYI.js → TrendChart-DBRT1lZ3-CNfFrF4a.js} +1 -1
- package/dist/assets/{TrendWithTransactions-_49jEzFf-D3xEAO2B.js → TrendWithTransactions-CcjPNeY8-DUWt7VQm.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-WTwSitI6-Cs3K4av4.js → UncategorizedAccountsMappingPage-BuMm5-pm-OPk3mnZu.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-C3HFSJ9I-DlmvVqU8.js → UnitIntegrationPage-Dxb00NtN-CEWpQ1pK.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-UdsrwN9K-CCKWgMfW.js → UploadAdditionalDocumentOverlay-H6nIiMo6-BSgcEloP.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BS-3oZPR-Db4i1lCF.js → Vendor2FAPopup-Opk2NgSs-DTP-O6GX.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C-uyGtu7-F2Is6FR_.js +1 -0
- package/dist/assets/{VendorDetailPage-CJQeB1km-VFqk6gSC.js → VendorDetailPage-YUk-g7t--BJ496rNY.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-BL4DigeA.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C2zwrfg_-Ee6uqkI0.js → VendorFiling1099EditablePage-Ctx-C6OL-spQqzVO6.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BeDtBSt0-CS3zFSM6.js → VendorFirstReviewPage-Biy4xcIs-DznCGOBz.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BVI-FIhY-37PxWla3.js → VendorInternationalWireDetailsPage-B-ZKvwGN-x0rWEvGE.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-HzLEH2H6.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DlO_YtSs-tzIE0qWL.js → VendorsAccountsSection-DztKh7dz-CgEUNYEY.js} +1 -1
- package/dist/assets/{VerifyDevice-CVr0FwHa-C52uURdL.js → VerifyDevice-fvWfQQnC-CtXqEXi_.js} +7 -7
- package/dist/assets/{VideoPlayer-HL-oU9Ri-CqH2CkYo.js → VideoPlayer-CfLdj-r8-B2GUFqTA.js} +2 -2
- package/dist/assets/{VideoPopup-Dw57i43Q-BaqfFxws.js → VideoPopup-B-N0Wv9f-Cdmc-mEU.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DOFirhc3-CJCj8NGX.js → WarningsDrawerPage-UpSDjRDQ-BBae8KFO.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-ByCgz534-D8zIoBhu.js → ZeniAccountDetailPage-Bd_RNPxh-BoHoadUu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-yATacDeU-Ccz2pyBA.js → ZeniAccountListViewPage-CE5BfFah-CIAB5QF6.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Yb3HCUq4-CvtBwWwh.js → ZeniAccountNavBarPieces-C0ydgImW-D-MiE5qM.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-4iBPGLEt-DVsBH3Z4.js → ZeniAccountPromoPage-EX9sTaQM-DXBYg3Pe.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-bdXuLfgB-CZsy3jga.js → ZeniAccountSetupPage-DX2DvcQa-Dwku7Zxp.js} +1 -1
- package/dist/assets/{ZeniCopyright-C_Hgn3Qx-B7KeNETr.js → ZeniCopyright-8vmkzP8u-BneayNNI.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DBhodWDh-Bg-8UcT6.js → ZeniTransferAmountSlider-BgIOeOee-5PnJNSH6.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B2xhCimT.js → add-to-wallet-DgdBD8_G-6h2ZeMP0.js} +1 -1
- package/dist/assets/{analytics-CO_4s2X8.js → analytics-C6_KHLMr.js} +1 -1
- package/dist/assets/{analyticsHelper-Dz-se9aX.js → analyticsHelper-BI1ThZe4.js} +1 -1
- package/dist/assets/{analyticsHelper-DTl4FgRU-C9JMzvwk.js → analyticsHelper-DePSHzJ2-Bn27sSmX.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BLOUsrLT.js → arrow-south-east-round-PEovUgvH-Drco-tba.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DXWlGTms.js → auto-transfer-rule-mbafm5D3-B2LSu6td.js} +1 -1
- package/dist/assets/{chartTypes-wLUiIPlP-DnDJ1qrz.js → chartTypes-9YOqgm9X-C6LFFFRd.js} +1 -1
- package/dist/assets/{commonDimensions-DGz_YafU-DG5YK88U.js → commonDimensions-DMXq3s0u-DuXCMMKd.js} +1 -1
- package/dist/assets/{commonTypes-Gv0Fff59-C0n9xJpy.js → commonTypes-BquPusaw-T-jihHvn.js} +1 -1
- package/dist/assets/{constants-B80Lbuf7.js → constants-PJh0ps8k.js} +1 -1
- package/dist/assets/{core-D7_k1EhP.js → core-B60xt_9S.js} +1 -1
- package/dist/assets/{dash.all.min-D84aFlTu.js → dash.all.min-vXDE_DvB.js} +1 -1
- package/dist/assets/{detailCommon-C-kv1ST5-ovcoMnW1.js → detailCommon-OHV8uIJY-cVGKnZAs.js} +2 -2
- package/dist/assets/{downloadPdf-a0dx3Bka-DnK4zSuJ.js → downloadPdf-AQqdv24M-DFBrg3E0.js} +1 -1
- package/dist/assets/{empty-BK-FM9Fc.js → empty-BILjNJ1H.js} +1 -1
- package/dist/assets/{empty-D7ZL3ibO.js → empty-Crd5cSnS.js} +1 -1
- package/dist/assets/{epic-BKSpf58y.js → epic-DI4CcWQL.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BvDbzpBs.js → gift-box-Cmt9OgIZ-Zdxcxrhq.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DnBDJsPD.js → graphic-no-data-l-DU4J8fDt-DgTcVZZu.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js → graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B-s0K2Gk.js → handshake-BPg58FML-B-VJNfaH.js} +1 -1
- package/dist/assets/{index-AC1SIzUs.js → index-BGWJb262.js} +1 -1
- package/dist/assets/{index-CocAByQY.js → index-BN0EotSL.js} +1 -1
- package/dist/assets/{index-CN_MjJna.js → index-BdKLbOle.js} +1 -1
- package/dist/assets/{index-yGtk6ceJ.js → index-BvTN3lDL.js} +1 -1
- package/dist/assets/{index-BCqMlt2D.js → index-CdECp0kd.js} +1 -1
- package/dist/assets/{index-CIdXBggf.js → index-CsC704zJ.js} +1 -1
- package/dist/assets/{index-CD9C31qH.js → index-DaYznKbB.js} +1139 -1139
- package/dist/assets/{lexical-CGMN4tXG.js → lexical-ljPdYVBl.js} +1 -1
- package/dist/assets/{liveblocks-BmXYR5uO.js → liveblocks-DBwZPvBF.js} +1 -1
- package/dist/assets/{lottie--pGIoexZ.js → lottie-C5JCvMhe.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXbOFz3E-B2Ak7MSh.js → mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D7hBnjRr-CKIvoT82.js → mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CQWxQdJu-DVoGqOiZ.js → mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-Cp7U4V8E.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js} +1 -1
- package/dist/assets/{mui-Fyk6sRCR.js → mui-Bw2IfcWM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CTsT95lG.js → page-detail-CWX5S47F-DCgjQUKs.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DyFeMuig.js → radio-default-CiSgisfh-CMhPvQFy.js} +1 -1
- package/dist/assets/{react-E7ETqwTX.js → react-BTUZdigh.js} +1 -1
- package/dist/assets/{react-8lAMKDVs.js → react-Bq5t9UIP.js} +1 -1
- package/dist/assets/{react-DywPl4iN.js → react-CuTu_wtR.js} +1 -1
- package/dist/assets/{react-OOqLEgIT.js → react-DI23iCmK.js} +2 -2
- package/dist/assets/{react-CZ_9akaZ.js → react-DfTnNNyV.js} +1 -1
- package/dist/assets/{react-89jLopxj.js → react-DhEFsene.js} +1 -1
- package/dist/assets/{react-CazNrypD.js → react-DjhBEada.js} +1 -1
- package/dist/assets/{react-Cw0TtY4U.js → react-VPdYhL5m.js} +1 -1
- package/dist/assets/{recharts-j_eh1fXg.js → recharts-DIy4CLtr.js} +1 -1
- package/dist/assets/{sentry-D4D7HRQR.js → sentry-Bp9GtzEp.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D9ihfdgR.js → shield-DOlUxcFf-ro31tcAp.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DcgESHck-B_zdOyxB.js +1 -0
- package/dist/assets/{toChartData-BlyUYoV7-C9pHYlA8.js → toChartData-BtwV0Kpo-LMyxiFZ7.js} +1 -1
- package/dist/assets/{uploadAttachment-BkEbu6k9-bZeXuHsS.js → uploadAttachment-C69IP2HG-CJ_0eQlo.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-CJawRdW-.js → uploadReceipts-CPw64UYa-udD8sJEF.js} +1 -1
- package/dist/assets/{url-DStI5MA9.js → url-4mfhlhYZ.js} +1 -1
- package/dist/assets/{url-BwHZRaSJ.js → url-FTiOcUfY.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BS3t10_q.js → useLongPress-GCK2COYQ-CjlFZNWU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DELeCmm4.js → usp-line-BBd1wKwW-Do2umI9p.js} +1 -1
- package/dist/assets/{utils-BTQ24URD.js → utils-CUkgdryf.js} +1 -1
- package/dist/assets/{zeni-epic-state-I555vKHy.js → zeni-epic-state-BxNqBiH-.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-B6jxAqA6-9vu_4su8.js +0 -18
- package/dist/assets/ChargeCardListPage-B2OEzCZI-CCU2g_19.js +0 -412
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-BqABNtl_.js +0 -565
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-VJ-ysRY-.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-QpsU1A7T.js +0 -202
- package/dist/assets/EntityDetailPage-DRZiqaCb-SJr1Sjms.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-De-C055y.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BUPqEaBD.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-DBuEAAQS.js +0 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-BNC2cwHM.js +0 -21
- package/dist/assets/StatementItem-_50yBwO1-DJ9419VA.js +0 -31
- package/dist/assets/SummaryCard-DUTikTiQ-BCjbo6uc.js +0 -1
- package/dist/assets/TreasuryStatementsPage-Cyj4xmLP-D0-9_DPv.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-ChcsccDW.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-BclAe3JQ.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-Dw216d8I.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-BUGNsMmW.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-D4qsZSGO.js +0 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-BrT8MKCJ.js +0 -1
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import{a8 as Za,aO as z,aw as er,fQ as tr,iK as W,q as Ee,o as a,d as ta,V as t,bA as ar,g2 as rr,fd as ie,b as D,bR as nt,p,aL as me,aN as V,aW as st,F as Fe,y as H,ai as q,R as ir,M as or,cU as nr,at as aa,bI as sr,a_ as ct,aR as dr,am as lt,a9 as cr,gP as lr,eo as ur,ao as hr,ac as mr,g8 as pr,n as Nt,c as _,d3 as ra,aq as Cr,al as gr,a as br,cT as fr,bu as xr,bT as yr}from"./index-DaYznKbB.js";import{a as l}from"./sentry-Bp9GtzEp.js";import{n as r,c as ut,k as Sr}from"./mui-Bw2IfcWM.js";import{EL as wr,G2 as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-BxNqBiH-.js";import{t as vr}from"./SpendManagementSection-4bPNXnAu-PYCo478F.js";import{D as oe,l as jr,r as Lr}from"./ChargeCardListTable-ddk5IppO-B_rZZ45Z.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js";import{N as Pr,J as Er}from"./PromoBaseCards-B2ZC8OUT-CxdovvbY.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-dHmjahEB-CtYWv6rs.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-Drco-tba.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./Menu-CCfXjS2S-nrC4lt1z.js";import"./RoleWithToolTip-BE5aZQ2g-BCdI84kh.js";import"./CardNumberSubText-CYyCmwah-DIXC0dk2.js";import"./NavigationDots-Dgudddqx-DYDn4vyu.js";import"./usp-line-BBd1wKwW-Do2umI9p.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]="4e27ce42-a48e-4ee6-912a-c80eb1cd5814",e._sentryDebugIdIdentifier="sentry-dbid-4e27ce42-a48e-4ee6-912a-c80eb1cd5814")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Ee(),A=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),A?null:t.jsx(Jr,{children:n})]}),!A&&t.jsxs(qr,{children:[t.jsx(Kr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Xr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Ee();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Zr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Pe.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
|
|
2
|
+
0% {
|
|
3
|
+
transform: translateY(0);
|
|
4
|
+
}
|
|
5
|
+
`;const d=c*3.5,n=.5,m=3;for(let F=1;F<c;F++){const $=F*(m+n)*100/d,U=$-n*100/d,B=-21*F;u+=`
|
|
6
|
+
${U}% {
|
|
7
|
+
transform: translateY(${B+21}px);
|
|
8
|
+
}
|
|
9
|
+
${$}% {
|
|
10
|
+
transform: translateY(${B}px);
|
|
11
|
+
}
|
|
12
|
+
`}return u+=`
|
|
13
|
+
${((c-1)*(m+n)+m)*100/d}% {
|
|
14
|
+
transform: translateY(${-21*(c-1)}px);
|
|
15
|
+
}
|
|
16
|
+
99.99% {
|
|
17
|
+
transform: translateY(${-21*c}px);
|
|
18
|
+
}
|
|
19
|
+
100% {
|
|
20
|
+
transform: translateY(0);
|
|
21
|
+
}
|
|
22
|
+
`,Sr`${u}`},zr=r.div`
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: ${a.sp3};
|
|
27
|
+
background-color: ${e=>e.cardPromoType==="debit"?e.theme.colors.brandColorOnyx:e.theme.colors.brandColorSapphireDark};
|
|
28
|
+
border-radius: 12px;
|
|
29
|
+
padding: ${a.sp4};
|
|
30
|
+
color: white;
|
|
31
|
+
min-width: ${e=>ht.cardsMinWidth.valuePx(e.windowSize)};
|
|
32
|
+
height: 188px;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
position: relative;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
flex-grow: 1;
|
|
38
|
+
flex-basis: 33.33%;
|
|
39
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
40
|
+
box-shadow: ${e=>e.theme.colors.elevation1};
|
|
41
|
+
${e=>e.cardPromoType==="debit"?ut`
|
|
42
|
+
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/MetalCardPattern.svg);
|
|
43
|
+
background-repeat: no-repeat;
|
|
44
|
+
background-position-x: -120px;
|
|
45
|
+
background-position-y: -54px;
|
|
46
|
+
`:null}
|
|
47
|
+
`,Or=r.div`
|
|
48
|
+
background-color: ${e=>e.cardType==="debitCard"?e.theme.colors.brandColorOnyx:e.theme.colors.brandColorSapphire};
|
|
49
|
+
border-radius: 12px;
|
|
50
|
+
padding: ${a.sp4};
|
|
51
|
+
color: white;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
position: relative;
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
min-width: ${e=>ht.cardsMinWidth.valuePx(e.windowSize)};
|
|
56
|
+
height: 188px;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/promo-list-pattern.svg);
|
|
59
|
+
background-repeat: no-repeat;
|
|
60
|
+
background-position: bottom right;
|
|
61
|
+
align-self: stretch;
|
|
62
|
+
flex-grow: 1;
|
|
63
|
+
flex-basis: 33.33%;
|
|
64
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
65
|
+
box-shadow: ${e=>e.theme.colors.elevation1};
|
|
66
|
+
`,ia=r.div`
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
align-items: flex-start;
|
|
70
|
+
gap: ${e=>e.isStatusMode===!0?"38px":a.sp5};
|
|
71
|
+
`,_r=r(ia)`
|
|
72
|
+
flex-direction: row;
|
|
73
|
+
justify-content: space-between;
|
|
74
|
+
`,oa=r(ra)`
|
|
75
|
+
color: ${e=>e.theme.colors.brandColorGold};
|
|
76
|
+
`,Ur=r(ra)`
|
|
77
|
+
color: ${e=>e.theme.colors.brandColorGold};
|
|
78
|
+
text-transform: uppercase;
|
|
79
|
+
`,Vr=r(q)`
|
|
80
|
+
color: ${p.neutralGrey5Light};
|
|
81
|
+
max-width: ${e=>e.status==="rejected"?"188px":"200px"};
|
|
82
|
+
`,Wr=r(br)`
|
|
83
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
84
|
+
`,Hr=r(Cr)`
|
|
85
|
+
color: ${p.neutralGrey5Light};
|
|
86
|
+
white-space: pre-line;
|
|
87
|
+
`,Gr=r.div`
|
|
88
|
+
width: auto;
|
|
89
|
+
text-align: left;
|
|
90
|
+
`,Jr=r(q)`
|
|
91
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
92
|
+
`,qr=r.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: ${a.sp2};
|
|
96
|
+
height: 21px;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
`,dt=r(q)`
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
position: relative;
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
align-self: baseline;
|
|
105
|
+
width: 224px;
|
|
106
|
+
${e=>ut`
|
|
107
|
+
animation: ${Nr(e.slideUpCount)}
|
|
108
|
+
${(e.slideUpCount-1)*3.5}s ease-out infinite;
|
|
109
|
+
`}
|
|
110
|
+
`,na=r.div`
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
align-items: flex-start;
|
|
114
|
+
`,Kr=r(fr)`
|
|
115
|
+
width: ${a.sp3};
|
|
116
|
+
height: ${a.sp3};
|
|
117
|
+
color: ${p.success};
|
|
118
|
+
border-radius: 50%;
|
|
119
|
+
`,Yr=r(xr)`
|
|
120
|
+
width: ${a.sp4};
|
|
121
|
+
height: ${a.sp4};
|
|
122
|
+
color: ${e=>e.theme.colors.brandColorJade};
|
|
123
|
+
margin-left: ${a.sp3};
|
|
124
|
+
`,Xr=r.div`
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: ${e=>e.isStatusMode===!0?a.sp5:a.sp2};
|
|
127
|
+
right: -29px;
|
|
128
|
+
`,Qr=r.div`
|
|
129
|
+
position: absolute;
|
|
130
|
+
top: ${e=>e.isStatusMode===!0?a.sp9:"37px"};
|
|
131
|
+
right: -46px;
|
|
132
|
+
`,sa=r.div``,Zr=r.div`
|
|
133
|
+
border: 1px solid ${p.neutralGrey5Light};
|
|
134
|
+
border-radius: ${a.sp12};
|
|
135
|
+
width: fit-content;
|
|
136
|
+
justify-self: ${e=>e.windowSize==="small"?"flex-start":"flex-end"};
|
|
137
|
+
margin-top: ${a.sp1};
|
|
138
|
+
padding: ${a.sp0} ${a.sp2};
|
|
139
|
+
`,ei=r(lt)`
|
|
140
|
+
color: ${p.neutralGrey5Light};
|
|
141
|
+
margin-top: ${e=>ht.infoSubheadingTextMarginTop.valuePx(e.windowSize)};
|
|
142
|
+
gap: ${a.sp1};
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
`,ti=r(ct)`
|
|
147
|
+
color: ${p.neutralGrey5Light};
|
|
148
|
+
width: ${a.sp2};
|
|
149
|
+
height: ${a.sp2};
|
|
150
|
+
`,ai=r.div`
|
|
151
|
+
display: flex;
|
|
152
|
+
flex-direction: column;
|
|
153
|
+
align-items: flex-end;
|
|
154
|
+
`,ri=r(lt)`
|
|
155
|
+
color: ${p.neutralGrey5Light};
|
|
156
|
+
`,ii=r(gr)`
|
|
157
|
+
color: ${p.neutralGrey5Light};
|
|
158
|
+
`,he="spendLimit",J=Fe.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup;function oi({currentSpentAmount:e,hasCreditCard:c,hasDebitCard:u,maxLimitAmountForCreditCard:d,maxLimitAmountForDebitCard:n,isDisabled:m,updateLimitFetchState:F,onCancelClick:$,onSubmitClick:U}){const B=Ee(),A="SpendLimitForm",G=cr({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[he]:void 0}}),{control:ne,formState:{errors:se}}=G,[Te,Me]=l.useState(void 0),y=lr({control:ne,name:he}),De=()=>{$()},Re=G.handleSubmit(()=>{const w=G.getValues(he);w!=null&&U(w)}),S=ur(se,he),I=Fe.getLocalizedStrings().common,P=Ae.largeLabelWidth.value(B);return l.useEffect(()=>{Me(ni(e,c,u,d,n,y))},[y,e,d,n,c,u]),t.jsx(si,{windowSize:B,role:"presentation",children:t.jsx(hr,{onClickAway:()=>$(),children:t.jsxs(di,{windowSize:B,children:[t.jsx(mr,{...G,children:t.jsxs(pi,{id:A,onSubmit:w=>{w.preventDefault(),Re()},children:[t.jsx(ci,{windowSize:B,children:J.heading}),t.jsx(mi,{hasError:S,children:t.jsx(pr,{label:{label:J.newLimit,width:P},showAdditionalInfoLabel:S,additionalInfoLabel:Te,formattedTextField:{type:"number",name:he,defaultValue:void 0,placeholder:J.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>{if(!w||w<=0||w<=e.amount)return!1;if(u&&c&&n!=null&&d!=null){const K=Math.min(n.amount,d.amount);if(w>K)return!1}else if(u&&n!=null&&w>n.amount||c&&d!=null&&w>d.amount)return!1;return!0}},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1})})]})}),t.jsx(hi,{children:t.jsxs(li,{children:[t.jsx(Nt,{label:I.cancel,onClick:De,style:{width:84}}),t.jsx(ui,{}),t.jsx(Nt,{variant:"primary",label:I.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:F==="In-Progress",type:"submit",form:A,disabled:m})]})})]})})})}const ni=(e,c,u,d,n,m)=>{if(m!=null){if(m<=e.amount)return J.amountBelowErrorBulk;if(u&&c&&n!=null&&d!=null){const F=Math.min(n.amount,d.amount);if(m>F){const $=n.amount<d.amount?"debit":"credit",U=n.amount<d.amount?n:d;return J.maxLimitForCardTypeError.replace("_card_type_",$).replace("_amount_",me("0,0.[00]",U))}}else{if(u&&n!=null&&m>n.amount)return J.maxLimitForCardTypeError.replace("_card_type_","debit").replace("_amount_",me("0,0.[00]",n));if(c&&d!=null&&m>d.amount)return J.maxLimitForCardTypeError.replace("_card_type_","credit").replace("_amount_",me("0,0.[00]",d))}}},Ae={width:new H(343,500,500),largeLabelWidth:new H(108,108,108),popupLeftRightPadding:new H(_[5],_[6]),popupTopBottomPadding:new H(_[5],_[5])},si=r.div`
|
|
159
|
+
position: fixed;
|
|
160
|
+
top: ${a.sp0};
|
|
161
|
+
left: ${a.sp0};
|
|
162
|
+
width: 100%;
|
|
163
|
+
z-index: 100;
|
|
164
|
+
height: 100%;
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
167
|
+
align-items: center;
|
|
168
|
+
background: ${p.overlayDark};
|
|
169
|
+
`,di=r.div`
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: column;
|
|
172
|
+
justify-content: space-between;
|
|
173
|
+
flex-wrap: wrap;
|
|
174
|
+
align-items: center;
|
|
175
|
+
text-align: center;
|
|
176
|
+
background: ${e=>e.theme.colors.grey4};
|
|
177
|
+
border-radius: ${a.sp2};
|
|
178
|
+
position: relative;
|
|
179
|
+
margin: auto;
|
|
180
|
+
width: ${e=>Ae.width.valuePx(e.windowSize)};
|
|
181
|
+
padding: ${e=>`${Ae.popupTopBottomPadding.valuePx(e.windowSize)} ${Ae.popupLeftRightPadding.valuePx(e.windowSize)}`};
|
|
182
|
+
box-sizing: border-box;
|
|
183
|
+
`,ci=r(yr)`
|
|
184
|
+
color: ${e=>e.theme.colors.primary};
|
|
185
|
+
margin-bottom: ${a.sp3};
|
|
186
|
+
`,li=r.div`
|
|
187
|
+
display: flex;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
padding-top: ${a.sp4};
|
|
190
|
+
`,ui=r.div`
|
|
191
|
+
width: ${a.sp3};
|
|
192
|
+
`,hi=r.div`
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
`,mi=r.div`
|
|
196
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
197
|
+
box-shadow: ${e=>`${a.sp0} 1px 2px ${a.sp0} ${e.theme.colors.issueChargeCardBackgroundShadow}`};
|
|
198
|
+
border-radius: ${a.sp2};
|
|
199
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
200
|
+
width: 100%;
|
|
201
|
+
:hover {
|
|
202
|
+
border: ${e=>`1px solid ${e.theme.colors.primary}`};
|
|
203
|
+
input {
|
|
204
|
+
background-color: ${e=>e.hasError?p.importantLight:e.theme.colors.background} !important;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
`,pi=r.form`
|
|
208
|
+
display: contents;
|
|
209
|
+
`,pe={contentContainerMargin:new H(_[3],_[4],_[8]),infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ci={remainingText:new ir("largeRegular","largeRegular")},{spendManagement:{chargeCard:{payEarly:x,cardList:O,chargeCardsPromo:b}},common:R,dateFormat:je}=Fe.getLocalizedStrings(),Co=({chargeCardListView:e,searchText:c,admins:u,companyLegalName:d,onFetchChargeCardsRecurringExpenses:n,onFetchDepositAccountLimit:m,onCloseChargeCard:F,onCloseChargeCardList:$,onLockChargeCard:U,onLockChargeCardList:B,onUnlockChargeCardList:A,updateChargeCardListSpendLimit:G,onUpdateSpendLimit:ne,isCardControlsEnabled:se,isCashbackFeatureEnabled:Te,creditCardPayNowThreshold:Me,isChargeCardFeatureEnabled:y,isCompanyInterestedInChargeCard:De,isCreditCardProductVisibleForExpressInterest:Re,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:I,isChargeCardSetupEnabled:P,companyChargeCardInfoCreditAccountLimit:w,controllerEmails:K,onRevokeChargeCardList:mt,depositAccountListWithDebitCardIssued:N,chargeCardCashbackDetailState:v,uiState:la,signedInUser:Be,creditLimit:Ce,cashbackRate:Ne,onSearchTextChanged:ua,navigateToCreditCardPaymentHistoryPage:ha,onClickSetupIcon:ma,isChargeCardPaymentHistoryFeatureEnabled:pa,isEarlyPayEnabled:de,onClickStatementsIcon:Ca,onChargeCardRowClick:ga,updateChargeCardName:ba,onChargeCardResendInviteClick:fa,onChargeCardRevokeInviteClick:pt,onUnlockChargeCard:Ct,onIssueCardClick:xa,onBackClick:ya,onReloadCards:Sa,onTotalCashbackClick:wa,onColumnSortConfigChanged:ka,onClickMenuIcon:$a,onPromoCardClick:gt,onCreateNowClick:bt,showPayNowInfoTooltip:Ia,navigateToCreditCardPaymentPage:ge,shouldShowPayNowInfoTooltip:ze,rowActionView:o,bulkActionView:h,onSetRowActionCardId:Oe,onSetBulkActionCardIds:j})=>{const be=Za().analytics,[ft,va]=l.useState(!1),[_e,fe]=l.useState(!1),[Ue,xe]=l.useState(!1),[ja,Y]=l.useState(!1),[La,X]=l.useState(!1),[Aa,ye]=l.useState(!1),[Ve,We]=l.useState(!1),[He,Ge]=l.useState(!1),[Je,xt]=l.useState(void 0),Pa=h.chargeCards[0]?.status.code,{creditAccount:g,creditAccountRepayment:L}=e,E=l.useCallback(()=>{Oe(void 0),xt(void 0)},[Oe]),T=h.chargeCards,Ea=l.useMemo(()=>T.length===0?void 0:T.reduce((i,s)=>s.balance.amount>i.balance.amount?s:i,T[0]).balance,[T]),Fa=l.useMemo(()=>{const i=T.filter(f=>f.type.code.includes("debit"));if(i.length===0)return;const s=i.map(f=>N.depositAccounts.find(re=>re.id===f.connectedAccountId)?.cardLimits.dailyCardTransactionLimit).filter(f=>f!==void 0);return s.length===0?void 0:s.reduce((f,re)=>re.amount<f.amount?re:f)},[T,N.depositAccounts]),yt=z(e.unlockChargeCardsFetchState.fetchState),St=z(e.revokeChargeCardsInviteFetchState.fetchState),wt=z(e.lockChargeCardsFetchState.fetchState),kt=z(e.closeChargeCardsFetchState.fetchState),$t=z(e.updateChargeCardsSpendLimitFetchState.fetchState);l.useEffect(()=>{const i=yt==="In-Progress"&&e.unlockChargeCardsFetchState.fetchState==="Completed",s=St==="In-Progress"&&e.revokeChargeCardsInviteFetchState.fetchState==="Completed",f=wt==="In-Progress"&&e.lockChargeCardsFetchState.fetchState==="Completed",re=kt==="In-Progress"&&e.closeChargeCardsFetchState.fetchState==="Completed",Qa=$t==="In-Progress"&&e.updateChargeCardsSpendLimitFetchState.fetchState==="Completed";(i||s)&&j([]),f&&(Y(!1),j([])),re&&(X(!1),j([])),Qa&&(ye(!1),j([]))},[e.unlockChargeCardsFetchState.fetchState,e.revokeChargeCardsInviteFetchState.fetchState,e.lockChargeCardsFetchState.fetchState,e.closeChargeCardsFetchState.fetchState,e.updateChargeCardsSpendLimitFetchState.fetchState,yt,St,wt,kt,$t,j]);const Q=o.cardId!=null?o.unlockChargeCardsFetchState.fetchState:void 0,It=z(Q),qe=o.cardId!=null?o.updateChargeCardLimitFetchState.fetchState:void 0,vt=z(qe),Ke=o.cardId!=null?o.updateChargeCardNameFetchState.fetchState:void 0,jt=z(Ke),Ye=o.cardId!=null?o.lockChargeCardsFetchState.fetchState:void 0,Lt=z(Ye),Xe=o.cardId!=null?o.closeChargeCardsFetchState.fetchState:void 0,At=z(Xe),Z=o.cardId!=null?o.revokeChargeCardFetchState.fetchState:void 0,Pt=z(Z);l.useEffect(()=>{o.cardId!=null&&It==="In-Progress"&&Q==="Completed"?E():o.cardId!=null&&vt==="In-Progress"&&qe==="Completed"?(Ge(!1),E()):o.cardId!=null&&jt==="In-Progress"&&Ke==="Completed"?(We(!1),E()):o.cardId!=null&&Lt==="In-Progress"&&Ye==="Completed"?(fe(!1),E()):o.cardId!=null&&At==="In-Progress"&&Xe==="Completed"?(xe(!1),E()):o.cardId!=null&&Pt==="In-Progress"&&Z==="Completed"&&E()},[o.cardId,Q,qe,Ke,Ye,Xe,Z,It,jt,vt,Lt,At,Pt,E]);const Ta=l.useCallback(i=>{switch(i){case"close":n(h.bulkActionCardIds),X(!0);break;case"lock":n(h.bulkActionCardIds),Y(!0);break;case"unlock":A(h.bulkActionCardIds);break;case"update_limit":ye(!0);break;case"revoke_invite":mt(h.bulkActionCardIds);break}},[h.bulkActionCardIds,n,mt,A]),C=o.chargeCard;l.useEffect(()=>{if(!(Je===void 0||o.cardId===void 0||C===void 0))switch(Je){case oe.CLOSE:Ue||(n([o.cardId]),xe(!0));break;case oe.LOCK:_e||(n([o.cardId]),fe(!0));break;case oe.UNLOCK:Q!=="In-Progress"&&Q!=="Completed"&&Ct(o.cardId);break;case oe.REVOKE_INVITE:Z!=="In-Progress"&&Z!=="Completed"&&pt(o.cardId);break;case oe.RENAME:Ve||We(!0);break;case oe.UPDATE_SPEND_LIMIT:He||(C.type.code.includes("debit")&&o.depositAccountLimitFetchState.fetchState!=="Completed"&&m(C.connectedAccountId,o.cardId),Ge(!0));break}},[Je,o.cardId,He,Ve,Ue,_e,Q,Z,n,m,Ct,pt]);const Qe=er(),ee=!!Qe.loggedInUserRole.includes("charge_card_user"),Se=tr(Qe),k=wr(Qe.loggedInUserRoleMap),te=l.useMemo(()=>k===!0?{creditCardCashbackOffer:`${v.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${v.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:W(v.cashbackSummary.cashbackEarned.amount),redeemedCashback:W(v.cashbackSummary.cashbackRedeemed.amount),availableCashback:W(v.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:v.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:v.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,[k,v.cashbackAnalytics.creditCardCashbackOffer,v.cashbackAnalytics.debitCardCashbackOffer,v.cashbackSummary.cashbackEarned.amount,v.cashbackSummary.cashbackRedeemed.amount,v.cashbackSummary.cashbackAvailable.amount,v.cashbackAnalytics.creditCardCashbackRedemptionMode,v.cashbackAnalytics.debitCardCashbackRedemptionMode]),we=l.useMemo(()=>y&&P&&k===!0?{creditAccountId:g.id,creditAccountLimit:W(g.limit.amount),creditAccountAvailableAmount:W(g.available.amount),creditAccountSpentAmount:W(g.balance.amount+g.hold.amount),creditAccountStatus:g.status,outstandingBalance:W(L.remainingAmountDue.amount)}:void 0,[y,P,k,g.id,g.limit.amount,g.available.amount,g.balance.amount,g.hold.amount,g.status,L.remainingAmountDue.amount]),ke=l.useMemo(()=>S&&I?{debitAccountId:N.depositAccounts.map(i=>i.id),debitAccountName:N.depositAccounts.map(i=>i.accountName),debitAccountBalance:N.depositAccounts.map(i=>W(i.accountBalance.available.amount)),debitCardsSpend:W(e.debitCardSummary?.currentMonthSpends?.amount??0),debitAccountStatus:N.depositAccounts.map(i=>i.accountStatus)}:void 0,[S,I,N.depositAccounts,e.debitCardSummary?.currentMonthSpends?.amount]),$e={isCreditCardOffered:y,isDebitCardOffered:S,isDebitCardEnabled:I,isCreditCardEnabled:P},Ma=i=>{va(i),i===!0&&(be.trackCardsListPageClicked("search"),(!y||g.fetchState==="Completed"&&L.fetchState==="Completed")&&(!(S&&I)||N.fetchState==="Completed")&&te!=null&&be.trackCardsCardListSearchClick(K,$e,te,we,ke))},M=Ee(),Et=Se&&!k,Ft=e.creditAccount.balance.amount+e.creditAccount.hold.amount,ce={amount:Ft,currencyCode:e.creditAccount.balance.currencyCode,currencySymbol:e.creditAccount.balance.currencySymbol},Ze=Math.round(ce.amount*100/e.creditAccount.limit.amount),Da=isNaN(Ze)?0:Ft!==0&&Ze===0?1:Ze,le=e.chargeCardConfig.rePaymentInfo?.cardLimitResetDate,et=k&&ce.amount>Me*e.creditAccount.limit.amount/100,ue=le!=null&&L.initiatedRepayments.amount>0,Ra={entity:"charge_cards",showNewButtonOnNavbar:k,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:k?O.newBtnLabel:R.strings.empty,hideSearchBtn:ee,searchTextBoxStyle:{right:Et?a.sp4:"96px"},moreIconContainerStyle:{paddingRight:Et?a.sp0:a.sp4},isSearchOpen:ft,searchPlaceHolder:O.searchPlaceHolder,searchText:c,showSettingsIcon:!ee,showSettingsIconOnNavbar:k,showStatementButtonOnNavbar:y&&P,showPayEarlyButtonOnNavbar:de&&k&&ce.amount>0&&!ue&&!et,showPaymentHistoryButtonOnNavbar:k&&pa&&y&&P,onClickPaymentHistoryIcon:ha,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,analytics:be,onSearchOpen:Ma,onSearchTextChanged:ua,onClickSetupIcon:ma,onClickStatementsIcon:Ca,downloadState:"Not-Started",onNewButtonClick:xa,onClickPayEarlyIcon:()=>ge("More Button","Pay Early"),onMenuOpen:()=>{(!y||g.fetchState==="Completed"&&L.fetchState==="Completed")&&(!(S&&I)||N.fetchState==="Completed")&&te!=null&&be.trackCardsCardListMoreMenuClick(K,$e,te,we,ke)},filters:{categoryCombinationOperator:"AND",categories:[]}},Ba=t.jsx(vr,{spendManagementSectionProps:Ra}),Na=e.cards.length===0?!1:ee&&kr(e.cards),za=e.fetchState==="Completed"?ki({isChargeCardFeatureEnabled:y,isChargeCardSetupEnabled:P,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:I}):"",Ie=e.debitCardSummary!=null?e.debitCardSummary.currentMonthSpends.amount-e.debitCardSummary.lastCompletedMonthSpends.amount:0,Oa=y&&P&&e.hasCreditCard,_a=S&&I&&e.hasDebitCard,Ua=y&&P&&Se&&!k,Va=S&&I&&Se&&!k,ve=e.chargeCardConfig.rePaymentInfo?.rePaymentDueDate?.diff(zt(),"days")??0,tt=[x.payNow,ve>0&&ve<11?`${x.billDueIn} ${ve} ${ve===1?R.timeStrings.day:R.timeStrings.days}`:x.creditLimitLow,x.payNow],at=L.initiatedRepayments.amount===g.balance.amount+g.hold.amount,Tt=L.paymentMethod==="ACH",rt=[x.paymentInitiated,`${O.header.limit} ${at?R.resets:R.updates} ${R.by} ${$r(Ir(L.initiatedRepaymentDate?.toDate()??zt().toDate(),[0,6],Tt?3:1).toDateString()).format(je.visual.MMMDFormat)}`,x.paymentInitiated],it=l.useRef(null),ot=l.useRef(null),Wa=ta(),[Ha,Mt]=l.useState(!0);l.useEffect(()=>{const i=()=>{ot.current&&(ot.current.getBoundingClientRect().top<(M==="small"?68:40)?Mt(!1):Mt(!0))};i();const s=()=>{i()},f=it.current;return f&&f.addEventListener("scroll",s),window.addEventListener("scroll",s),()=>{f&&f.removeEventListener("scroll",s),window.removeEventListener("scroll",s)}},[M]);const Ga=i=>{const s=i.reasonType==="other"?i.reason:i.reasonType;o.cardId!=null&&F(o.cardId,s)},Ja=i=>{const s=i.reasonType==="other"?i.reason:i.reasonType;o.cardId!=null&&U(o.cardId,s)},qa=i=>{const s=i.reasonType==="other"?i.reason:i.reasonType;$(h.bulkActionCardIds,s)},Ka=i=>{const s=i.reasonType==="other"?i.reason:i.reasonType;B(h.bulkActionCardIds,s)},ae=l.useMemo(()=>{const i={};return h.chargeCards.forEach(s=>{i[s.id]=s}),{chargeCardsByCardId:i,cardRecurringExpensesByCardId:h.recurringExpensesByCardId,fetchState:h.recurringExpensesFetchState.fetchState}},[h]),Ya=l.useCallback(()=>{n(h.bulkActionCardIds),Y(!0)},[h.bulkActionCardIds,n]),Xa=l.useCallback(()=>{n(h.bulkActionCardIds),X(!0)},[h.bulkActionCardIds,n]),Dt=l.useCallback(i=>{const s=h.bulkActionCardIds.filter(f=>f!==i);j(s),s.length===0&&(Y(!1),X(!1))},[h.bulkActionCardIds,j]),Rt=De&&w===0,Bt=w===-1;return t.jsxs(Ei,{ref:it,children:[t.jsx(ar,{title:za,showBackButton:!0,showMenuIcon:M==="medium-compact"||M==="small",onClickMenuIcon:$a,style:{zIndex:3},onBackClick:ya,rightSideComponent:Ba,isSearchOpen:ft,hideSearchBtn:ee,scrollableContent:it,source:"ChargeCardListPage",backgroundColor:Wa.colors.grey4}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?t.jsx(rr,{fetchState:e.fetchState,styles:{margin:"auto"}}):t.jsxs(t.Fragment,{children:[ee?null:t.jsxs(Fi,{windowSize:M,children:[Oa||Ua?t.jsxs(qt,{windowSize:M,"data-testid":V("credit-card-spend-bar-container"),children:[t.jsxs(Qt,{children:[t.jsxs(Zt,{children:[t.jsxs(ea,{children:[t.jsx(Yt,{children:O.creditCardBalance}),t.jsx(ie,{amount:ce,integerStyles:{...D.h5Regular.cssObject},decimalStyles:{...D.largeSemiBold.cssObject}})]}),t.jsxs(ji,{children:[t.jsx(Le,{style:{textAlign:"end"},children:R.texts.limit}),t.jsx(ie,{amount:e.creditAccount.limit,style:{justifyContent:"end"},integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject})]})]}),t.jsx(zi,{children:t.jsx(Oi,{style:{width:`${Da}%`,borderRadius:a.sp1}})}),et&&!ue&&de?t.jsx(nt,{placement:"bottom",style:{color:p.heroDark,padding:`12px ${a.sp3}`},title:t.jsx(Si,{children:x.creditLimitIsRunningLow}),children:t.jsxs(Kt,{children:[t.jsx(ie,{amount:e.creditAccount.available,integerStyles:D.largeMedium.cssObject,decimalStyles:D.smallMedium.cssObject}),t.jsx(Xt,{windowSize:M,children:R.texts.remaining}),t.jsx(wi,{children:t.jsx(yi,{})})]})}):t.jsxs(Kt,{children:[t.jsx(ie,{amount:e.creditAccount.available,integerStyles:D.largeMedium.cssObject,decimalStyles:D.smallMedium.cssObject}),t.jsx(Xt,{windowSize:M,children:R.texts.remaining})]})]}),t.jsxs(Li,{showPaymentInitiatedInfo:ue,isEarlyPayEnabled:de,children:[ue&&de?null:t.jsx(Le,{children:`${R.texts.limitReset} ${le!=null?le.format(je.visual.MMMDFormat):null}`}),k&&de&&(ue?t.jsx("div",{children:t.jsx(nt,{maxWidth:"242px",style:{padding:`12px ${a.sp3}`},title:t.jsxs($i,{children:[t.jsx(Jt,{children:`${x.paymentOf} ${me("0,0.[00]",{amount:L.initiatedRepayments.amount,currencyCode:L.initiatedRepayments.currencyCode,currencySymbol:L.initiatedRepayments.currencySymbol})} ${x.madeOn} `}),t.jsx(Ii,{children:L.initiatedRepaymentDate?.format(je.visual.MMMDFormat)}),R.strings.space,t.jsx(Jt,{children:Tt?at?x.isProcessingAndWillResetTheCreditLimitIn23BusinessDays:x.isProcessingAndWillUpdateTheCreditLimitIn23BusinessDays:at?x.isProcessingAndWillResetTheCreditLimitIn1BusinessDay:x.isProcessingAndWillUpdateTheCreditLimitIn1BusinessDay})]}),placement:"bottom",children:t.jsxs(Wt,{hasPointer:!1,children:[rt.length>0&&t.jsx(dt,{slideUpCount:rt.length,style:{alignItems:"flex-end",width:"auto"},children:rt.map((i,s)=>t.jsx(bi,{children:i},`card-payment-initiated-${s.toString()}`))}),t.jsx(xi,{})]})})}):et?t.jsx(nt,{variant:"informative",arrow:!0,style:{top:a.sp2,left:"22px",position:"relative"},data:{preHeading:"URGENT",heading:x.creditLimitIsLow,description:x.transactionsMayBeDeclinedBecauseTheCreditLimitIsRunningLow,buttonText:x.payNow,tooltipContentStyle:{width:"240px",boxSizing:"content-box",gap:a.sp0},tooltipIntroductionStyle:{color:p.important},buttonStyle:{width:"31%"},onButtonClick:()=>{ze(!1),ge("Toast Button","Pay Now")},showCloseButton:!0,onClose:i=>{i.preventDefault(),i.stopPropagation(),ze(!1)}},title:"informative",placement:"bottom-end",open:Ia&&Ha,children:t.jsxs(Wt,{ref:ot,onClick:()=>{ze(!1),ge("Text Button","Pay Now")},hasPointer:!0,children:[tt.length>0&&t.jsx(dt,{slideUpCount:tt.length,style:{alignItems:"flex-end",width:"auto"},children:tt.map((i,s)=>t.jsx(gi,{isImportant:s===1,children:i},`card-pay-now-${s.toString()}`))}),t.jsx(Ht,{})]})}):ce.amount>0?t.jsxs(fi,{onClick:()=>ge("Text Button","Pay Early"),children:[x.payEarly,t.jsx(Ht,{})]}):null)]})]}):y&&P?t.jsx(Vt,{cardType:"creditCard","data-testid":V("card-list-page-promo-card-back","credit"),header:b.listPage.spendSmarter,title:b.listPage.setUpText.replace("__cardType__",b.listPage.credit),creditLimit:st("0,0",Ce.amount,Ce.currencySymbol),onCreateNowClick:bt}):Re?t.jsx(Ut,{cardPromoType:"credit","data-testid":V("card-list-page-promo-card","credit"),cardText:b.listPage.creditCards,header:b.listPage.getAccessTo,title:b.listPage.creditCards,subTitle:b.listPage.promoSubText.credit,slidingTextList:Gt("credit",Ne,{amount:w,currencyCode:Ce.currencyCode,currencySymbol:Ce.currencySymbol}),onClick:gt,status:Bt?"rejected":Rt?"under_review":void 0,statusMessage:Bt?b.listPage.status.rejectedMessage:Rt?b.listPage.status.underReviewMessage:void 0}):null,_a||Va?t.jsxs(qt,{windowSize:M,"data-testid":V("debit-spend-bar-container"),children:[t.jsxs(Qt,{children:[t.jsx(Zt,{children:t.jsxs(ea,{children:[t.jsx(Yt,{children:O.debitCardSpend}),t.jsx(ie,{amount:e.debitCardSummary?.currentMonthSpends,integerStyles:{...D.h5Regular.cssObject},decimalStyles:{...D.largeSemiBold.cssObject}})]})}),t.jsx(Mi,{children:Ie!==0?t.jsxs(t.Fragment,{children:[Ie<0?t.jsx(Ri,{}):t.jsx(Bi,{}),t.jsx(Di,{hasNegativeValue:Ie<0,children:st("0,0.00",Ie,e.debitCardSummary?.currentMonthSpends.currencySymbol)}),t.jsx(ca,{children:O.compareToLastMonth})]}):null})]}),t.jsx(da,{children:t.jsx(Le,{children:`${R.texts.limitReset} ${le!=null?le.format(je.visual.MMMDFormat):null}`})})]}):S&&I?t.jsx(Vt,{cardType:"debitCard","data-testid":V("card-list-page-promo-card-back","debit"),header:b.listPage.spendSmarter,title:b.listPage.setUpText.replace("__cardType__",b.listPage.debit),onCreateNowClick:bt}):S?t.jsx(Ut,{cardPromoType:"debit","data-testid":V("card-list-page-promo-card","debit"),cardText:b.listPage.debitCards,header:b.listPage.getAccessTo,title:b.listPage.debitCards,subTitle:b.listPage.promoSubText.debit,slidingTextList:Gt("debit",Ne),onClick:gt}):null,t.jsxs(Ti,{windowSize:M,"data-testid":V("credit-spend-info-container"),children:[Te?t.jsxs(vi,{children:[t.jsx(Le,{style:{textAlign:"start"},children:O.totalCashback}),t.jsx(ie,{amount:e.totalCashback,style:{justifyContent:"flex-start"},integerStyles:D.h5Regular.cssObject,decimalStyles:D.smallSemiBold.cssObject}),e.totalCashback.amount>0?t.jsx(Pi,{windowSize:M,children:t.jsxs(Ni,{windowSize:M,onClick:wa,"data-testid":V("total-cashback-info"),children:[t.jsx(Ai,{children:O.overview}),t.jsx(_i,{})]})}):null]}):null,t.jsx(Vi,{children:t.jsx(Wi,{})})]})]}),e.cards.length===0&&ee===!0||Na?t.jsx(Ui,{children:t.jsx(Ar,{companyLegalName:d,cards:e.cards,admins:u,hasZeniFinopsRoles:Se,cashbackRate:Ne})}):t.jsxs(t.Fragment,{children:[Ue&&o.cardId!=null&&C&&t.jsx(Ot,{showCloseCardDrawer:!0,onCloseCloseCardDrawer:()=>{xe(!1),E()},isChargeCardAdmin:!0,chargeCardsByCardId:{[o.cardId]:C},cardRecurringExpensesByCardId:{[o.cardId]:o.recurringExpenses},cardRecurringExpenseFetchState:o.recurringExpensesFetchState.fetchState,closeCardFetchState:o.closeChargeCardsFetchState.fetchState,onConfirmClick:Ga,onDismissClick:()=>{xe(!1),E()},onRemoveCardClick:()=>{}}),_e&&o.cardId!=null&&C&&t.jsx(_t,{showLockCardDrawer:!0,onCloseLockCardDrawer:()=>{fe(!1),E()},isChargeCardAdmin:!0,chargeCardsByCardId:{[o.cardId]:C},cardRecurringExpensesByCardId:{[o.cardId]:o.recurringExpenses},cardRecurringExpenseFetchState:o.recurringExpensesFetchState.fetchState,lockCardFetchState:o.lockChargeCardsFetchState.fetchState,onConfirmClick:Ja,onDismissClick:()=>{fe(!1),E()},onRemoveCardClick:()=>{}}),La&&h.bulkActionCardIds.length>0&&t.jsx(Ot,{showCloseCardDrawer:!0,onCloseCloseCardDrawer:()=>{X(!1),j([])},isChargeCardAdmin:!0,chargeCardsByCardId:ae.chargeCardsByCardId,cardRecurringExpensesByCardId:ae.cardRecurringExpensesByCardId,cardRecurringExpenseFetchState:ae.fetchState,closeCardFetchState:e.closeChargeCardsFetchState.fetchState,onConfirmClick:qa,onDismissClick:()=>{X(!1),j([])},onRemoveCardClick:Dt}),ja&&h.bulkActionCardIds.length>0&&t.jsx(_t,{showLockCardDrawer:!0,onCloseLockCardDrawer:()=>{Y(!1),j([])},isChargeCardAdmin:!0,chargeCardsByCardId:ae.chargeCardsByCardId,cardRecurringExpensesByCardId:ae.cardRecurringExpensesByCardId,cardRecurringExpenseFetchState:ae.fetchState,lockCardFetchState:e.lockChargeCardsFetchState.fetchState,onConfirmClick:Ka,onDismissClick:()=>{Y(!1),j([])},onRemoveCardClick:Dt}),Ve&&o.cardId!=null&&C&&t.jsx(Fr,{currentCardName:C.cardName,renameFetchState:o.updateChargeCardNameFetchState.fetchState,onCancelClick:()=>{We(!1),E()},onSubmitClick:i=>{o.cardId!=null&&ba(o.cardId,i)}}),He&&o.cardId!=null&&C&&t.jsx(Tr,{controllerEmails:K,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:I,isChargeCardSetupEnabled:P,productInformation:$e,cashbackInformation:te,creditAccountInformation:we,debitAccountInformation:ke,cardDetail:C,depositAccountLimitFetchState:o.depositAccountLimitFetchState.fetchState,creditAccount:g,creditAccountRepayment:L,signedInUser:Be,isDebitCard:C.type.code.includes("debit"),classListFetchState:"Not-Started",currentLimitAmount:C.limit,currentSpentAmount:C.balance,maxLimitAmount:C.type.code.includes("debit")?o.depositAccountLimit?.cardLimits.dailyCardTransactionLimit:g.limit,isDisabled:C.type.code.includes("debit")&&o.depositAccountLimitFetchState.fetchState!=="Completed",updateLimitFetchState:o.updateChargeCardLimitFetchState.fetchState,onCancelClick:()=>{Ge(!1),E()},onSubmitClick:i=>{if(o.cardId!=null){const s={amount:i,currencyCode:C.limit.currencyCode,currencySymbol:C.limit.currencySymbol};ne(o.cardId,s,C.creditLimitFrequency,me("0,0.[00]",s))}},recommendations:C.recommendations}),Aa&&T.length>0&&t.jsx(oi,{currentSpentAmount:Ea??{amount:0,currencyCode:T[0].limit.currencyCode,currencySymbol:T[0].limit.currencySymbol},maxLimitAmountForCreditCard:e.creditAccount.limit,maxLimitAmountForDebitCard:Fa,hasCreditCard:h.hasCreditCards,hasDebitCard:h.hasDebitCards,signedInUser:Be,isDisabled:h.hasDebitCards&&N.fetchState!=="Completed",updateLimitFetchState:e.updateChargeCardsSpendLimitFetchState.fetchState,onCancelClick:()=>{ye(!1),j([])},onSubmitClick:i=>{const s={amount:i,currencyCode:T[0].limit.currencyCode,currencySymbol:T[0].limit.currencySymbol};G(h.bulkActionCardIds,s,T[0].creditLimitFrequency)}}),t.jsx(jr,{cardsSelectedForBulkAction:h.bulkActionCardIds,isBulkActionAllowed:k,firstSelectedCardStatus:Pa,bulkSubmissionLimit:Lr,removeAllCardsFromBulkActionList:()=>j([]),updateBulkActionList:j,onProceedForBulkActionClick:Ta,onBulkLockClick:Ya,onBulkCloseClick:Xa,setShowBulkChangeSpendLimitPopup:ye,depositAccountListWithDebitCardIssued:N,setCardIdForRowAction:Oe,setActionTypeForRowAction:xt,cashbackInformation:te,creditAccountInformation:we,debitAccountInformation:ke,productInformation:$e,controllerEmails:K,isChargeCardFeatureEnabled:y,isCardControlsEnabled:se,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:I,isChargeCardSetupEnabled:P,creditAccount:g,creditAccountRepayment:L,cardList:e.cards,showViewForCardUser:!1,signedInUser:Be,fetchState:e.fetchState,revokeChargeCardsInviteFetchState:e.revokeChargeCardsInviteFetchState.fetchState,unlockChargeCardsFetchState:e.unlockChargeCardsFetchState.fetchState,onReloadCards:Sa,onChargeCardRowClick:ga,searchText:c,receiptBotEmail:e.chargeCardConfig.receiptBotEmail,uiState:la,resendInviteId:e?.resendCardInvite?.cardId,onColumnSortConfigChanged:ka,onChargeCardResendInviteClick:fa,rowActionView:o})]})]})]})},gi=r(aa)`
|
|
210
|
+
color: ${e=>e.isImportant?p.important:e.theme.colors.primary};
|
|
211
|
+
text-align: end;
|
|
212
|
+
`,bi=r(aa)`
|
|
213
|
+
color: ${p.brandColorGoldDark};
|
|
214
|
+
text-align: end;
|
|
215
|
+
`,Wt=r.div`
|
|
216
|
+
display: flex;
|
|
217
|
+
align-items: center;
|
|
218
|
+
gap: ${a.sp1};
|
|
219
|
+
height: 21px;
|
|
220
|
+
overflow: hidden;
|
|
221
|
+
cursor: ${e=>e.hasPointer?"pointer":"default"};
|
|
222
|
+
`,fi=r(q)`
|
|
223
|
+
color: ${e=>e.theme.colors.primary};
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
display: flex;
|
|
226
|
+
align-items: center;
|
|
227
|
+
gap: 2px;
|
|
228
|
+
`,Ht=r(ct)`
|
|
229
|
+
color: ${e=>e.theme.colors.primary};
|
|
230
|
+
width: 12px;
|
|
231
|
+
height: 12px;
|
|
232
|
+
`,xi=r(sr)`
|
|
233
|
+
color: ${p.brandColorGoldDark};
|
|
234
|
+
width: ${a.sp3};
|
|
235
|
+
height: ${a.sp3};
|
|
236
|
+
`,yi=r(nr)`
|
|
237
|
+
color: ${p.important};
|
|
238
|
+
width: ${a.sp3};
|
|
239
|
+
height: ${a.sp3};
|
|
240
|
+
`,Si=r(q)`
|
|
241
|
+
color: ${p.heroDark};
|
|
242
|
+
white-space: pre-line;
|
|
243
|
+
text-align: left;
|
|
244
|
+
`,wi=r.div`
|
|
245
|
+
display: flex;
|
|
246
|
+
align-items: center;
|
|
247
|
+
justify-content: center;
|
|
248
|
+
`,Gt=(e,c,u)=>{const d=(c*100).toFixed(2);if(e==="credit"){const n=[...b.listPage.promoMultiText.credit];if(n[1]=n[1].replace("__cashBack__",d),u&&u.amount!==0)return n[0]=n[0].replace("__creditLimit__",st("0,0",u.amount,u.currencySymbol)),[...n,n[0]];{const m=n.slice(1);return[...m,m[0]]}}else if(e==="debit"){const n=[...b.listPage.promoMultiText.debit];return n[0]=n[0].replace("__cashBack__",d),[...n,n[0]]}return[]},ki=({isChargeCardFeatureEnabled:e,isChargeCardSetupEnabled:c,isDebitCardFeatureEnabled:u,isDebitCardSetupEnabled:d})=>e&&c&&u&&d?O.title.cards:e&&c?O.title.credit:u&&d?O.title.debit:"",$i=r.div`
|
|
249
|
+
text-align: left;
|
|
250
|
+
`,Jt=r.span``,Ii=r.span`
|
|
251
|
+
white-space: nowrap;
|
|
252
|
+
`,vi=r.div`
|
|
253
|
+
min-width: 137px;
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-direction: column;
|
|
256
|
+
justify-content: flex-start;
|
|
257
|
+
`,ji=r.div`
|
|
258
|
+
min-width: ${a.sp12};
|
|
259
|
+
align-self: stretch;
|
|
260
|
+
display: flex;
|
|
261
|
+
flex-direction: column;
|
|
262
|
+
justify-content: space-between;
|
|
263
|
+
`,da=r.div`
|
|
264
|
+
min-width: ${a.sp11};
|
|
265
|
+
padding: ${a.sp2} ${a.sp4};
|
|
266
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
267
|
+
border-bottom-left-radius: ${a.sp2};
|
|
268
|
+
border-bottom-right-radius: ${a.sp2};
|
|
269
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
270
|
+
display: flex;
|
|
271
|
+
`,Li=r(da)`
|
|
272
|
+
justify-content: ${e=>e.showPaymentInitiatedInfo&&e.isEarlyPayEnabled?"flex-end":"space-between"};
|
|
273
|
+
`,Ai=r.div``,Pi=r.div`
|
|
274
|
+
border: 1px solid ${e=>e.theme.colors.hero};
|
|
275
|
+
border-radius: ${a.sp12};
|
|
276
|
+
width: fit-content;
|
|
277
|
+
justify-self: ${e=>e.windowSize==="small"?"flex-start":"flex-end"};
|
|
278
|
+
margin-top: ${a.sp1};
|
|
279
|
+
padding: ${a.sp0} ${a.sp2};
|
|
280
|
+
`,Ei=r.div`
|
|
281
|
+
display: flex;
|
|
282
|
+
flex-direction: column;
|
|
283
|
+
width: 100%;
|
|
284
|
+
height: 100vh;
|
|
285
|
+
overflow: auto;
|
|
286
|
+
`,Fi=r.div`
|
|
287
|
+
display: flex;
|
|
288
|
+
flex-direction: row;
|
|
289
|
+
margin-top: ${a.sp3};
|
|
290
|
+
margin-right: ${e=>pe.contentContainerMargin.valuePx(e.windowSize)};
|
|
291
|
+
margin-bottom: ${a.sp4};
|
|
292
|
+
margin-left: ${e=>pe.contentContainerMargin.valuePx(e.windowSize)};
|
|
293
|
+
align-items: center;
|
|
294
|
+
gap: ${a.sp3};
|
|
295
|
+
${e=>e.windowSize==="small"&&ut`
|
|
296
|
+
overflow-x: scroll;
|
|
297
|
+
gap: ${a.sp2};
|
|
298
|
+
min-height: 190px;
|
|
299
|
+
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
300
|
+
&::-webkit-scrollbar {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
/* Hide scrollbar for IE, Edge and Firefox */
|
|
304
|
+
-ms-overflow-style: none;
|
|
305
|
+
scrollbar-width: none;
|
|
306
|
+
`}
|
|
307
|
+
`,qt=r.div`
|
|
308
|
+
display: flex;
|
|
309
|
+
flex-grow: 1;
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
312
|
+
box-shadow: ${p.Elevation1Light};
|
|
313
|
+
border-radius: ${a.sp2};
|
|
314
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
315
|
+
min-width: ${e=>pe.cardsMinWidth.valuePx(e.windowSize)};
|
|
316
|
+
height: 188px;
|
|
317
|
+
justify-content: space-between;
|
|
318
|
+
flex-basis: 33.33%;
|
|
319
|
+
`,Ti=r.div`
|
|
320
|
+
display: flex;
|
|
321
|
+
justify-content: space-between;
|
|
322
|
+
align-self: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
323
|
+
text-align: ${e=>e.windowSize==="small"?"start":"end"};
|
|
324
|
+
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
325
|
+
box-shadow: ${p.Elevation1Light};
|
|
326
|
+
border-radius: ${a.sp2};
|
|
327
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
328
|
+
padding: ${a.sp4};
|
|
329
|
+
align-self: stretch;
|
|
330
|
+
position: relative;
|
|
331
|
+
overflow: hidden;
|
|
332
|
+
min-width: ${e=>pe.cardsMinWidth.valuePx(e.windowSize)};
|
|
333
|
+
box-sizing: border-box;
|
|
334
|
+
background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/promo-list-pattern.svg);
|
|
335
|
+
background-repeat: no-repeat;
|
|
336
|
+
background-position: bottom right;
|
|
337
|
+
height: 188px;
|
|
338
|
+
flex-grow: 1;
|
|
339
|
+
flex-basis: 33.33%;
|
|
340
|
+
`,Kt=r.div`
|
|
341
|
+
display: flex;
|
|
342
|
+
align-items: baseline;
|
|
343
|
+
gap: ${a.sp2};
|
|
344
|
+
align-items: center;
|
|
345
|
+
`,Yt=r(q)`
|
|
346
|
+
color: ${e=>e.theme.colors.hero};
|
|
347
|
+
`,Xt=r(or)`
|
|
348
|
+
color: ${e=>e.theme.colors.primary};
|
|
349
|
+
${e=>`${Ci.remainingText.style(e.windowSize)}`};
|
|
350
|
+
`,Le=r(q)`
|
|
351
|
+
color: ${e=>e.theme.colors.hero};
|
|
352
|
+
white-space: nowrap;
|
|
353
|
+
`,Mi=r.div`
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: ${a.sp1};
|
|
357
|
+
padding: 3px ${a.sp0};
|
|
358
|
+
margin-top: 20px;
|
|
359
|
+
`,ca=r(dr)`
|
|
360
|
+
color: ${e=>e.theme.colors.hero};
|
|
361
|
+
`,Di=r(ca)`
|
|
362
|
+
color: ${e=>e.hasNegativeValue?p.success:p.important};
|
|
363
|
+
`,Ri=r(Rr)`
|
|
364
|
+
color: ${p.success};
|
|
365
|
+
width: ${a.sp3};
|
|
366
|
+
height: ${a.sp3};
|
|
367
|
+
`,Bi=r(Br)`
|
|
368
|
+
color: ${p.important};
|
|
369
|
+
width: ${a.sp3};
|
|
370
|
+
height: ${a.sp3};
|
|
371
|
+
`,Ni=r(lt)`
|
|
372
|
+
color: ${e=>e.theme.colors.hero};
|
|
373
|
+
margin-top: ${e=>pe.infoSubheadingTextMarginTop.valuePx(e.windowSize)};
|
|
374
|
+
gap: ${a.sp1};
|
|
375
|
+
display: flex;
|
|
376
|
+
align-items: center;
|
|
377
|
+
cursor: pointer;
|
|
378
|
+
width: min-content;
|
|
379
|
+
&:hover {
|
|
380
|
+
color: ${e=>e.theme.colors.primary};
|
|
381
|
+
}
|
|
382
|
+
`,zi=r.div`
|
|
383
|
+
width: 100%;
|
|
384
|
+
height: ${a.sp1};
|
|
385
|
+
display: flex;
|
|
386
|
+
margin: ${a.sp2} ${a.sp0};
|
|
387
|
+
background: ${e=>e.theme.colors.grey3};
|
|
388
|
+
`,Oi=r.div`
|
|
389
|
+
background: ${p.success};
|
|
390
|
+
width: 0%;
|
|
391
|
+
height: ${a.sp1};
|
|
392
|
+
|
|
393
|
+
transition: width 4s ease;
|
|
394
|
+
`,_i=r(ct)`
|
|
395
|
+
color: inherit;
|
|
396
|
+
width: ${a.sp2};
|
|
397
|
+
height: ${a.sp2};
|
|
398
|
+
`,Ui=r.div`
|
|
399
|
+
display: flex;
|
|
400
|
+
flex-direction: column;
|
|
401
|
+
margin: ${a.sp0} ${a.sp2} ${a.sp7} ${a.sp2};
|
|
402
|
+
`,Qt=r.div`
|
|
403
|
+
padding: ${a.sp4};
|
|
404
|
+
padding-bottom: ${a.sp2};
|
|
405
|
+
`,Zt=r.div`
|
|
406
|
+
display: flex;
|
|
407
|
+
justify-content: space-between;
|
|
408
|
+
align-items: center;
|
|
409
|
+
`,ea=r.div``,Vi=r.div`
|
|
410
|
+
height: ${a.sp10};
|
|
411
|
+
width: ${a.sp10};
|
|
412
|
+
`;function Wi(){switch(ta().mode){case"light":return t.jsx(Dr,{});case"dark":default:return t.jsx(Mr,{})}}export{Co as default,Gt as getPromoSlidingTextList};
|
|
@@ -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-CD9C31qH.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-tr4BRbII.js";import{T as It}from"./RoleWithToolTip-New3P2vC-B2lOe8Ik.js";import{j as Oe}from"./CardNumberSubText-BhtdU0IQ-8duVM3Fx.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)`
|
|
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-DaYznKbB.js";import{S as pe,a as f}from"./sentry-Bp9GtzEp.js";import{n as o,c as Je}from"./mui-Bw2IfcWM.js";import{P as Ve}from"./Menu-CCfXjS2S-nrC4lt1z.js";import{T as It}from"./RoleWithToolTip-BE5aZQ2g-BCdI84kh.js";import{j as Oe}from"./CardNumberSubText-CYyCmwah-DIXC0dk2.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]="4ce3add8-6dec-4005-acbd-6b4e41238623",e._sentryDebugIdIdentifier="sentry-dbid-4ce3add8-6dec-4005-acbd-6b4e41238623")}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};
|