@zeniai/web-cockpit-ui 1.15.45-dev → 1.15.46-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-D87WwXK_-CBHF5jjP.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-wmtN61X5.js → AIPerformancePage-DNhHi_BA-DVKmGARz.js} +104 -104
- package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-C5aZvKIb.js → AccountInfoPageContent-WRX3aOoA-BND3wWTU.js} +21 -21
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-BnyIzxt7.js → AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-mlekIKpg.js → AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js} +19 -19
- package/dist/assets/AccountRow-kn3U0JbW-CqKCifJj.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-Cg1k8iOd.js → AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-CuTX3g12.js → AddToWalletPage-D7DeS_0t-DEAoUKiM.js} +19 -19
- package/dist/assets/{AgingReportsPage-vAvkUfOS-CY0Z3qTp.js → AgingReportsPage-bssKBslp-BzwEfw-z.js} +7 -7
- package/dist/assets/{AllUserItems-qrYg6Gdx-CdYLC57_.js → AllUserItems-DodKPXrb-CcYwQFSA.js} +11 -11
- package/dist/assets/ApAgingDetailPage-NVrKyHd2-Bw462lTM.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-BJchX_M5.js → AppBasePage-8vs83psd-DYOlChcn.js} +8 -8
- package/dist/assets/{AppDrawerContent-ATbZG_cu-DjhYjDhr.js → AppDrawerContent-D_del0Ko-C7wcXF5_.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-tEsYzpMw.js → ArAgingChart-DPWhkZ92-C-OV2nhV.js} +6 -6
- package/dist/assets/ArAgingDetailPage-60QCPZos-BlpsMiLT.js +46 -0
- package/dist/assets/{AttachmentView-BrQRChzc-CLMui9x5.js → AttachmentView-CbtcWV-6-CFsaig-u.js} +6 -6
- package/dist/assets/{BankAccountSection-hcKEMs80-C6Jbh-5h.js → BankAccountSection-CNsbo5NW-D5-9rntY.js} +14 -14
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-C7N2KxYy.js → BankAccountWarningSection-DNsentDt-DXrUqr4R.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-BvzDHkyQ.js → BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js} +27 -27
- package/dist/assets/BillDetailPage-Cg3qZdsc-Bu00bZom.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-O8-69iVq.js → BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BxwF6ACD.js → BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js} +17 -17
- package/dist/assets/BillPayPromoPage-x2Q3c9G9-CVZuA77d.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-Dy9LV6PH.js → BillPaySetUpPage-CwRy-Uno-xx3edT5K.js} +4 -4
- package/dist/assets/BillingSettingsPage-D7PgDMId-BnPPtdGW.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js +1 -0
- package/dist/assets/{BoxItem-CACRFWG2-DVYuXWIN.js → BoxItem-djG6IQ4o-2WZ3HHBU.js} +1 -1
- package/dist/assets/BusinessVerificationPage-fTHIGXBy-a0eiadoT.js +138 -0
- package/dist/assets/{CardNumberSubText-C-oVdziK-DunIHxKO.js → CardNumberSubText-BNT6moWK-CsPKCw8x.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-BQ_VopLN.js → CashbackDetailPage-G5wL_XNp-CJEFraK5.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BuT8xfhQ.js → ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js} +20 -20
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-C4MlwZVJ.js → ChargeCardListPage-BqN-1uhQ-rbpM72ul.js} +15 -15
- package/dist/assets/{ChargeCardListTable-CByk3iqX-DoHny0DQ.js → ChargeCardListTable-Bii0Wthf-T5JYYMDA.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-BRbQG-FC.js → ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js} +34 -34
- package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-BFEsY7tk.js → ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-DBUcIJ4E.js → ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-BLa4tOO2.js → CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-ZEUmVRwU.js → CollapsableReportTable-BBZQoM0P-CNldMsB_.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-D0GfPSDE.js → CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CHaKk74P-ChdhDOcg.js → CompanyPassportCard-DZkmzhcF-DdwaCSTK.js} +8 -8
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-KfIA3e5g.js → CompanyPassportPage-FbqUpLTv-C5g27TMH.js} +20 -20
- package/dist/assets/{CompleteProfile-ChaWsK6t-DspQFryi.js → CompleteProfile-CHAiqldO-Bdzud2Sl.js} +2 -2
- package/dist/assets/ConfettiBurst-D44X4kyc-CoZYKMrw.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DRM9GAJ_.js → ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-Bk2WY5iH.js → CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-Csye-cQG.js → CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js} +18 -18
- package/dist/assets/CurrencySelectField-BsReHqXI-Cpmmr7ON.js +139 -0
- package/dist/assets/CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-Nc7z_MPq.js → CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-qTGHLvSK.js → CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DuMqzBOS.js → CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-CyGCXOXS.js → Dashboard-CIMGd6vk-C9Y8AV96.js} +66 -66
- package/dist/assets/{DashboardReportPage-DFIdi_I0-BoysSy4a.js → DashboardReportPage-C4vCCh_n-BRXPWSt1.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-Btt7kuPp.js → DepositAccTransactionItem-BerAtS0--BKjebtYX.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-BuhxBRx8.js → DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-iiw5Chir.js → DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-BdBfaHAQ.js → DownloadOverlay-Boa6Fcbv-D-65-zcn.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-XwvbAR8R.js → DrawerPage-Cb-dsS3c-DReTV4LX.js} +11 -11
- package/dist/assets/EditPeoplePage-CndPSw44-DxRcWXPA.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js +865 -0
- package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-DwG1Et7L.js → EntitySummarySection-BOEYtn_o-CPte8tJh.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-BWYSqjyt.js → ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-BO5E-s_t.js → ExpressPayPage-DitysgOF-CIeBsr4O.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-CeQkBCBu.js → FeaturePreviewPage-G9whxotT-BiSE24Wc.js} +3 -3
- package/dist/assets/{FollowStepsSection-GaWu1kt9-BI3yZ8yb.js → FollowStepsSection-BERdmvvn-UqgRbJ9-.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DXH3le_Z-jpZIGute.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-DZ5NgV9d.js → InformationCardStack-CXqr6wgh-ChZD3ssd.js} +6 -6
- package/dist/assets/{InsightsCardStack-BlXkyuyz-BYkM34Ig.js → InsightsCardStack-DHmkYfCM-wxboA7g4.js} +9 -9
- package/dist/assets/InsightsSection-o1r7-jTU-BEvpe3bJ.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-9CRnYKlL.js → IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-DZZJSkkC.js → InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-CheVg02u.js → InviteFormPage-Cpx6GKXE-BjzkKS1U.js} +21 -21
- package/dist/assets/{InvitePageListView-B88FW48q-BlNwjDCb.js → InvitePageListView-R9GI99rG-Lu6_t1J3.js} +63 -63
- package/dist/assets/InvitePeoplePage-nhoOZCwu-CevGBmSS.js +12 -0
- package/dist/assets/InvoiceUploadSection-IRD6N1t0-e8npmlKC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-BJuCdS5L.js → IssueChargeCardPage-ztNdugMI-ni4X5-nS.js} +18 -18
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-BE2vwBEi.js → LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-X0msQxRV.js → LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-PIAOXuuF.js → LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js} +8 -8
- package/dist/assets/LabeledDocumentField-13QPp-85-BBjOcC33.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DoauSiSH.js → LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js} +7 -7
- package/dist/assets/LabeledText-DNr87c0J-DsOX7s5A.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Dxfcd1ix.js → LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-nc3j9OL8.js → LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-2VFbWc8b.js → LinkJETransactionPage-KzSZJjAE-D1T5_exi.js} +16 -16
- package/dist/assets/{LockCardPage-CHv1xi2J-DERlEjt9.js → LockCardPage-_gavDDon-Blle7NDi.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cb55PGLc-gAPp5TRy.js → LowBalancePopup-DLIUSW0S-B-zpTP7v.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-Ba4r75te.js → MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-BK_4bD52.js → MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js} +5 -5
- package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-BxNOJih2.js → MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js +85 -0
- package/dist/assets/NavBarWithPicker-DqS6nFbq-DgwLutRx.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-BEUVzE31.js → NavigationArrow-DIFM2upZ-Dnb7czTw.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-DtOlofVb.js → NavigationDots-Db1I_vts-Bg46VZRN.js} +2 -2
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-DoavPLi0.js → NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js} +40 -40
- package/dist/assets/NoDataChart-BpVOzQOW-DKnao5o4.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-x5eVDn8H.js → NoDataTable-BfkONzLU--qJ2Vge1.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-DRWfxKXj.js → NotFoundPage-DOlS4ELp-8diqNBZH.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-BGI1AOxL.js → NotificationSettingsPage-BdWAxlcA-FUERqOBl.js} +20 -20
- package/dist/assets/NotificationsListConfig-DEVHMfQH-Dgi-054y.js +1 -0
- package/dist/assets/NotificationsPage-DpnFQdLV-CIDAlFuB.js +685 -0
- package/dist/assets/OpExByVendorPage-CQxchyEe-CO-1QL4H.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DWwt3jvC.js → OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-CX7CsCDy.js → PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-DGKyDmFS.js → PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js} +16 -16
- package/dist/assets/PeoplePage-koDszqCP-CWui0d4h.js +727 -0
- package/dist/assets/{Preview-bUJ-afSX.js → Preview-yyD_tsB_.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-BIDCk-h1.js → ProductsCarousel-DLd90FFJ-BgsIDisq.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-BSjHyOyw.js → PromoBaseCards-QcN1Q7jq-J94-Tlmy.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-BH2ZV7vR.js → QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js} +6 -6
- package/dist/assets/QBOSetupSection-DqsDS8kk-DVOL9KAa.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-DhEhjlJP.js → ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js} +13 -13
- package/dist/assets/ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-BNOZ_20N.js → ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-qu8Limvb.js → ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js +1 -0
- package/dist/assets/{ReloadCard-vAhL7B8U-D7YWwAyL.js → ReloadCard-CKhoNNOP-CkJThvIh.js} +7 -7
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-CvSSJ9ac.js → ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js} +5 -5
- package/dist/assets/{ReportsPage-DKM0gVzR-DOSeE9yO.js → ReportsPage-CnYVgGpw-C9lM7ze2.js} +6 -6
- package/dist/assets/{RevenueChart-BEjDS1u4-BIqPjNsw.js → RevenueChart-BXDE5rdI-C91Sl-p2.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-Dca8kSzg.js → ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-DPoyDHGn.js → ReviewOverlay-BL4VJPxb-D6vjuRhs.js} +9 -9
- package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-TyHmMR8_.js → ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-B3l1fyxF.js → ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js +324 -0
- package/dist/assets/{ScreenRoutes-Dkdo_QnR.js → ScreenRoutes-BdAMCIyo.js} +48 -48
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-CtIuqnUK.js → SetUpAccountSection-Tadm9fSr-BLYLZVyR.js} +7 -7
- package/dist/assets/SignIn-CycvPOGI-yT6O4yeb.js +491 -0
- package/dist/assets/SignInScreen-DxWsWFRM.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-C1eUKzso.js → SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js} +114 -114
- package/dist/assets/{SpendManagementSection-D8rBpC-y-Co0RTAvb.js → SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js} +22 -22
- package/dist/assets/{StatementItem-Cu6dlAsl-DmauqRhg.js → StatementItem-BAgGJRW5-h7PpQoEN.js} +4 -4
- package/dist/assets/{StatementsPage-DiY2BOcu-ZhmXJvRa.js → StatementsPage-048VbBNB-CIAI8-Iv.js} +5 -5
- package/dist/assets/{StatusSwitcher-B9MARTyR-njYpaPcv.js → StatusSwitcher-DNe-TFW4-DzQawzTp.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3rtSwro-UHdU-bAk.js → SubTabSwitcher-CWofxHNl-pctfLicv.js} +2 -2
- package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +1 -0
- package/dist/assets/TaskManagementPage-sIeRkoyx-CqhyR_rs.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-DWIBGfP-.js → TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-B9NumYID-CA44AiEF.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-C8zSoGB_.js → TopExCard-GHdLZwGT-BhuLE57u.js} +12 -12
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DECCdxzr.js → TopExDetailPage-CIlBZ2oX-BaF6_sM0.js} +13 -13
- package/dist/assets/TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js +195 -0
- package/dist/assets/TransactionDetailPage-RfrmUngB-Dci0je89.js +903 -0
- package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +153 -0
- package/dist/assets/{TransactionListBig-DWQXH4ID-DoEu9YAb.js → TransactionListBig-D-kOZVLs-B-ad9ErK.js} +20 -20
- package/dist/assets/TransactionListPage-BRF55dM4-DYeZNtak.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-Bq1jZ95u.js → TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js} +15 -15
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-X9c2FbF1.js → TransferDrawerPage-CPUqGXjs-Cm1krXS2.js} +40 -40
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BGvD7KcD.js → TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js} +38 -38
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-BVsAh_s5.js → TreasuryPromoPage-F1X4qcwd-BHd14a_i.js} +24 -24
- package/dist/assets/TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-ClHOa93u.js → TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js} +3 -3
- package/dist/assets/{TrendChart-C6B61CAm-BUmkAB5E.js → TrendChart-DQwanU50-BV-_y5G5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DETWpy6t.js → TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-DeCca6Ny.js → UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-DeiuATlr.js → UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js +38 -0
- package/dist/assets/Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-BNNbSoIa.js → VendorDetailPage-D7zN9Vtl-BBAI0eRq.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-e4TYQZVn.js → VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-TCwuy6i-.js → VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-Bve5DAMe.js → VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js} +4 -4
- package/dist/assets/{VerifyDevice-Cxc9CVMi-DbObYdix.js → VerifyDevice-C-zisSaI-L64KEJ3l.js} +12 -12
- package/dist/assets/{VideoPlayer-9UkKMhGy-DADkPX-f.js → VideoPlayer-CQQljSJC-Ckm25ZkZ.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-DF-tGFMP.js → VideoPopup-BgqoT4JJ-BIfkB45X.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-C6MUqBWp.js → WarningsDrawerPage-D5OicOK4-BvVf8AIm.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-wx5VYyBN.js → ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-E-BTeqGP.js → ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-a3nzNo79.js → ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-CM9NQ_BO.js → ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js} +24 -24
- package/dist/assets/ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js +36 -0
- package/dist/assets/ZeniCopyright-Hh9chHJi-RwVTsccT.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DikzZE6B.js → add-to-wallet-DgdBD8_G-Db5fod9i.js} +1 -1
- package/dist/assets/{analytics-DYhmL7CM.js → analytics-CQziHS33.js} +30 -30
- package/dist/assets/{analyticsHelper-CT5zOInj-99CvxgyS.js → analyticsHelper-DQHFgahw-Cp99KaIG.js} +1 -1
- package/dist/assets/{analyticsHelper-DDXauk_Q.js → analyticsHelper-OLJ9to1y.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-8jWq8JIP.js → arrow-south-east-round-PEovUgvH-Cxk5-yTi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BQD13VLl.js → auto-transfer-rule-mbafm5D3-CNtOqhU-.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-HF5eETfQ.js → chartTypes-B53kfwdO-BhCsc3sU.js} +1 -1
- package/dist/assets/commonDimensions-Om-6fiMl-CN-97Hnw.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-DpfDV34V.js → commonTypes-DXJEXDhr-CsYzRDog.js} +1 -1
- package/dist/assets/{constants-mf68mEZJ.js → constants-Dg8hvPMb.js} +1 -1
- package/dist/assets/{core-D7HgM8n1.js → core-BPh6D8v5.js} +1 -1
- package/dist/assets/{dash.all.min-D8zACU7x.js → dash.all.min-Cz3Fm_5M.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-BeTL8M1q.js → detailCommon-ufPAtMvc-DhnVaCE8.js} +6 -6
- package/dist/assets/downloadPdf-sghpXX-r-hphDTF7O.js +1 -0
- package/dist/assets/{empty-NSIYiedq.js → empty-CwSMnfMr.js} +1 -1
- package/dist/assets/{empty-Y3MKkeNh.js → empty-DbW3pZ4D.js} +1 -1
- package/dist/assets/epic-Chew0UQN.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CD4XSNN9.js → gift-box-Cmt9OgIZ--Zu0Eh-z.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Cj1mbKoU.js → graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DMlgtG13.js → graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CDBh0ipY.js → handshake-BPg58FML-Dbohbn58.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-DI38626F.js → helper-BBJS-iD4-DcHpxRaM.js} +3 -3
- package/dist/assets/{index-DCa8flZr.js → index-Bvx6EJi7.js} +1 -1
- package/dist/assets/{index-BB6TP51b.js → index-C8B9pQsQ.js} +1 -1
- package/dist/assets/{index-DTirxbyQ.js → index-CZZQCAd2.js} +4535 -4530
- package/dist/assets/{index-BUGp6bnR.js → index-Di5sPRAu.js} +1 -1
- package/dist/assets/{index-BDP43MqE.js → index-DrZJrwI9.js} +1 -1
- package/dist/assets/{index-Br79bjER.js → index-Dzi9AcqX.js} +1 -1
- package/dist/assets/{index-B1CF5cm3.js → index-dJzBovkm.js} +1 -1
- package/dist/assets/{lexical-BIyV8PdW.js → lexical-CO_PvSmH.js} +1 -1
- package/dist/assets/{liveblocks-DIuhFCxt.js → liveblocks-DYmELrdC.js} +1 -1
- package/dist/assets/{lottie-CoVTVb_w.js → lottie-BRpRA-Un.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BY_qJXQo.js → mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +1 -0
- package/dist/assets/{mui-CUgxbbSv.js → mui-1V4DDk1u.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CYodllrt.js → page-detail-CWX5S47F-B4o0uLRm.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DCdVDlSE.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-D5Swvnjv.js → radio-default-CiSgisfh-DveETCoH.js} +1 -1
- package/dist/assets/{react-DEm3GFrk.js → react-BGRZeN4_.js} +3 -3
- package/dist/assets/{react-DWqZUhoP.js → react-BfMx9RWN.js} +1 -1
- package/dist/assets/{react-C1Bx9mvH.js → react-BhKvphZC.js} +1 -1
- package/dist/assets/{react-BXfpyu7-.js → react-CTTbIL85.js} +1 -1
- package/dist/assets/{react-DPzCxJ9_.js → react-CwXZyl3z.js} +1 -1
- package/dist/assets/{react-CBTPpMQr.js → react-DAYLTVXK.js} +1 -1
- package/dist/assets/{react-DEF24OHG.js → react-DrvHBxOA.js} +1 -1
- package/dist/assets/{react-BUMR3Oqj.js → react-DvMoib_r.js} +2 -2
- package/dist/assets/{recharts-Cv8hlrkl.js → recharts-W_ILlOEk.js} +1 -1
- package/dist/assets/{sentry-DuRPstDP.js → sentry-KKNtqb_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BuWXLRZa.js → shield-DOlUxcFf-DYMhAzvU.js} +1 -1
- package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +1 -0
- package/dist/assets/toChartData-DJeOVqss-Ckap6Mgt.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BV5nx0ZT.js → uploadAttachment-BjSr5jfA-5o3rK0wU.js} +19 -19
- package/dist/assets/uploadReceipts-Dge0cNF1-BxDjc4Mk.js +1 -0
- package/dist/assets/{url-P-v-bynO.js → url-BOcnt56d.js} +1 -1
- package/dist/assets/{url-CucjwMCN.js → url-DpR8Zh5r.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CK2T-95t.js → useLongPress-GCK2COYQ-BWV9Umwr.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Du-iFEZV.js → usp-line-BBd1wKwW-DkxZf2LY.js} +1 -1
- package/dist/assets/{utils-DiiaN_Gy.js → utils-DuPmVt2f.js} +1 -1
- package/dist/assets/{zeni-epic-state-DfBiKLGZ.js → zeni-epic-state-BIDncbwZ.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-S35Uhoxw.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-Dn2GAcNI.js +0 -18
- package/dist/assets/AccountRow-BiEYR4Y1-BYraCT3U.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-CSPtYmJ3.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BLS80uGo.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-B_-ue4-L.js +0 -47
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-CyeLsbpX.js +0 -46
- package/dist/assets/BillDetailPage-D0NLFZXA-C0lmLs0O.js +0 -266
- package/dist/assets/BillPayPromoPage-BMcP4EU5-CGhF2c_7.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-DYu87yXp.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DaWpx5HK.js +0 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-k_B2yV-X.js +0 -138
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-D_Yc06ky.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-B7nj3Nyc.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-2khO8cFF.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-DO6NCakm-AEOEu5XD.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DBrhwTVX.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CbG5WshV-DAGPqB92.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-4-suD4NX.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-BM2zxscy.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-BxmdhEQa.js +0 -865
- package/dist/assets/EntityDetailPage-OTKTVNMD-hGdzRif2.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BzgpYsoD.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-OABkNmc3.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-CD7SS_Wx.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-UEYqwZ-4.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-CTYR92-E.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-CkdGw_XE.js +0 -140
- package/dist/assets/LabeledAddressValueField-BoHS44YO-GpChwVD3.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-DbSKF3Eo.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CP7eylom.js +0 -41
- package/dist/assets/LabeledText-2EDpuXZ4-C8KbdmSn.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-MnmyVJLu.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BiwQJWMK.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-BOQ43guP.js +0 -31
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BkNjZheA.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-CbDHJT6Y.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CFSERtJI.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--DUG3-gGB.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-DPPKQloI.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-gVlD4if6.js +0 -1
- package/dist/assets/NotificationsPage-C9efAgjo-BbYISYVW.js +0 -685
- package/dist/assets/OpExByVendorPage-DXeBU3-z-CtYWzGKb.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-CfYJLjB6.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--DnT8IFo9.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BKRiZPcc.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-EfH6pB2u.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DBc7kt2f.js +0 -1
- package/dist/assets/RoleWithToolTip-DhBFvJea-B8n0jz5Q.js +0 -22
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-NNixAuqw.js +0 -324
- package/dist/assets/SignIn-BoAejo7r-BtV3Ttcw.js +0 -491
- package/dist/assets/SignInScreen-DsBeFXpf.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BH8cRQWr.js +0 -134
- package/dist/assets/SummaryCard-CShVbqhj-BLj7j0_e.js +0 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-uCuNXBz9.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-Bs-pmnzg.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BFZ7bLWL.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-PWZNzXJ2.js +0 -195
- package/dist/assets/TransactionDetailPage-CuxqQd8U-BuHJVoXs.js +0 -903
- package/dist/assets/TransactionList-80KjM8Kg-CevujtV6.js +0 -153
- package/dist/assets/TransactionListPage-DC08rCC9-Clz1psGf.js +0 -35
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-BqffJxCU.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-CydYggee.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DiVrYh3K.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-Becdxrwt.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-eHvavwdw.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BN07guXv.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CPyZywKh.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-Duwi7djt.js +0 -36
- package/dist/assets/ZeniCopyright-BxIwmms--Doa5lp53.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-DVJ0puXA-2P0ZBWZ7.js +0 -63
- package/dist/assets/commonDimensions-ClmbdehE-aq41ZcdE.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-v-LOP3Jl.js +0 -1
- package/dist/assets/epic-CeNkV6CJ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CM3HanTy.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DacYuJs2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-D7B8Pylg.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-D59tSp4H.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BNoQeOGL.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-COBjrU2Y.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BFfmnf7p.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--D2HEmA7d.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-D2wqfNY0.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as Fe,h0 as hi,iS as pi,iT as ui,iU as mi,aS as gi,o as i,aQ as X,cn as xi,b as Be,p as I,b4 as wi,cu as Ci,iV as fi,iW as yi,bU as ye,cx as Ve,bP as Si,aU as ki,y as C,eH as vi,bb as ji,iX as $i,aV as bi,h as Ii,ai as ee,h3 as Li,am as G,al as J,u as p,cK as Fi,eF as zi,iY as Ai,iZ as Pi,H as ft,bZ as yt,i_ as St,i$ as Ri,bS as Bi,cA as Ge,j0 as kt,dw as Di,dx as q,aO as ce,cw as vt,T as jt,j1 as _i,cD as Ei,iK as Je,bL as $t,bN as bt,j2 as Ti,j3 as Vi,aW as je,bu as Oi,b_ as Ui,b$ as Ni,j4 as Mi}from"./index-DTirxbyQ.js";import{P as pe,a as f}from"./sentry-DuRPstDP.js";import{n as o,c as Ze}from"./mui-CUgxbbSv.js";import{T as It}from"./RoleWithToolTip-DhBFvJea-B8n0jz5Q.js";import{j as Oe}from"./CardNumberSubText-C-oVdziK-DunIHxKO.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]="a4ac3b5c-68fb-4b95-a1c7-541542e1eb02",e._sentryDebugIdIdentifier="sentry-dbid-a4ac3b5c-68fb-4b95-a1c7-541542e1eb02")}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)},Qe={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},Qe,et,tt,it,ot]:[Ye,Qe,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=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:$,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),F=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=F||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,z=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),Z=a.type.code,_=j.cardList.tooltip[Z],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Zi,{onClick:M,"data-testid":X("card-row",a.id),children:t.jsxs(Qi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:z[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:z[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:z[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:z[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{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:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:z[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:z[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&R(!0)},onMouseLeave:()=>{A&&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&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(Ft,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:ze=>{b||m(ze)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},Ft=({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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),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:j.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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),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:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),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:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),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:j.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:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=Fe(),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 je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
1
|
+
import{cf as ni,V as t,aa as li,ae as di,b as le,J as ie,ay as ke,a9 as ci,y as ze,h6 as hi,iY as pi,iZ as ui,i_ as mi,aT as gi,o as i,ac as G,co as xi,w as Be,p as I,b5 as wi,cw as Ci,i$ as fi,j0 as yi,bV as ye,cz as Oe,bQ as ki,aV as Si,x as C,eJ as vi,bc as ji,j1 as $i,aW as bi,g as Ii,ak as ee,ha as Li,ao as X,an as J,u as p,cM as zi,eH as Ai,j2 as Fi,j3 as Pi,c as ft,b_ as yt,j4 as kt,j5 as Ri,bT as Bi,cC as Xe,j6 as St,dx as Di,dy as q,aQ as ce,cy as vt,L as jt,j7 as _i,cF as Ei,iQ as Je,bM as $t,bO as bt,j8 as Ti,j9 as Oi,aX as je,bv as Vi,b$ as Ni,c0 as Ui,ja as Mi}from"./index-CZZQCAd2.js";import{P as pe,a as f}from"./sentry-KKNtqb_g.js";import{n as o,c as Qe}from"./mui-1V4DDk1u.js";import{T as It}from"./RoleWithToolTip-BIBVAADS-DMOgVdZw.js";import{j as Ve}from"./CardNumberSubText-BNT6moWK-CsPKCw8x.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]="eaf0d84b-091b-48a3-90ff-eb478cede176",e._sentryDebugIdIdentifier="sentry-dbid-eaf0d84b-091b-48a3-90ff-eb478cede176")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Ze={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?[{...Ze,width:new C(0,0),value:Wi},Ye,et,tt,it,ot]:[Ze,Ye,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:k,onChargeCardRowClick:$,onChargeCardResendInviteClick:S})=>{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",U=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||U,v=ie(),E=!!ke().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,k)},[a.id]),O=St(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,_=j.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":G("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: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:j.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(jt,{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(),S(a.id)},"data-testid":G("send-reminder",a.id),children:j.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:j.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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Zi,{}),t.jsx(fe,{children:j.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:j.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:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),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:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),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:j.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:j.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:j.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:j.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:j.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:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),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:j.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:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Xi(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"}})},Xi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
|
|
2
2
|
color: inherit;
|
|
3
3
|
`,fe=o(J)`
|
|
4
4
|
color: ${I.important};
|
|
@@ -39,14 +39,14 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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
|
+
`,Zi=o(Ni)`
|
|
46
46
|
width: ${i.sp4};
|
|
47
47
|
height: ${i.sp4};
|
|
48
48
|
color: ${I.important};
|
|
49
|
-
`,Re=o(
|
|
49
|
+
`,Re=o(kt)`
|
|
50
50
|
width: ${i.sp4};
|
|
51
51
|
height: ${i.sp4};
|
|
52
52
|
color: ${I.important};
|
|
@@ -54,7 +54,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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;
|
|
@@ -62,11 +62,11 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
62
62
|
width: ${i.sp4};
|
|
63
63
|
height: ${i.sp4};
|
|
64
64
|
color: inherit;
|
|
65
|
-
`,at=o(
|
|
65
|
+
`,at=o(Ui)`
|
|
66
66
|
width: ${i.sp4};
|
|
67
67
|
height: ${i.sp4};
|
|
68
68
|
color: inherit;
|
|
69
|
-
`,
|
|
69
|
+
`,Yi=o.div`
|
|
70
70
|
display: flex;
|
|
71
71
|
width: 100%;
|
|
72
72
|
justify-content: space-between;
|
|
@@ -192,7 +192,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
192
192
|
white-space: nowrap;
|
|
193
193
|
`,mo=o(ee)`
|
|
194
194
|
color: ${e=>e.theme.colors.hero};
|
|
195
|
-
`;o(
|
|
195
|
+
`;o(X)`
|
|
196
196
|
display: flex;
|
|
197
197
|
gap: ${i.sp2};
|
|
198
198
|
align-items: center;
|
|
@@ -269,9 +269,9 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
269
269
|
display: flex;
|
|
270
270
|
align-items: center;
|
|
271
271
|
gap: ${i.sp1};
|
|
272
|
-
`,
|
|
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:k,checkBoxStyle:$,labelCheckBoxStyle:S,labelStyle:h,width:m,isDisabled:y,selectionLimit:R,infoIconContainerStyle:B,checkedIconColor:D,draggable:z=!1,onDragStart:U})=>{const{control:u}=zi();return t.jsx(Ai,{control:u,name:r,rules:n,render:({field:{value:v,onChange:E,ref:M}})=>t.jsx(ko,{style:{display:"flex",alignItems:"center",width:"100%",...g,...c},"data-testid":l??G("virtualized-checkbox-field",r),children:t.jsx(Fi,{checkBox:s,index:d,value:v,allCheckBoxValues:e,mode:w,name:r,checkBoxContainerStyle:x,checkBoxIconStyle:k,checkBoxStyle:s.groupLabel?S:$,labelCheckBoxStyle:S,labelStyle:h,width:m,groupLabelCheckBox:a,infoIconContainerStyle:B,selectionLimit:R,checkedIconColor:D,isDisabled:y,draggable:z,onDragStart:U,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 ko=o.div`
|
|
273
273
|
position: relative;
|
|
274
|
-
`,
|
|
274
|
+
`,Z={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 So({companyNameSticky:e,sortConfig:s,showViewForCardUser:r,onColumnSortConfigChanged:d}){const c=ze(),l=ie(),a=!!ke().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]),k=h=>n.find(m=>m.key===h)?.value??"",$=(a?n.filter(h=>h.key!=="owner"):n).map(h=>h.key),S=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:S.sortBy,placeholder:S.sortBy,pickerValues:$,valueToLabel:k,selectedValue:s.sortKey,onPickerSelectionChanged:h=>{w(h,"ascending")},optionTextStyle:Be.extraSmallRegular,titleTextStyle:Be.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Bo,{onClick:()=>w(g.key,g.sortOrder),"data-testid":G("mobile-cards-list-sort-clicked",s.sortKey),children:[t.jsx(X,{children:g.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:g,children:t.jsx(ct,{windowSize:l,children:t.jsx(Xe,{})})})]})]}):t.jsx(jo,{windowSize:l,children:t.jsx($o,{children:n.map(h=>h.width.value(l)!==0&&t.jsxs(Io,{companyNameSticky:e,sortDataValue:s.sortKey,actualDataValue:h.key,wrapperWidth:h.width,windowSize:l,children:[t.jsxs(Ro,{onClick:()=>w(h.key,h.sortOrder),"data-testid":G("cards-list-sort-clicked",s.sortKey),children:[t.jsx(X,{children:h.value}),t.jsx(dt,{windowSize:l,sortDataValue:s.sortKey,headerdata:h,children:t.jsx(ct,{windowSize:l,children:t.jsx(Xe,{})})})]}),t.jsx(Po,{sortDataValue:s.sortKey,windowSize:l,isVisible:s.sortKey===h.key&&(a?h.key!=="cardName":h.key!=="owner"),children:t.jsx(Lo,{onClick:()=>w(a?"cardName":"owner","ascending"),"data-testid":G("cards-list-sort-cancel",s.sortKey)})})]},h.key))})})}const vo=pe.memo(So),jo=o.div`
|
|
275
275
|
top: ${i.sp0};
|
|
276
276
|
left: ${i.sp0};
|
|
277
277
|
z-index: 2;
|
|
@@ -282,20 +282,20 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
282
282
|
display: flex;
|
|
283
283
|
align-items: center;
|
|
284
284
|
box-sizing: border-box;
|
|
285
|
-
padding: ${
|
|
286
|
-
${
|
|
285
|
+
padding: ${Z.containerPaddingTop} ${Z.containerPaddingRight}
|
|
286
|
+
${Z.containerPaddingBottom} ${Z.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=>Z.headerHeight.valuePx(e.windowSize)};
|
|
292
|
+
max-height: ${e=>Z.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=>`${Z.headerLastColumnTopPadding.valuePx(e.windowSize)} ${Z.headerLastColumnRightPadding.valuePx(e.windowSize)} ${Z.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${Z.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{ce as ni,V as t,a9 as li,ac as di,F as le,J 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
|
`};
|
|
@@ -337,15 +337,15 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
337
337
|
display: flex;
|
|
338
338
|
align-items: center;
|
|
339
339
|
justify-content: center;
|
|
340
|
-
`,
|
|
340
|
+
`,zo=o.div`
|
|
341
341
|
gap: ${i.sp1};
|
|
342
342
|
display: flex;
|
|
343
343
|
color: ${e=>e.theme.colors.hero};
|
|
344
|
-
`,
|
|
344
|
+
`,Ao=o(_i)`
|
|
345
345
|
width: ${i.sp3};
|
|
346
346
|
height: ${i.sp3};
|
|
347
347
|
color: inherit;
|
|
348
|
-
`,
|
|
348
|
+
`,Fo=o.div`
|
|
349
349
|
margin-right: ${i.sp1};
|
|
350
350
|
display: flex;
|
|
351
351
|
align-items: center;
|
|
@@ -365,7 +365,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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:Y}=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:k,unlockChargeCardsFetchState:$,cardsSelectedForBulkAction:S})=>{const h=!!ke().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:k,unlockChargeCardsFetchState:$,cardsSelectedForBulkAction:S,showViewForCardUser:c})},Ft=({cardDetail:e})=>{const s=e.balance,r=St(e)/e.limit.amount*100;return t.jsxs(Uo,{children:[t.jsx(Go,{children:ce("0,0.[00]",s)}),r!==0?t.jsx(Ho,{children:`${Math.round(r)}${Do}`}):null]})},Eo=({cardDetail:e,onRowClick:s})=>{const r=ie();return t.jsx(Pt,{windowSize:r,children:t.jsx(Rt,{onClick:s,"data-testid":G("charge-card-user-row",e.id),children:t.jsxs(_e,{children:[t.jsx(Nt,{children:t.jsxs(Mt,{cardUser:!0,children:[t.jsxs(_t,{children:[t.jsx(Tt,{children:Y.labels.cardName}),t.jsxs(Et,{children:[t.jsx(Ot,{title:e.cardName,children:e.cardName}),t.jsx(Jt,{windowSize:r,children:he.cardDetails.expiryHideOut+Y.strings.space+e.accountLast4})]})]}),t.jsxs(Bt,{children:[t.jsx(Dt,{children:`${he.cardList.header.cardType}${Y.strings.colon}`}),t.jsx(Te,{children:t.jsx(Ve,{cardDetail:e,forDetailPage:!1})})]}),t.jsxs(Wt,{children:[t.jsx(Kt,{children:Y.labels.limit}),t.jsxs(qt,{children:[t.jsx(Ht,{children:ce("0,0.[00]",e.limit)}),t.jsx(Gt,{}),t.jsx(Ee,{children:e.creditLimitFrequency.name})]})]})]})}),t.jsx(Ut,{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(Xt,{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:k,showViewForCardUser:$})=>{const[S,h]=f.useState(!1);f.useEffect(()=>{k.length>0&&S&&h(!1)},[k.length,S]);const m=!!ke().loggedInUserRole.includes("charge_card_user")||$,y=`${r.cardHolderUser?.firstName??""} ${r.cardHolderUser?.lastName??""}`,R=r?.cardHolderUserId===c.userId,B=ie(),D=r.type.code,z=he.cardList.tooltip[D],U=z!=null?R?z.self:`${y} ${z.cardUser}`:Y.strings.empty,u=x.cardId===r.id,v=k.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":G("charge-card-admin-row",r.id),children:[t.jsxs(_e,{children:[t.jsxs(Nt,{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(Ut,{children:t.jsx(t.Fragment,{children:l===r.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(Yo,{children:[t.jsxs(No,{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:U,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:t.jsx(Xt,{className:"infoIconTooltip"})}):null]})]}),r.status.code==="request_on_hold"&&!R?t.jsx(Xo,{children:t.jsx(Jo,{onClick:F=>{F.stopPropagation(),n(r.id)},"data-testid":G("send-reminder-clicked",r.id),children:he.cardList.sendReminder})}):null]})})})]}),t.jsxs(_e,{children:[t.jsxs(Mt,{cardUser:!1,children:[t.jsxs(_t,{children:[t.jsx(Tt,{children:`${Y.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"?Y.strings.hyphen:he.cardDetails.expiryHideOut+Y.strings.space+r.accountLast4})]})]}),t.jsxs(Bt,{children:[t.jsx(Dt,{children:`${he.cardList.header.cardType}${Y.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:Y.labels.limit}),t.jsxs(qt,{children:[t.jsx(Ht,{children:ce("0,0.[00]",r.limit)}),t.jsx(Gt,{}),t.jsx(Ee,{children:r.creditLimitFrequency.name})]})]})]}),t.jsx(Ko,{children:t.jsx(Qo,{showMenu:!0,className:"menu-icon",children:(()=>{const F=r.status.code==="locked",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=k.length>0;return H&&t.jsx(Oe,{menuItems:t.jsx(Zo,{children:t.jsx(zt,{cardDetail:r,isCardControlsEnabled:d,isChargeCardUser:m,setIsMenuOpen:h,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:te=>{A||h(te)},isMenuOpen:S&&!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{ce as ni,V as t,a9 as li,ac as di,F as le,J 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)};
|
|
@@ -408,10 +408,10 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
408
408
|
text-overflow: ellipsis;
|
|
409
409
|
white-space: nowrap;
|
|
410
410
|
text-transform: capitalize;
|
|
411
|
-
`,Ee=o(
|
|
411
|
+
`,Ee=o(X)`
|
|
412
412
|
color: ${e=>e.theme.colors.hero};
|
|
413
413
|
min-height: 18px;
|
|
414
|
-
`,Bt=o(
|
|
414
|
+
`,Bt=o(X)`
|
|
415
415
|
color: ${e=>e.theme.colors.hero};
|
|
416
416
|
box-sizing: border-box;
|
|
417
417
|
display: flex;
|
|
@@ -422,16 +422,16 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
422
422
|
overflow: hidden;
|
|
423
423
|
text-overflow: ellipsis;
|
|
424
424
|
white-space: nowrap;
|
|
425
|
-
`,_t=o(
|
|
425
|
+
`,_t=o(X)`
|
|
426
426
|
color: ${e=>e.theme.colors.hero};
|
|
427
427
|
display: flex;
|
|
428
428
|
flex-direction: row;
|
|
429
429
|
gap: ${i.sp2};
|
|
430
|
-
`,
|
|
430
|
+
`,No=o.div`
|
|
431
431
|
display: flex;
|
|
432
432
|
flex-direction: column;
|
|
433
433
|
gap: ${i.sp1};
|
|
434
|
-
`,
|
|
434
|
+
`,Uo=o.div`
|
|
435
435
|
display: flex;
|
|
436
436
|
flex-direction: column;
|
|
437
437
|
align-items: flex-end;
|
|
@@ -442,24 +442,24 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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};
|
|
454
|
-
`,Mo=o.div``,Wo=o.div``,Ho=o(
|
|
454
|
+
`,Mo=o.div``,Wo=o.div``,Ho=o(X)`
|
|
455
455
|
color: ${e=>e.theme.colors.hero};
|
|
456
456
|
display: flex;
|
|
457
457
|
margin-top: -${i.sp1};
|
|
458
|
-
`,
|
|
458
|
+
`,Nt=o.div`
|
|
459
459
|
display: flex;
|
|
460
460
|
flex-direction: row;
|
|
461
461
|
gap: ${i.sp2};
|
|
462
|
-
`,
|
|
462
|
+
`,Ut=o.div`
|
|
463
463
|
display: flex;
|
|
464
464
|
flex-direction: column;
|
|
465
465
|
align-items: flex-end;
|
|
@@ -474,7 +474,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
474
474
|
position: relative;
|
|
475
475
|
`,qo=o.div`
|
|
476
476
|
margin-bottom: 6px;
|
|
477
|
-
`,Wt=o(
|
|
477
|
+
`,Wt=o(X)`
|
|
478
478
|
color: ${e=>e.theme.colors.hero};
|
|
479
479
|
display: flex;
|
|
480
480
|
gap: ${i.sp6};
|
|
@@ -483,14 +483,14 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
483
483
|
display: flex;
|
|
484
484
|
align-items: center;
|
|
485
485
|
gap: 6px;
|
|
486
|
-
`,
|
|
486
|
+
`,Gt=o.div`
|
|
487
487
|
border-radius: 100%;
|
|
488
488
|
width: ${i.sp1};
|
|
489
489
|
height: ${i.sp1};
|
|
490
490
|
background-color: ${e=>e.theme.colors.hero};
|
|
491
|
-
`,
|
|
491
|
+
`,Go=o(X)`
|
|
492
492
|
color: ${e=>e.theme.colors.hero};
|
|
493
|
-
`,
|
|
493
|
+
`,Xo=o.div`
|
|
494
494
|
padding-right: 20px;
|
|
495
495
|
`,Jo=o(bt)`
|
|
496
496
|
color: ${I.link};
|
|
@@ -499,7 +499,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
499
499
|
&:hover {
|
|
500
500
|
text-decoration: underline;
|
|
501
501
|
}
|
|
502
|
-
`,
|
|
502
|
+
`,Xt=o($t)`
|
|
503
503
|
width: ${i.sp3};
|
|
504
504
|
height: ${i.sp3};
|
|
505
505
|
margin-bottom: 0;
|
|
@@ -507,17 +507,17 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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
|
-
`,
|
|
514
|
+
`,Zo=o.div`
|
|
515
515
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
516
|
-
`,
|
|
516
|
+
`,Yo=o.div`
|
|
517
517
|
display: flex;
|
|
518
518
|
align-items: end;
|
|
519
519
|
flex-direction: column;
|
|
520
|
-
`,Jt=o(
|
|
520
|
+
`,Jt=o(X)`
|
|
521
521
|
color: ${e=>e.theme.colors.hero};
|
|
522
522
|
max-width: 100%;
|
|
523
523
|
overflow: hidden;
|
|
@@ -526,7 +526,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
526
526
|
display: flex;
|
|
527
527
|
align-items: center;
|
|
528
528
|
gap: ${i.sp1};
|
|
529
|
-
`,Ks=20,Ie=(e,s,r)=>!(r!=null&&e.status.code!==r||e.status.code==="closed"||e.status.code==="closed_by_customer"),es=(e,s,r)=>{const d=le.getLocalizedStrings(),c=d.spendManagement.chargeCard.cardList.bulkActions.exceptionMessages;if(e.status.code==="closed"||e.status.code==="closed_by_customer")return c.closedCardsCannotBeSelected;if(r!=null&&e.status.code!==r){const l=d.spendManagement.chargeCard.cardList.status[r];return c.onlyCardsUnderStatusCanBeSelectedTogether.replace("__status__",l)}return c.cardCannotBeSelectedForAction},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,Zt=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:$,cashbackInformation:k,creditAccountInformation:h,debitAccountInformation:m,depositAccountListWithDebitCardIssued:y,uiState:R,signedInUser:B,fetchState:D,revokeChargeCardsInviteFetchState:F,unlockChargeCardsFetchState:N,receiptBotEmail:u,searchText:v,resendInviteId:E,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:A,bulkSubmissionLimit:O,onProceedForBulkActionClick:H,onBulkCloseClick:z,onBulkLockClick:te,setShowBulkChangeSpendLimitPopup:Z,onChargeCardResendInviteClick:_,onChargeCardRowClick:de,onReloadCards:K,onColumnSortConfigChanged:oe,handleClearSelection:xe})=>{const b=ie(),ze=Se(),Ue=ci().analytics,Ne=!!ze.loggedInUserRole.includes("charge_card_user"),Me=Fe(),[,We]=hi(),[ke,He]=f.useState(!1),[Ae,Ke]=f.useState(!1),ii=f.useCallback(()=>{u!=null&&((!w||r.fetchState==="Completed"&&d.fetchState==="Completed")&&(!(S&&$)||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,$,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(Fs,{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($s,{}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Ae||ke,color:I.primaryDark,children:ae.copyToClipBoard.copied})})]}):t.jsxs(ut,{children:[t.jsx(js,{color:Ae?Me.colors.primary:void 0}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Ae&&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:Qt,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:F,unlockChargeCardsFetchState:N,onColumnSortConfigChanged:oe,isBulkActionAllowed:M,isCardControlsEnabled:V,cardsSelectedForBulkAction:W,firstSelectedCardStatus:A,bulkSubmissionLimit:O})})})})]});return t.jsxs(us,{fetchState:D,children:[ai(),W.length>0&&N!=="In-Progress"&&F!=="In-Progress"?t.jsx(gi,{helperContainerStyle:b==="small"?{margin:`${i.sp5} ${i.sp7} ${i.sp2} ${i.sp0}`}:{},showPrimaryButton:!0,primaryBtn:{label:as(A),isLoading:!1,isDisabled:!1,type:"button",onClick:()=>{const U=Yt(A);U&&oi(U)}},cancelBtn:{label:ae.texts.goBack,isDisabled:!1,onClick:xe,style:b==="small"?{}:ns(A)},leftSideComponent:As(W.length,O,b),rightSideComponent:t.jsx(Ds,{firstSelectedCardStatus:A,windowSize:b,setShowBulkChangeSpendLimitPopup:Z,onBulkCloseClick:z,onBulkLockClick:te})}):null]})},(e,s)=>e.cardList===s.cardList&&e.cardsSelectedForBulkAction.length===s.cardsSelectedForBulkAction.length&&e.fetchState===s.fetchState&&e.uiState.sortKey===s.uiState.sortKey&&e.uiState.sortOrder===s.uiState.sortOrder&&e.rowActionView===s.rowActionView&&e.unlockChargeCardsFetchState===s.unlockChargeCardsFetchState&&e.revokeChargeCardsInviteFetchState===s.revokeChargeCardsInviteFetchState&&e.searchText===s.searchText&&e.receiptBotEmail===s.receiptBotEmail&&e.isCardControlsEnabled===s.isCardControlsEnabled&&e.firstSelectedCardStatus===s.firstSelectedCardStatus&&e.handleClearSelection===s.handleClearSelection);Zt.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(($,{name:k})=>{if(k===x){let h=[];const m=$[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(Zt,{...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{}}},Qt=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})})});Qt.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:$,isChargeCardFeatureEnabled:k,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:F,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:A,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,onChargeCardRowClick:te,onReloadCards:Z,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:F,isBulkActionAllowed:N,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:V,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:A,onBulkCloseClick:O,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:z,depositAccountListWithDebitCardIssued:K,showViewForCardUser:S,signedInUser:$,fetchState:c,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b,receiptBotEmail:x,searchText:w,resendInviteId:g,onReloadCards:Z,onChargeCardRowClick:te,uiState:l,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de})),qs=pe.memo(ls),ds=({uiState:e,onColumnSortConfigChanged:s,isBulkActionAllowed:r,isCardControlsEnabled:d,cardsSelectedForBulkAction:c,firstSelectedCardStatus:l,bulkSubmissionLimit:a,index:n,setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:S,unlockChargeCardsFetchState:$,style:k,cardList:h,showViewForCardUser:m,signedInUser:y,resendInviteId:R,onChargeCardResendInviteClick:B,onChargeCardRowClick:D})=>{const F=ie(),N=Fe(),u=g.cardId!=null&&g.unlockChargeCardsFetchState.fetchState==="In-Progress"||$==="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(F),marginRight:ne.checkBoxContainerStyleMarginRight.valuePx(F)},M={marginLeft:ne.labelCheckBoxStyleMarginLeft.valuePx(F)},V=hs(F),W=cs(F),A={width:"100%"},O={backgroundColor:N.colors.grey4},H={...k,width:"100%"},z=f.useMemo(()=>{const K=[me.common.all.toLowerCase()];for(const oe of h)if(!(d&&!Ie(oe,void 0,l))&&(K.push(oe.id),a!=null&&K.length===a+1))break;return K},[h,d,l,a]),te={label:"",defaultChecked:!1,groupLabel:!0,value:me.common.all.toLowerCase(),isException:!(c.length>0)},Z=n===0,_=Z?null:h[n-1],de=f.useMemo(()=>Z?{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:$,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"},[Z,_,m,s,e.sortKey,e.sortOrder,c,x,w,g,S,$,d,y,R,n,B,D,l]);return t.jsx(fs,{style:H,className:"spend-management-list-item",children:t.jsx(zt,{checkBox:de,fieldName:"bulkSelectIds",index:n,allCheckBoxValues:z,groupLabelCheckBox:te,mode:v,checkBoxContainerStyle:E,checkBoxIconStyle:O,checkBoxStyle:Z?M:V,labelCheckBoxStyle:M,labelStyle:A,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:$,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:$})},(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($i)`
|
|
529
|
+
`,Ks=20,Ie=(e,s,r)=>!(r!=null&&e.status.code!==r||e.status.code==="closed"||e.status.code==="closed_by_customer"),es=(e,s,r)=>{const d=le.getLocalizedStrings(),c=d.spendManagement.chargeCard.cardList.bulkActions.exceptionMessages;if(e.status.code==="closed"||e.status.code==="closed_by_customer")return c.closedCardsCannotBeSelected;if(r!=null&&e.status.code!==r){const l=d.spendManagement.chargeCard.cardList.status[r];return c.onlyCardsUnderStatusCanBeSelectedTogether.replace("__status__",l)}return c.cardCannotBeSelectedForAction},ne={lastListItemHeight:new C(200,158),bannerWrapperMarginLeftRight:new C(p[3],p[8]),styledAIIconContainerSize:new C(p[3],p[3]),checkBoxContainerStyleMarginLeft:new C(p[0],p[4]),checkBoxContainerStyleMarginRight:new C(p[0],p[8]),labelCheckBoxStyleMarginLeft:new C(p[2],p[0])},ts={moreItemFont:new ft("extraSmallRegular","smallRegular")},me=le.getLocalizedStrings(),{spendManagement:{chargeCard:P},common:ae}=me,ht=50,is=64,os=351,ss=136,Qt=pe.memo(({cardList:e,controllerEmails:s,creditAccount:r,creditAccountRepayment:d,setCardIdForRowAction:c,setActionTypeForRowAction:l,rowActionView:a,showViewForCardUser:n,productInformation:x,isChargeCardFeatureEnabled:w,isChargeCardSetupEnabled:g,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:$,cashbackInformation:S,creditAccountInformation:h,debitAccountInformation:m,depositAccountListWithDebitCardIssued:y,uiState:R,signedInUser:B,fetchState:D,revokeChargeCardsInviteFetchState:z,unlockChargeCardsFetchState:U,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=ke(),Ne=ci().analytics,Ue=!!Ae.loggedInUserRole.includes("charge_card_user"),Me=ze(),[,We]=hi(),[Se,He]=f.useState(!1),[Fe,Ke]=f.useState(!1),ii=f.useCallback(()=>{u!=null&&((!w||r.fetchState==="Completed"&&d.fetchState==="Completed")&&(!(k&&$)||y.fetchState==="Completed")&&Ne.trackCardsCopyIconClick(s,x,"Cards List","Copy","copied","Receipt Email",u,S,h,m),We(u),He(!0))},[u,w,r.fetchState,d.fetchState,k,$,y.fetchState,Ne,s,x,S,h,m,We]);f.useEffect(()=>{if(Se===!0){const N=setTimeout(()=>{He(!1)},800);return()=>clearTimeout(N)}},[Se]);const oi=f.useCallback(N=>{H(N)},[H]),Pe=f.useCallback(N=>N===0?ht:b!=="small"?pi:Ue?ui:mi,[b,Ue]),si=f.useMemo(()=>{let N=ht+is;for(let we=1;we<=e.length;we++)N+=Pe(we);return N},[e.length,Pe]),qe=f.useMemo(()=>window.innerHeight-os,[]),ri=si>qe,Ge=f.useRef(null);f.useEffect(()=>{Ge.current?.resetAfterIndex(0)},[b]);const ai=()=>D==="Error"?t.jsxs(ms,{children:[t.jsx(gs,{onClick:K,"data-testid":G("charge-card-list-reload"),children:t.jsx(xs,{})}),t.jsx(ws,{children:ae.reloadPage.label})]}):D==="Completed"&&e.length===0?t.jsx(xi,{sourceView:"charge_cards",style:{height:"calc(100vh - 450px)"},title:P.cardList.getStarted,message:v!==""?P.cardList.noDataWithFilterText:P.cardList.noDataText,messageStyle:{maxWidth:345,color:Me.colors.primary,...Be.largeRegular.cssObject}}):t.jsxs(ti,{children:[u!=null?t.jsxs(ks,{windowSize:b,children:[t.jsx(Is,{windowSize:b,children:t.jsx(Ls,{})}),t.jsxs(zs,{windowSize:b,children:[t.jsxs(Ss,{children:[t.jsx(ps,{children:P.aiCardAgentText}),ae.strings.space,P.receiptBotMessage,ae.strings.space]}),t.jsxs(bs,{"data-testid":G("charge-card-list-copy-email"),onClick:ii,onMouseEnter:()=>Ke(!0),onMouseLeave:()=>Ke(!1),children:[t.jsx(vs,{children:u}),Se===!0?t.jsxs(ut,{children:[t.jsx($s,{}),t.jsx(pt,{children:t.jsx(mt,{shouldDisplay:Fe||Se,color:I.primaryDark,children:ae.copyToClipBoard.copied})})]}):t.jsxs(ut,{children:[t.jsx(js,{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:N,width:we})=>t.jsx(Ci,{ref:Ge,height:N,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:U,onColumnSortConfigChanged:oe,isBulkActionAllowed:M,isCardControlsEnabled:O,cardsSelectedForBulkAction:W,firstSelectedCardStatus:F,bulkSubmissionLimit:V})})})})]});return t.jsxs(us,{fetchState:D,children:[ai(),W.length>0&&U!=="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 N=Zt(F);N&&oi(N)}},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 k=w.watch(($,{name:S})=>{if(S===x){let h=[];const m=$[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()=>k.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})})},Zt=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(Zt(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:k,signedInUser:$,isChargeCardFeatureEnabled:S,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:z,isBulkActionAllowed:U,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:S,isChargeCardSetupEnabled:h,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:y,cashbackInformation:R,creditAccountInformation:B,debitAccountInformation:D,productInformation:z,isBulkActionAllowed:U,isCardControlsEnabled:u,cardsSelectedForBulkAction:v,firstSelectedCardStatus:E,bulkSubmissionLimit:M,updateBulkActionList:O,removeAllCardsFromBulkActionList:W,onProceedForBulkActionClick:F,onBulkCloseClick:V,onBulkLockClick:H,setShowBulkChangeSpendLimitPopup:A,depositAccountListWithDebitCardIssued:K,showViewForCardUser:k,signedInUser:$,fetchState:c,revokeChargeCardsInviteFetchState:xe,unlockChargeCardsFetchState:b,receiptBotEmail:x,searchText:w,resendInviteId:g,onReloadCards:Q,onChargeCardRowClick:te,uiState:l,onColumnSortConfigChanged:_,onChargeCardResendInviteClick:de})),qs=pe.memo(ls),ds=({uiState:e,onColumnSortConfigChanged:s,isBulkActionAllowed:r,isCardControlsEnabled:d,cardsSelectedForBulkAction:c,firstSelectedCardStatus:l,bulkSubmissionLimit:a,index:n,setCardIdForRowAction:x,setActionTypeForRowAction:w,rowActionView:g,revokeChargeCardsInviteFetchState:k,unlockChargeCardsFetchState:$,style:S,cardList:h,showViewForCardUser:m,signedInUser:y,resendInviteId:R,onChargeCardResendInviteClick:B,onChargeCardRowClick:D})=>{const z=ie(),U=ze(),u=g.cardId!=null&&g.unlockChargeCardsFetchState.fetchState==="In-Progress"||$==="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:U.colors.grey4},H={...S,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:k,unlockChargeCardsFetchState:$,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,k,$,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:k,onChargeCardResendInviteClick:$,onChargeCardRowClick:S})=>{const h=ie()==="small"?_o:Gi;return t.jsx(h,{cardDetail:a,index:k,isCardControlsEnabled:n,setActionTypeForRowAction:s,setCardIdForRowAction:e,showViewForCardUser:x,signedInUser:w,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,rowActionView:r,onChargeCardRowClick:S,resendInviteId:g,onChargeCardResendInviteClick:$})},(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($i)`
|
|
530
530
|
color: ${e=>e.theme.colors.brandColorSapphire};
|
|
531
531
|
${({theme:e})=>e.mode==="dark"&&`color: ${I.brandColorPearl};`}
|
|
532
532
|
`,us=o.div`
|
|
@@ -549,14 +549,14 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
549
549
|
background: ${e=>e.theme.colors.background};
|
|
550
550
|
border-radius: 50%;
|
|
551
551
|
cursor: pointer;
|
|
552
|
-
`,xs=o(
|
|
552
|
+
`,xs=o(ki)`
|
|
553
553
|
height: ${i.sp5};
|
|
554
554
|
width: ${i.sp5};
|
|
555
555
|
color: ${e=>e.theme.colors.grey1};
|
|
556
556
|
&:hover {
|
|
557
557
|
color: ${e=>e.theme.colors.primary};
|
|
558
558
|
}
|
|
559
|
-
`,ws=o(
|
|
559
|
+
`,ws=o(Si)`
|
|
560
560
|
margin-top: ${i.sp3};
|
|
561
561
|
color: ${e=>e.theme.colors.hero};
|
|
562
562
|
`,Cs=o.div`
|
|
@@ -579,7 +579,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
579
579
|
position: relative;
|
|
580
580
|
width: auto;
|
|
581
581
|
height: 100%;
|
|
582
|
-
`,ti=o.div``,
|
|
582
|
+
`,ti=o.div``,ks=o.div`
|
|
583
583
|
display: flex;
|
|
584
584
|
border: 1.25px solid transparent;
|
|
585
585
|
background: ${e=>`linear-gradient(${e.theme.colors.grey4}, ${e.theme.colors.grey4}) padding-box,
|
|
@@ -592,7 +592,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
592
592
|
margin: 0
|
|
593
593
|
${e=>ne.bannerWrapperMarginLeftRight.valuePx(e.windowSize)};
|
|
594
594
|
margin-bottom: ${i.sp3};
|
|
595
|
-
`,
|
|
595
|
+
`,Ss=o(ji)`
|
|
596
596
|
color: ${e=>e.theme.colors.primary};
|
|
597
597
|
`,vs=o(bi)`
|
|
598
598
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -638,16 +638,16 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
638
638
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
639
639
|
width: 100%;
|
|
640
640
|
height: 100%;
|
|
641
|
-
`,
|
|
641
|
+
`,zs=o.div`
|
|
642
642
|
width: 100%;
|
|
643
643
|
max-width: ${e=>e.windowSize==="small"?"calc(100% - 20px)":"unset"};
|
|
644
|
-
`,
|
|
644
|
+
`,As=o.div`
|
|
645
645
|
display: flex;
|
|
646
646
|
justify-content: flex-start;
|
|
647
647
|
align-items: center;
|
|
648
648
|
gap: ${i.sp2};
|
|
649
649
|
margin-left: ${i.sp8};
|
|
650
|
-
`,
|
|
650
|
+
`,Fs=(e,s,r)=>{const d=P.common.card,c=(e>1?d+"s":d)+P.cardList.bulkActions.selected;return e>0?t.jsxs(As,{style:r==="small"?{position:"absolute",top:i.sp2,left:`-${i.sp5}`}:{},children:[t.jsx(Ps,{multiDigit:e>=10,children:e}),t.jsx(Rs,{children:c}),e===s?t.jsx(Bs,{children:ae.texts.maxLimit}):null]}):null},Ps=o(X)`
|
|
651
651
|
height: 18px;
|
|
652
652
|
width: ${e=>e.multiDigit?"auto":"18px"};
|
|
653
653
|
padding: ${i.sp0} 6px;
|
|
@@ -662,7 +662,7 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,d as
|
|
|
662
662
|
color: ${e=>e.theme.colors.primary};
|
|
663
663
|
`,Bs=o(ee)`
|
|
664
664
|
color: ${I.important};
|
|
665
|
-
`,Ds=({firstSelectedCardStatus:e,windowSize:s,setShowBulkChangeSpendLimitPopup:r,onBulkCloseClick:d,onBulkLockClick:c})=>{const[l,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,19 +693,19 @@ import{ce as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,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;
|
|
700
|
-
`,Ct=o(
|
|
700
|
+
`,Ct=o(kt)`
|
|
701
701
|
width: ${i.sp4};
|
|
702
702
|
height: ${i.sp4};
|
|
703
703
|
color: ${I.important};
|
|
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;
|
|
711
|
-
`;export{Ki as
|
|
711
|
+
`;export{Ki as A,Ks as i,qs as r};
|