@zeniai/web-cockpit-ui 1.15.26-dev → 1.15.27-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-CxpLuJpQ-oljmG-aN.js → ACHDetailsPage-49jTvZnX-Be-zaLi0.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtDuOBey-B5mBQCVW.js → AIPerformancePage-DJea2aE9-B9iO1fyz.js} +1 -1
- package/dist/assets/AccountInfoPage-Dv1rJn72-BUHG0zde.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BLF92_vF-CW7wtofP.js → AccountInfoPageContent-zf4BRg29-DZX6BB3M.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-AsMkXu1I-CUepwrH5.js → AccountLockedInfoModal-CxoC-scs-DZJuQo5m.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CkaBrm5K-KV-fem_5.js → AccountReconDetailsDrawerPage-DI40FQGK-9O64pVIg.js} +1 -1
- package/dist/assets/{AccountRow-aEmcYP8T-NzxiJ7E0.js → AccountRow-CxEUX108-Ctuhzest.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-C0At5pn8-BVyntxD9.js → AccountsPromoCardStack-ugkcP4hS-Bj_Nb7Iz.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CbjThbsA-DCBhdPbu.js → AddAddressForCardDrawer-KZ-LVrwR-BRcI_JTS.js} +1 -1
- package/dist/assets/{AddToWalletPage-CMJwUbgf-CbZx4F8y.js → AddToWalletPage-CmBtO-Jx-CFwvepkh.js} +1 -1
- package/dist/assets/{AgingReportsPage-B_BSfude-DZk6eQ7D.js → AgingReportsPage-BgZqIoFH-CBXVGn8J.js} +1 -1
- package/dist/assets/{AllUserItems-CGlWa60t-Bsvj0Bul.js → AllUserItems-CMkg4gXl-Dbiuf_va.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DT3vkmLG-hWexPQ-R.js → ApAgingDetailPage-CIc4rs2--CTxo3gfJ.js} +1 -1
- package/dist/assets/{AppBasePage-CDy7wPlv-BdtLe6Er.js → AppBasePage-Ch3JOqQA-CkD3FaNp.js} +1 -1
- package/dist/assets/{AppDrawerContent-CEsXm_i6-DvQRPFBq.js → AppDrawerContent-DK3tTd88-Ebl_NVYT.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CB2_4-2f-DqEewSSN.js → ApprovalRulesSettingsPage-8myNAB_M-Bfi0yOAc.js} +1 -1
- package/dist/assets/{ArAgingChart-qxhWsIQb-BR0MyGhc.js → ArAgingChart-D8yl6Fco-iPMSgvYP.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BbzQryp_-si9TyFWf.js → ArAgingDetailPage-DMPLqLKl-D3301L0t.js} +4 -4
- package/dist/assets/{AttachmentView-duTVxc9g-Cx51cWLo.js → AttachmentView-Cxyodtel-B24U0bgX.js} +1 -1
- package/dist/assets/{BankAccountSection-CAwAf9xK-dEu3iigm.js → BankAccountSection-DGuhn7CN-DmUf2oBe.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CaDnP9_--B_s5lRpF.js → BankAccountWarningSection-l79_AN7P-wzRxiGEn.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CDV7O8cl-CKVB9msh.js → BankConnectionsSettingsPage-CkF3K8e8-C4TR4rEL.js} +1 -1
- package/dist/assets/{BillDetailPage-DJxh2CIc-BDq5xtCx.js → BillDetailPage-CaAXVwe3-C9NFzEPg.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B2ZPbqtr-DoqAcsu7.js → BillPayApprovalRuleDetailPage-CFiMiJVw-BuCRs1eu.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-MM7v8ZMx-BqexuGBp.js → BillPayApprovalRulesPage-qpF8Wy4I-B3HFhggf.js} +1 -1
- package/dist/assets/{BillPayPromoPage-JK-VOx4W-CHt5RuWY.js → BillPayPromoPage-CNUoM-3L-1wklXGZ-.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-h0uoCWMl-B3vp9xYH.js → BillPaySetUpPage-D_hRCBF5-Imf9v1rc.js} +1 -1
- package/dist/assets/{BillingSettingsPage-gJG9OxD6-sAZcxvhc.js → BillingSettingsPage-BfvQsRnJ-VinZfITV.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CPPDFsZt-D7n_HeTo.js → BillsBulkReviewDrawerPage-BRVd0a8c-DFmDsImO.js} +1 -1
- package/dist/assets/{BoxItem-CYe_gTmA-3TpRGAgq.js → BoxItem-COPJh7Lh-BtEwjrhv.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Dos8Bnvb-tV078-eh.js → BusinessVerificationPage-CdRHA3h2-CIWKUgi1.js} +1 -1
- package/dist/assets/{CardNumberSubText-CFDhtij8-Dsv6kEZQ.js → CardNumberSubText-Md18DQb7-Ci7Q_wrC.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BBGGzKh7-DUHJlZVl.js → CashbackDetailPage-CfB0mGdX-DgwWmp2K.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BQhago53-wjHuLhkC.js → ChargeCardDetailPage-ByOcHh0H-DEou_IlL.js} +1 -1
- package/dist/assets/{ChargeCardListPage-B0E-C3RH-B7k2t4T5.js → ChargeCardListPage-9aL08yGW-Ba0oB6VC.js} +1 -1
- package/dist/assets/{ChargeCardListTable-ByGv0xWl-DMSCDnKA.js → ChargeCardListTable-CbqF_9f3-C6X1RqBh.js} +16 -16
- package/dist/assets/{ChargeCardPaymentHistoryPage-LCY9rFqO-BkZDtpLS.js → ChargeCardPaymentHistoryPage-Dp_vLjiJ-C_QznI13.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BHv2VOdc-7YAt9Um1.js → ChargeCardSetupPage-DYOCe46h-e0p7QaI6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-UpRXyPTS-DMihpC1F.js → ChargeCardStatementsPage-BLws2jOd-DH79p6d7.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-0zbTQ3Fa-BLYoChOi.js → CheckDepositDrawerPage-Bc3a4vVO-QMFCIXbb.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DlYIKSlQ-CcB96aJz.js → CollapsableReportTable-4-6Wne7j-Bn8DnqeK.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Ck0xqZ0d-BRXSA5bv.js → CompanyOfficerDetailsSection-C_S5WXms-iJZMGPb2.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DeVPuuje-pYw0P8-e.js → CompanyPassportCard-DPwqwt8k-UccZMyh-.js} +2 -2
- package/dist/assets/{CompanyPassportPage-F_GUET9a-DyWAWfST.js → CompanyPassportPage-DDjpq5T1-zONxBEPm.js} +13 -13
- package/dist/assets/{CompleteProfile-Y6HwKtpz-CAD13Y73.js → CompleteProfile-C6o_Ez-L-Do1B6QH5.js} +1 -1
- package/dist/assets/{ConfettiBurst-BGE3Okwr-BH3P6Vot.js → ConfettiBurst-DNR3qv8X-ptw_T_Cq.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BElBEfq9.js → ConstrainedInnerElement-BeIpAPjB-DchKqY-F.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BlZe6gmh-CQZW25xI.js → CreateOrEditVendorPage-Bcj3U0s_-5vJHklRM.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-flPmyCaF-BN_zrabq.js → CreditCardPaymentDrawerPage-CI3GD2-u-DH6MMFER.js} +1 -1
- package/dist/assets/{CurrencySelectField-RiKAivD8-Men9-Qs8.js → CurrencySelectField-98tevzzy-BlqO4MuW.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B7dLMk4g-9XWjuxWa.js → CustomerOnboardingActivationPage-BSsdFKhb-BMSgiMMy.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DgiK94cf-CHSTlWE8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-AWsst0XH-Dm9ock3U.js → CustomerOnboardingDetailPageSkeleton-D5gblIdv-CFqfFpT0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Bqid4-rH-1Q4j5GPR.js → CustomerOnboardingNoStepsPage-DCt6wtfH-Cjj8y-RZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-B5LrMzZS-C9Fs1CgW.js → CustomerOnboardingPage-_HuMZOrd-CaMRm4tt.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-DqgoBLWp-CqOyrhHJ.js → CustomerOnboardingProductSuitePage-DcX7v8VV-DCl6Er8S.js} +3 -3
- package/dist/assets/{Dashboard-D0KlujCx-DnjbaQQd.js → Dashboard-C12cMR4f-BJHxNm8C.js} +1 -1
- package/dist/assets/{DashboardReportPage-bxKyMsG7-D9LgF6Vc.js → DashboardReportPage-C8FygWL_-zsIsDvlx.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Ch0OiH1g-8bPW9HsA.js → DashboardSidebarBackgroundAnimation-eTAs_vdL-CSWEzD2n.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BdZVCAx--B5mbkfQv.js → DepositAccTransactionItem-BuwWbrWB-LoOAd3VM.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-LU0QMdSV-BPGsYfzN.js → DepositAccTransactionListPage-C1XXM6Qy-C72sFA4v.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CFt5GgZ1-DPIozVv0.js → DomesticWireDetailsPage-t6W8wYH8-BW3aYQzE.js} +1 -1
- package/dist/assets/{DownloadOverlay-CH_bA3On-JFXgpsko.js → DownloadOverlay-CJYnXgCn-odTawGXc.js} +1 -1
- package/dist/assets/{DrawerPage-Cpdp-IFb-6O8ALZwh.js → DrawerPage-isFPi2CS-BP0DVAOi.js} +1 -1
- package/dist/assets/{EditPeoplePage-BYnuNojX-COJTJTYl.js → EditPeoplePage-4fN2aCBr-BHmm7eYD.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DnyyPZ26-CW_m0PAT.js → EditReimbursementDetailPage-CVMvR_xa-Y5W6LDDw.js} +1 -1
- package/dist/assets/EntityDetailPage-C8dRi0hQ-ChhHQBUx.js +18 -0
- package/dist/assets/{EntitySummarySection-BFpgAYAM-CKlhnXLV.js → EntitySummarySection-BXo9RrQK-BuIKOVzl.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-YjOVm_Bw-BDJuPgHE.js → ExpenseAutomationOverviewPage-DPfeujDA-5Pkl4JAF.js} +59 -59
- package/dist/assets/ExpenseAutomationPage-CWEo8JL8-DDq4rvWb.js +1700 -0
- package/dist/assets/{ExpressPayPage-CKqPEfbR-pk0o4BxB.js → ExpressPayPage-Dlku9oMT-sidjttl1.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Cs1Y3nP0-BgQT4DqF.js → FeaturePreviewPage-qJmxWW10-BCL41LPf.js} +1 -1
- package/dist/assets/{FollowStepsSection-BCyL8Jdr-CPpGgHn-.js → FollowStepsSection-DxAp4i9T-Cs3p7RFB.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CBQFcVHd-XH4CFBRM.js → GlobalReviewListPage-Cadf7AIC-BB24FYDU.js} +1 -1
- package/dist/assets/{InformationCardStack-nFMetrAy-CMfT3sbg.js → InformationCardStack-BZhYP37l-Dd2otSYf.js} +1 -1
- package/dist/assets/{InsightsCardStack-CEMeGJXy-DkdJ-vVc.js → InsightsCardStack-CPZtVqq5-BUF_fSK4.js} +1 -1
- package/dist/assets/{InsightsSection-BYiN2xB7-Tq3IZNKc.js → InsightsSection-0ekovQH4-BlPNJh_U.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-BQ7g3a3K-BdOaL4VS.js → IntegrationsSettingsPage-CNis_Wk3-DA1OiLg5.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BHRYsZgm-DSuBLSD4.js → InternationalWireSwiftDetailsPage-8g16Kgfi-B71tbLSL.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-tJbVtzQP-CQvYGebF.js → InternationalWireVerificationPage-ofzwcymr-CT3lnfto.js} +1 -1
- package/dist/assets/{InviteFormPage-BVXte8w8-MDAVTXGi.js → InviteFormPage-pQDs7n3f-Dvolqiav.js} +1 -1
- package/dist/assets/{InvitePageListView-DFPyLLrA-CONqmQCs.js → InvitePageListView-DJYwE5Il-BdRMo6ep.js} +1 -1
- package/dist/assets/{InvitePeoplePage-B-uxjkke-6b_Qz0Yf.js → InvitePeoplePage-CgSGdi3i-BzFWBUb-.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B9q7nIs0-DhF51Ukp.js → InvoiceUploadSection-BEp8eQB4-DHRScRES.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BuLj1bOl-DtlAMUV4.js → IssueChargeCardPage-DX3kJ72T--bI6SGG9.js} +1 -1
- package/dist/assets/{LabeledAddressValue-D2t8ti-C-Z0RI74Eh.js → LabeledAddressValue-DWDFf_hN-e4LanhXy.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DMcor_I8-C6G1J4Y2.js → LabeledAddressValueField-Ckm80g0_-fddiRWcN.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-B6w2HGJK-6LsZxWHa.js → LabeledControlledCheckBoxField-Dhta-oad-BOgGTnpX.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DHNAX5Pu-BPIIBKMF.js → LabeledCreatableSingleSelectField-CWhimq6W-CiffZWxa.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Bx1u7vv_-DaqPO373.js → LabeledDocumentField-z2O1tykl-BOR0XPyM.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BBS4da2b-Pp7kOChU.js → LabeledDropDownFormattedTextField-BZu90SFF-CT4k7JQd.js} +1 -1
- package/dist/assets/{LabeledText-zjKn4Cw--WpJNibWz.js → LabeledText-DlIRkA7r-DGwEr03s.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-l_A9LTk7.js → LabeledUserSingleSelectWithSubtitlesField-CXwZdQ0K-DDygkuei.js} +3 -3
- package/dist/assets/{LabeledZeniRolesDropDownField-DiBtAWQ3-_N52HAlB.js → LabeledZeniRolesDropDownField-CWui0vqF-DJaOZiml.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D66bzDh_-B4JreFf6.js → LinkJETransactionPage-DJfFhIWc-DH9uk_Nk.js} +1 -1
- package/dist/assets/{LockCardPage-B1g2TZWL-hWz0sEAN.js → LockCardPage-Cv9rUAY7-DKakaJGE.js} +6 -6
- package/dist/assets/{LowBalancePopup-DbtHeVY--8cU4w1E0.js → LowBalancePopup-DnRpH2rk-CPocaNr6.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CdmfROQK-B3EIdmd3.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BqqCZBUT-3K5d9lKn.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-QDfBddvz-DxlDIcb0.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BkxuITX--B7psstiC.js → MagicLinkSuccessPage-ABpq3GEM-347FQa8F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CqkZ9wOf-BR_t9OGm.js → MagicLinkTitleSection-ygghGjqi-CPCSmIlY.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DRFGCM2W-D_ajBet8.js → MailingDetailsSection-DtuTgXeV-BAt57tta.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CE2ZqHBJ-DRRK16jW.js → MyBankConnectionsSettingsPage-BRy7gQIK-D0ljHEmg.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BffxXDZg-DDMywOmd.js → MyPendingActivationChargeCardListPage-eCLt21RY-DdeT-VxA.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DrsAlesY-CW5UQDbf.js → MyProfileSettingsPage-C-GlfSxD-BPv3bj5w.js} +5 -5
- package/dist/assets/{NavBarWithPicker-C4VfP_Kw-BlN6D07W.js → NavBarWithPicker-MP4pdS6O-ETw04dfI.js} +1 -1
- package/dist/assets/{NavigationArrow-DCCxx6H7-HhnIS8HH.js → NavigationArrow-CxS8-9O0-BQImrbmZ.js} +1 -1
- package/dist/assets/{NavigationDots-tWCw6Bpk-Mo0z1mhF.js → NavigationDots--7KEcIuu-eftMXpdw.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-UIA8zAjd-D_Ilslhf.js → NewGlobalMerchantPage-wYBwn2dL-D2xZN2Wq.js} +1 -1
- package/dist/assets/{NoDataChart-Bvetk9za-Dz6Kgiua.js → NoDataChart-Bd0aKX8D-BMtoTVvu.js} +1 -1
- package/dist/assets/{NoDataTable-9xF1_3XS-gmK0ApJv.js → NoDataTable-Bjbt7lt9-QawSofKO.js} +1 -1
- package/dist/assets/{NotFoundPage-CdH-3upl-BWvfv-me.js → NotFoundPage-CxAhFmy2-D61A-JG3.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-DP2gGIz1-CAx-Ob95.js → NotificationSettingsPage-BwTc94Y4-DxMem3GE.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DG-DH2Aj-B1EWk1B7.js → NotificationsListConfig-f-Y-UtEy-BzHeGbqt.js} +1 -1
- package/dist/assets/{NotificationsPage-CgFMmR2X-DW2MYafR.js → NotificationsPage-Cds6qhVt-Dyww7PRK.js} +1 -1
- package/dist/assets/{OpExByVendorPage-eUvIAWzt-J9dFs64l.js → OpExByVendorPage-CF6Q-SV2-DWalefYD.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-CRh-4TRn.js → OverlayContainerPage-D4QU0p4o-DiYJgmmr.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-8S06Nyi5-Bs1OiKUY.js → PandLWithForecastPage-DwWcx5eK-szNL9FCt.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQtrANhI-CgW6kWBO.js → PaymentAccountSetupBillingAddressSection-DIP_uznB-B7DNBV4H.js} +1 -1
- package/dist/assets/{PeoplePage-D1BLHtO0-Cm2cmSqy.js → PeoplePage-BgP7kTw9-CG9DTLLQ.js} +1 -1
- package/dist/assets/{Preview-CyX-vurX.js → Preview-CyY8fFSj.js} +1 -1
- package/dist/assets/{ProductsCarousel-BKSXWnFR-BT4vvSaJ.js → ProductsCarousel-CJlGSrBH-C82GY9tH.js} +1 -1
- package/dist/assets/{PromoBaseCards-BYT9nEJT-1c2PW57m.js → PromoBaseCards-fx9bhHkF-5GD0MDQm.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C2-omQMZ-CW3-Jgl1.js → QBOConnectionDialog-CGAr0mXC-CrSLQG4V.js} +1 -1
- package/dist/assets/{QBOSetupSection-lgv5wVlg-Db43UmDc.js → QBOSetupSection-D-fnn99E-yQD39UVj.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CbJViS3x-DEQyVs-F.js → ReimbursementApprovalRuleDetailPage-DvhdOKpF-CHqGgBzD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BuNt-Bmb-qkoyA-iD.js → ReimbursementApprovalRulesPage-BB4c1_YZ-B3-dzOHa.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CK3-Jqkd-ComGCWG4.js → ReimbursementDetailPage-DpWhzOF9-Dixn1uCw.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-fptOAJna-UPQyz9k9.js → ReimbursementPromoPage-CYS1ZeFL-DbUZbWTa.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-CidrpT2g-C4LYSo0t.js → ReimbursementSetUpPage-CoOFmpfw-CzqYPddc.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DbKZBLTq.js → ReimbursementsBulkReviewDrawerPage-DAYEgH4V-CKgr6iyS.js} +1 -1
- package/dist/assets/{ReloadCard-C81rGzOp-DY4k84ea.js → ReloadCard-clq1KPzy-DLLVDS4G.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-neRSjrhV-C6WBlOcq.js → ReportTableViewSelector-CU3PZ-xy-CDmAbwqP.js} +1 -1
- package/dist/assets/{ReportsPage-BhzQVaer-B4A4M4e5.js → ReportsPage-C5QPXAa--D9Rm-qp8.js} +5 -5
- package/dist/assets/{RevenueChart-x7uTbFlm-CNwMod8g.js → RevenueChart-BM8cNGoZ-OoJdgTQW.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-jXZCylzg-BIFUDhZH.js → ReviewDetailsPage-Dp29TV8A-pDKCfw94.js} +2 -2
- package/dist/assets/{ReviewOverlay-nlm2HnGw-9bQU05T1.js → ReviewOverlay-OXnAkRJ_-Di_D_VlI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C29QOzxS-BIz3hnmq.js → RoleWithToolTip-BCeMfqCC-DiZyrWD_.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CkPzofLN-BgCHEx2z.js → ScheduleDetailsFixedAssetsPage-BUWOvDMW-DaI6ZQoZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BSZefKOh-6HOYgX85.js → ScheduleDetailsPage-F2KQ46TD-VVV77yxd.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BW5M7Zfq-Cc7Psi6L.js → ScheduleSequenceTable-c-8N2OvE-DWSKrTJR.js} +1 -1
- package/dist/assets/{ScreenRoutes-DOxgrmyz.js → ScreenRoutes-BYoqwzEO.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C703iFL6-DWHc95vH.js → SetUpAccountSection-CPw8BhAT-Bu28TndH.js} +1 -1
- package/dist/assets/{SignIn-D9K5FklU-C-Fq_guN.js → SignIn-DT4-gKMD-DgVi8USa.js} +6 -6
- package/dist/assets/{SignInScreen-pGoo9woj.js → SignInScreen-CdADJVAt.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CBNtC74m-DqpxdGQ6.js → SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-D_sa7WRd-CzMD5xEZ.js → SpendManagementPerTabPage-CEJxlQwu-D8XVtvOY.js} +1 -1
- package/dist/assets/{SpendManagementSection-DpZUTV6m-Dyv3RP83.js → SpendManagementSection-Dbk_Ojop-DcKtjVjR.js} +1 -1
- package/dist/assets/{StatementItem-DvdSsb8I-4NJSevH0.js → StatementItem-DO9WpE-R-Do-IIiY-.js} +5 -5
- package/dist/assets/StatementsPage-Cf8pwDhO-RC289M0h.js +58 -0
- package/dist/assets/{StatusSwitcher-hKYgwNLC-CE1foddz.js → StatusSwitcher-B523Fhna-CVWspTKV.js} +1 -1
- package/dist/assets/{SubTabSwitcher-aeDd9xiF-D4uOjs0t.js → SubTabSwitcher-Dgwgj3Si-U0zspkd_.js} +1 -1
- package/dist/assets/SummaryCard-CGteKBHk-27q94esm.js +1 -0
- package/dist/assets/{TaskManagementPage-D2Ooq8DR-DrMY4gdr.js → TaskManagementPage-CIQeYwEY-C7-23Lr5.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DEqlZxa6-BNFFHAst.js → TimeRangeSwitcher-8lNpLdVr-Dj19rYPc.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BppC6giF-D-wC9bQx.js → TimeframeSwitcher-B-l9fJ1Q-ByHm5vUq.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CbX9ElMN-Txpnr2g5.js → TimeframeSwitcherWithToggle-3yKIUhvE-DaSH_yQW.js} +2 -2
- package/dist/assets/{TopExCard-Cy6tPVSx-B-keVDu8.js → TopExCard-C-CBza7t-C8HWdf71.js} +1 -1
- package/dist/assets/{TopExDetailPage-Rtrcdkcp-BJDfbujg.js → TopExDetailPage-Dx_w2Wmt-By36tBTS.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-DbwSsjPJ-BIwIVqy-.js → TransactionActivityLogPage-CA6FGjPI-DoUnK6pL.js} +1 -1
- package/dist/assets/{TransactionDetailPage-D-vXAAB7-Bzb02Sjl.js → TransactionDetailPage-CpNGUBqP-gfLrfFlK.js} +1 -1
- package/dist/assets/{TransactionList-BruCNjQg-CPy3bOrg.js → TransactionList-CvRmT2Lq-C1JZRVpn.js} +1 -1
- package/dist/assets/{TransactionListBig-bp7q3prH-B3o9La4k.js → TransactionListBig-v8qd1Ec7-hwFVnuVq.js} +1 -1
- package/dist/assets/{TransactionListPage-ZfJsaVb8--vXsSJCl.js → TransactionListPage-C23zWqxy-DgePPgum.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CldkuO2--QReUEWYz.js → TransactionVendorDetailPage-vpDqNBSu-BIkJjCOi.js} +1 -1
- package/dist/assets/{TransferDrawerPage-DswS6KZf-BpK3RBCC.js → TransferDrawerPage-5FY_zDCE-DJ5J1SOB.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DWo7iRpO-gYNjYUSH.js → TreasuryOverviewPage-DDjaj1jW-B4JtoLhv.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DQxCF3-4-BI9m1Cpo.js → TreasuryPromoPage-D3y0Te0d-DmBRPB0W.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BF_EZUjg-suQxt6u_.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DH3su_rX-Dyk_wpPB.js → TreasuryTaxLetterPage-C1nYfVbO-eUqGz6CJ.js} +2 -2
- package/dist/assets/{TrendChart-BMHDaOeh-DUFeSEwp.js → TrendChart-DwYxYNR7-JcI7qpjF.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DDLrmIrt-D7YkaYJE.js → TrendWithTransactions-BJnpKKqL-DKCgJJvT.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-3SW8Gj0Z-DxcmP_9M.js → UncategorizedAccountsMappingPage-CxlG2JUW-Cij2klA0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DPMy8dXP-Ds2V7iqZ.js → UnitIntegrationPage-DaIJxSo2-GGpI7ByY.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BHpT2al--Bh-cR8rL.js → UploadAdditionalDocumentOverlay-Bw9ymrDY-BTVIu0dz.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C6gEOhUv-DnLG0jax.js → Vendor2FAPopup-DxlOTzWL-DAG_NkfZ.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CQ6OiO4V-vWpnVdE1.js +1 -0
- package/dist/assets/{VendorDetailPage-BC1FhaQA-BTYI8FHa.js → VendorDetailPage-BGrtc6EE-DmQ5F0In.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D5yME16K-CGPyvaCT.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DYyPOA8D-SaXokDu7.js → VendorFiling1099EditablePage-A5wcCVBF-DUjQTYJL.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-Cpmk7rDk-CLDuk2Z1.js → VendorFirstReviewPage-Dr6MMvIq-LfXi6VDf.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CWAWq6kq-BqWv0FEj.js → VendorInternationalWireDetailsPage-BJUaxg9g-C6pvbY6G.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-v2icyO6w-6aTsJwry.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CGQ35Mhp-CZRiYNTG.js → VendorsAccountsSection-B9OpiDDc-Ck5imuYH.js} +1 -1
- package/dist/assets/{VerifyDevice-CfMJW1Vh-CQyEdsek.js → VerifyDevice-CViWQbOn-CG6KWpvG.js} +7 -7
- package/dist/assets/{VideoPlayer-BNBpjXJk-S1NV6cBn.js → VideoPlayer-D5QP-myQ-CVNLOpWk.js} +2 -2
- package/dist/assets/{VideoPopup-BF6lmB7l-C8AjwQYx.js → VideoPopup-_4nnxGFK-rc_W8uy0.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-Crj70lnR-CqPc_yNz.js → WarningsDrawerPage-D8X9a6pX-DcE35uzS.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CaA6m3tQ-BxjiYTPx.js → ZeniAccountDetailPage-B2gRhBJz-BpnCGmCc.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-x_51gDs1-BURzAUSX.js → ZeniAccountListViewPage-Dc4IWyQw-6oEyCUyL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Csr24dri-Dtq04dNH.js → ZeniAccountNavBarPieces-CYTd-7fg-D7gLlXGG.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-lxKBk2r5-B3car8p6.js → ZeniAccountPromoPage-B5rTE2aZ-DtGW6mZ_.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DUI4-2Zw-CqTcY3yC.js → ZeniAccountSetupPage-BlS6FEcT-D8fD5QNH.js} +1 -1
- package/dist/assets/{ZeniCopyright-DxEZ4DiK-Bx5L4V4v.js → ZeniCopyright-DbOXr6hr-D49zDt7K.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-4Nq4Sm9J-CWNMmcE5.js → ZeniTransferAmountSlider-DMdKnrKk-BOekYkfn.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Ckn7-tS3.js → add-to-wallet-DgdBD8_G-Z21-4-a3.js} +1 -1
- package/dist/assets/{analytics-DgE91yP9.js → analytics-Dd9GkS_R.js} +1 -1
- package/dist/assets/{analyticsHelper-CL-t3Y2i-DqLgDKAm.js → analyticsHelper-BLLOc8oW-Bb5BI_Zu.js} +1 -1
- package/dist/assets/{analyticsHelper-qCgSbR3t.js → analyticsHelper-Cn36jH2S.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-6_ok8u4n.js → arrow-south-east-round-PEovUgvH-K7zlCGlW.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DaMjzKK3.js → auto-transfer-rule-mbafm5D3-rBHUDSkc.js} +1 -1
- package/dist/assets/{chartTypes-B3501CSI-Eia1dEGg.js → chartTypes-zuOlWPZo-CqRIct--.js} +1 -1
- package/dist/assets/{commonDimensions-YcBBlmYP-HRUAmifl.js → commonDimensions-aMGDpjmW-UhXAGxHS.js} +1 -1
- package/dist/assets/{constants-DU2Tv8MD.js → constants-BydUCFaZ.js} +1 -1
- package/dist/assets/{core-CEu4PzGb.js → core-DjXOmtSJ.js} +1 -1
- package/dist/assets/{dash.all.min-wN4tXsVF.js → dash.all.min-CWcs0-Ft.js} +1 -1
- package/dist/assets/{detailCommon-C19MYPnq-B5eEk_1Z.js → detailCommon-CdZh0YNF-Bty6HpPL.js} +2 -2
- package/dist/assets/{downloadPdf-DPAqxw6u-DccTm81d.js → downloadPdf-BnXVGESU-CGO5_V0v.js} +1 -1
- package/dist/assets/{empty-CarmpCiV.js → empty-Be_kj3Mu.js} +1 -1
- package/dist/assets/{empty-SBaJLmT7.js → empty-BpWqyf7V.js} +1 -1
- package/dist/assets/{epic-jB8ji6P2.js → epic-B6XzQXM_.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Cfao5pzw.js → gift-box-Cmt9OgIZ-DJPtxuMD.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CtMgv3E2.js → graphic-no-data-l-DU4J8fDt-znOHf3Hs.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxhhGXfI.js → graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Cr0KvGET.js → handshake-BPg58FML-ttNYOOdS.js} +1 -1
- package/dist/assets/{index-qEET5oej.js → index-B0Fm_ZMY.js} +1 -1
- package/dist/assets/{index-CM4tXRl_.js → index-BsyBnYxZ.js} +1 -1
- package/dist/assets/{index-DotN2qpo.js → index-COyPtNQ2.js} +1 -1
- package/dist/assets/{index-C65pc_ms.js → index-DhICZ-la.js} +1 -1
- package/dist/assets/{index-GSKpJ8ET.js → index-Dm-b67Hf.js} +6 -6
- package/dist/assets/{index-DdSqYqAO.js → index-SgTym3_u.js} +1 -1
- package/dist/assets/{index-CTIRcS5n.js → index-w81TKwF8.js} +1 -1
- package/dist/assets/{lexical-CnqcqOEB.js → lexical-C3TbZeLl.js} +1 -1
- package/dist/assets/{liveblocks-D1OOExFG.js → liveblocks-EGukjQZF.js} +1 -1
- package/dist/assets/{lottie-fNTw06NH.js → lottie-DiLnfF8e.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-B0oj9Ot5-CWtpcdPC.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BDWD3x8r-CFpEHrc_.js → mapSectionWithAcOnlyToTreeNode-rtn-dPyU-DWwT8Nhv.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-8mFwNdh5-CeSJa54a.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BkHI2m3e-DSk1PCnB.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-bQ2VDSub-CJiyKqIU.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CcMctgAq-lqSBZOT1.js +1 -0
- package/dist/assets/{mui-DenpH-hx.js → mui-BLkKBV85.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CMu9po0A.js → page-detail-CWX5S47F-D6GzdE4M.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Z09J1JBQ.js → panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh--A7TRB5H.js → radio-default-CiSgisfh-B552CYET.js} +1 -1
- package/dist/assets/{react-BbEkWrBm.js → react-4oUCwWHz.js} +1 -1
- package/dist/assets/{react-BNXAqjdV.js → react-BCL5SMXn.js} +1 -1
- package/dist/assets/{react-CX4zcxjw.js → react-BDnWTul0.js} +1 -1
- package/dist/assets/{react-BGO_hhif.js → react-CXrmdcVg.js} +1 -1
- package/dist/assets/{react-BbsHWhNi.js → react-ChBDOzx3.js} +2 -2
- package/dist/assets/{react-D97zLppZ.js → react-CkV5VFp3.js} +1 -1
- package/dist/assets/{react-DvuAhc__.js → react-DiNjY5yl.js} +1 -1
- package/dist/assets/{react-B5LP5NK7.js → react-FSAp6Eni.js} +1 -1
- package/dist/assets/{recharts-9NtTDQfo.js → recharts-B8tzuQ8V.js} +1 -1
- package/dist/assets/{sentry-BZBky1_g.js → sentry-C2Rgx3zV.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DnxNebOP.js → shield-DOlUxcFf-BI7xxvqa.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DUpgxtrc-n-6zkqkw.js +1 -0
- package/dist/assets/{toChartData-DzatRnt8-Cq2-M4CL.js → toChartData-BNPIbcXQ-DT2tu_Ad.js} +1 -1
- package/dist/assets/{uploadAttachment-Bq8dk-Sm-DirS4o1A.js → uploadAttachment-4MEQNz0J-C1Mi8_qq.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-BKdcUL2b.js → uploadReceipts-Dge0cNF1-C7ahzxC1.js} +1 -1
- package/dist/assets/{url-0W_uXmZ-.js → url-DdNhcJXF.js} +1 -1
- package/dist/assets/{url-Z1gMB4SW.js → url-i42p6QIP.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-B8bxkfF-.js → useLongPress-GCK2COYQ-Cz3dEUgW.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BPsPtX_C.js → usp-line-BBd1wKwW-DBnWZzCO.js} +1 -1
- package/dist/assets/{utils-CHibiken.js → utils-CQTOz44B.js} +1 -1
- package/dist/assets/{zeni-epic-state-BKgIzPpM.js → zeni-epic-state-TdgpFmku.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-DkpBGfrR-BAuNBIod.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CKEnOseD-C5Oe_CBA.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-CAVfCCXg.js +0 -1
- package/dist/assets/EntityDetailPage-DSfZZ1JW-NbMT0IAK.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DlhH-R-e-DCW88pdW.js +0 -1700
- package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-7knh_ltw.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-ESO2QI-z.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Q4lIsHtG-J3sKHPD3.js +0 -1
- package/dist/assets/StatementsPage-73jGj5P2-DfWSq1-t.js +0 -58
- package/dist/assets/SummaryCard-CK8Gxbiu-DemkEVCq.js +0 -1
- package/dist/assets/TreasuryStatementsPage-CYkPtmaT-BgyV-fq7.js +0 -58
- package/dist/assets/VendorACHDetailsPage-LNCcubjL-BnzYtLeS.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CLudahOt-DWedRRGC.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-Cnhhvl1i.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--Bj-YdG55.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Blr3egSm-C65_6eW3.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-D-fvMaDb.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-D-V0iqTB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Cn_Z85da.js +0 -1
- package/dist/assets/toCOABalancesWithID-D35Fk0m2-dL9iDsOU.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as k,J as f,V as t,bD as te,fi as L,b as u,b4 as X,c0 as ie,o as i,F as w,p as B,y as h,al as v,dj as oe,u as l,aZ as re,aO as T,bS as ae,ai as $,aQ as z,jj as Q,jk as Z,i$ as se,cA as ne,cD as de,am as O,j0 as le,j1 as ce}from"./index-
|
|
1
|
+
import{e as k,J as f,V as t,bD as te,fi as L,b as u,b4 as X,c0 as ie,o as i,F as w,p as B,y as h,al as v,dj as oe,u as l,aZ as re,aO as T,bS as ae,ai as $,aQ as z,jj as Q,jk as Z,i$ as se,cA as ne,cD as de,am as O,j0 as le,j1 as ce}from"./index-Dm-b67Hf.js";import{n as o}from"./mui-BLkKBV85.js";import{G8 as b,bh as he}from"./zeni-epic-state-TdgpFmku.js";import{P as R,a as K}from"./sentry-C2Rgx3zV.js";import{F as pe}from"./InsightsSection-0ekovQH4-BlPNJh_U.js";import{H as ge,I as me,X as xe,Y as we,J as ue,K as ye,V as fe}from"./recharts-B8tzuQ8V.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./NavigationDots--7KEcIuu-eftMXpdw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="7aa084c1-a755-4428-ace8-1787fc561840",e._sentryDebugIdIdentifier="sentry-dbid-7aa084c1-a755-4428-ace8-1787fc561840")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=k();return t.jsx(fe,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,$e=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,ve=({active:e,payload:a,label:n})=>e===!0&&(a?.[0].payload).showTooltip===!0?t.jsx(je,{children:t.jsx(ke,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(J,{children:W.month})," ",t.jsx(G,{children:b(n).format($e)})]}),t.jsxs(E,{children:[t.jsx(J,{children:W.cashback}),t.jsx(G,{children:T("0,0.[00]",{amount:a?.[0].value??0,currencyCode:(a?.[0].payload).currencyCode,currencySymbol:(a?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: ${i.sp1};
|
|
4
4
|
`,je=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as at,J as Ie,aw as Lt,a8 as Dt,g_ as Sr,hD as Ti,aW as et,g$ as $r,aR as tt,V as t,h2 as Ai,bD as Ei,u as h,fW as vr,aO as qe,aQ as Q,bC as Fi,bU as ta,p as c,o as a,F as ke,j5 as kr,b as _,cq as Ri,j6 as Pi,fc as zi,gQ as Mi,j7 as Vi,bG as Oi,bP as jr,aU as aa,y as T,b8 as ra,bL as Ir,ai as Ce,eG as Hi,bb as ia,iV as Ni,aV as Lr,h as ft,h1 as Dr,ce as Bi,T as Ct,b4 as Wi,dq as _i,cu as Ui,j8 as Gi,j9 as Tr,ja as dt,q as Zi,b0 as qi,jb as Yi,jc as Xi,cr as Ki,d7 as Ji,hA as Qi,al as ze,bW as eo,av as Ut,jd as Ma,je as to,dk as ao,N as Va,a as Ar,ba as ro,aC as io,iP as mt,i_ as oo,j3 as no,j4 as so,dx as Oa,eW as co,i as Er,cA as Fr,iY as lo,bZ as ho,d as Rr,jf as po,au as kt,c0 as Ha,by as uo,dg as mo,aq as go,am as lt,gZ as Co,c as fo,bH as wo,jg as Tt,fp as xo,jh as Pr,gA as zr,ji as It,ih as Mr,i5 as Vr,bS as yo,el as Or,i$ as bo,cD as So,dS as $o,d1 as vo,j0 as ko,j1 as jo,er as Io,ch as Lo,ci as Do}from"./index-
|
|
1
|
+
import{e as at,J as Ie,aw as Lt,a8 as Dt,g_ as Sr,hD as Ti,aW as et,g$ as $r,aR as tt,V as t,h2 as Ai,bD as Ei,u as h,fW as vr,aO as qe,aQ as Q,bC as Fi,bU as ta,p as c,o as a,F as ke,j5 as kr,b as _,cq as Ri,j6 as Pi,fc as zi,gQ as Mi,j7 as Vi,bG as Oi,bP as jr,aU as aa,y as T,b8 as ra,bL as Ir,ai as Ce,eG as Hi,bb as ia,iV as Ni,aV as Lr,h as ft,h1 as Dr,ce as Bi,T as Ct,b4 as Wi,dq as _i,cu as Ui,j8 as Gi,j9 as Tr,ja as dt,q as Zi,b0 as qi,jb as Yi,jc as Xi,cr as Ki,d7 as Ji,hA as Qi,al as ze,bW as eo,av as Ut,jd as Ma,je as to,dk as ao,N as Va,a as Ar,ba as ro,aC as io,iP as mt,i_ as oo,j3 as no,j4 as so,dx as Oa,eW as co,i as Er,cA as Fr,iY as lo,bZ as ho,d as Rr,jf as po,au as kt,c0 as Ha,by as uo,dg as mo,aq as go,am as lt,gZ as Co,c as fo,bH as wo,jg as Tt,fp as xo,jh as Pr,gA as zr,ji as It,ih as Mr,i5 as Vr,bS as yo,el as Or,i$ as bo,cD as So,dS as $o,d1 as vo,j0 as ko,j1 as jo,er as Io,ch as Lo,ci as Do}from"./index-Dm-b67Hf.js";import{a as o,P as To}from"./sentry-C2Rgx3zV.js";import{n as r,c as we,k as Hr}from"./mui-BLkKBV85.js";import{EP as At,bh as Ao,bf as Eo,G7 as Fo}from"./zeni-epic-state-TdgpFmku.js";import{k as Ro}from"./NavigationDots--7KEcIuu-eftMXpdw.js";import{A as Po,i as zo,a as Mo,l as Vo,r as Oo,t as Ho,n as No}from"./add-to-wallet-DgdBD8_G-Z21-4-a3.js";import{L as Gt}from"./lottie-DiLnfF8e.js";import{j as Bo}from"./CardNumberSubText-Md18DQb7-Ci7Q_wrC.js";import{l as Wo}from"./panelSelectedMixin-CzfD5-Zs-CBMeGjo8.js";import{r as Nr}from"./core-DjXOmtSJ.js";import{l as Br}from"./uploadReceipts-Dge0cNF1-C7ahzxC1.js";import{L as _o,z as Uo,k as Go,P as Zo}from"./LockCardPage-Cv9rUAY7-DKakaJGE.js";import"./liveblocks-EGukjQZF.js";import"./recharts-B8tzuQ8V.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e0adaf5f-5de6-4f6c-abf2-caba7846a8cf",e._sentryDebugIdIdentifier="sentry-dbid-e0adaf5f-5de6-4f6c-abf2-caba7846a8cf")}catch{}})();const Wr=ke.getLocalizedStrings().spendManagement.chargeCard,qo=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:w,chargeCardDetailView:l,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,appleWalletLink:j,googleWalletLink:D,style:u,showDrawerAnimation:A,setWalletType:S,setIsAddToWalletDrawerOpen:z,isDebitCard:M})=>{const y=Dt().analytics,{isIPadScreen:G}=Yi(),{isAndroidScreen:Y}=Xi(),X=Lt(),E=At(X.loggedInUserRoleMap);return t.jsx(Yo,{style:u,children:G===!0?t.jsx(ea,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(j,"_blank")}}):Y===!0?t.jsx(Qt,{onClick:()=>{dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:C,creditAccountInformation:g,debitAccountInformation:x,isChargeCardFeatureEnabled:s,creditAccount:b,creditAccountRepayment:n}),window.open(D,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{S("apple"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}}),t.jsx(Qt,{onClick:()=>{S("google"),A.current="slide-in-right-to-left-add-to-wallet",dt({chargeCardDetailView:l,classListFetchState:i,analytics:y,isDebitCard:M,isChargeCardAdmin:E,cardIssuedByRoles:d,cardIssuedByDepartmentName:f,cardHolderRoles:v,cardHolderDepartmentName:$,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:C,creditAccountInformation:g,debitAccountInformation:x,creditAccount:b,creditAccountRepayment:n}),z(!0)}})]})})},Qt=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Xo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=at();return t.jsx(Er,{prefixIcon:t.jsx(Ko,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Q("add-to-apple-wallet-button")})},Yo=r.div`
|
|
2
2
|
margin-top: ${a.sp4};
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as Za,aR as z,aw as er,fV as tr,iP as W,J as Ee,o as a,e as ta,V as t,bD as ar,g7 as rr,fi as ie,b as M,bU as nt,p,aO as me,aQ as V,aZ as st,F as Fe,y as H,ai as q,N as ir,a as or,cY as nr,as as aa,bL as sr,b0 as ct,aU as dr,am as lt,a9 as cr,gT as lr,c$ as ur,ao as hr,ac as mr,gd as pr,i as Nt,u as _,d9 as ra,aq as Cr,al as gr,R as br,cX as fr,bw as xr,bW as yr}from"./index-
|
|
1
|
+
import{a8 as Za,aR as z,aw as er,fV as tr,iP as W,J as Ee,o as a,e as ta,V as t,bD as ar,g7 as rr,fi as ie,b as M,bU as nt,p,aO as me,aQ as V,aZ as st,F as Fe,y as H,ai as q,N as ir,a as or,cY as nr,as as aa,bL as sr,b0 as ct,aU as dr,am as lt,a9 as cr,gT as lr,c$ as ur,ao as hr,ac as mr,gd as pr,i as Nt,u as _,d9 as ra,aq as Cr,al as gr,R as br,cX as fr,bw as xr,bW as yr}from"./index-Dm-b67Hf.js";import{a as l}from"./sentry-C2Rgx3zV.js";import{n as r,c as ut,k as Sr}from"./mui-BLkKBV85.js";import{EP as wr,G6 as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-TdgpFmku.js";import{t as vr}from"./SpendManagementSection-Dbk_Ojop-DcKtjVjR.js";import{D as oe,r as jr,i as Lr}from"./ChargeCardListTable-CbqF_9f3-C6X1RqBh.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-8Oz0DmQv-CtVY_-8P.js";import{N as Pr,J as Er}from"./PromoBaseCards-fx9bhHkF-5GD0MDQm.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-Cv9rUAY7-DKakaJGE.js";import{r as Dr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-53oymvWB.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-K7zlCGlW.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import"./CardNumberSubText-Md18DQb7-Ci7Q_wrC.js";import"./NavigationDots--7KEcIuu-eftMXpdw.js";import"./usp-line-BBd1wKwW-DBnWZzCO.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]="3fc8c77e-bdcc-4637-91ee-d55c48bd90b8",e._sentryDebugIdIdentifier="sentry-dbid-3fc8c77e-bdcc-4637-91ee-d55c48bd90b8")}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(Yr,{}),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(Kr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Xr,{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
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as Ae,g_ as hi,iQ as pi,iR as ui,iS as mi,aS as gi,o as i,aQ as G,cn as xi,b as Be,p as I,b4 as wi,cu as Ci,iT as fi,iU as yi,bU as ye,cx as Ve,bP as Si,aU as ki,y as C,eG as vi,bb as $i,iV as ji,aV as bi,h as Ii,ai as ee,h1 as Li,am as Y,al as J,u as p,cT as Ai,d0 as zi,iW as Fi,iX as Pi,N as ft,bZ as yt,iY as St,iZ as Ri,bS as Bi,cA as Ye,i_ as kt,dx as Di,dy as q,aO as ce,cw as vt,T as $t,i$ as _i,cD as Ei,iI as Je,bL as jt,bN as bt,j0 as Ti,j1 as Vi,aW as $e,bu as Oi,b_ as Ui,b$ as Ni,j2 as Mi}from"./index-GSKpJ8ET.js";import{P as pe,a as f}from"./sentry-BZBky1_g.js";import{n as o,c as Qe}from"./mui-DenpH-hx.js";import{T as It}from"./RoleWithToolTip-C29QOzxS-BIz3hnmq.js";import{j as Oe}from"./CardNumberSubText-CFDhtij8-Dsv6kEZQ.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]="cb44cfd4-76eb-4ad3-9fcb-d1f5967c45bb",e._sentryDebugIdIdentifier="sentry-dbid-cb44cfd4-76eb-4ad3-9fcb-d1f5967c45bb")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Xe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={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?[{...Xe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Xe,Ze,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")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,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===n.id,D=l.includes(n.id),A=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=A||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(n.id,S)},[n.id]),V=kt(n)/n.limit.amount*100,W=n?.cardHolderUserId===w.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Di(n.cardHolderUser,!1),H=n.balance,z=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]}),Q=n.type.code,_=$.cardList.tooltip[Q],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Qi,{onClick:M,"data-testid":G("card-row",n.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:z[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:n.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(at,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(ao,{isLoading:u,windowSize:v,responsiveWidth:z[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:n.cardName,className:"cardName",children:n.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:z[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:n,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:z[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===n.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:n.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:n.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:n.status.code})}),n.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(n.id)},"data-testid":G("send-reminder",n.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:z[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:z[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(no,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",n.limit),children:ce("0,0.[00]",n.limit)})}),t.jsx(at,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:n.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=n.status.code==="locked",oe=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=E?a&&!u&&!oe&&!(K&&n.isLockedByAdmin):a?!u&&F:n.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(At,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:ze=>{b||m(ze)},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})`}})})})()})]})})]})})})},At=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Xi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,onClick:a=>{a.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:n,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(nt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:n,onClick:a=>{a.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:n,hoverImportant:!0,onClick:a=>{a.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:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=Ae(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(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(J)`
|
|
1
|
+
import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as Ae,g_ as hi,iQ as pi,iR as ui,iS as mi,aS as gi,o as i,aQ as G,cn as xi,b as Be,p as I,b4 as wi,cu as Ci,iT as fi,iU as yi,bU as ye,cx as Ve,bP as Si,aU as ki,y as C,eG as vi,bb as $i,iV as ji,aV as bi,h as Ii,ai as ee,h1 as Li,am as Y,al as J,u as p,cT as Ai,d0 as zi,iW as Fi,iX as Pi,N as ft,bZ as yt,iY as St,iZ as Ri,bS as Bi,cA as Ye,i_ as kt,dx as Di,dy as q,aO as ce,cw as vt,T as $t,i$ as _i,cD as Ei,iI as Je,bL as jt,bN as bt,j0 as Ti,j1 as Vi,aW as $e,bu as Oi,b_ as Ui,b$ as Ni,j2 as Mi}from"./index-Dm-b67Hf.js";import{P as pe,a as f}from"./sentry-C2Rgx3zV.js";import{n as o,c as Qe}from"./mui-BLkKBV85.js";import{T as It}from"./RoleWithToolTip-BCeMfqCC-DiZyrWD_.js";import{j as Oe}from"./CardNumberSubText-Md18DQb7-Ci7Q_wrC.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]="c2df5461-bda5-4abc-9fc2-3fa21a826871",e._sentryDebugIdIdentifier="sentry-dbid-c2df5461-bda5-4abc-9fc2-3fa21a826871")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Xe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={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?[{...Xe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Xe,Ze,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")},Gi=({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),A=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=A||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,z=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]}),Q=a.type.code,_=$.cardList.tooltip[Q],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Qi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:z[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:z[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:z[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:z[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":G("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:z[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:z[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(At,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:ze=>{b||m(ze)},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})`}})})})()})]})})]})})})},At=({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(Xi,{}),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=Ae(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(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(J)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -62,7 +62,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
62
62
|
width: ${i.sp4};
|
|
63
63
|
height: ${i.sp4};
|
|
64
64
|
color: inherit;
|
|
65
|
-
`,
|
|
65
|
+
`,at=o(Ni)`
|
|
66
66
|
width: ${i.sp4};
|
|
67
67
|
height: ${i.sp4};
|
|
68
68
|
color: inherit;
|
|
@@ -115,7 +115,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
115
115
|
justify-content: flex-start;
|
|
116
116
|
align-items: flex-end;
|
|
117
117
|
gap: ${e=>e.isLoading?i.sp1:i.sp0};
|
|
118
|
-
`,
|
|
118
|
+
`,ao=o(J)`
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
flex-grow: 1;
|
|
121
121
|
-webkit-line-clamp: ${e=>re.webkitLineClamp.value(e.windowSize)};
|
|
@@ -127,7 +127,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
127
127
|
text-overflow: ellipsis;
|
|
128
128
|
white-space: nowrap;
|
|
129
129
|
margin-bottom: -${i.sp1};
|
|
130
|
-
`,
|
|
130
|
+
`,nt=o(ee)`
|
|
131
131
|
color: ${e=>e.theme.colors.hero};
|
|
132
132
|
max-width: 100%;
|
|
133
133
|
overflow: hidden;
|
|
@@ -138,7 +138,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
138
138
|
padding-left: ${i.sp3};
|
|
139
139
|
box-sizing: border-box;
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,no=o.div`
|
|
142
142
|
width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
143
143
|
min-width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
144
144
|
box-sizing: border-box;
|
|
@@ -269,9 +269,9 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
269
269
|
display: flex;
|
|
270
270
|
align-items: center;
|
|
271
271
|
gap: ${i.sp1};
|
|
272
|
-
`,zt=pe.memo(({allCheckBoxValues:e,checkBox:s,fieldName:r,index:d,containerStyle:c,"data-testid":l,groupLabelCheckBox:
|
|
272
|
+
`,zt=pe.memo(({allCheckBoxValues:e,checkBox:s,fieldName:r,index:d,containerStyle:c,"data-testid":l,groupLabelCheckBox:a,registerOptions:n,style:x,mode:w,checkBoxContainerStyle:g,checkBoxIconStyle:S,checkBoxStyle:j,labelCheckBoxStyle:k,labelStyle:h,width:m,isDisabled:y,selectionLimit:R,infoIconContainerStyle:B,checkedIconColor:D,draggable:A=!1,onDragStart:N})=>{const{control:u}=Ai();return t.jsx(zi,{control:u,name:r,rules:n,render:({field:{value:v,onChange:E,ref:M}})=>t.jsx(So,{style:{display:"flex",alignItems:"center",width:"100%",...g,...c},"data-testid":l??G("virtualized-checkbox-field",r),children:t.jsx(Fi,{checkBox:s,index:d,value:v,allCheckBoxValues:e,mode:w,name:r,checkBoxContainerStyle:x,checkBoxIconStyle:S,checkBoxStyle:s.groupLabel?k:j,labelCheckBoxStyle:k,labelStyle:h,width:m,groupLabelCheckBox:a,infoIconContainerStyle:B,selectionLimit:R,checkedIconColor:D,isDisabled:y,draggable:A,onDragStart:N,ref:M,onChangeHandler:V=>Pi({event:V,value:v,allCheckBoxValues:e,groupLabelCheckBox:a,onChange:E})})})})},(e,s)=>e.checkBox===s.checkBox&&e.index===s.index&&e.mode===s.mode&&e.isDisabled===s.isDisabled&&e.selectionLimit===s.selectionLimit&&e.allCheckBoxValues.length===s.allCheckBoxValues.length&&e.groupLabelCheckBox?.value===s.groupLabelCheckBox?.value);zt.displayName="VirtualizedCheckBoxField";const So=o.div`
|
|
273
273
|
position: relative;
|
|
274
|
-
`,X={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new C(p[0],p[4]),headerLastColumnRightPadding:new C(p[3],p[11]),headerLastColumnBottomPadding:new C(p[0],p[4]),headerLastColumnLeftPadding:new C(p[0],p[11]),headerHeight:new C(Ti,Vi)};function ko({companyNameSticky:e,sortConfig:s,showViewForCardUser:r,onColumnSortConfigChanged:d}){const c=Ae(),l=ie(),
|
|
274
|
+
`,X={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new C(p[0],p[4]),headerLastColumnRightPadding:new C(p[3],p[11]),headerLastColumnBottomPadding:new C(p[0],p[4]),headerLastColumnLeftPadding:new C(p[0],p[11]),headerHeight:new C(Ti,Vi)};function ko({companyNameSticky:e,sortConfig:s,showViewForCardUser:r,onColumnSortConfigChanged:d}){const c=Ae(),l=ie(),a=!!Se().loggedInUserRole.includes("charge_card_user")||r,[n,x]=f.useState(Lt(a));f.useEffect(()=>{const h=[...n];for(const m of h)m.key===s.sortKey?m.sortOrder=s.sortOrder:m.sortOrder="ascending";x(h)},[s.sortKey,s.sortOrder]);const w=(h,m)=>{let y=m;s.sortKey===h&&(y=m==="ascending"?"descending":"ascending"),d(h,y)},g=n.find(h=>h.key===s.sortKey)??(a?n[1]:n[0]),S=h=>n.find(m=>m.key===h)?.value??"",j=(a?n.filter(h=>h.key!=="owner"):n).map(h=>h.key),k=le.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(bo,{windowSize:l,children:[t.jsxs(Ao,{children:[t.jsx(Fo,{children:t.jsx(zo,{})}),t.jsx(Bi,{title:k.sortBy,placeholder:k.sortBy,pickerValues:j,valueToLabel:S,selectedValue:s.sortKey,onPickerSelectionChanged:h=>{w(h,"ascending")},optionTextStyle:Be.extraSmallRegular,titleTextStyle:Be.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Bo,{onClick:()=>w(g.key,g.sortOrder),"data-testid":G("mobile-cards-list-sort-clicked",s.sortKey),children:[t.jsx(Y,{children:g.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:g,children:t.jsx(ct,{windowSize:l,children:t.jsx(Ye,{})})})]})]}):t.jsx($o,{windowSize:l,children:t.jsx(jo,{children:n.map(h=>h.width.value(l)!==0&&t.jsxs(Io,{companyNameSticky:e,sortDataValue:s.sortKey,actualDataValue:h.key,wrapperWidth:h.width,windowSize:l,children:[t.jsxs(Ro,{onClick:()=>w(h.key,h.sortOrder),"data-testid":G("cards-list-sort-clicked",s.sortKey),children:[t.jsx(Y,{children:h.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:h,children:t.jsx(ct,{windowSize:l,children:t.jsx(Ye,{})})})]}),t.jsx(Po,{sortDataValue:s.sortKey,windowSize:l,isVisible:s.sortKey===h.key&&(a?h.key!=="cardName":h.key!=="owner"),children:t.jsx(Lo,{onClick:()=>w(a?"cardName":"owner","ascending"),"data-testid":G("cards-list-sort-cancel",s.sortKey)})})]},h.key))})})}const vo=pe.memo(ko),$o=o.div`
|
|
275
275
|
top: ${i.sp0};
|
|
276
276
|
left: ${i.sp0};
|
|
277
277
|
z-index: 2;
|
|
@@ -365,7 +365,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
365
365
|
cursor: pointer;
|
|
366
366
|
gap: 5px;
|
|
367
367
|
color: ${e=>e.theme.colors.primary};
|
|
368
|
-
`,{spendManagement:{billPay:{paymentDetails:{feePercent:Do}},chargeCard:he},common:Z}=le.getLocalizedStrings(),De={containerMarginLeft:new C(p[3],p[8]),webkitLineClamp:new C(2,2,1,1,1)},_o=({setCardIdForRowAction:e,setActionTypeForRowAction:s,cardDetail:r,isCardControlsEnabled:d,showViewForCardUser:c,signedInUser:l,resendInviteId:
|
|
368
|
+
`,{spendManagement:{billPay:{paymentDetails:{feePercent:Do}},chargeCard:he},common:Z}=le.getLocalizedStrings(),De={containerMarginLeft:new C(p[3],p[8]),webkitLineClamp:new C(2,2,1,1,1)},_o=({setCardIdForRowAction:e,setActionTypeForRowAction:s,cardDetail:r,isCardControlsEnabled:d,showViewForCardUser:c,signedInUser:l,resendInviteId:a,index:n,onChargeCardRowClick:x,onChargeCardResendInviteClick:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,cardsSelectedForBulkAction:k})=>{const h=!!Se().loggedInUserRole.includes("charge_card_user")||c,m=f.useCallback(()=>{x(r.id,n)},[r.id]);return h?t.jsx(Eo,{cardDetail:r,onRowClick:m}):t.jsx(To,{setCardIdForRowAction:e,setActionTypeForRowAction:s,cardDetail:r,isCardControlsEnabled:d,signedInUser:l,resendInviteId:a,onRowClick:m,onChargeCardResendInviteClick:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,cardsSelectedForBulkAction:k,showViewForCardUser:c})},Ft=({cardDetail:e})=>{const s=e.balance,r=kt(e)/e.limit.amount*100;return t.jsxs(No,{children:[t.jsx(Go,{children:ce("0,0.[00]",s)}),r!==0?t.jsx(Ho,{children:`${Math.round(r)}${Do}`}):null]})},Eo=({cardDetail:e,onRowClick:s})=>{const r=ie();return t.jsx(Pt,{windowSize:r,children:t.jsx(Rt,{onClick:s,"data-testid":G("charge-card-user-row",e.id),children:t.jsxs(_e,{children:[t.jsx(Ut,{children:t.jsxs(Mt,{cardUser:!0,children:[t.jsxs(_t,{children:[t.jsx(Tt,{children:Z.labels.cardName}),t.jsxs(Et,{children:[t.jsx(Vt,{title:e.cardName,children:e.cardName}),t.jsx(Jt,{windowSize:r,children:he.cardDetails.expiryHideOut+Z.strings.space+e.accountLast4})]})]}),t.jsxs(Bt,{children:[t.jsx(Dt,{children:`${he.cardList.header.cardType}${Z.strings.colon}`}),t.jsx(Te,{children:t.jsx(Oe,{cardDetail:e,forDetailPage:!1})})]}),t.jsxs(Wt,{children:[t.jsx(Kt,{children:Z.labels.limit}),t.jsxs(qt,{children:[t.jsx(Ht,{children:ce("0,0.[00]",e.limit)}),t.jsx(Gt,{}),t.jsx(Ee,{children:e.creditLimitFrequency.name})]})]})]})}),t.jsx(Nt,{children:t.jsxs(t.Fragment,{children:[e.status.code!=="request_on_hold"?t.jsx(Ft,{cardDetail:e}):null,t.jsxs(Ot,{children:[t.jsx(Le,{status:e.status.code}),e.status.code==="request_on_hold"?t.jsx(ye,{display:"flex",title:he.cardList.tooltip[e.type.code].self,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:t.jsx(Yt,{className:"infoIconTooltip"})}):null]})]})})]})})})},To=({setCardIdForRowAction:e,setActionTypeForRowAction:s,cardDetail:r,isCardControlsEnabled:d,signedInUser:c,resendInviteId:l,onRowClick:a,onChargeCardResendInviteClick:n,rowActionView:x,revokeChargeCardsInviteFetchState:w,unlockChargeCardsFetchState:g,cardsSelectedForBulkAction:S,showViewForCardUser:j})=>{const[k,h]=f.useState(!1);f.useEffect(()=>{S.length>0&&k&&h(!1)},[S.length,k]);const m=!!Se().loggedInUserRole.includes("charge_card_user")||j,y=`${r.cardHolderUser?.firstName??""} ${r.cardHolderUser?.lastName??""}`,R=r?.cardHolderUserId===c.userId,B=ie(),D=r.type.code,A=he.cardList.tooltip[D],N=A!=null?R?A.self:`${y} ${A.cardUser}`:Z.strings.empty,u=x.cardId===r.id,v=S.includes(r.id),E=u&&x.unlockChargeCardsFetchState.fetchState==="In-Progress"||v&&g==="In-Progress",M=u&&x.revokeChargeCardFetchState.fetchState==="In-Progress"||v&&w==="In-Progress",V=E||M,W=r.status.code!=="closed"&&r.status.code!=="closed_by_customer";return t.jsx(Pt,{windowSize:B,children:t.jsxs(Rt,{onClick:a,"data-testid":G("charge-card-admin-row",r.id),children:[t.jsxs(_e,{children:[t.jsxs(Ut,{children:[t.jsx(Mo,{children:t.jsx(vt,{personBasic:r.cardHolderUser,styles:{height:i.sp6,width:i.sp6}})}),t.jsx(Wo,{children:t.jsxs(qo,{children:[t.jsx(Vo,{children:t.jsx(Oo,{windowSize:B,title:y,children:y})}),t.jsx(Ee,{style:{marginTop:`-${i.sp1}`},children:r.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:r.cardHolderRoles?.userRoles})})]})})]}),t.jsx(Nt,{children:t.jsx(t.Fragment,{children:l===r.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(Zo,{children:[t.jsxs(Uo,{children:[r.status.code!=="request_on_hold"?t.jsx(Ft,{cardDetail:r}):null,t.jsxs(Ot,{children:[t.jsx(Le,{status:r.status.code}),r.status.code==="request_on_hold"?t.jsx(ye,{display:"flex",title:N,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:t.jsx(Yt,{className:"infoIconTooltip"})}):null]})]}),r.status.code==="request_on_hold"&&!R?t.jsx(Yo,{children:t.jsx(Jo,{onClick:F=>{F.stopPropagation(),n(r.id)},"data-testid":G("send-reminder-clicked",r.id),children:he.cardList.sendReminder})}):null]})})})]}),t.jsxs(_e,{children:[t.jsxs(Mt,{cardUser:!1,children:[t.jsxs(_t,{children:[t.jsx(Tt,{children:`${Z.labels.cardName}`}),t.jsxs(Et,{children:[t.jsx(Vt,{title:r.cardName,children:r.cardName}),t.jsx(Jt,{windowSize:B,children:r.status.code==="request_on_hold"?Z.strings.hyphen:he.cardDetails.expiryHideOut+Z.strings.space+r.accountLast4})]})]}),t.jsxs(Bt,{children:[t.jsx(Dt,{children:`${he.cardList.header.cardType}${Z.strings.colon}`}),t.jsx(Te,{children:t.jsx(Te,{children:t.jsx(Oe,{cardDetail:r,forDetailPage:!1})})})]}),t.jsxs(Wt,{children:[t.jsx(Kt,{children:Z.labels.limit}),t.jsxs(qt,{children:[t.jsx(Ht,{children:ce("0,0.[00]",r.limit)}),t.jsx(Gt,{}),t.jsx(Ee,{children:r.creditLimitFrequency.name})]})]})]}),t.jsx(Ko,{children:t.jsx(Qo,{showMenu:!0,className:"menu-icon",children:(()=>{const F=r.status.code==="locked",O=r.status.code==="closed"||r.status.code==="closed_by_customer",H=m?d&&!V&&!O&&!(F&&r.isLockedByAdmin):d?!V&&W:r.status.code==="request_on_hold",z=S.length>0;return H&&t.jsx(Ve,{menuItems:t.jsx(Xo,{children:t.jsx(At,{cardDetail:r,isCardControlsEnabled:d,isChargeCardUser:m,setIsMenuOpen:h,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:te=>{z||h(te)},isMenuOpen:k&&!z,menuIconStyles:{cursor:z?"not-allowed":"pointer",opacity:z?.5:1,pointerEvents:z?"none":"auto"},styles:{transform:"translate(5px,0px)"}})})()})})]})]})})},Pt=o.div`
|
|
369
369
|
display: flex;
|
|
370
370
|
background-color: ${e=>e.theme.colors.grey5};
|
|
371
371
|
border: ${e=>` 1px solid ${e.theme.colors.grey3}`};
|
|
@@ -526,7 +526,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
528
|
gap: ${i.sp1};
|
|
529
|
-
`,Ks=20,Ie=(e,s,r)=>!(r!=null&&e.status.code!==r||e.status.code==="closed"||e.status.code==="closed_by_customer"),es=(e,s,r)=>{const d=le.getLocalizedStrings(),c=d.spendManagement.chargeCard.cardList.bulkActions.exceptionMessages;if(e.status.code==="closed"||e.status.code==="closed_by_customer")return c.closedCardsCannotBeSelected;if(r!=null&&e.status.code!==r){const l=d.spendManagement.chargeCard.cardList.status[r];return c.onlyCardsUnderStatusCanBeSelectedTogether.replace("__status__",l)}return c.cardCannotBeSelectedForAction},ae={lastListItemHeight:new C(200,158),bannerWrapperMarginLeftRight:new C(p[3],p[8]),styledAIIconContainerSize:new C(p[3],p[3]),checkBoxContainerStyleMarginLeft:new C(p[0],p[4]),checkBoxContainerStyleMarginRight:new C(p[0],p[8]),labelCheckBoxStyleMarginLeft:new C(p[2],p[0])},ts={moreItemFont:new ft("extraSmallRegular","smallRegular")},me=le.getLocalizedStrings(),{spendManagement:{chargeCard:P},common:ne}=me,ht=50,is=64,os=351,ss=136,Qt=pe.memo(({cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,setCardIdForRowAction:c,setActionTypeForRowAction:l,rowActionView:n,showViewForCardUser:a,productInformation:x,isChargeCardFeatureEnabled:w,isChargeCardSetupEnabled:g,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:j,cashbackInformation:k,creditAccountInformation:h,debitAccountInformation:m,depositAccountListWithDebitCardIssued:y,uiState:R,signedInUser:B,fetchState:D,revokeChargeCardsInviteFetchState:A,unlockChargeCardsFetchState:N,receiptBotEmail:u,searchText:v,resendInviteId:E,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:O,onProceedForBulkActionClick:H,onBulkCloseClick:z,onBulkLockClick:te,setShowBulkChangeSpendLimitPopup:Q,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,onReloadCards:K,onColumnSortConfigChanged:oe,handleClearSelection:xe})=>{const b=ie(),ze=Se(),Ue=ci().analytics,Ne=!!ze.loggedInUserRole.includes("charge_card_user"),Me=Ae(),[,We]=hi(),[ke,He]=f.useState(!1),[Fe,Ke]=f.useState(!1),ii=f.useCallback(()=>{u!=null&&((!w||r.fetchState==="Completed"&&d.fetchState==="Completed")&&(!(S&&j)||y.fetchState==="Completed")&&Ue.trackCardsCopyIconClick(s,x,"Cards List","Copy","copied","Receipt Email",u,k,h,m),We(u),He(!0))},[u,w,r.fetchState,d.fetchState,S,j,y.fetchState,Ue,s,x,k,h,m,We]);f.useEffect(()=>{if(ke===!0){const U=setTimeout(()=>{He(!1)},800);return()=>clearTimeout(U)}},[ke]);const oi=f.useCallback(U=>{H(U)},[H]),Pe=f.useCallback(U=>U===0?ht:b!=="small"?pi:Ne?ui:mi,[b,Ne]),si=f.useMemo(()=>{let U=ht+is;for(let we=1;we<=e.length;we++)U+=Pe(we);return U},[e.length,Pe]),qe=f.useMemo(()=>window.innerHeight-os,[]),ri=si>qe,Ge=f.useRef(null);f.useEffect(()=>{Ge.current?.resetAfterIndex(0)},[b]);const ni=()=>D==="Error"?t.jsxs(ms,{children:[t.jsx(gs,{onClick:K,"data-testid":G("charge-card-list-reload"),children:t.jsx(xs,{})}),t.jsx(ws,{children:ne.reloadPage.label})]}):D==="Completed"&&e.length===0?t.jsx(xi,{sourceView:"charge_cards",style:{height:"calc(100vh - 450px)"},title:P.cardList.getStarted,message:v!==""?P.cardList.noDataWithFilterText:P.cardList.noDataText,messageStyle:{maxWidth:345,color:Me.colors.primary,...Be.largeRegular.cssObject}}):t.jsxs(ti,{children:[u!=null?t.jsxs(Ss,{windowSize:b,children:[t.jsx(Is,{windowSize:b,children:t.jsx(Ls,{})}),t.jsxs(As,{windowSize:b,children:[t.jsxs(ks,{children:[t.jsx(ps,{children:P.aiCardAgentText}),ne.strings.space,P.receiptBotMessage,ne.strings.space]}),t.jsxs(bs,{"data-testid":G("charge-card-list-copy-email"),onClick:ii,onMouseEnter:()=>Ke(!0),onMouseLeave:()=>Ke(!1),children:[t.jsx(vs,{children:u}),ke===!0?t.jsxs(ut,{children:[t.jsx(js,{}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Fe||ke,color:I.primaryDark,children:ne.copyToClipBoard.copied})})]}):t.jsxs(ut,{children:[t.jsx($s,{color:Fe?Me.colors.primary:void 0}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Fe&&b!=="small",children:ne.copyToClipBoard.copy})})]})]})]})]}):null,t.jsx(Cs,{windowSize:b,availableHeight:qe,isListTooLarge:ri,children:t.jsx(wi,{children:({height:U,width:we})=>t.jsx(Ci,{ref:Ge,height:U,itemCount:e.length+1,innerElementType:Zt,itemSize:Pe,estimatedItemSize:yi,itemKey:ve=>ve===0?"header":e[ve-1].id,width:we,overscanCount:fi,initialScrollOffset:0,children:ve=>t.jsx(ds,{...ve,setCardIdForRowAction:c,setActionTypeForRowAction:l,rowActionView:n,resendInviteId:E,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,showViewForCardUser:a,cardList:e,signedInUser:B,uiState:R,revokeChargeCardsInviteFetchState:A,unlockChargeCardsFetchState:N,onColumnSortConfigChanged:oe,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:O})})})})]});return t.jsxs(us,{fetchState:D,children:[ni(),W.length>0&&N!=="In-Progress"&&A!=="In-Progress"?t.jsx(gi,{helperContainerStyle:b==="small"?{margin:`${i.sp5} ${i.sp7} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:!0,primaryBtn:{label:ns(F),isLoading:!1,isDisabled:!1,type:"button",onClick:()=>{const U=Xt(F);U&&oi(U)}},cancelBtn:{label:ne.texts.goBack,isDisabled:!1,onClick:xe,style:b==="small"?{}:as(F)},leftSideComponent:Fs(W.length,O,b),rightSideComponent:t.jsx(Ds,{firstSelectedCardStatus:F,windowSize:b,setShowBulkChangeSpendLimitPopup:Q,onBulkCloseClick:z,onBulkLockClick:te})}):null]})},(e,s)=>e.cardList===s.cardList&&e.cardsSelectedForBulkAction.length===s.cardsSelectedForBulkAction.length&&e.fetchState===s.fetchState&&e.uiState.sortKey===s.uiState.sortKey&&e.uiState.sortOrder===s.uiState.sortOrder&&e.rowActionView===s.rowActionView&&e.unlockChargeCardsFetchState===s.unlockChargeCardsFetchState&&e.revokeChargeCardsInviteFetchState===s.revokeChargeCardsInviteFetchState&&e.searchText===s.searchText&&e.receiptBotEmail===s.receiptBotEmail&&e.isCardControlsEnabled===s.isCardControlsEnabled&&e.firstSelectedCardStatus===s.firstSelectedCardStatus&&e.handleClearSelection===s.handleClearSelection);Qt.displayName="ChargeCardListContent";const rs=({cardsSelectedForBulkAction:e,cardList:s,firstSelectedCardStatus:r,bulkSubmissionLimit:d,updateBulkActionList:c,removeAllCardsFromBulkActionList:l,isChargeCardSetupEnabled:n,...a})=>{const x="bulkSelectIds",w=li({defaultValues:{[x]:e},values:{[x]:e}});f.useEffect(()=>{const S=w.watch((j,{name:k})=>{if(k===x){let h=[];const m=j[x]??[];if(m.includes(me.common.all.toLowerCase()))if(e.length===0){h=[];for(const y of s)if(Ie(y,void 0,r)&&h.push(y.id),h.length===d)break}else h=m.filter(y=>y!==me.common.all.toLowerCase());else h=m.filter(y=>y!=null);c(h)}});return()=>S.unsubscribe()},[c,e.length,s,r,d]);const g=f.useCallback(()=>{w.setValue(x,[]),l()},[w,l]);return t.jsx(di,{...w,children:t.jsx(Qt,{...a,cardsSelectedForBulkAction:e,cardList:s,firstSelectedCardStatus:r,bulkSubmissionLimit:d,isChargeCardSetupEnabled:n,handleClearSelection:g})})},Xt=e=>{if(e!=null)switch(e){case"active":return"update_limit";case"locked":return"unlock";case"inactive":return"close";case"request_on_hold":return"revoke_invite";default:return}},ns=e=>{if(e==null)return"Proceed";switch(e){case"active":return P.cardDetails.moreOptions.updateSpendLimit;case"locked":return P.cardDetails.moreOptions.unlock;case"inactive":return P.closeCard.closeCard;case"request_on_hold":return P.cardDetails.revokeInvite;default:return ne.proceed}},as=e=>{switch(Xt(e)){case"update_limit":return{minWidth:"173px"};case"unlock":return{minWidth:"119px"};case"close":return{minWidth:"111px"};case"revoke_invite":return{minWidth:"128px"};default:return{}}},Zt=f.forwardRef((e,s)=>{const{children:r,style:d,...c}=e;return t.jsx(ti,{ref:s,style:{...d,width:"auto"},...c,children:t.jsx(ys,{children:r})})});Zt.displayName=P.cardList.headerElementDisplayName;const ls=({cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,fetchState:c,uiState:l,setCardIdForRowAction:n,setActionTypeForRowAction:a,receiptBotEmail:x,searchText:w,resendInviteId:g,showViewForCardUser:S,signedInUser:j,isChargeCardFeatureEnabled:k,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:A,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,onChargeCardRowClick:te,onReloadCards:Q,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de,depositAccountListWithDebitCardIssued:K,rowActionView:oe,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b})=>(ai({componentName:"cards.list",enabled:c==="Completed"}),t.jsx(rs,{cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,setCardIdForRowAction:n,setActionTypeForRowAction:a,rowActionView:oe,isChargeCardFeatureEnabled:k,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:A,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,depositAccountListWithDebitCardIssued:K,showViewForCardUser:S,signedInUser:j,fetchState:c,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b,receiptBotEmail:x,searchText:w,resendInviteId:g,onReloadCards:Q,onChargeCardRowClick:te,uiState:l,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de})),qs=pe.memo(ls),ds=({uiState:e,onColumnSortConfigChanged:s,isBulkActionAllowed:r,isCardControlsEnabled:d,cardsSelectedForBulkAction:c,firstSelectedCardStatus:l,bulkSubmissionLimit:n,index:a,setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,style:k,cardList:h,showViewForCardUser:m,signedInUser:y,resendInviteId:R,onChargeCardResendInviteClick:B,onChargeCardRowClick:D})=>{const A=ie(),N=Ae(),u=g.cardId!=null&&g.unlockChargeCardsFetchState.fetchState==="In-Progress"||j==="In-Progress"&&c.length>0,v=!r||u||d===!1||h.length<=1?"off":c.length>0?"always_on":"checked_or_hover",E={gap:i.sp3,width:"auto",marginLeft:ae.checkBoxContainerStyleMarginLeft.valuePx(A),marginRight:ae.checkBoxContainerStyleMarginRight.valuePx(A)},M={marginLeft:ae.labelCheckBoxStyleMarginLeft.valuePx(A)},V=hs(A),W=cs(A),F={width:"100%"},O={backgroundColor:N.colors.grey4},H={...k,width:"100%"},z=f.useMemo(()=>{const K=[me.common.all.toLowerCase()];for(const oe of h)if(!(d&&!Ie(oe,void 0,l))&&(K.push(oe.id),n!=null&&K.length===n+1))break;return K},[h,d,l,n]),te={label:"",defaultChecked:!1,groupLabel:!0,value:me.common.all.toLowerCase(),isException:!(c.length>0)},Q=a===0,_=Q?null:h[a-1],de=f.useMemo(()=>Q?{label:t.jsx(vo,{companyNameSticky:!1,showViewForCardUser:m,onColumnSortConfigChanged:s,sortConfig:{sortKey:e.sortKey,sortOrder:e.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:me.common.all.toLowerCase(),isException:!(c.length>0&&h.length>1)}:_==null?{label:t.jsx("div",{}),value:"",groupLabel:!1,defaultChecked:!1,isException:!1}:{label:t.jsx(ei,{setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,cardsSelectedForBulkAction:c,isCardControlsEnabled:d,showViewForCardUser:m,cardDetail:_,signedInUser:y,resendInviteId:R,index:a-1,onChargeCardResendInviteClick:B,onChargeCardRowClick:D}),value:_.id,groupLabel:!1,defaultChecked:!1,isException:d&&r?!Ie(_,void 0,l):!1,exceptionMode:"checked_or_hover",exceptionInfo:es(_,void 0,l),exceptionType:Ie(_,void 0,l)?void 0:"info"},[Q,_,m,s,e.sortKey,e.sortOrder,c,x,w,g,S,j,d,y,R,a,B,D,l]);return t.jsx(fs,{style:H,className:"spend-management-list-item",children:t.jsx(zt,{checkBox:de,fieldName:"bulkSelectIds",index:a,allCheckBoxValues:z,groupLabelCheckBox:te,mode:v,checkBoxContainerStyle:E,checkBoxIconStyle:O,checkBoxStyle:Q?M:V,labelCheckBoxStyle:M,labelStyle:F,style:{gap:i.sp3},infoIconContainerStyle:W,selectionLimit:n})})},cs=e=>{let s={zIndex:1,height:i.sp3,display:"flex",alignItems:"center"};return e==="small"&&(s={...s,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),s},hs=e=>{let s={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(s={...s,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),s},ei=pe.memo(({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardResendInviteClick:j,onChargeCardRowClick:k})=>{const h=ie()==="small"?_o:Gi;return t.jsx(h,{cardDetail:n,index:S,isCardControlsEnabled:a,setActionTypeForRowAction:s,setCardIdForRowAction:e,showViewForCardUser:x,signedInUser:w,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,rowActionView:r,onChargeCardRowClick:k,resendInviteId:g,onChargeCardResendInviteClick:j})},(e,s)=>{const r=e.cardsSelectedForBulkAction.includes(e.cardDetail.id),d=s.cardsSelectedForBulkAction.includes(s.cardDetail.id),c=e.rowActionView.cardId===e.cardDetail.id,l=s.rowActionView.cardId===s.cardDetail.id;return r===d&&c===l&&e.cardDetail===s.cardDetail&&e.isCardControlsEnabled===s.isCardControlsEnabled&&e.unlockChargeCardsFetchState===s.unlockChargeCardsFetchState&&e.revokeChargeCardsInviteFetchState===s.revokeChargeCardsInviteFetchState&&e.resendInviteId===s.resendInviteId&&e.showViewForCardUser===s.showViewForCardUser&&e.signedInUser===s.signedInUser&&e.index===s.index});ei.displayName="ChargeCardRowWrapper";const ps=o(ji)`
|
|
529
|
+
`,Ks=20,Ie=(e,s,r)=>!(r!=null&&e.status.code!==r||e.status.code==="closed"||e.status.code==="closed_by_customer"),es=(e,s,r)=>{const d=le.getLocalizedStrings(),c=d.spendManagement.chargeCard.cardList.bulkActions.exceptionMessages;if(e.status.code==="closed"||e.status.code==="closed_by_customer")return c.closedCardsCannotBeSelected;if(r!=null&&e.status.code!==r){const l=d.spendManagement.chargeCard.cardList.status[r];return c.onlyCardsUnderStatusCanBeSelectedTogether.replace("__status__",l)}return c.cardCannotBeSelectedForAction},ne={lastListItemHeight:new C(200,158),bannerWrapperMarginLeftRight:new C(p[3],p[8]),styledAIIconContainerSize:new C(p[3],p[3]),checkBoxContainerStyleMarginLeft:new C(p[0],p[4]),checkBoxContainerStyleMarginRight:new C(p[0],p[8]),labelCheckBoxStyleMarginLeft:new C(p[2],p[0])},ts={moreItemFont:new ft("extraSmallRegular","smallRegular")},me=le.getLocalizedStrings(),{spendManagement:{chargeCard:P},common:ae}=me,ht=50,is=64,os=351,ss=136,Qt=pe.memo(({cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,setCardIdForRowAction:c,setActionTypeForRowAction:l,rowActionView:a,showViewForCardUser:n,productInformation:x,isChargeCardFeatureEnabled:w,isChargeCardSetupEnabled:g,isDebitCardFeatureEnabled:S,isDebitCardSetupEnabled:j,cashbackInformation:k,creditAccountInformation:h,debitAccountInformation:m,depositAccountListWithDebitCardIssued:y,uiState:R,signedInUser:B,fetchState:D,revokeChargeCardsInviteFetchState:A,unlockChargeCardsFetchState:N,receiptBotEmail:u,searchText:v,resendInviteId:E,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:O,onProceedForBulkActionClick:H,onBulkCloseClick:z,onBulkLockClick:te,setShowBulkChangeSpendLimitPopup:Q,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,onReloadCards:K,onColumnSortConfigChanged:oe,handleClearSelection:xe})=>{const b=ie(),ze=Se(),Ue=ci().analytics,Ne=!!ze.loggedInUserRole.includes("charge_card_user"),Me=Ae(),[,We]=hi(),[ke,He]=f.useState(!1),[Fe,Ke]=f.useState(!1),ii=f.useCallback(()=>{u!=null&&((!w||r.fetchState==="Completed"&&d.fetchState==="Completed")&&(!(S&&j)||y.fetchState==="Completed")&&Ue.trackCardsCopyIconClick(s,x,"Cards List","Copy","copied","Receipt Email",u,k,h,m),We(u),He(!0))},[u,w,r.fetchState,d.fetchState,S,j,y.fetchState,Ue,s,x,k,h,m,We]);f.useEffect(()=>{if(ke===!0){const U=setTimeout(()=>{He(!1)},800);return()=>clearTimeout(U)}},[ke]);const oi=f.useCallback(U=>{H(U)},[H]),Pe=f.useCallback(U=>U===0?ht:b!=="small"?pi:Ne?ui:mi,[b,Ne]),si=f.useMemo(()=>{let U=ht+is;for(let we=1;we<=e.length;we++)U+=Pe(we);return U},[e.length,Pe]),qe=f.useMemo(()=>window.innerHeight-os,[]),ri=si>qe,Ge=f.useRef(null);f.useEffect(()=>{Ge.current?.resetAfterIndex(0)},[b]);const ai=()=>D==="Error"?t.jsxs(ms,{children:[t.jsx(gs,{onClick:K,"data-testid":G("charge-card-list-reload"),children:t.jsx(xs,{})}),t.jsx(ws,{children:ae.reloadPage.label})]}):D==="Completed"&&e.length===0?t.jsx(xi,{sourceView:"charge_cards",style:{height:"calc(100vh - 450px)"},title:P.cardList.getStarted,message:v!==""?P.cardList.noDataWithFilterText:P.cardList.noDataText,messageStyle:{maxWidth:345,color:Me.colors.primary,...Be.largeRegular.cssObject}}):t.jsxs(ti,{children:[u!=null?t.jsxs(Ss,{windowSize:b,children:[t.jsx(Is,{windowSize:b,children:t.jsx(Ls,{})}),t.jsxs(As,{windowSize:b,children:[t.jsxs(ks,{children:[t.jsx(ps,{children:P.aiCardAgentText}),ae.strings.space,P.receiptBotMessage,ae.strings.space]}),t.jsxs(bs,{"data-testid":G("charge-card-list-copy-email"),onClick:ii,onMouseEnter:()=>Ke(!0),onMouseLeave:()=>Ke(!1),children:[t.jsx(vs,{children:u}),ke===!0?t.jsxs(ut,{children:[t.jsx(js,{}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Fe||ke,color:I.primaryDark,children:ae.copyToClipBoard.copied})})]}):t.jsxs(ut,{children:[t.jsx($s,{color:Fe?Me.colors.primary:void 0}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Fe&&b!=="small",children:ae.copyToClipBoard.copy})})]})]})]})]}):null,t.jsx(Cs,{windowSize:b,availableHeight:qe,isListTooLarge:ri,children:t.jsx(wi,{children:({height:U,width:we})=>t.jsx(Ci,{ref:Ge,height:U,itemCount:e.length+1,innerElementType:Zt,itemSize:Pe,estimatedItemSize:yi,itemKey:ve=>ve===0?"header":e[ve-1].id,width:we,overscanCount:fi,initialScrollOffset:0,children:ve=>t.jsx(ds,{...ve,setCardIdForRowAction:c,setActionTypeForRowAction:l,rowActionView:a,resendInviteId:E,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,showViewForCardUser:n,cardList:e,signedInUser:B,uiState:R,revokeChargeCardsInviteFetchState:A,unlockChargeCardsFetchState:N,onColumnSortConfigChanged:oe,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:O})})})})]});return t.jsxs(us,{fetchState:D,children:[ai(),W.length>0&&N!=="In-Progress"&&A!=="In-Progress"?t.jsx(gi,{helperContainerStyle:b==="small"?{margin:`${i.sp5} ${i.sp7} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:!0,primaryBtn:{label:as(F),isLoading:!1,isDisabled:!1,type:"button",onClick:()=>{const U=Xt(F);U&&oi(U)}},cancelBtn:{label:ae.texts.goBack,isDisabled:!1,onClick:xe,style:b==="small"?{}:ns(F)},leftSideComponent:Fs(W.length,O,b),rightSideComponent:t.jsx(Ds,{firstSelectedCardStatus:F,windowSize:b,setShowBulkChangeSpendLimitPopup:Q,onBulkCloseClick:z,onBulkLockClick:te})}):null]})},(e,s)=>e.cardList===s.cardList&&e.cardsSelectedForBulkAction.length===s.cardsSelectedForBulkAction.length&&e.fetchState===s.fetchState&&e.uiState.sortKey===s.uiState.sortKey&&e.uiState.sortOrder===s.uiState.sortOrder&&e.rowActionView===s.rowActionView&&e.unlockChargeCardsFetchState===s.unlockChargeCardsFetchState&&e.revokeChargeCardsInviteFetchState===s.revokeChargeCardsInviteFetchState&&e.searchText===s.searchText&&e.receiptBotEmail===s.receiptBotEmail&&e.isCardControlsEnabled===s.isCardControlsEnabled&&e.firstSelectedCardStatus===s.firstSelectedCardStatus&&e.handleClearSelection===s.handleClearSelection);Qt.displayName="ChargeCardListContent";const rs=({cardsSelectedForBulkAction:e,cardList:s,firstSelectedCardStatus:r,bulkSubmissionLimit:d,updateBulkActionList:c,removeAllCardsFromBulkActionList:l,isChargeCardSetupEnabled:a,...n})=>{const x="bulkSelectIds",w=li({defaultValues:{[x]:e},values:{[x]:e}});f.useEffect(()=>{const S=w.watch((j,{name:k})=>{if(k===x){let h=[];const m=j[x]??[];if(m.includes(me.common.all.toLowerCase()))if(e.length===0){h=[];for(const y of s)if(Ie(y,void 0,r)&&h.push(y.id),h.length===d)break}else h=m.filter(y=>y!==me.common.all.toLowerCase());else h=m.filter(y=>y!=null);c(h)}});return()=>S.unsubscribe()},[c,e.length,s,r,d]);const g=f.useCallback(()=>{w.setValue(x,[]),l()},[w,l]);return t.jsx(di,{...w,children:t.jsx(Qt,{...n,cardsSelectedForBulkAction:e,cardList:s,firstSelectedCardStatus:r,bulkSubmissionLimit:d,isChargeCardSetupEnabled:a,handleClearSelection:g})})},Xt=e=>{if(e!=null)switch(e){case"active":return"update_limit";case"locked":return"unlock";case"inactive":return"close";case"request_on_hold":return"revoke_invite";default:return}},as=e=>{if(e==null)return"Proceed";switch(e){case"active":return P.cardDetails.moreOptions.updateSpendLimit;case"locked":return P.cardDetails.moreOptions.unlock;case"inactive":return P.closeCard.closeCard;case"request_on_hold":return P.cardDetails.revokeInvite;default:return ae.proceed}},ns=e=>{switch(Xt(e)){case"update_limit":return{minWidth:"173px"};case"unlock":return{minWidth:"119px"};case"close":return{minWidth:"111px"};case"revoke_invite":return{minWidth:"128px"};default:return{}}},Zt=f.forwardRef((e,s)=>{const{children:r,style:d,...c}=e;return t.jsx(ti,{ref:s,style:{...d,width:"auto"},...c,children:t.jsx(ys,{children:r})})});Zt.displayName=P.cardList.headerElementDisplayName;const ls=({cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,fetchState:c,uiState:l,setCardIdForRowAction:a,setActionTypeForRowAction:n,receiptBotEmail:x,searchText:w,resendInviteId:g,showViewForCardUser:S,signedInUser:j,isChargeCardFeatureEnabled:k,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:A,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,onChargeCardRowClick:te,onReloadCards:Q,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de,depositAccountListWithDebitCardIssued:K,rowActionView:oe,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b})=>(ni({componentName:"cards.list",enabled:c==="Completed"}),t.jsx(rs,{cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,setCardIdForRowAction:a,setActionTypeForRowAction:n,rowActionView:oe,isChargeCardFeatureEnabled:k,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:A,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,depositAccountListWithDebitCardIssued:K,showViewForCardUser:S,signedInUser:j,fetchState:c,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b,receiptBotEmail:x,searchText:w,resendInviteId:g,onReloadCards:Q,onChargeCardRowClick:te,uiState:l,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de})),qs=pe.memo(ls),ds=({uiState:e,onColumnSortConfigChanged:s,isBulkActionAllowed:r,isCardControlsEnabled:d,cardsSelectedForBulkAction:c,firstSelectedCardStatus:l,bulkSubmissionLimit:a,index:n,setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,style:k,cardList:h,showViewForCardUser:m,signedInUser:y,resendInviteId:R,onChargeCardResendInviteClick:B,onChargeCardRowClick:D})=>{const A=ie(),N=Ae(),u=g.cardId!=null&&g.unlockChargeCardsFetchState.fetchState==="In-Progress"||j==="In-Progress"&&c.length>0,v=!r||u||d===!1||h.length<=1?"off":c.length>0?"always_on":"checked_or_hover",E={gap:i.sp3,width:"auto",marginLeft:ne.checkBoxContainerStyleMarginLeft.valuePx(A),marginRight:ne.checkBoxContainerStyleMarginRight.valuePx(A)},M={marginLeft:ne.labelCheckBoxStyleMarginLeft.valuePx(A)},V=hs(A),W=cs(A),F={width:"100%"},O={backgroundColor:N.colors.grey4},H={...k,width:"100%"},z=f.useMemo(()=>{const K=[me.common.all.toLowerCase()];for(const oe of h)if(!(d&&!Ie(oe,void 0,l))&&(K.push(oe.id),a!=null&&K.length===a+1))break;return K},[h,d,l,a]),te={label:"",defaultChecked:!1,groupLabel:!0,value:me.common.all.toLowerCase(),isException:!(c.length>0)},Q=n===0,_=Q?null:h[n-1],de=f.useMemo(()=>Q?{label:t.jsx(vo,{companyNameSticky:!1,showViewForCardUser:m,onColumnSortConfigChanged:s,sortConfig:{sortKey:e.sortKey,sortOrder:e.sortOrder}}),defaultChecked:!1,groupLabel:!0,value:me.common.all.toLowerCase(),isException:!(c.length>0&&h.length>1)}:_==null?{label:t.jsx("div",{}),value:"",groupLabel:!1,defaultChecked:!1,isException:!1}:{label:t.jsx(ei,{setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:j,cardsSelectedForBulkAction:c,isCardControlsEnabled:d,showViewForCardUser:m,cardDetail:_,signedInUser:y,resendInviteId:R,index:n-1,onChargeCardResendInviteClick:B,onChargeCardRowClick:D}),value:_.id,groupLabel:!1,defaultChecked:!1,isException:d&&r?!Ie(_,void 0,l):!1,exceptionMode:"checked_or_hover",exceptionInfo:es(_,void 0,l),exceptionType:Ie(_,void 0,l)?void 0:"info"},[Q,_,m,s,e.sortKey,e.sortOrder,c,x,w,g,S,j,d,y,R,n,B,D,l]);return t.jsx(fs,{style:H,className:"spend-management-list-item",children:t.jsx(zt,{checkBox:de,fieldName:"bulkSelectIds",index:n,allCheckBoxValues:z,groupLabelCheckBox:te,mode:v,checkBoxContainerStyle:E,checkBoxIconStyle:O,checkBoxStyle:Q?M:V,labelCheckBoxStyle:M,labelStyle:F,style:{gap:i.sp3},infoIconContainerStyle:W,selectionLimit:a})})},cs=e=>{let s={zIndex:1,height:i.sp3,display:"flex",alignItems:"center"};return e==="small"&&(s={...s,position:"absolute",left:i.sp2,marginBottom:i.sp1,width:i.sp4,height:i.sp4}),s},hs=e=>{let s={zIndex:1,marginBottom:i.sp3,backgroundColor:"inherit"};return e==="small"&&(s={...s,position:"absolute",left:i.sp1,width:i.sp4,height:i.sp4}),s},ei=pe.memo(({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardResendInviteClick:j,onChargeCardRowClick:k})=>{const h=ie()==="small"?_o:Gi;return t.jsx(h,{cardDetail:a,index:S,isCardControlsEnabled:n,setActionTypeForRowAction:s,setCardIdForRowAction:e,showViewForCardUser:x,signedInUser:w,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,rowActionView:r,onChargeCardRowClick:k,resendInviteId:g,onChargeCardResendInviteClick:j})},(e,s)=>{const r=e.cardsSelectedForBulkAction.includes(e.cardDetail.id),d=s.cardsSelectedForBulkAction.includes(s.cardDetail.id),c=e.rowActionView.cardId===e.cardDetail.id,l=s.rowActionView.cardId===s.cardDetail.id;return r===d&&c===l&&e.cardDetail===s.cardDetail&&e.isCardControlsEnabled===s.isCardControlsEnabled&&e.unlockChargeCardsFetchState===s.unlockChargeCardsFetchState&&e.revokeChargeCardsInviteFetchState===s.revokeChargeCardsInviteFetchState&&e.resendInviteId===s.resendInviteId&&e.showViewForCardUser===s.showViewForCardUser&&e.signedInUser===s.signedInUser&&e.index===s.index});ei.displayName="ChargeCardRowWrapper";const ps=o(ji)`
|
|
530
530
|
color: ${e=>e.theme.colors.brandColorSapphire};
|
|
531
531
|
${({theme:e})=>e.mode==="dark"&&`color: ${I.brandColorPearl};`}
|
|
532
532
|
`,us=o.div`
|
|
@@ -566,7 +566,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
566
566
|
${({isListTooLarge:e,windowSize:s})=>(e||s==="small")&&`
|
|
567
567
|
.spend-management-list-item:last-of-type {
|
|
568
568
|
/* NOTE: !important is used to ensure padding is applied to the last item in the virtualized list. */
|
|
569
|
-
height: ${
|
|
569
|
+
height: ${ne.lastListItemHeight.valuePx(s)} !important;
|
|
570
570
|
padding-bottom: ${i.sp9};
|
|
571
571
|
}
|
|
572
572
|
`}
|
|
@@ -590,7 +590,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
590
590
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
591
591
|
gap: ${i.sp1};
|
|
592
592
|
margin: 0
|
|
593
|
-
${e=>
|
|
593
|
+
${e=>ne.bannerWrapperMarginLeftRight.valuePx(e.windowSize)};
|
|
594
594
|
margin-bottom: ${i.sp3};
|
|
595
595
|
`,ks=o($i)`
|
|
596
596
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -629,9 +629,9 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
629
629
|
left: -50%;
|
|
630
630
|
display: ${e=>e.shouldDisplay?"block":"none"};
|
|
631
631
|
`,Is=o.div`
|
|
632
|
-
width: ${e=>
|
|
633
|
-
min-width: ${e=>
|
|
634
|
-
height: ${e=>
|
|
632
|
+
width: ${e=>ne.styledAIIconContainerSize.valuePx(e.windowSize)};
|
|
633
|
+
min-width: ${e=>ne.styledAIIconContainerSize.valuePx(e.windowSize)};
|
|
634
|
+
height: ${e=>ne.styledAIIconContainerSize.valuePx(e.windowSize)};
|
|
635
635
|
top: ${i.sp1};
|
|
636
636
|
position: ${e=>e.windowSize==="small"?"relative":"static"};
|
|
637
637
|
`,Ls=o(vi)`
|
|
@@ -647,7 +647,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
647
647
|
align-items: center;
|
|
648
648
|
gap: ${i.sp2};
|
|
649
649
|
margin-left: ${i.sp8};
|
|
650
|
-
`,Fs=(e,s,r)=>{const d=P.common.card,c=(e>1?d+"s":d)+P.cardList.bulkActions.selected;return e>0?t.jsxs(zs,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Ps,{multiDigit:e>=10,children:e}),t.jsx(Rs,{children:c}),e===s?t.jsx(Bs,{children:
|
|
650
|
+
`,Fs=(e,s,r)=>{const d=P.common.card,c=(e>1?d+"s":d)+P.cardList.bulkActions.selected;return e>0?t.jsxs(zs,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Ps,{multiDigit:e>=10,children:e}),t.jsx(Rs,{children:c}),e===s?t.jsx(Bs,{children:ae.texts.maxLimit}):null]}):null},Ps=o(Y)`
|
|
651
651
|
height: 18px;
|
|
652
652
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
653
653
|
padding: ${i.sp0} 6px;
|
|
@@ -662,7 +662,7 @@ import{ce as ai,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,e as
|
|
|
662
662
|
color: ${e=>e.theme.colors.primary};
|
|
663
663
|
`,Bs=o(ee)`
|
|
664
664
|
color: ${I.important};
|
|
665
|
-
`,Ds=({firstSelectedCardStatus:e,windowSize:s,setShowBulkChangeSpendLimitPopup:r,onBulkCloseClick:d,onBulkLockClick:c})=>{const[l,
|
|
665
|
+
`,Ds=({firstSelectedCardStatus:e,windowSize:s,setShowBulkChangeSpendLimitPopup:r,onBulkCloseClick:d,onBulkLockClick:c})=>{const[l,a]=pe.useState(!1),[n,x]=pe.useState(!1);if(f.useEffect(()=>{l||x(!1)},[l]),e==null||e!=="active"&&e!=="locked")return null;const w=()=>e==="active"?t.jsxs(t.Fragment,{children:[t.jsxs(be,{windowSize:s,onClick:g=>{g.stopPropagation(),a(!1),c?.()},children:[t.jsx(Vs,{}),t.jsx(xt,{children:P.cardDetails.moreOptions.lock})]}),t.jsx(gt,{}),t.jsxs(be,{windowSize:s,hoverImportant:!0,onClick:g=>{g.stopPropagation(),a(!1),d?.()},children:[t.jsx(Ct,{}),t.jsx(wt,{children:P.cardDetails.moreOptions.close})]})]}):e==="locked"?t.jsxs(t.Fragment,{children:[t.jsxs(be,{windowSize:s,onClick:g=>{g.stopPropagation(),a(!1),r(!0)},children:[t.jsx(Os,{}),t.jsx(xt,{children:P.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(gt,{}),t.jsxs(be,{windowSize:s,hoverImportant:!0,onClick:g=>{g.stopPropagation(),a(!1),d?.()},children:[t.jsx(Ct,{}),t.jsx(wt,{children:P.cardDetails.moreOptions.close})]})]}):null;return t.jsx(_s,{style:s==="small"?{position:"absolute",top:i.sp7,right:`-${i.sp5}`}:{},children:t.jsx(Es,{onMouseEnter:()=>{l||x(!0)},onMouseLeave:()=>{x(!1)},children:t.jsx(ye,{open:n&&!l,variant:"standard",title:P.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(Ts,{children:w()}),setIsMenuOpen:a,isMenuOpen:l,menuIconStyles:{height:"auto"},styles:{transform:s==="small"?`translate(${i.sp4}, -${i.sp7})`:`translate(${i.sp4}, -${i.sp5})`}})})})})},_s=o.div`
|
|
666
666
|
display: flex;
|
|
667
667
|
justify-content: flex-end;
|
|
668
668
|
`,Es=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as ze,aw as Re,J as H,e as F,V as t,bD as Ie,b as I,g7 as Te,F as T,u as l,o as i,y as x,jl as De,ce as Be,jm as Q,aQ as A,b4 as Ae,cu as Oe,iT as Me,bP as Ne,aU as He,al as W,dy as j,gY as Y,aO as K,bU as We,cw as Ee,bS as Ve,am as N,cA as X,p as $,gZ as pe,fR as me,fN as ge,cj as Ke,ai as U,iI as ue,bN as Fe,jn as Ue,i$ as _e,cD as Ze,aW as z,j0 as Ye,j1 as Je}from"./index-
|
|
1
|
+
import{a8 as ze,aw as Re,J as H,e as F,V as t,bD as Ie,b as I,g7 as Te,F as T,u as l,o as i,y as x,jl as De,ce as Be,jm as Q,aQ as A,b4 as Ae,cu as Oe,iT as Me,bP as Ne,aU as He,al as W,dy as j,gY as Y,aO as K,bU as We,cw as Ee,bS as Ve,am as N,cA as X,p as $,gZ as pe,fR as me,fN as ge,cj as Ke,ai as U,iI as ue,bN as Fe,jn as Ue,i$ as _e,cD as Ze,aW as z,j0 as Ye,j1 as Je}from"./index-Dm-b67Hf.js";import{a as S,P as J}from"./sentry-C2Rgx3zV.js";import{n,c as q}from"./mui-BLkKBV85.js";import{t as Ge}from"./SpendManagementSection-Dbk_Ojop-DcKtjVjR.js";import{r as Qe,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-YoHK4LrJ-DYhZa44h.js";import{ck as xe,G9 as fe}from"./zeni-epic-state-TdgpFmku.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-rBHUDSkc.js";import"./liveblocks-EGukjQZF.js";import"./core-DjXOmtSJ.js";import"./recharts-B8tzuQ8V.js";import"./lottie-DiLnfF8e.js";import"./analytics-Dd9GkS_R.js";import"./lexical-C3TbZeLl.js";import"./utils-CQTOz44B.js";import"./StatusSwitcher-B523Fhna-CVWspTKV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="034859b7-65a9-42f3-b706-8e246c41f707",e._sentryDebugIdIdentifier="sentry-dbid-034859b7-65a9-42f3-b706-8e246c41f707")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Je)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=F(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":A("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":A("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":A("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=J.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|