@zeniai/web-cockpit-ui 1.15.6-prod → 1.15.7-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-DDuW5spI-CxBhE7Uh.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-CXuvh1Mj.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-BuWc_ZhS.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cc7T0poM.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-DEaKMPcI.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-YQWO0ylP.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-ByHps-3E.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-CgvntkH8.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-CxKXezYQ.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-kcd_hhsG.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-CxNtm4NA.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-DzDRUDUh.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-BD4Vxp0E.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-BwabwD2J.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-DodXQ7og.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-Bcjgvkpm.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-ST4ITFLw.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-Jkspsyof.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-YCKvdGwA.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-CdPd-E0Q.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-jbIIvIwA.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-any6qZ9S.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-PGU7hKFY.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-SNTH8wHn.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-OW_panID.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-JwTnC0Kx.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BJrrvAG-.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-nSpsePO4.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-BL1yS_tf.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-BUUNEdwx.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-DyCLS6HZ.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-DDPTuP3u.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-Ckvz33NS.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-BjyVVJMg.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-ydNsV_qc.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-BrgxbNdY.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-B9NIAtJj.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-C0O6oJwW.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-JjYy_N9B.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-gqqM0PRu.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-BiZRj88l.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-eESZshql.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-CrFmiDtl.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-CrsoJ2C7.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-BTKsWShT.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-Dw6XE7aa.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-DhXz26Bv.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-Dl8g77db.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-D77RURF6.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-DpdJo5HW.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-uI7P44U9.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-D8_1so-E.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-02iAGHJh.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-H2pOzd67.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-DhDW8V_C.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-D0GIa5Jp.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-DhSVDpI_.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-C8b3BL5y.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-G6vpn5Wz.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-CYr5tDRK.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-RBnA5Ca9.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DTJXmvNA.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-BM7Hnv51.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Cq1w6csA.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-Cy_9vDs9.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-BqJCkz8H.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-DE9iWLdm.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DPI4bKEB.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-DwbNBXVg.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-CFKKSfFF.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-COoDFa0v.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-B89RB2FN.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-B31u1ckI.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-CWQFC9JM.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-L7Ccutbp.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-CG2-2xv-.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-mDciw5rT.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-b-hRGyRF.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-DM_W9RTM.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-ZM4_z0u0.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-Cbcftjbf.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-Dp43QcHp.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-D4Z6Nf6c.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-DSNP6utN.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-xZKDdZdE.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-BwulGOOk.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-CKgoV309.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-CjoZPZtE.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-CesSdpJn.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-Cr3MV5Yg.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-BogVFGLe.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-CNtvF6H2.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-BOxZB8DW.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-R3SuRmJv.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-k19YxZ9B.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-B0tksHJH.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-DeLcZlC2.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-wb5Byym9.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-DZXFBHSQ.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-BYhq_r4f.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-BJXffSIG.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-CH_Aj1TS.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-CZyV2WsE.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-Blxm3m2m.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-D5wSTcL3.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-C4LrpZuT.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-BgHtSbbe.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-BD_FRT7T.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-DYpvDh_s.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-CvMOkKtj.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-BdMCVFoN.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-7sE9zMtR.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-NgO9SEC-.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-jRakJ6IM.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-C4WIryes.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-B3NWtaDa.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DyMvoV5V.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BhWOLpxC.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-P_F72pZj.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-CVtWxGtY.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-BVoclXHH.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-B1JAZuX-.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-CxkR_zoB.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-B-3SwxWb.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-DF0jNwa1.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-DfpvK_gh.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-D0ww-92G.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-D44YxP7E.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-CDxikjtH.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-rdDVAjhD.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-BYZZjtrc.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-CRlJFb7k.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-Ck3O3NDm.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-CH5jc7e_.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-CEfGLHmx.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-Bxe8waVi.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-D2Z_Pc4R.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-UvonfFtF.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-u8M8bbk0.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-CUH5BmSp.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-DxAjDd8a.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-jG2CrtCZ.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BoU7iBTo.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-CREauugt.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-CPLKJIzn.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-CjJmglTF.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-BepHvkSg.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-KdMSavnE.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-1vwhBTtH.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-W4fJ8I9f.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BVJhSnaV.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-D6r42BIG.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-zWJkLwXW.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j-BCPOrLA4.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-F6T3KnhO.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-1kKOeWZG.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-B3AuF-kZ.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CaLF7RzP.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BhLn5BVs.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-D1LdKGXu.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-tNoRmHaA.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-D-lJdgOT.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DHoVUI8d.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CCnsYNN2.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-DpXPTvhf.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-BzWLW9Yh.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-DC8VfZYY.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-DRgi22QZ.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-BmaoA3iM.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-BOJ85jTH.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-DnuA45tN.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-YAzUsLWo.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-DIaGol0s.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D8uaCs9t.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BnqvP-Mg.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BrG8Enhv.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-S4DZNWEu.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-fCU66cGL.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-CzPNam9l.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-CvvJB6hF.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-tx0waYy2.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-B5xx_eN8.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-Cb-eu--2.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index-Bk_A1gE6.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-ewc-g90D.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-Bz_57PUs.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-D9rmsbLV.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-CRPLWovY.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-KokF2RU0.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-CvhriUJf.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Bq22-rqt.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cp9UCpd-.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-C0XMjaMg.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-DyHZEwLG.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-1y3MANKU.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-CZGWH6Mz.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DwmtkHEd.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-KuTvFOki.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BuDJflUo.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-DGrzv3mJ.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-NgHQTHYn.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-agJ08X3c.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B2GDXTMJ.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-BM3egbjZ.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-DVW_vb-O.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-BZtR51vy.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-DZoi54Ss.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-DDYZGiRl.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DGRuYRk_.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-T0IDSH6l.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-D6Foy4XN.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-CwvuK4v8.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-CJm_njaM.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-JjH1tV75.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-B4H86TF1.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-B7qWB_0N.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-BJTtQskx.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-DBc81PKU.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-DdfK5FFg.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-BUrwQfBs.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-D3HgRrS2.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CWciNrIc.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-B9NXIxKZ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DeIXARbP.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-CXD4vrU3.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-CgnIn8Qd.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-ZMR8XDUG.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-nPFsk-wT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-DM_ekN05.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-CjSQCSFf.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-ChZJhV1s.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-ey3F6N1L.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-DwFZWMbr.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DvpagR71.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-BZ8x_1Ah.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-CLVUTw1S.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-bRV6SDw3.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-DwpnOrFK.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-CXzAYn45.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-SVNrNqxf.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-BqPxf-U1.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-BQMeqgMv.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-m6PBJMlQ.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-CaBwJEED.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-HYKKhiVi.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-CDCDeN6H.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-CvBLg0wo.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-DKniLk2q.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-BbCuAOE5.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-DFD5XJ1t.js +0 -1
- package/dist/assets/epic-C_3GO3yP.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-Dr0mqpSP.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DADCfTco.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-A6rpifcc.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-C8_Xm6ja.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-DnnE8m6M.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as ze,gW as hi,iL as pi,iM as ui,iN as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iO as fi,iP as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iQ as ji,aS as bi,u as Ii,ai as ee,gZ as Li,am as G,al as Z,c as p,cP as zi,ex as Ai,iR as Fi,iS as Pi,R as ft,bW as yt,iT as St,iU as Ri,bP as Bi,cw as Ge,iV as kt,dq as Di,dr as q,aL as ce,ct as vt,k as $t,iW as _i,cz as Ei,iD as Ze,bI as jt,bK as bt,iX as Ti,iY as Vi,aT as $e,bs as Oi,bX as Ui,bY as Ni,iZ as Mi}from"./index-Cb-eu--2.js";import{S as pe,a as f}from"./sentry-agJ08X3c.js";import{n as o,c as Je}from"./mui-CvhriUJf.js";import{P as Ve}from"./Menu-TzNY4ajT-xZKDdZdE.js";import{T as It}from"./RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js";import{j as Oe}from"./CardNumberSubText-ByPbO0F8-BJrrvAG-.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]="c6e57c0e-8665-4f7a-82d3-27c750b135de",e._sentryDebugIdIdentifier="sentry-dbid-c6e57c0e-8665-4f7a-82d3-27c750b135de")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ye={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Qe,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),J=a.type.code,_=$.cardList.tooltip[J],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Zi,{windowSize:v,children:t.jsx(Ji,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Yi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Ze,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Ze,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(Z)`
|
|
1
|
+
import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,e as ze,gU as hi,iJ as pi,iK as ui,iL as mi,aP as gi,o as i,aN as X,ck as xi,b as Be,p as I,b2 as wi,cr as Ci,iM as fi,iN as yi,bR as ye,bM as Si,aR as ki,y as C,ez as vi,b9 as $i,iO as ji,aS as bi,u as Ii,ai as ee,gX as Li,am as G,al as J,d as p,cP as zi,cY as Ai,iP as Fi,iQ as Pi,M as ft,bW as yt,iR as St,iS as Ri,bP as Bi,cw as Ge,iT as kt,ds as Di,dt as q,aL as ce,ct as vt,A as $t,iU as _i,cz as Ei,iB as Je,bI as jt,bK as bt,iV as Ti,iW as Oi,aT as $e,bs as Vi,bX as Ui,bY as Ni,iX as Mi}from"./index-l9FViNoO.js";import{S as pe,a as f}from"./sentry-DWELwT5u.js";import{n as o,c as Qe}from"./mui-cKt0zt2w.js";import{P as Oe}from"./Menu-C_kotivE-FvhfNRdu.js";import{T as It}from"./RoleWithToolTip-CSoHoT3u-vTwGI01K.js";import{j as Ve}from"./CardNumberSubText-B6Fprh6S-CEzRIr67.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]="b2d9b2be-6c8d-45fe-9a23-91da1d46fe67",e._sentryDebugIdIdentifier="sentry-dbid-b2d9b2be-6c8d-45fe-9a23-91da1d46fe67")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Ye={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?[{...Ye,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Ye,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")},Xi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,F=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,A=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==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(O)}${Hi}`})}):null]}),Q=a.type.code,_=$.cardList.tooltip[Q],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Qi,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:A[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:A[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:A[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":X("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:A[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:A[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&F:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Ae=>{b||m(Ae)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Yi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Gi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(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"}})},Gi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(J)`
|
|
2
2
|
color: inherit;
|
|
3
|
-
`,fe=o(
|
|
3
|
+
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
5
|
-
`,
|
|
5
|
+
`,Ji=o.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
background-color: ${e=>e.theme.colors.grey5};
|
|
8
8
|
padding-left: ${e=>re.containerPaddingLeft.valuePx(e.windowSize)};
|
|
@@ -39,10 +39,10 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
39
39
|
margin-bottom: ${i.sp3};
|
|
40
40
|
box-sizing: border-box;
|
|
41
41
|
align-items: center;
|
|
42
|
-
`,
|
|
42
|
+
`,Qi=o.div`
|
|
43
43
|
display: block;
|
|
44
44
|
width: 100%;
|
|
45
|
-
`,
|
|
45
|
+
`,Yi=o(Ui)`
|
|
46
46
|
width: ${i.sp4};
|
|
47
47
|
height: ${i.sp4};
|
|
48
48
|
color: ${I.important};
|
|
@@ -54,7 +54,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
54
54
|
width: ${i.sp4};
|
|
55
55
|
height: ${i.sp4};
|
|
56
56
|
color: inherit;
|
|
57
|
-
`,se=o(
|
|
57
|
+
`,se=o(Vi)`
|
|
58
58
|
width: ${i.sp4};
|
|
59
59
|
height: ${i.sp4};
|
|
60
60
|
color: inherit;
|
|
@@ -66,7 +66,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
66
66
|
width: ${i.sp4};
|
|
67
67
|
height: ${i.sp4};
|
|
68
68
|
color: inherit;
|
|
69
|
-
`,
|
|
69
|
+
`,Zi=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
justify-content: space-between;
|
|
@@ -90,7 +90,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
90
90
|
overflow: hidden;
|
|
91
91
|
text-overflow: ellipsis;
|
|
92
92
|
white-space: nowrap;
|
|
93
|
-
`,oo=o(
|
|
93
|
+
`,oo=o(J)`
|
|
94
94
|
color: ${e=>e.theme.colors.hero};
|
|
95
95
|
flex-grow: 1;
|
|
96
96
|
-webkit-line-clamp: ${e=>re.webkitLineClamp.value(e.windowSize)};
|
|
@@ -108,14 +108,14 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
108
108
|
min-width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
109
109
|
position: relative;
|
|
110
110
|
padding-right: ${i.sp6};
|
|
111
|
-
`,ro=o(
|
|
111
|
+
`,ro=o(J)`
|
|
112
112
|
display: flex;
|
|
113
113
|
flex-direction: column;
|
|
114
114
|
color: ${e=>e.theme.colors.hero};
|
|
115
115
|
justify-content: flex-start;
|
|
116
116
|
align-items: flex-end;
|
|
117
117
|
gap: ${e=>e.isLoading?i.sp1:i.sp0};
|
|
118
|
-
`,ao=o(
|
|
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)};
|
|
@@ -147,21 +147,21 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
147
147
|
flex-direction: column;
|
|
148
148
|
justify-content: center;
|
|
149
149
|
gap: ${e=>e.isLoading?i.sp1:i.sp0};
|
|
150
|
-
`,lo=o(
|
|
150
|
+
`,lo=o(J)`
|
|
151
151
|
color: ${e=>e.theme.colors.hero};
|
|
152
152
|
max-width: 100%;
|
|
153
153
|
overflow: hidden;
|
|
154
154
|
text-overflow: ellipsis;
|
|
155
155
|
white-space: nowrap;
|
|
156
156
|
margin-bottom: -${i.sp1};
|
|
157
|
-
`,co=o(
|
|
157
|
+
`,co=o(J)`
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
159
|
width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
160
160
|
min-width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
161
161
|
box-sizing: border-box;
|
|
162
162
|
display: flex;
|
|
163
163
|
align-items: center;
|
|
164
|
-
`,ho=o(
|
|
164
|
+
`,ho=o(J)`
|
|
165
165
|
color: ${e=>e.theme.colors.hero};
|
|
166
166
|
max-width: 100%;
|
|
167
167
|
padding-right: ${i.sp2};
|
|
@@ -184,7 +184,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
184
184
|
display: flex;
|
|
185
185
|
align-items: start;
|
|
186
186
|
flex-direction: column;
|
|
187
|
-
`,uo=o(
|
|
187
|
+
`,uo=o(J)`
|
|
188
188
|
color: ${e=>e.theme.colors.hero};
|
|
189
189
|
max-width: 100%;
|
|
190
190
|
overflow: hidden;
|
|
@@ -269,9 +269,9 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
269
269
|
display: flex;
|
|
270
270
|
align-items: center;
|
|
271
271
|
gap: ${i.sp1};
|
|
272
|
-
`,At=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:z=!1,onDragStart:N})=>{const{control:u}=zi();return t.jsx(Ai,{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??X("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:z,onDragStart:N,ref:M,onChangeHandler:
|
|
272
|
+
`,At=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:z=!1,onDragStart:N})=>{const{control:u}=zi();return t.jsx(Ai,{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??X("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:z,onDragStart:N,ref:M,onChangeHandler:O=>Pi({event:O,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);At.displayName="VirtualizedCheckBoxField";const So=o.div`
|
|
273
273
|
position: relative;
|
|
274
|
-
`,
|
|
274
|
+
`,Y={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,Oi)};function ko({companyNameSticky:e,sortConfig:s,showViewForCardUser:r,onColumnSortConfigChanged:d}){const c=ze(),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(zo,{children:[t.jsx(Fo,{children:t.jsx(Ao,{})}),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":X("mobile-cards-list-sort-clicked",s.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:g,children:t.jsx(ct,{windowSize:l,children:t.jsx(Ge,{})})})]})]}):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":X("cards-list-sort-clicked",s.sortKey),children:[t.jsx(G,{children:h.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:h,children:t.jsx(ct,{windowSize:l,children:t.jsx(Ge,{})})})]}),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":X("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;
|
|
@@ -282,20 +282,20 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
box-sizing: border-box;
|
|
285
|
-
padding: ${
|
|
286
|
-
${
|
|
285
|
+
padding: ${Y.containerPaddingTop} ${Y.containerPaddingRight}
|
|
286
|
+
${Y.containerPaddingBottom} ${Y.containerPaddingLeft};
|
|
287
287
|
justify-content: space-between;
|
|
288
288
|
`,bo=o(ee)`
|
|
289
289
|
top: ${i.sp0};
|
|
290
290
|
left: ${i.sp0};
|
|
291
|
-
min-height: ${e=>
|
|
292
|
-
max-height: ${e=>
|
|
291
|
+
min-height: ${e=>Y.headerHeight.valuePx(e.windowSize)};
|
|
292
|
+
max-height: ${e=>Y.headerHeight.valuePx(e.windowSize)};
|
|
293
293
|
width: auto;
|
|
294
294
|
z-index: 2;
|
|
295
295
|
display: flex;
|
|
296
296
|
align-items: center;
|
|
297
297
|
box-sizing: border-box;
|
|
298
|
-
padding: ${e=>`${
|
|
298
|
+
padding: ${e=>`${Y.headerLastColumnTopPadding.valuePx(e.windowSize)} ${Y.headerLastColumnRightPadding.valuePx(e.windowSize)} ${Y.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${Y.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
299
299
|
background-color: ${e=>e.theme.colors.grey4};
|
|
300
300
|
justify-content: space-between;
|
|
301
301
|
position: sticky;
|
|
@@ -309,10 +309,10 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
309
309
|
align-items: center;
|
|
310
310
|
left: ${i.sp0};
|
|
311
311
|
justify-content: ${e=>e.actualDataValue==="limit"?"flex-end":"flex-start"};
|
|
312
|
-
${e=>e.companyNameSticky?
|
|
312
|
+
${e=>e.companyNameSticky?Qe`
|
|
313
313
|
position: sticky;
|
|
314
314
|
z-index: 1;
|
|
315
|
-
`:
|
|
315
|
+
`:Qe`
|
|
316
316
|
position: static;
|
|
317
317
|
z-index: 0;
|
|
318
318
|
`};
|
|
@@ -365,7 +365,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
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:
|
|
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(Xo,{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":X("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(Ot,{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(Ve,{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(Xt,{}),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(Vt,{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(Gt,{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,z=he.cardList.tooltip[D],N=z!=null?R?z.self:`${y} ${z.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",O=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":X("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(Oo,{children:t.jsx(Vo,{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(Vt,{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(Gt,{className:"infoIconTooltip"})}):null]})]}),r.status.code==="request_on_hold"&&!R?t.jsx(Go,{children:t.jsx(Jo,{onClick:F=>{F.stopPropagation(),n(r.id)},"data-testid":X("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(Ot,{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(Ve,{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(Xt,{}),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",V=r.status.code==="closed"||r.status.code==="closed_by_customer",H=m?d&&!O&&!V&&!(F&&r.isLockedByAdmin):d?!O&&W:r.status.code==="request_on_hold",A=S.length>0;return H&&t.jsx(Oe,{menuItems:t.jsx(Yo,{children:t.jsx(zt,{cardDetail:r,isCardControlsEnabled:d,isChargeCardUser:m,setIsMenuOpen:h,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:te=>{A||h(te)},isMenuOpen:k&&!A,menuIconStyles:{cursor:A?"not-allowed":"pointer",opacity:A?.5:1,pointerEvents:A?"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}`};
|
|
@@ -391,12 +391,12 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
391
391
|
display: flex;
|
|
392
392
|
width: 100%;
|
|
393
393
|
justify-content: space-between;
|
|
394
|
-
`,
|
|
394
|
+
`,Oo=o.div`
|
|
395
395
|
display: flex;
|
|
396
396
|
align-items: center;
|
|
397
397
|
gap: ${i.sp1};
|
|
398
398
|
flex-grow: 1;
|
|
399
|
-
`,
|
|
399
|
+
`,Vo=o(J)`
|
|
400
400
|
color: ${e=>e.theme.colors.hero};
|
|
401
401
|
display: -webkit-box;
|
|
402
402
|
-webkit-line-clamp: ${e=>De.webkitLineClamp.value(e.windowSize)};
|
|
@@ -442,12 +442,12 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
442
442
|
overflow: hidden;
|
|
443
443
|
text-overflow: ellipsis;
|
|
444
444
|
white-space: nowrap;
|
|
445
|
-
`,Tt=o.div``,
|
|
445
|
+
`,Tt=o.div``,Ot=o.div`
|
|
446
446
|
max-width: 100%;
|
|
447
447
|
overflow: hidden;
|
|
448
448
|
text-overflow: ellipsis;
|
|
449
449
|
white-space: nowrap;
|
|
450
|
-
`,
|
|
450
|
+
`,Vt=o.div`
|
|
451
451
|
display: flex;
|
|
452
452
|
align-items: center;
|
|
453
453
|
gap: ${i.sp1};
|
|
@@ -492,7 +492,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
492
492
|
color: ${e=>e.theme.colors.hero};
|
|
493
493
|
`,Go=o.div`
|
|
494
494
|
padding-right: 20px;
|
|
495
|
-
`,
|
|
495
|
+
`,Jo=o(bt)`
|
|
496
496
|
color: ${I.link};
|
|
497
497
|
cursor: pointer;
|
|
498
498
|
text-align: right;
|
|
@@ -507,17 +507,17 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
507
507
|
&:hover {
|
|
508
508
|
color: ${e=>e.theme.colors.primary};
|
|
509
509
|
}
|
|
510
|
-
`,
|
|
510
|
+
`,Qo=o.div`
|
|
511
511
|
position: absolute;
|
|
512
512
|
right: -${i.sp2};
|
|
513
513
|
top: ${i.sp2};
|
|
514
|
-
`,Qo=o.div`
|
|
515
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
516
514
|
`,Yo=o.div`
|
|
515
|
+
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
516
|
+
`,Zo=o.div`
|
|
517
517
|
display: flex;
|
|
518
518
|
align-items: end;
|
|
519
519
|
flex-direction: column;
|
|
520
|
-
`,
|
|
520
|
+
`,Jt=o(G)`
|
|
521
521
|
color: ${e=>e.theme.colors.hero};
|
|
522
522
|
max-width: 100%;
|
|
523
523
|
overflow: hidden;
|
|
@@ -526,7 +526,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
528
|
gap: ${i.sp1};
|
|
529
|
-
`,qs=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,Jt=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:z,unlockChargeCardsFetchState:N,receiptBotEmail:u,searchText:v,resendInviteId:E,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:O,onProceedForBulkActionClick:H,onBulkCloseClick:A,onBulkLockClick:te,setShowBulkChangeSpendLimitPopup:J,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,onReloadCards:K,onColumnSortConfigChanged:oe,handleClearSelection:xe})=>{const b=ie(),Ae=Se(),Ue=ci().analytics,Ne=!!Ae.loggedInUserRole.includes("charge_card_user"),Me=ze(),[,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,Xe=f.useRef(null);f.useEffect(()=>{Xe.current?.resetAfterIndex(0)},[b]);const ai=()=>D==="Error"?t.jsxs(ms,{children:[t.jsx(gs,{onClick:K,"data-testid":X("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(zs,{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":X("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:Xe,height:U,itemCount:e.length+1,innerElementType:Yt,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:z,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"&&z!=="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=Qt(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:J,onBulkCloseClick:A,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);Jt.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(Jt,{...n,cardsSelectedForBulkAction:e,cardList:s,firstSelectedCardStatus:r,bulkSubmissionLimit:d,isChargeCardSetupEnabled:a,handleClearSelection:g})})},Qt=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(Qt(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{}}},Yt=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})})});Yt.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:z,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:A,onChargeCardRowClick:te,onReloadCards:J,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:z,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:A,depositAccountListWithDebitCardIssued:K,showViewForCardUser:S,signedInUser:j,fetchState:c,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b,receiptBotEmail:x,searchText:w,resendInviteId:g,onReloadCards:J,onChargeCardRowClick:te,uiState:l,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de})),Xs=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 z=ie(),N=ze(),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(z),marginRight:ne.checkBoxContainerStyleMarginRight.valuePx(z)},M={marginLeft:ne.labelCheckBoxStyleMarginLeft.valuePx(z)},V=hs(z),W=cs(z),F={width:"100%"},O={backgroundColor:N.colors.grey4},H={...k,width:"100%"},A=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)},J=n===0,_=J?null:h[n-1],de=f.useMemo(()=>J?{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"},[J,_,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(At,{checkBox:de,fieldName:"bulkSelectIds",index:n,allCheckBoxValues:A,groupLabelCheckBox:te,mode:v,checkBoxContainerStyle:E,checkBoxIconStyle:O,checkBoxStyle:J?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:Xi;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)`
|
|
529
|
+
`,qs=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:z,unlockChargeCardsFetchState:N,receiptBotEmail:u,searchText:v,resendInviteId:E,isBulkActionAllowed:M,isCardControlsEnabled:O,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:V,onProceedForBulkActionClick:H,onBulkCloseClick:A,onBulkLockClick:te,setShowBulkChangeSpendLimitPopup:Q,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,onReloadCards:K,onColumnSortConfigChanged:oe,handleClearSelection:xe})=>{const b=ie(),Ae=Se(),Ue=ci().analytics,Ne=!!Ae.loggedInUserRole.includes("charge_card_user"),Me=ze(),[,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,Xe=f.useRef(null);f.useEffect(()=>{Xe.current?.resetAfterIndex(0)},[b]);const ai=()=>D==="Error"?t.jsxs(ms,{children:[t.jsx(gs,{onClick:K,"data-testid":X("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(zs,{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":X("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:Xe,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:z,unlockChargeCardsFetchState:N,onColumnSortConfigChanged:oe,isBulkActionAllowed:M,isCardControlsEnabled:O,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:V})})})})]});return t.jsxs(us,{fetchState:D,children:[ai(),W.length>0&&N!=="In-Progress"&&z!=="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=Yt(F);U&&oi(U)}},cancelBtn:{label:ae.texts.goBack,isDisabled:!1,onClick:xe,style:b==="small"?{}:ns(F)},leftSideComponent:Fs(W.length,V,b),rightSideComponent:t.jsx(Ds,{firstSelectedCardStatus:F,windowSize:b,setShowBulkChangeSpendLimitPopup:Q,onBulkCloseClick:A,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})})},Yt=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(Yt(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:z,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:O,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:V,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:A,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:z,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:O,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:V,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:A,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})),Xs=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 z=ie(),N=ze(),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(z),marginRight:ne.checkBoxContainerStyleMarginRight.valuePx(z)},M={marginLeft:ne.labelCheckBoxStyleMarginLeft.valuePx(z)},O=hs(z),W=cs(z),F={width:"100%"},V={backgroundColor:N.colors.grey4},H={...k,width:"100%"},A=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(At,{checkBox:de,fieldName:"bulkSelectIds",index:n,allCheckBoxValues:A,groupLabelCheckBox:te,mode:v,checkBoxContainerStyle:E,checkBoxIconStyle:V,checkBoxStyle:Q?M:O,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:Xi;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`
|
|
@@ -658,11 +658,11 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
658
658
|
align-items: center;
|
|
659
659
|
box-sizing: border-box;
|
|
660
660
|
color: ${e=>e.theme.colors.primary};
|
|
661
|
-
`,Rs=o(
|
|
661
|
+
`,Rs=o(J)`
|
|
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,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(
|
|
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(Os,{}),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(Vs,{}),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(Oe,{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`
|
|
@@ -693,7 +693,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
693
693
|
color: inherit;
|
|
694
694
|
`,wt=o(ee)`
|
|
695
695
|
color: ${I.important};
|
|
696
|
-
`,
|
|
696
|
+
`,Os=o(yt)`
|
|
697
697
|
width: ${i.sp4};
|
|
698
698
|
height: ${i.sp4};
|
|
699
699
|
color: inherit;
|
|
@@ -704,7 +704,7 @@ import{cb as ni,V as t,a9 as li,ac as di,F as le,q as ie,aw as Se,a8 as ci,d as
|
|
|
704
704
|
&:hover {
|
|
705
705
|
color: ${I.important};
|
|
706
706
|
}
|
|
707
|
-
`,
|
|
707
|
+
`,Vs=o(Ri)`
|
|
708
708
|
width: ${i.sp4};
|
|
709
709
|
height: ${i.sp4};
|
|
710
710
|
color: inherit;
|